8.1.0.asciidoc 18 KB

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