2020-03-28 14:33:37 -04:00
|
|
|
[[breaking-changes-7.8]]
|
|
|
|
== Breaking changes in 7.8
|
|
|
|
++++
|
|
|
|
<titleabbrev>7.8</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
|
|
|
This section discusses the changes that you need to be aware of when migrating
|
2020-04-22 10:56:38 -04:00
|
|
|
your application to {es} 7.8.
|
2020-03-28 14:33:37 -04:00
|
|
|
|
|
|
|
See also <<release-highlights>> and <<es-release-notes>>.
|
|
|
|
|
2020-07-23 07:15:45 -04:00
|
|
|
* <<breaking_781_license_changes>>
|
2020-06-12 09:00:17 -04:00
|
|
|
* <<breaking_78_aggregation_changes>>
|
2020-04-22 10:56:38 -04:00
|
|
|
* <<breaking_78_mappings_changes>>
|
|
|
|
* <<breaking_78_settings_changes>>
|
|
|
|
|
2020-03-28 14:33:37 -04:00
|
|
|
//NOTE: The notable-breaking-changes tagged regions are re-used in the
|
|
|
|
//Installation and Upgrade Guide
|
|
|
|
|
|
|
|
//tag::notable-breaking-changes[]
|
|
|
|
|
2020-07-23 07:15:45 -04:00
|
|
|
[discrete]
|
|
|
|
[[breaking_781_license_changes]]
|
|
|
|
=== License Information changes
|
|
|
|
|
|
|
|
As of the `7.8.1` release
|
|
|
|
|
|
|
|
.Displays Enterprise license as Platinum in /_xpack
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details*
|
|
|
|
The `GET /_license` endpoint displays Enterprise licenses as
|
|
|
|
Platinum by default so that old clients (including Beats, Kibana and
|
|
|
|
Logstash) know to interpret this new license type as if it were a
|
|
|
|
Platinum license.
|
|
|
|
|
|
|
|
This compatibility layer was not applied to the `GET /_xpack/`
|
|
|
|
endpoint, which also displays a license type and mode. {es-pull}58217[#58217]
|
|
|
|
====
|
|
|
|
|
|
|
|
|
2020-06-12 09:00:17 -04:00
|
|
|
[discrete]
|
|
|
|
[[breaking_78_aggregation_changes]]
|
|
|
|
=== Aggregation changes
|
|
|
|
|
|
|
|
.Privilege `indices:admin/create` will no longer allow the auto creation of indices
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details*
|
|
|
|
The privilege named `indices:admin/create` will no longer allow the auto
|
2020-06-18 15:38:49 -04:00
|
|
|
creation of indices. Use `create_index` instead. {es-pull}55858[#55858]
|
2020-06-12 09:00:17 -04:00
|
|
|
====
|
|
|
|
|
|
|
|
.`value_count` aggregation optimization
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details*
|
|
|
|
Scripts used in `value_count` will now receive a number if they are
|
|
|
|
counting a numeric field and a `GeoPoint` if they are counting a
|
|
|
|
`geo_point` fields. They used to always receive the `String`
|
2020-06-18 15:38:49 -04:00
|
|
|
representation of those values. {es-pull}54854[#54854]
|
2020-06-12 09:00:17 -04:00
|
|
|
====
|
|
|
|
|
2020-04-02 18:28:48 -04:00
|
|
|
[discrete]
|
|
|
|
[[breaking_78_mappings_changes]]
|
|
|
|
=== Mappings changes
|
|
|
|
|
|
|
|
[[prevent-enabled-setting-change]]
|
2020-04-22 10:56:38 -04:00
|
|
|
.The `enabled` mapping parameter cannot be changed for a root mapping.
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
|
|
|
Mapping requests that attempt to change the {ref}/enabled.html[`enabled`]
|
|
|
|
mapping parameter for a root mapping will fail and return an error.
|
|
|
|
|
|
|
|
Previously, {es} accepted mapping requests that attempted to change the
|
|
|
|
`enabled` parameter of the root mapping. Theses changes were not applied, but
|
|
|
|
such requests didn't return an error.
|
|
|
|
|
|
|
|
*Impact* +
|
|
|
|
To avoid errors, do not submit mapping requests that change the
|
|
|
|
{ref}/enabled.html[`enabled`] mapping parameter.
|
|
|
|
====
|
2020-04-02 18:28:48 -04:00
|
|
|
|
2020-04-16 14:17:12 -04:00
|
|
|
[[prevent-include-in-root-change]]
|
2020-04-22 10:56:38 -04:00
|
|
|
.The `include_in_parent` and `include_in_root` mapping parameters cannot be changed for `nested` fields.
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
|
|
|
Mapping requests that attempt to change the
|
|
|
|
{ref}/nested.html#nested-include-in-parent-parm[`include_in_parent`] or
|
|
|
|
{ref}/nested.html#nested-include-in-root-parm[`include_in_root`] mapping
|
|
|
|
parameter for a `nested` field will fail and return an error.
|
|
|
|
|
|
|
|
Previously, {es} accepted mapping requests that attempted to change the
|
|
|
|
`include_in_parent` or `include_in_root` parameter. Theses changes were not
|
|
|
|
applied, but such requests didn't return an error.
|
|
|
|
|
|
|
|
*Impact* +
|
|
|
|
To avoid errors, do not submit mapping requests that change the
|
|
|
|
{ref}/nested.html#nested-include-in-parent-parm[`include_in_parent`] or
|
|
|
|
{ref}/nested.html#nested-include-in-root-parm[`include_in_root`] mapping
|
|
|
|
parameter.
|
|
|
|
====
|
|
|
|
|
|
|
|
.The get field mapping API's `local` query parameter is deprecated.
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
|
|
|
The {ref}/indices-get-field-mapping.html[get field mapping API]'s `local` query
|
|
|
|
parameter is deprecated and will be removed in {es} 8.0.0.
|
|
|
|
|
|
|
|
The `local` parameter is a no-op. The API always retrieves field mappings
|
|
|
|
locally.
|
|
|
|
|
|
|
|
*Impact* +
|
|
|
|
To avoid deprecation warnings, discontinue use of the `local` parameter.
|
|
|
|
====
|
2020-04-16 14:17:12 -04:00
|
|
|
|
2020-03-28 14:33:37 -04:00
|
|
|
[discrete]
|
|
|
|
[[breaking_78_settings_changes]]
|
|
|
|
=== Settings changes
|
|
|
|
|
|
|
|
[[deprecate-node-local-storage]]
|
2020-04-22 10:56:38 -04:00
|
|
|
.The `node.local_storage` setting is deprecated.
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
|
|
|
The `node.local_storage` setting is deprecated. In {es} 8.0.0, all nodes require
|
|
|
|
local storage.
|
|
|
|
|
|
|
|
*Impact* +
|
|
|
|
To avoid deprecation warnings, discontinue use of the `node.local_storage`
|
|
|
|
setting.
|
|
|
|
====
|
|
|
|
|
2020-05-07 10:28:17 -04:00
|
|
|
[[deprecate-basic-license-feature-enabled]]
|
|
|
|
|
2020-06-12 09:00:17 -04:00
|
|
|
.Several {xpack} settings no longer have any effect and are deprecated.
|
2020-05-07 10:28:17 -04:00
|
|
|
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
2020-06-12 09:00:17 -04:00
|
|
|
Basic {xpack} license features are always enabled for the {default-dist}
|
|
|
|
and the following settings no longer have any effect:
|
2020-05-07 10:28:17 -04:00
|
|
|
|
|
|
|
* `xpack.enrich.enabled`
|
|
|
|
* `xpack.flattened.enabled`
|
2020-06-04 16:25:05 -04:00
|
|
|
* `xpack.ilm.enabled`
|
2020-05-07 10:28:17 -04:00
|
|
|
* `xpack.monitoring.enabled`
|
|
|
|
* `xpack.rollup.enabled`
|
2020-06-04 16:25:05 -04:00
|
|
|
* `xpack.slm.enabled`
|
2020-05-07 10:28:17 -04:00
|
|
|
* `xpack.sql.enabled`
|
|
|
|
* `xpack.transform.enabled`
|
|
|
|
* `xpack.vectors.enabled`
|
|
|
|
|
|
|
|
Previously, they could be set to `false` to disable the feature's APIs in a cluster.
|
|
|
|
|
|
|
|
*Impact* +
|
|
|
|
To avoid deprecation warnings, discontinue use of these settings.
|
|
|
|
If you have disabled ILM so that you can use another tool to manage Watcher
|
|
|
|
indices, the newly introduced `xpack.watcher.use_ilm_index_management` setting
|
|
|
|
may be set to false.
|
|
|
|
====
|
|
|
|
|
2020-05-12 15:30:28 -04:00
|
|
|
[discrete]
|
2020-04-28 10:30:25 -04:00
|
|
|
[[builtin-users-changes]]
|
|
|
|
==== Changes to built-in users
|
|
|
|
|
2020-05-12 15:30:28 -04:00
|
|
|
.The `kibana` user has been deprecated in favor of the `kibana_system` user.
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
2020-04-28 10:30:25 -04:00
|
|
|
The `kibana` user was historically used to authenticate {kib} to {es}.
|
|
|
|
The name of this user was confusing, and was often mistakenly used to login to {kib}.
|
2020-07-13 16:34:11 -04:00
|
|
|
We've replaced the `kibana` user with the `kibana_system` user to reduce
|
|
|
|
confusion and to better align with other built-in system accounts.
|
2020-04-28 10:30:25 -04:00
|
|
|
|
2020-05-12 15:30:28 -04:00
|
|
|
*Impact* +
|
2020-04-28 10:30:25 -04:00
|
|
|
If your `kibana.yml` used to contain:
|
|
|
|
[source,yaml]
|
|
|
|
--------------------------------------------------
|
|
|
|
elasticsearch.username: kibana
|
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
then you should update to use the new `kibana_system` user instead:
|
|
|
|
[source,yaml]
|
|
|
|
--------------------------------------------------
|
|
|
|
elasticsearch.username: kibana_system
|
|
|
|
--------------------------------------------------
|
2020-07-13 16:34:11 -04:00
|
|
|
|
|
|
|
IMPORTANT: The new `kibana_system` user does not preserve the previous `kibana`
|
|
|
|
user password. You must explicitly set a password for the `kibana_system` user.
|
2020-05-12 15:30:28 -04:00
|
|
|
====
|
2020-04-28 10:30:25 -04:00
|
|
|
|
|
|
|
|
2020-05-12 15:30:28 -04:00
|
|
|
[discrete]
|
2020-04-28 10:30:25 -04:00
|
|
|
[[builtin-roles-changes]]
|
|
|
|
==== Changes to built-in roles
|
|
|
|
|
2020-05-12 15:30:28 -04:00
|
|
|
.The `kibana_user` role has been deprecated in favor of the `kibana_admin` role.
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
*Details* +
|
2020-04-28 10:30:25 -04:00
|
|
|
Users who were previously assigned the `kibana_user` role should instead be assigned
|
|
|
|
the `kibana_admin` role. This role grants the same set of privileges as `kibana_user`, but has been
|
|
|
|
renamed to better reflect its intended use.
|
|
|
|
|
2020-05-12 15:30:28 -04:00
|
|
|
*Impact* +
|
|
|
|
Assign users with the `kibana_user` role to the `kibana_admin` role.
|
|
|
|
Discontinue use of the `kibana_user` role.
|
|
|
|
====
|
|
|
|
|
2020-04-28 10:30:25 -04:00
|
|
|
//end::notable-breaking-changes[]
|