migrate_8_0.asciidoc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [[migrating-8.0]]
  2. == Migrating to 8.0
  3. ++++
  4. <titleabbrev>8.0</titleabbrev>
  5. ++++
  6. This section discusses the changes that you need to be aware of when migrating
  7. your application to {es} 8.0.
  8. See also <<release-highlights>> and <<es-release-notes>>.
  9. coming::[8.0.0]
  10. [discrete]
  11. [[breaking-changes-8.0]]
  12. === Breaking changes
  13. The following changes in {es} 8.0 might affect your applications
  14. and prevent them from operating normally.
  15. Before upgrading to 8.0, review these changes and take the described steps
  16. to mitigate the impact.
  17. NOTE: Breaking changes introduced in minor versions are
  18. normally limited to security and bug fixes.
  19. Significant changes in behavior are deprecated in a minor release and
  20. the old behavior is supported until the next major release.
  21. To find out if you are using any deprecated functionality,
  22. enable <<deprecation-logging, deprecation logging>>.
  23. include::migrate_8_0/cluster-node-setting-changes.asciidoc[]
  24. include::migrate_8_0/command-line-tool-changes.asciidoc[]
  25. include::migrate_8_0/index-setting-changes.asciidoc[]
  26. include::migrate_8_0/java-api-changes.asciidoc[]
  27. include::migrate_8_0/jvm-option-changes.asciidoc[]
  28. include::migrate_8_0/logging-changes.asciidoc[]
  29. include::migrate_8_0/mapping-changes.asciidoc[]
  30. include::migrate_8_0/packaging-changes.asciidoc[]
  31. include::migrate_8_0/painless-changes.asciidoc[]
  32. include::migrate_8_0/rest-api-changes.asciidoc[]
  33. include::migrate_8_0/system-req-changes.asciidoc[]
  34. include::migrate_8_0/transform.asciidoc[]
  35. [discrete]
  36. [[deprecated-8.0]]
  37. === Deprecations
  38. The following functionality has been deprecated in {es} 8.0
  39. and will be removed in a future version.
  40. While this won't have an immediate impact on your applications,
  41. we strongly encourage you take the described steps to update your code
  42. after upgrading to 8.0.
  43. NOTE: Significant changes in behavior are deprecated in a minor release and
  44. the old behavior is supported until the next major release.
  45. To find out if you are using any deprecated functionality,
  46. enable <<deprecation-logging, deprecation logging>>.
  47. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  48. //Installation and Upgrade Guide
  49. //tag::notable-breaking-changes[]
  50. [discrete]
  51. [[breaking_80_cluster_node_setting_deprecations]]
  52. ==== Cluster and node setting deprecations
  53. [[deprecate-transient-cluster-settings]]
  54. .We no longer recommend using transient cluster settings.
  55. [%collapsible]
  56. ====
  57. *Details* +
  58. We no longer recommend using transient cluster settings. Use persistent cluster
  59. settings instead. If a cluster becomes unstable, transient settings can clear
  60. unexpectedly, resulting in an undesired cluster configuration.
  61. *Impact* +
  62. Transient cluster settings are not yet deprecated, but we plan to deprecate them
  63. in a future release. For migration steps, see the
  64. {ref}/transient-settings-migration-guide.html[Transient settings migration
  65. guide].
  66. ====
  67. [discrete]
  68. [[breaking_80_command_line_tool_deprecations]]
  69. ==== Command line tool deprecations
  70. TIP: {ess-skip-section}
  71. [[deprecate-elasticsearch-setup-passwords]]
  72. .The `elasticsearch-setup-passwords` tool is deprecated.
  73. [%collapsible]
  74. ====
  75. *Details* +
  76. The `elasticsearch-setup-passwords` tool is deprecated in 8.0. To
  77. manually reset the password for built-in users (including the `elastic` user), use
  78. the {ref}/reset-password.html[`elasticsearch-reset-password`] tool, the {es}
  79. {ref}/security-api-change-password.html[change passwords API], or the
  80. User Management features in {kib}.
  81. `elasticsearch-setup-passwords` will be removed in a future release.
  82. *Impact* +
  83. Passwords are generated automatically for the `elastic` user when you start {es} for the first time. If you run `elasticsearch-setup-passwords` after
  84. starting {es}, it will fail because the `elastic`
  85. user password is already configured.
  86. ====
  87. //end::notable-breaking-changes[]
  88. include::migrate_8_0/migrate_to_java_time.asciidoc[]
  89. include::transient-settings-migration-guide.asciidoc[]