opensearch-docs-cn/breaking-changes.md

1.9 KiB

layout title nav_order parent permalink
default Breaking changes 5 OpenSearch documentation /breaking-changes/

2.0.0

Remove mapping types parameter

The type parameter has been removed from all OpenSearch API endpoints. Instead, indexes can be categorized by document type. For more details, see issue #1940.

Deprecate outdated nomenclature

In order for OpenSearch to include more inclusive naming conventions, we've replaced the following terms in our code with more inclusive terms:

  • "Whitelist" is now "Allow list"
  • "Blacklist" is now "Deny list"
  • "Master" is now "Cluster Manager"

If you are still using the outdated terms in the context of the security APIs or for node management, your calls and automation will continue to work until the terms are removed later in 2022.

Add OpenSearch Notifications plugins

In OpenSearch 2.0, the Alerting plugin is now integrated with new plugins for Notifications. If you want to continue to use the notification action in the Alerting plugin, install the new backend plugins notifications-core and notifications. If you want to manage notifications in OpenSearch Dashboards, use the new notificationsDashboards plugin. For more information, see Questions about destinations on the Monitors page.

Drop support for JDK 8

A Lucene upgrade forced OpenSearch to drop support for JDK 8. As a consequence, the Java high-level REST client no longer supports JDK 8. Restoring JDK 8 support is currently an opensearch-java proposal #156 and will require removing OpenSearch core as a dependency from the Java client (issue #262).