migrate_8_1.asciidoc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. [[migrating-8.1]]
  2. == Migrating to 8.1
  3. ++++
  4. <titleabbrev>8.1</titleabbrev>
  5. ++++
  6. This section discusses the changes that you need to be aware of when migrating
  7. your application to {es} 8.1.
  8. See also <<release-highlights>> and <<es-release-notes>>.
  9. coming[8.1.0]
  10. ////
  11. [discrete]
  12. [[breaking-changes-8.1]]
  13. === Breaking changes
  14. The following changes in {es} 8.1 might affect your applications
  15. and prevent them from operating normally.
  16. Before upgrading to 8.0, review these changes and take the described steps
  17. to mitigate the impact.
  18. NOTE: Breaking changes introduced in minor versions are
  19. normally limited to security and bug fixes.
  20. Significant changes in behavior are deprecated in a minor release and
  21. the old behavior is supported until the next major release.
  22. To find out if you are using any deprecated functionality,
  23. enable <<deprecation-logging, deprecation logging>>.
  24. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  25. //Installation and Upgrade Guide
  26. //tag::notable-breaking-changes[]
  27. //end::notable-breaking-changes[]
  28. ////
  29. [discrete]
  30. [[deprecated-8.1]]
  31. === Deprecations
  32. The following functionality has been deprecated in {es} 8.1
  33. and will be removed in a future version.
  34. While this won't have an immediate impact on your applications,
  35. we strongly encourage you take the described steps to update your code
  36. after upgrading to 8.1.
  37. NOTE: Significant changes in behavior are deprecated in a minor release and
  38. the old behavior is supported until the next major release.
  39. To find out if you are using any deprecated functionality,
  40. enable <<deprecation-logging, deprecation logging>>.
  41. //tag::notable-breaking-changes[]
  42. [discrete]
  43. [[breaking_8.1_cluster_node_setting_deprecations]]
  44. ==== Cluster and node setting deprecations
  45. [[deprecate-legacy-discovery-type-setting]]
  46. .Legacy values for the `discovery.type` setting are deprecated.
  47. [%collapsible]
  48. ====
  49. *Details* +
  50. Legacy values for the `discovery.type` setting are deprecated and will be
  51. forbidden in a future version.
  52. *Impact* +
  53. Do not set `discovery.type` to any value except `single-node` or `multi-node`.
  54. All other values are equivalent to the default discovery type which is
  55. `multi-node`. Where possible, omit this setting so that {es} uses the default
  56. discovery type.
  57. ====
  58. [discrete]
  59. [[breaking_8.1_rest_api_deprecations]]
  60. ==== REST API deprecations
  61. [[deprecate-lenient-parsing-of-bulk-actions]]
  62. .Lenient parsing of bulk actions is deprecated.
  63. [%collapsible]
  64. ====
  65. *Details* +
  66. Older versions of {es} parse the action lines of bulk requests very permissively
  67. and would silently ignore invalid or malformed actions. This lenience is
  68. deprecated and a future version will reject bulk requests containing invalid
  69. actions.
  70. *Impact* +
  71. Ensure that bulk actions are well-formed JSON objects containing a single entry
  72. with the correct key.
  73. ====
  74. //end::notable-breaking-changes[]