[[release-notes-8.5.1]]
== {es} version 8.5.1


Also see <<breaking-changes-8.5,Breaking changes in 8.5>>.

[[known-issues-8.5.1]]
[float]
=== Known issues

include::8.4.0.asciidoc[tag=ml-pre-7-datafeeds-known-issue]

include::8.4.0.asciidoc[tag=file-based-settings-deadlock-known-issue]

include::8.0.0.asciidoc[tag=jackson-filtering-bug]
[[bug-8.5.1]]
[float]
=== Bug fixes

Audit::
* Fix NPE in auditing `authenticationSuccess` for non-existing run-as user {es-pull}91171[#91171]

Authentication::
* Ensure PKI's `delegated_by_realm` metadata respect run-as {es-pull}91173[#91173]

Authorization::
* Ensure `TermsEnum` action works correctly with API keys {es-pull}91170[#91170]

Cluster Coordination::
* Fix corrupted Metadata from index and alias having the same name {es-pull}91456[#91456]

EQL::
* Fix EQLSearchRequest serialization (bwc) {es-pull}91402[#91402]

Geo::
* Fix handling indexed envelopes crossing the dateline in mvt API {es-pull}91105[#91105] (issue: {es-issue}91060[#91060])

Infra/CLI::
* Fix carriage return removal when reading a long line from terminal {es-pull}91131[#91131] (issue: {es-issue}89227[#89227])

Infra/Core::
* Fix APM configuration file delete {es-pull}91058[#91058] (issue: {es-issue}89439[#89439])

Machine Learning::
* Allow NLP truncate option to be updated when span is set {es-pull}91224[#91224]
* Interim buckets should not count towards the total bucket count {es-pull}91288[#91288]

Network::
* Fix `TransportActionProxy` for local execution {es-pull}91289[#91289]

Transform::
* Make transform `_preview` request cancellable {es-pull}91313[#91313] (issue: {es-issue}91286[#91286])

[[enhancement-8.5.1]]
[float]
=== Enhancements

Authorization::
* Add privileges for connectors index creation {es-pull}91026[#91026]
* Add privileges for crawler logs indices in Enterprise Search service account {es-pull}91094[#91094]

Infra/Core::
* Allow legacy index settings on legacy indices {es-pull}90264[#90264] (issue: {es-issue}84992[#84992])
* Check for unassigned shards on node shutdown {es-pull}91297[#91297] (issue: {es-issue}88635[#88635])

[[upgrade-8.5.1]]
[float]
=== Upgrades

Packaging::
* Update bundled JDK to Java 19.0.1 {es-pull}91025[#91025] (issue: {es-issue}91010[#91010])


