Elasticsearch version 8.1.1edit

Also see Breaking changes in 8.1.

Bug fixesedit

Analysis
  • Fix min_hash configuration settings names #84753 (issue: #84578)
EQL
  • Clean any used memory by the sequence matcher and circuit breaker used bytes in case of exception #84451
Engine
  • Increase store ref before snapshotting index commit #84776
ILM+SLM
  • Invoke initial AsyncActionStep for newly created indices #84541 (issue: #77269)
Indices APIs
  • Remove existing indices/datastreams/aliases before simulating index template #84675 (issue: #84256)
Infra/Core
  • Fix NullPointerException in SystemIndexMetadataUpgradeService hidden alias handling #84780 (issue: #81411)
  • Require and preserve content type for filtered rest requests #84914 (issue: #84784)
  • Wrap thread creation in doPrivileged call #85180
Infra/REST API
  • Correctly return _type field for documents in V7 compatiblity mode #84873 (issue: #84173)
Ingest
  • Backport mark GeoIpDownloaderTask as completed after cancellation #84028 #85014 (issues: #84028, #84652)
  • CompoundProcessor should also catch exceptions when executing a processor #84838 (issue: #84781)
Machine Learning
  • Fix Kibana date format and similar overrides in text structure endpoint #84967
  • Fixes for multi-line start patterns in text structure endpoint #85066
  • Return all datafeeds in get anomaly detection jobs API #84759
Packaging
  • Remove use of Cloudflare zlib #84680
Search
  • Fix point visitor in DiskUsage API #84909
  • DotExpandingXContentParser to expose the original token location #84970
Snapshot/Restore
  • Don’t fail if there no symlink for AWS Web Identity Token #84697
  • Lookup AWS Region for STS Client from STS endpoint #84585 (issue: #83826)

Enhancementsedit

SQL
  • Forward warning headers to JDBC driver #84499
Watcher
  • Add list of allowed domains for Watcher email action #84894 (issue: #84739)