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

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

[[bug-8.12.2]]
[float]
=== Bug fixes

Application::
* Fix bug in `rule_query` where `text_expansion` errored because it was not rewritten {es-pull}105365[#105365]
* [Connectors API] Fix bug with crawler configuration parsing and `sync_now` flag {es-pull}105024[#105024]

Authentication::
* Validate settings before reloading JWT shared secret {es-pull}105070[#105070]

Downsampling::
* Downsampling better handle if source index isn't allocated and fix bug in retrieving last processed tsid {es-pull}105228[#105228]

ES|QL::
* ESQL: Push CIDR_MATCH to Lucene if possible {es-pull}105061[#105061] (issue: {es-issue}105042[#105042])
* ES|QL: Fix exception handling on `date_parse` with wrong date pattern {es-pull}105048[#105048] (issue: {es-issue}104124[#104124])

Indices APIs::
* Always show `composed_of` field for composable index templates {es-pull}105315[#105315] (issue: {es-issue}104627[#104627])

Ingest Node::
* Backport stable `ThreadPool` constructor from `LogstashInternalBridge` {es-pull}105165[#105165]
* Harden index mapping parameter check in enrich runner {es-pull}105096[#105096]

Machine Learning::
* Fix handling of `ml.config_version` node attribute for nodes with machine learning disabled {es-pull}105066[#105066]
* Fix handling surrogate pairs in the XLM Roberta tokenizer {es-pull}105183[#105183] (issues: {es-issue}104626[#104626], {es-issue}104981[#104981])
* Inference service should reject tasks during shutdown {es-pull}105213[#105213]

Network::
* Close `currentChunkedWrite` on client cancel {es-pull}105258[#105258]
* Fix leaked HTTP response sent after close {es-pull}105293[#105293] (issue: {es-issue}104651[#104651])
* Fix race in HTTP response shutdown handling {es-pull}105306[#105306]

Search::
* Field-caps should read fields from up-to-dated shards {es-pull}105153[#105153] (issue: {es-issue}104809[#104809])

Snapshot/Restore::
* Finalize all snapshots completed by shard snapshot updates {es-pull}105245[#105245] (issue: {es-issue}104939[#104939])

Transform::
* Do not log warning when triggering an `ABORTING` transform {es-pull}105234[#105234] (issue: {es-issue}105233[#105233])
* Make `_reset` action stop transforms without force first {es-pull}104870[#104870] (issues: {es-issue}100596[#100596], {es-issue}104825[#104825])

[[enhancement-8.12.2]]
[float]
=== Enhancements

IdentityProvider::
* Include user's privileges actions in IdP plugin `_has_privileges` request {es-pull}104026[#104026]


