Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 09f93ce

Browse files
author
Tianli Feng
committed
Add support for Kibana 7.10.2 (#239)
* Update version info to be compatible with Kibana 7.10.2 * Update jest snapshot files * upgrade dependencies by running 'yarn upgrade' * Update release notes * Update draft release notes config to use URL (cherry picked from commit ce430a5)
1 parent 2c03474 commit 09f93ce

File tree

9 files changed

+134
-187
lines changed

9 files changed

+134
-187
lines changed

.github/draft-release-notes-config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ template: |
66
$CHANGES
77
# Setting the formatting and sorting for the release notes body
88
name-template: Version (set version here)
9-
change-template: '* $TITLE (#$NUMBER)'
9+
change-template: '* $TITLE ([#$NUMBER]($URL))'
1010
sort-by: merged_at
1111
sort-direction: ascending
1212
replacers:
@@ -43,4 +43,4 @@ categories:
4343
- 'version support'
4444
- title: 'Refactoring'
4545
labels:
46-
- 'refactor'
46+
- 'refactor'

kibana.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "opendistroAlertingKibana",
3-
"version": "1.12.0.2",
4-
"kibanaVersion": "7.10.0",
3+
"version": "1.13.0.0",
4+
"kibanaVersion": "7.10.2",
55
"configPath": ["opendistro_alerting"],
66
"requiredPlugins": [],
77
"server": true,

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opendistro-alerting",
3-
"version": "1.12.0.2",
3+
"version": "1.13.0.0",
44
"description": "Kibana Alerting Plugin",
55
"main": "index.js",
66
"license": "Apache-2.0",
@@ -26,9 +26,9 @@
2626
}
2727
},
2828
"devDependencies": {
29+
"cypress": "^6.0.0",
2930
"husky": "^3.0.0",
30-
"lint-staged": "^9.2.0",
31-
"cypress": "^6.0.0"
31+
"lint-staged": "^9.2.0"
3232
},
3333
"dependencies": {
3434
"brace": "0.11.1",
@@ -42,7 +42,7 @@
4242
"fstream": "1.0.12"
4343
},
4444
"engines": {
45-
"node": "10.22.1",
45+
"node": "10.23.1",
4646
"yarn": "^1.21.1"
4747
}
4848
}

public/pages/Dashboard/containers/__snapshots__/Dashboard.test.js.snap

+5
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,15 @@ exports[`Dashboard renders 1`] = `
139139
onClick={[Function]}
140140
>
141141
<EuiButtonDisplay
142+
disabled={false}
142143
element="button"
144+
isDisabled={false}
143145
onClick={[Function]}
144146
type="button"
145147
>
146148
<button
147149
className="euiButton euiButton--primary"
150+
disabled={false}
148151
onClick={[Function]}
149152
type="button"
150153
>
@@ -1019,6 +1022,7 @@ exports[`Dashboard renders 1`] = `
10191022
>
10201023
<button
10211024
className="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--xSmall euiButtonEmpty--flushRight"
1025+
disabled={false}
10221026
onClick={[Function]}
10231027
type="button"
10241028
>
@@ -1651,6 +1655,7 @@ exports[`Dashboard renders 1`] = `
16511655
element="a"
16521656
fill={true}
16531657
href="opendistro-alerting#/create-monitor"
1658+
isDisabled={false}
16541659
rel="noreferrer"
16551660
>
16561661
<a

public/pages/Destinations/containers/CreateDestination/ManageEmailGroups/__snapshots__/ManageEmailGroups.test.js.snap

+2
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ exports[`ManageEmailGroups renders when email is disallowed 1`] = `
507507
<button
508508
aria-label="Closes this modal window"
509509
className="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
510+
disabled={false}
510511
onClick={[Function]}
511512
type="button"
512513
>
@@ -1193,6 +1194,7 @@ exports[`ManageEmailGroups renders when visible 1`] = `
11931194
<button
11941195
aria-label="Closes this modal window"
11951196
className="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
1197+
disabled={false}
11961198
onClick={[Function]}
11971199
type="button"
11981200
>

public/pages/Destinations/containers/CreateDestination/ManageSenders/__snapshots__/ManageSenders.test.js.snap

+2
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ exports[`ManageSenders renders when email is disallowed 1`] = `
507507
<button
508508
aria-label="Closes this modal window"
509509
className="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
510+
disabled={false}
510511
onClick={[Function]}
511512
type="button"
512513
>
@@ -1193,6 +1194,7 @@ exports[`ManageSenders renders when visible 1`] = `
11931194
<button
11941195
aria-label="Closes this modal window"
11951196
className="euiButtonIcon euiButtonIcon--text euiModal__closeIcon"
1197+
disabled={false}
11961198
onClick={[Function]}
11971199
type="button"
11981200
>

public/pages/Destinations/containers/DestinationsList/__snapshots__/DestinationsList.test.js.snap

+9
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,17 @@ exports[`DestinationsList renders 1`] = `
185185
onClick={[Function]}
186186
>
187187
<EuiButtonDisplay
188+
disabled={false}
188189
element="button"
189190
iconSide="right"
190191
iconType="arrowDown"
192+
isDisabled={false}
191193
onClick={[Function]}
192194
type="button"
193195
>
194196
<button
195197
className="euiButton euiButton--primary"
198+
disabled={false}
196199
onClick={[Function]}
197200
type="button"
198201
>
@@ -248,6 +251,7 @@ exports[`DestinationsList renders 1`] = `
248251
element="a"
249252
fill={true}
250253
href="opendistro-alerting#/create-destination"
254+
isDisabled={false}
251255
rel="noreferrer"
252256
>
253257
<a
@@ -929,6 +933,7 @@ exports[`DestinationsList renders 1`] = `
929933
>
930934
<button
931935
className="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--xSmall euiButtonEmpty--flushRight"
936+
disabled={false}
932937
onClick={[Function]}
933938
type="button"
934939
>
@@ -1290,6 +1295,7 @@ exports[`DestinationsList renders 1`] = `
12901295
element="a"
12911296
fill={true}
12921297
href="opendistro-alerting#/create-destination"
1298+
isDisabled={false}
12931299
rel="noreferrer"
12941300
>
12951301
<a
@@ -1496,6 +1502,7 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
14961502
element="a"
14971503
fill={true}
14981504
href="opendistro-alerting#/create-destination"
1505+
isDisabled={false}
14991506
rel="noreferrer"
15001507
>
15011508
<a
@@ -2166,6 +2173,7 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
21662173
>
21672174
<button
21682175
className="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--xSmall euiButtonEmpty--flushRight"
2176+
disabled={false}
21692177
onClick={[Function]}
21702178
type="button"
21712179
>
@@ -2527,6 +2535,7 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
25272535
element="a"
25282536
fill={true}
25292537
href="opendistro-alerting#/create-destination"
2538+
isDisabled={false}
25302539
rel="noreferrer"
25312540
>
25322541
<a
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Version 1.13.0.0, 2021-01-29
2+
3+
Compatible with Kibana 7.10.2
4+
5+
### Enhancements
6+
* Add toast notification to handle errors when updating a destination ([#232](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/232))
7+
8+
### Bug Fixes
9+
* Filter out historical detectors on monitor creation page ([#229](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/229))
10+
* Fix that Trigger page might freeze for high cardinality detectors ([#230](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/230))
11+
* Change the query parameters 'size' and 'search' of 'getDestinations' request to be optional ([#231](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/231))
12+
13+
### Documentation
14+
* Correct the file name of the release notes for 1.12.0.2 ([#228](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/228))
15+
16+
### Maintenance
17+
* Add Cypress E2E tests and GitHub Action Cypress workflow ([#161](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/161))
18+
* Fix the unit tests in v1.12.0.2 ([#227](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/227))
19+
* Add support to run Cypress test in an ODFE cluster with security enabled ([#235](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/235))
20+
* Upgrade Formik to v2.x to reduce vulnerability ([#236](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/236))
21+
* Add support for Kibana 7.10.2 ([#239](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/239))
22+
23+
### Refactoring
24+
* Replace all 'render' props to 'children' props in Formik elements ([#238](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/238))

0 commit comments

Comments
 (0)