Skip to content

Commit

Permalink
Merge branch '7.x' into backport/7.x/pr-50683
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Nov 18, 2019
2 parents 8ba0680 + 4cce8bb commit 6f35d03
Show file tree
Hide file tree
Showing 567 changed files with 11,491 additions and 3,376 deletions.
10 changes: 5 additions & 5 deletions .ci/Jenkinsfile_flaky
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ stage("Kibana Pipeline") {
if (!IS_XPACK) {
kibanaPipeline.buildOss()
if (CI_GROUP == '1') {
runbld "./test/scripts/jenkins_build_kbn_tp_sample_panel_action.sh"
runbld("./test/scripts/jenkins_build_kbn_tp_sample_panel_action.sh", "Build kbn tp sample panel action for ciGroup1")
}
} else {
kibanaPipeline.buildXpack()
Expand Down Expand Up @@ -60,18 +60,18 @@ stage("Kibana Pipeline") {
def getWorkerFromParams(isXpack, job, ciGroup) {
if (!isXpack) {
if (job == 'firefoxSmoke') {
return kibanaPipeline.getPostBuildWorker('firefoxSmoke', { runbld './test/scripts/jenkins_firefox_smoke.sh' })
return kibanaPipeline.getPostBuildWorker('firefoxSmoke', { runbld('./test/scripts/jenkins_firefox_smoke.sh', 'Execute kibana-firefoxSmoke') })
} else if(job == 'visualRegression') {
return kibanaPipeline.getPostBuildWorker('visualRegression', { runbld './test/scripts/jenkins_visual_regression.sh' })
return kibanaPipeline.getPostBuildWorker('visualRegression', { runbld('./test/scripts/jenkins_visual_regression.sh', 'Execute kibana-visualRegression') })
} else {
return kibanaPipeline.getOssCiGroupWorker(ciGroup)
}
}

if (job == 'firefoxSmoke') {
return kibanaPipeline.getPostBuildWorker('xpack-firefoxSmoke', { runbld './test/scripts/jenkins_xpack_firefox_smoke.sh' })
return kibanaPipeline.getPostBuildWorker('xpack-firefoxSmoke', { runbld('./test/scripts/jenkins_xpack_firefox_smoke.sh', 'Execute xpack-firefoxSmoke') })
} else if(job == 'visualRegression') {
return kibanaPipeline.getPostBuildWorker('xpack-visualRegression', { runbld './test/scripts/jenkins_xpack_visual_regression.sh' })
return kibanaPipeline.getPostBuildWorker('xpack-visualRegression', { runbld('./test/scripts/jenkins_xpack_visual_regression.sh', 'Execute xpack-visualRegression') })
} else {
return kibanaPipeline.getXpackCiGroupWorker(ciGroup)
}
Expand Down
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ stage("Kibana Pipeline") { // This stage is just here to help the BlueOcean UI a
'oss-ciGroup10': kibanaPipeline.getOssCiGroupWorker(10),
'oss-ciGroup11': kibanaPipeline.getOssCiGroupWorker(11),
'oss-ciGroup12': kibanaPipeline.getOssCiGroupWorker(12),
'oss-firefoxSmoke': kibanaPipeline.getPostBuildWorker('firefoxSmoke', { runbld './test/scripts/jenkins_firefox_smoke.sh' }),
'oss-visualRegression': kibanaPipeline.getPostBuildWorker('visualRegression', { runbld './test/scripts/jenkins_visual_regression.sh' }),
'oss-firefoxSmoke': kibanaPipeline.getPostBuildWorker('firefoxSmoke', { runbld('./test/scripts/jenkins_firefox_smoke.sh', 'Execute kibana-firefoxSmoke') }),
'oss-visualRegression': kibanaPipeline.getPostBuildWorker('visualRegression', { runbld('./test/scripts/jenkins_visual_regression.sh', 'Execute kibana-visualRegression') }),
]),
'kibana-xpack-agent': kibanaPipeline.withWorkers('kibana-xpack-tests', { kibanaPipeline.buildXpack() }, [
'xpack-ciGroup1': kibanaPipeline.getXpackCiGroupWorker(1),
Expand All @@ -38,8 +38,8 @@ stage("Kibana Pipeline") { // This stage is just here to help the BlueOcean UI a
'xpack-ciGroup8': kibanaPipeline.getXpackCiGroupWorker(8),
'xpack-ciGroup9': kibanaPipeline.getXpackCiGroupWorker(9),
'xpack-ciGroup10': kibanaPipeline.getXpackCiGroupWorker(10),
'xpack-firefoxSmoke': kibanaPipeline.getPostBuildWorker('xpack-firefoxSmoke', { runbld './test/scripts/jenkins_xpack_firefox_smoke.sh' }),
'xpack-visualRegression': kibanaPipeline.getPostBuildWorker('xpack-visualRegression', { runbld './test/scripts/jenkins_xpack_visual_regression.sh' }),
'xpack-firefoxSmoke': kibanaPipeline.getPostBuildWorker('xpack-firefoxSmoke', { runbld('./test/scripts/jenkins_xpack_firefox_smoke.sh', 'Execute xpack-firefoxSmoke') }),
'xpack-visualRegression': kibanaPipeline.getPostBuildWorker('xpack-visualRegression', { runbld('./test/scripts/jenkins_xpack_visual_regression.sh', 'Execute xpack-visualRegression') }),
]),
])
}
Expand Down
301 changes: 301 additions & 0 deletions docs/CHANGELOG.asciidoc

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/migration/migrate_7_5.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@ that search requests will use the `_search` {es} endpoint rather than `_msearch`
*Impact:*
Dashboard panels will load individually, and search requests will terminate
when users navigate away or update the query.

[float]
[[breaking_75_telemetry]]
=== `xpack.telemetry.enabled` is no longer valid

*Details:*
The `xpack.telemetry.enabled` setting has been removed.

*Impact:*
Use <<telemetry.enabled, `telemetry.enabled`>> instead.
125 changes: 125 additions & 0 deletions docs/release-notes/highlights-7.5.0.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
[[release-highlights-7.5.0]]
== 7.5.0 release highlights
++++
<titleabbrev>7.5.0</titleabbrev>
++++

coming[7.5.0]

Each release of {kib} brings new features and product improvements.
Following are the most notable feature and user experience changes in 7.5.
Play around with them locally, or on the
https://www.elastic.co/products/elasticsearch/service[Elasticsearch Service],
and reach out on the https://discuss.elastic.co/c/kibana[Kibana Discuss forum]
if you have any questions or feedback.

//For a complete list of highlights, see the Kibana 7.5 release blog.

//NOTE: The notable-highlights tagged regions are re-used in the
//Installation and Upgrade Guide

// tag::notable-highlights[]

[float]
[[lens-7.5]]
=== Lens&mdash;a new way to create visualizations (beta)

Lens is a simple, more intuitive way to visualize your data. Lens provides a
drag-and-drop experience that helps you get from your data to insights
in just a few clicks. If there is a better visualization for your data,
Lens makes smart visualization suggestions for you, which allows you to
quickly switch between visualization types. Want to use a different data set?
With Lens, you can simply choose a different index pattern right from the UI.
//Check out our documentation for full details.

[role="screenshot"]
image::release-notes/images/7.5-lens.gif[Lens]

[float]
[[smart-query-cancellation-7.5]]
=== Smart query cancellation

Starting in 7.5, if you navigate to a different page or
update a query before getting the results, {kib} applies a smart cancellation policy,
canceling the
{es} query. Canceling unnecessary queries improves cluster performance
by reducing noise caused by queries that you no longer need.

[float]
[[canvas-shareables-7.5]]
=== Canvas workpads outside of Kibana

Canvas introduces shareables, a new way to externally share information from
{kib}. Shareables enables our community to share static Canvas workpads
using a code snippet. When the workpad is added to your website,
you can customize the workpad behavior to autoplay the pages.

[role="screenshot"]
image::release-notes/images/7.5-canvas.gif[Canvas Shareables]

[float]
[[newsfeed-7.5]]
=== A newsfeed to keep you informed

Keep up with what’s going on at Elastic with our newsfeed in {kib}.
You’ll learn about what’s new, what we’re blogging about, our latest webinars,
and more.

[role="screenshot"]
image::release-notes/images/7.5-newsfeed.png[Newsfeed]

[float]
[[maps-7.5]]
=== More Maps enhancements

GeoJSON upload was released as Beta in 7.3,
and now it's production ready in 7.5.
GeoJSON upload makes it easier to add custom vector shapes to your map.
Check out the {kibana-ref}/indexing-geojson-data-tutorial.html[Indexing GeoJSON data tutorial].

In 7.5, Maps also introduces these new features:

* Styling by date and time field, which is good for tracking time
series data and for highlighting newer data over older records.
* Document sorting to ensure that your most important data is on top of the map.
* A new tooltip design with support for drag-drop field sorting and image embeds.

[role="screenshot"]
image::release-notes/images/7.5-maps.png[Maps]

[float]
[[api-keys-7.5]]
=== A new UI for managing API Keys

Our new API keys UI allows cluster administrators to view and invalidate
all API keys, and users to view and invalidate their own keys.
API keys are is especially useful when working with automated scripts,
or workflow integration with other software. For example, you can use API
keys to automate the ingestion of new data from remote sources,
without live user interaction. See {kibana-ref}/api-keys.html[the documentation] for more details.

[role="screenshot"]
image::release-notes/images/7.5-api-keys.png[API Keys UI]

[float]
[[snapshot-retention-7.5]]
=== Automatic deletion of snapshots

When creating a snapshot lifecycle policy with our
*Snapshot and Restore* UI, you can now optionally configure a retention period.
This feature enables you to automate the deletion of your snapshots,
reducing the need for manual cleanup while allowing for retention of only the
most relevant and recent snapshots. For example, you might define a
policy that deletes snapshots older than thirty days, always keeps
the latest five snapshots, and deletes the oldest snapshot if more than 50
are present. See {ref}/slm-retention.html[Snapshot lifecycle management retention]
for the full documentation.

[role="screenshot"]
image::release-notes/images/7.5-snapshot-retention.png[Snapshot Retention UI]





// end::notable-highlights[]
2 changes: 2 additions & 0 deletions docs/release-notes/highlights.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
This section summarizes the most important changes in each release. For the
full list, see <<release-notes>> and <<breaking-changes>>.

* <<release-highlights-7.5.0>>
* <<release-highlights-7.4.0>>
* <<release-highlights-7.3.0>>
* <<release-highlights-7.2.0>>
Expand All @@ -14,6 +15,7 @@ full list, see <<release-notes>> and <<breaking-changes>>.

--

include::highlights-7.5.0.asciidoc[]
include::highlights-7.4.0.asciidoc[]
include::highlights-7.3.0.asciidoc[]
include::highlights-7.2.0.asciidoc[]
Expand Down
Binary file added docs/release-notes/images/7.5-api-keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/release-notes/images/7.5-canvas.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/release-notes/images/7.5-lens.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/release-notes/images/7.5-maps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/release-notes/images/7.5-newsfeed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/settings/monitoring-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Specifies the password that {kib} uses for authentication when it retrieves data
from the monitoring cluster. If not set, {kib} uses the value of the
`elasticsearch.password` setting.

[[telemetry.enabled]]
`telemetry.enabled`::
Set to `true` (default) to send cluster statistics to Elastic. Reporting your
cluster statistics helps us improve your user experience. Your data is never
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
"chance": "1.0.18",
"cheerio": "0.22.0",
"chokidar": "3.2.1",
"chromedriver": "^77.0.0",
"chromedriver": "78.0.1",
"classnames": "2.2.6",
"dedent": "^0.7.0",
"delete-empty": "^2.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/kbn-babel-preset/common_preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ const plugins = [
//
// See https://github.com/babel/proposals/issues/12 for progress
require.resolve('@babel/plugin-proposal-class-properties'),

// Optional Chaining proposal is stage 3 (https://github.com/tc39/proposal-optional-chaining)
// Need this since we are using TypeScript 3.7+
require.resolve('@babel/plugin-proposal-optional-chaining'),
// Nullish coalescing proposal is stage 3 (https://github.com/tc39/proposal-nullish-coalescing)
// Need this since we are using TypeScript 3.7+
require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'),
];
const isTestEnv = process.env.BABEL_ENV === 'test' || process.env.NODE_ENV === 'test';

Expand Down
2 changes: 2 additions & 0 deletions packages/kbn-babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/preset-env": "^7.5.5",
Expand Down
64 changes: 0 additions & 64 deletions packages/kbn-es-query/src/es_query/__tests__/_migrate_filter.js

This file was deleted.

Loading

0 comments on commit 6f35d03

Please sign in to comment.