8.1.0.asciidoc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. [[release-notes-8.1.0]]
  2. == {es} version 8.1.0
  3. Also see <<breaking-changes-8.1,Breaking changes in 8.1>>.
  4. [[breaking-8.1.0]]
  5. [float]
  6. === Breaking changes
  7. Geo::
  8. * Fields API should return normalize geometries {es-pull}80649[#80649] (issues: {es-issue}79232[#79232], {es-issue}63739[#63739])
  9. [[bug-8.1.0]]
  10. [float]
  11. === Bug fixes
  12. Aggregations::
  13. * Reenable `BooleanTermsIT` {es-pull}83421[#83421] (issue: {es-issue}83351[#83351])
  14. * backward compatibility with version 7.17.0 {es-pull}83715[#83715]
  15. * ip prefix bucket reduction {es-pull}83637[#83637]
  16. * reduce float and half-float values to their stored precision {es-pull}83213[#83213]
  17. Allocation::
  18. * Fix `updateMinNode` condition {es-pull}80403[#80403] (issue: {es-issue}41194[#41194])
  19. * Make `*.routing.allocation.*` list-based setting {es-pull}80420[#80420] (issue: {es-issue}77773[#77773])
  20. * Permit metadata updates on flood-stage-blocked indices {es-pull}81781[#81781]
  21. * Reroute after cluster recovery {es-pull}82856[#82856] (issue: {es-issue}82456[#82456])
  22. Authorization::
  23. * Capture anonymous roles when creating API keys {es-pull}81427[#81427] (issue: {es-issue}81024[#81024])
  24. * Extend fleet-server service account privileges {es-pull}82600[#82600]
  25. Autoscaling::
  26. * Fix autoscaling of follower data streams {es-pull}83302[#83302] (issue: {es-issue}82857[#82857])
  27. Client::
  28. * Fix for self-suppression in REST client {es-pull}83568[#83568] (issue: {es-issue}42223[#42223])
  29. Distributed::
  30. * [GCE Discovery] Correctly handle large zones with 500 or more instances {es-pull}83785[#83785] (issue: {es-issue}83783[#83783])
  31. Engine::
  32. * Fork to `WRITE` thread when failing shard {es-pull}84606[#84606] (issue: {es-issue}84602[#84602])
  33. Geo::
  34. * Handle bounds properly when grid tiles crosses the dateline {es-pull}83348[#83348] (issue: {es-issue}83299[#83299])
  35. * `GeometryNormalizer` should not fail if it cannot compute signed area {es-pull}84051[#84051] (issue: {es-issue}83946[#83946])
  36. ILM+SLM::
  37. * Fix `PolicyStepsRegistry`'s `cachedSteps` null handling {es-pull}84588[#84588]
  38. Indices APIs::
  39. * Allow removing unreferenced composable data stream templates {es-pull}84376[#84376] (issues: {es-issue}84171[#84171], {es-issue}84188[#84188])
  40. * Simplify and speed up `ExecutorSelector` {es-pull}83514[#83514] (issue: {es-issue}82450[#82450])
  41. Infra/Core::
  42. * Always re-run Feature migrations which have encountered errors {es-pull}83918[#83918] (issue: {es-issue}83917[#83917])
  43. * Copy `trace.id` in threadcontext stash {es-pull}83218[#83218]
  44. * Preserve context in `ResultDeduplicator` {es-pull}84038[#84038] (issue: {es-issue}84036[#84036])
  45. * Registration of `SystemIndexMigrationTask` named xcontent objects {es-pull}84192[#84192] (issue: {es-issue}84115[#84115])
  46. * Update system index mappings if `_meta` is null {es-pull}83896[#83896] (issue: {es-issue}83890[#83890])
  47. Infra/REST API::
  48. * Do not allow safelisted media types on Content-Type {es-pull}83448[#83448]
  49. Infra/Scripting::
  50. * Fix duplicated allow lists upon script engine creation {es-pull}82820[#82820] (issue: {es-issue}82778[#82778])
  51. * Fix plumbing in double and keyword runtime fields for the scripting fields API {es-pull}83392[#83392]
  52. Ingest::
  53. * Fix `GeoIpDownloader` startup during rolling upgrade {es-pull}84000[#84000]
  54. * Short circuit date patterns after first match {es-pull}83764[#83764]
  55. Machine Learning::
  56. * Allow autoscaling to work when vertical scaling is possible {es-pull}84242[#84242] (issue: {es-issue}84198[#84198])
  57. * Correctly capture min stats for `inference.ingest_processors` in ML usage {es-pull}82352[#82352]
  58. * Fail queued inference requests with cause if the process crashes {es-pull}81584[#81584]
  59. * Fix NLP tokenization `never_split` handling around punctuation {es-pull}82982[#82982]
  60. * Fix `ZeroShotClassificationConfig` update mixing fields {es-pull}82848[#82848]
  61. * Fix bug where initial scale from 0->1 could scale too high {es-pull}84244[#84244]
  62. * Fix submit after shutdown in process worker service {es-pull}83645[#83645] (issue: {es-issue}83633[#83633])
  63. * Fixes `categorize_text` parameter validation to be parse order independent {es-pull}82628[#82628] (issue: {es-issue}82629[#82629])
  64. * Record node shutdown start time for each node {es-pull}84355[#84355]
  65. * Register the named X-content parser for snapshot upgrade params {es-pull}84420[#84420] (issue: {es-issue}84419[#84419])
  66. * Retry anomaly detection job recovery during relocation {es-pull}83456[#83456]
  67. * Return `zxx` for `lang_ident_model_1` if no valid text is found for language identification {es-pull}82746[#82746] (issue: {es-issue}81933[#81933])
  68. * Text structure finder caps exclude lines pattern at 1000 characters {es-pull}84236[#84236] (issue: {es-issue}83434[#83434])
  69. * Validate vocabulary on model deployment {es-pull}81548[#81548] (issue: {es-issue}81470[#81470])
  70. * Wait for model process to stop in stop deployment {es-pull}83644[#83644]
  71. Mapping::
  72. * Add support for sub-fields to `search_as_you_type` fields {es-pull}82430[#82430] (issue: {es-issue}56326[#56326])
  73. * Better exception message for `MappingParser.parse` {es-pull}80696[#80696]
  74. * Completion field to support multiple completion multi-fields {es-pull}83595[#83595] (issue: {es-issue}83534[#83534])
  75. Network::
  76. * Throw `NoSeedNodeLeftException` on proxy failure {es-pull}80961[#80961] (issue: {es-issue}80898[#80898])
  77. Packaging::
  78. * Add `log4j-slf4j-impl` to `repository-azure` {es-pull}83661[#83661] (issue: {es-issue}83652[#83652])
  79. * Restart ES after keystore upgrade in postinst {es-pull}84224[#84224] (issue: {es-issue}82433[#82433])
  80. Recovery::
  81. * Add missing `indices.recovery.internal_action_retry_timeout` to list of settings {es-pull}83354[#83354]
  82. * Add missing max overcommit factor to list of (dynamic) settings {es-pull}83350[#83350]
  83. SQL::
  84. * Fix txt format for empty result sets {es-pull}83376[#83376]
  85. Search::
  86. * Avoid eagerly loading `StoredFieldsReader` in fetch phase {es-pull}83693[#83693] (issue: {es-issue}82777[#82777])
  87. * Do not deserialise the document when not needed in the fields fetch phase {es-pull}84184[#84184]
  88. * Returns valid PIT when no index matched {es-pull}83424[#83424]
  89. Security::
  90. * Add validation for API key role descriptors {es-pull}82049[#82049] (issue: {es-issue}67311[#67311])
  91. Snapshot/Restore::
  92. * Adjust `LinuxFileSystemNatives.allocatedSizeInBytes` for aarch64 architectures {es-pull}81376[#81376] (issues: {es-issue}80437[#80437], {es-issue}81362[#81362])
  93. * Distinguish "missing repository" from "missing repository plugin" {es-pull}82457[#82457] (issue: {es-issue}81758[#81758])
  94. * Fix `DirectBlobContainerIndexInput` cloning method {es-pull}84341[#84341] (issue: {es-issue}84238[#84238])
  95. * Move get snapshots serialization to management pool {es-pull}83215[#83215]
  96. * Preserve context in `snapshotDeletionListeners` {es-pull}84089[#84089] (issue: {es-issue}84036[#84036])
  97. TSDB::
  98. * Fix time series timestamp meta missing {es-pull}80695[#80695]
  99. Transform::
  100. * Fix NPE in transform version check {es-pull}81756[#81756]
  101. * Fix condition on which the transform stops processing buckets {es-pull}82852[#82852]
  102. * Prevent stopping of transforms due to threadpool limitation {es-pull}81912[#81912] (issue: {es-issue}81796[#81796])
  103. Watcher::
  104. * Tolerate empty types array in Watch definitions {es-pull}83524[#83524] (issue: {es-issue}83235[#83235])
  105. [[deprecation-8.1.0]]
  106. [float]
  107. === Deprecations
  108. CRUD::
  109. * Bulk actions JSON must be well-formed {es-pull}78876[#78876] (issue: {es-issue}43774[#43774])
  110. Cluster Coordination::
  111. * Remove last few mentions of Zen discovery {es-pull}80410[#80410]
  112. SQL::
  113. * Deprecate `index_include_frozen` request parameter {es-pull}83943[#83943] (issue: {es-issue}81939[#81939])
  114. [[enhancement-8.1.0]]
  115. [float]
  116. === Enhancements
  117. Aggregations::
  118. * Add an aggregator for IPv4 and IPv6 subnets {es-pull}82410[#82410]
  119. * Fail shards early when we can detect a type missmatch {es-pull}79869[#79869] (issue: {es-issue}72276[#72276])
  120. * Optimize `significant_text` aggregation to only parse the field it requires from `_source` {es-pull}79651[#79651]
  121. Allocation::
  122. * Identify other node in `SameShardAllocDec` message {es-pull}82890[#82890] (issue: {es-issue}80767[#80767])
  123. * Make `AllocationService#adaptAutoExpandReplicas` Faster {es-pull}83092[#83092]
  124. * Speed up same host check {es-pull}80767[#80767]
  125. Analysis::
  126. * Expose Japanese completion filter to kuromoji analysis plugin {es-pull}81858[#81858]
  127. Authentication::
  128. * Enable `run_as` for all authentication schemes {es-pull}79809[#79809]
  129. * Return API key name in `_authentication` response {es-pull}78946[#78946] (issue: {es-issue}70306[#70306])
  130. Authorization::
  131. * Avoid loading authorized indices when requested indices are all concrete names {es-pull}81237[#81237]
  132. * Optimize DLS bitset building for `matchAll` query {es-pull}81030[#81030] (issue: {es-issue}80904[#80904])
  133. Cluster Coordination::
  134. * Add detail to slow cluster state warning message {es-pull}83221[#83221]
  135. * Batch Index Settings Update Requests {es-pull}82896[#82896] (issue: {es-issue}79866[#79866])
  136. * Improve node-join task descriptions {es-pull}80090[#80090]
  137. * Make `PeerFinder` log messages happier {es-pull}83222[#83222]
  138. * More compact serialization of metadata {es-pull}82608[#82608] (issue: {es-issue}77466[#77466])
  139. * Paginate persisted cluster state {es-pull}78875[#78875]
  140. * Reduce verbosity-increase timeout to 3 minutes {es-pull}81118[#81118]
  141. * Use network recycler for publications {es-pull}80650[#80650] (issue: {es-issue}80111[#80111])
  142. Data streams::
  143. * Defer reroute when autocreating datastream {es-pull}82412[#82412] (issue: {es-issue}82159[#82159])
  144. ILM+SLM::
  145. * Expose the index age in ILM explain output {es-pull}81273[#81273] (issue: {es-issue}64429[#64429])
  146. Indices APIs::
  147. * Batch auto create index cluster state updates {es-pull}82159[#82159]
  148. * Expose 'features' option in Get Index API {es-pull}83083[#83083] (issue: {es-issue}82948[#82948])
  149. * Expose index health and status to the `_stats` API {es-pull}81954[#81954] (issue: {es-issue}80413[#80413])
  150. * Force merge REST API support `wait_for_completion` {es-pull}80463[#80463] (issues: {es-issue}80129[#80129], {es-issue}80129[#80129])
  151. Infra/Circuit Breakers::
  152. * Allow dynamically changing the `use_real_memory` setting {es-pull}78288[#78288] (issue: {es-issue}77324[#77324])
  153. Infra/Core::
  154. * Use `VarHandles` for number conversions {es-pull}80367[#80367] (issue: {es-issue}78823[#78823])
  155. * Use `VarHandles` in `ByteUtils` {es-pull}80442[#80442] (issue: {es-issue}78823[#78823])
  156. * `FilterPathBasedFilter` support match fieldname with dot {es-pull}83178[#83178] (issues: {es-issue}83148[#83148], {es-issue}83152[#83152])
  157. Infra/REST API::
  158. * Allow for customised content-type validation {es-pull}80906[#80906] (issue: {es-issue}80482[#80482])
  159. * Update YAML REST tests to check for product header on all responses {es-pull}83290[#83290]
  160. Infra/Scripting::
  161. * Add '$' syntax as a shortcut for 'field' in Painless {es-pull}80518[#80518]
  162. * Add `BinaryDocValuesField` to replace `BytesRef` `(ScriptDocValues)` {es-pull}79760[#79760]
  163. * Add a geo point field for the scripting fields api {es-pull}81395[#81395]
  164. * Add date fields to the scripting fields api {es-pull}81272[#81272]
  165. * Add half float mapping to the scripting fields API {es-pull}82294[#82294]
  166. * Add scaled float to the scripting fields API {es-pull}82275[#82275]
  167. * Add support for `GeoShape` to the scripting fields API {es-pull}81617[#81617]
  168. * Fields API for IP mapped type {es-pull}81396[#81396]
  169. * Fields API for byte, double, float, integer, long, short {es-pull}81126[#81126] (issue: {es-issue}79105[#79105])
  170. * Fields API for flattened mapped type {es-pull}82590[#82590]
  171. * Fields API for x-pack `constant_keyword` {es-pull}82292[#82292]
  172. * Fields API for x-pack version, doc version, seq no, mumur3 {es-pull}81476[#81476]
  173. * Improve support for joda datetime to java datetime in Painless {es-pull}83099[#83099]
  174. * Keyword fields API support {es-pull}81266[#81266]
  175. * Make wildcard accessible from the scripting field API {es-pull}82763[#82763]
  176. * Ordinal field data plumbing {es-pull}80970[#80970] (issue: {es-issue}79105[#79105])
  177. * Support boolean fields in Fields API {es-pull}80043[#80043] (issue: {es-issue}79105[#79105])
  178. * Time series compile and cache evict metrics {es-pull}79078[#79078] (issue: {es-issue}62899[#62899])
  179. Infra/Settings::
  180. * Optimize duplicated code block in `MetadataUpdateSettingsService` {es-pull}82048[#82048]
  181. Machine Learning::
  182. * Add ability to update the truncation option at inference {es-pull}80267[#80267]
  183. * Add error counts to trained model stats {es-pull}82705[#82705]
  184. * Add latest search interval to datafeed stats {es-pull}82620[#82620] (issue: {es-issue}82405[#82405])
  185. * Adds new MPNet tokenization for NLP models {es-pull}82234[#82234]
  186. * Force delete trained models {es-pull}80595[#80595]
  187. * Improve error message on starting scrolling datafeed with no matching indices {es-pull}81069[#81069] (issue: {es-issue}81013[#81013])
  188. * Report thread settings per node for trained model deployments {es-pull}81723[#81723] (issue: {es-issue}81149[#81149])
  189. * Set default value of 30 days for model prune window {es-pull}81377[#81377]
  190. * Track token positions and use source string to tag NER entities {es-pull}81275[#81275]
  191. * Warn when creating job with an unusual bucket span {es-pull}82145[#82145] (issue: {es-issue}81645[#81645])
  192. Mapping::
  193. * Allow doc-values only search on geo_point fields {es-pull}83395[#83395]
  194. * Implement all queries on doc-values only keyword fields {es-pull}83404[#83404]
  195. * Optimize source filtering in `SourceFieldMapper` {es-pull}81970[#81970] (issues: {es-issue}77154[#77154], {es-issue}81575[#81575])
  196. Monitoring::
  197. * Add Enterprise Search monitoring index templates {es-pull}82743[#82743]
  198. * Add `beats_stats.metrics.apm-server.sampling.tail` to Stack Monitoring templates {es-pull}82401[#82401]
  199. Network::
  200. * Report close connection exceptions at INFO {es-pull}81768[#81768] (issues: {es-issue}51612[#51612], {es-issue}66473[#66473])
  201. * Serialize outbound messages on netty buffers {es-pull}80111[#80111]
  202. * Track histogram of transport handling times {es-pull}80581[#80581] (issue: {es-issue}80428[#80428])
  203. Recovery::
  204. * Adjust `indices.recovery.max_bytes_per_sec` according to external settings {es-pull}82819[#82819]
  205. SQL::
  206. * Compress Cursors {es-pull}83591[#83591]
  207. * Extend Tableau connector to reconnect with catalog {es-pull}81321[#81321]
  208. Search::
  209. * Add `scripted_metric` agg context to `unsigned_long` {es-pull}64422[#64422] (issue: {es-issue}64347[#64347])
  210. * Add field usage support for vectors {es-pull}80608[#80608]
  211. * Allow doc-values only search on boolean fields {es-pull}82925[#82925] (issues: {es-issue}82409[#82409], {es-issue}81210[#81210], {es-issue}52728[#52728])
  212. * Allow doc-values only search on date types {es-pull}82602[#82602] (issues: {es-issue}82409[#82409], {es-issue}81210[#81210], {es-issue}52728[#52728])
  213. * Allow doc-values only search on ip fields {es-pull}82929[#82929] (issues: {es-issue}82409[#82409], {es-issue}81210[#81210], {es-issue}52728[#52728])
  214. * Allow doc-values only search on keyword fields {es-pull}82846[#82846] (issues: {es-issue}82409[#82409], {es-issue}81210[#81210], {es-issue}52728[#52728])
  215. * Allow doc-values only search on number types {es-pull}82409[#82409] (issues: {es-issue}81210[#81210], {es-issue}52728[#52728])
  216. * Rewrite `match` and `match_phrase` queries to `term` queries on `keyword` fields {es-pull}82612[#82612] (issue: {es-issue}82515[#82515])
  217. * Short cut if reader has point values {es-pull}80268[#80268]
  218. * Support combining `_shards` preference param with `<custom-string>` {es-pull}80024[#80024] (issue: {es-issue}80021[#80021])
  219. Security::
  220. * Activate user profile API {es-pull}82400[#82400]
  221. * Add an initial `ProfileService` for user profiles {es-pull}81899[#81899]
  222. * Add new system index for user profile documents {es-pull}81355[#81355]
  223. * Add update user profile data API {es-pull}82772[#82772]
  224. * Add user profile API for get profile by UID {es-pull}81910[#81910]
  225. * Update Kibana system user privileges {es-pull}82781[#82781]
  226. Snapshot/Restore::
  227. * Add Linux x86-64bits native method to retrieve the number of allocated bytes on disk for a file {es-pull}80437[#80437] (issue: {es-issue}79698[#79698])
  228. Stats::
  229. * Add index pressure stats in cluster stats {es-pull}80303[#80303] (issue: {es-issue}79788[#79788])
  230. * Optimize `getIndices` in `IndicesSegmentResponse` {es-pull}80064[#80064]
  231. * Speed up `MappingStats` Computation on Coordinating Node {es-pull}82830[#82830]
  232. TSDB::
  233. * Add `_tsid` field to `time_series` indices {es-pull}80276[#80276]
  234. * Make time boundaries settings required in TSDB indices {es-pull}81146[#81146]
  235. Transform::
  236. * Introduce `deduce_mappings` transform setting {es-pull}82256[#82256] (issue: {es-issue}82559[#82559])
  237. * Make it possible to clear retention policy on an existing transform {es-pull}82703[#82703] (issue: {es-issue}82560[#82560])
  238. * Report transforms without config as erroneous {es-pull}81141[#81141] (issue: {es-issue}80955[#80955])
  239. [[feature-8.1.0]]
  240. [float]
  241. === New features
  242. Authentication::
  243. * Initial version of JWT Realm {es-pull}82175[#82175]
  244. * Introduce domain setting to associate realms {es-pull}81968[#81968]
  245. Distributed::
  246. * Add desired nodes API {es-pull}82975[#82975]
  247. Geo::
  248. * New `GeoHexGrid` aggregation {es-pull}82924[#82924]
  249. Health::
  250. * Model for the new health reporting api {es-pull}83398[#83398]
  251. TSDB::
  252. * Handle `fields.with.dots` in `routing_path` {es-pull}83148[#83148]
  253. Transform::
  254. * Add transform reset API {es-pull}79828[#79828] (issue: {es-issue}75768[#75768])
  255. [[upgrade-8.1.0]]
  256. [float]
  257. === Upgrades
  258. Geo::
  259. * Update vector tiles google protobuf to 3.16.1 {es-pull}83402[#83402]
  260. Network::
  261. * Upgrade to Netty 4.1.73 {es-pull}82844[#82844]
  262. Packaging::
  263. * Bump bundled JDK to 17.0.2+8 {es-pull}83243[#83243] (issue: {es-issue}83242[#83242])
  264. Security::
  265. * Upgrade jANSI dependency to 2.4.0 {es-pull}83566[#83566]