Elasticsearch version 8.5.1edit

Also see Breaking changes in 8.5.

Bug fixesedit

Audit
  • Fix NPE in auditing authenticationSuccess for non-existing run-as user #91171
Authentication
  • Ensure PKI’s delegated_by_realm metadata respect run-as #91173
Authorization
  • Ensure TermsEnum action works correctly with API keys #91170
Cluster Coordination
  • Fix corrupted Metadata from index and alias having the same name #91456
EQL
  • Fix EQLSearchRequest serialization (bwc) #91402
Geo
  • Fix handling indexed envelopes crossing the dateline in mvt API #91105 (issue: #91060)
Infra/CLI
  • Fix carriage return removal when reading a long line from terminal #91131 (issue: #89227)
Infra/Core
Machine Learning
  • Allow NLP truncate option to be updated when span is set #91224
  • Interim buckets should not count towards the total bucket count #91288
Network
  • Fix TransportActionProxy for local execution #91289
Transform
  • Make transform _preview request cancellable #91313 (issue: #91286)

Enhancementsedit

Authorization
  • Add privileges for connectors index creation #91026
  • Add privileges for crawler logs indices in Enterprise Search service account #91094
Infra/Core
  • Allow legacy index settings on legacy indices #90264 (issue: #84992)
  • Check for unassigned shards on node shutdown #91297 (issue: #88635)

Upgradesedit

Packaging