Elasticsearch version 8.12.2edit

Also see Breaking changes in 8.12.

Bug fixesedit

Application
  • Fix bug in rule_query where text_expansion errored because it was not rewritten #105365
  • [Connectors API] Fix bug with crawler configuration parsing and sync_now flag #105024
Authentication
  • Validate settings before reloading JWT shared secret #105070
Downsampling
  • Downsampling better handle if source index isn’t allocated and fix bug in retrieving last processed tsid #105228
ES|QL
  • ESQL: Push CIDR_MATCH to Lucene if possible #105061 (issue: #105042)
  • ES|QL: Fix exception handling on date_parse with wrong date pattern #105048 (issue: #104124)
Indices APIs
  • Always show composed_of field for composable index templates #105315 (issue: #104627)
Ingest Node
  • Backport stable ThreadPool constructor from LogstashInternalBridge #105165
  • Harden index mapping parameter check in enrich runner #105096
Machine Learning
  • Fix handling of ml.config_version node attribute for nodes with machine learning disabled #105066
  • Fix handling surrogate pairs in the XLM Roberta tokenizer #105183 (issues: #104626, #104981)
  • Inference service should reject tasks during shutdown #105213
Network
  • Close currentChunkedWrite on client cancel #105258
  • Fix leaked HTTP response sent after close #105293 (issue: #104651)
  • Fix race in HTTP response shutdown handling #105306
Search
  • Field-caps should read fields from up-to-dated shards #105153 (issue: #104809)
Snapshot/Restore
  • Finalize all snapshots completed by shard snapshot updates #105245 (issue: #104939)
Transform

Enhancementsedit

IdentityProvider
  • Include user’s privileges actions in IdP plugin _has_privileges request #104026