6.0.0-alpha1.asciidoc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. [[release-notes-6.0.0-alpha1]]
  2. == 6.0.0-alpha1 Release Notes
  3. The changes listed below have been released for the first time in Elasticsearch 6.0.0-alpha1. Changes in this release which were first released in the 5.x series are listed in <<release-notes-6.0.0-alpha1-5x>>.
  4. Also see <<breaking-changes-6.0>>.
  5. [[breaking-6.0.0-alpha1]]
  6. [float]
  7. === Breaking changes
  8. Allocation::
  9. * Remove `cluster.routing.allocation.snapshot.relocation_enabled` setting {pull}20994[#20994]
  10. Analysis::
  11. * Removing query-string parameters in `_analyze` API {pull}20704[#20704] (issue: {issue}20246[#20246])
  12. CAT API::
  13. * Write -1 on unbounded queue in cat thread pool {pull}21342[#21342] (issue: {issue}21187[#21187])
  14. CRUD::
  15. * Disallow `VersionType.FORCE` for GetRequest {pull}21079[#21079] (issue: {issue}20995[#20995])
  16. * Disallow `VersionType.FORCE` versioning for 6.x indices {pull}20995[#20995] (issue: {issue}20377[#20377])
  17. Cluster::
  18. * No longer allow cluster name in data path {pull}20433[#20433] (issue: {issue}20391[#20391])
  19. Core::
  20. * Simplify file store {pull}24402[#24402] (issue: {issue}24390[#24390])
  21. * Make boolean conversion strict {pull}22200[#22200]
  22. * Remove the `default` store type. {pull}21616[#21616]
  23. * Remove store throttling. {pull}21573[#21573]
  24. Geo::
  25. * Remove deprecated geo search features {pull}22876[#22876]
  26. * Reduce GeoDistance Insanity {pull}19846[#19846]
  27. Index APIs::
  28. * Open/Close index api to allow_no_indices by default {pull}24401[#24401] (issues: {issue}24031[#24031], {issue}24341[#24341])
  29. * Remove support for controversial `ignore_unavailable` and `allow_no_indices` from indices exists api {pull}20712[#20712]
  30. Index Templates::
  31. * Allows multiple patterns to be specified for index templates {pull}21009[#21009] (issue: {issue}20690[#20690])
  32. Java API::
  33. * Enforce Content-Type requirement on the rest layer and remove deprecated methods {pull}23146[#23146] (issue: {issue}19388[#19388])
  34. Mapping::
  35. * Enforce at most one type. {pull}24428[#24428] (issue: {issue}24317[#24317])
  36. * Disallow `include_in_all` for 6.0+ indices {pull}22970[#22970] (issue: {issue}22923[#22923])
  37. * Disable _all by default, disallow configuring _all on 6.0+ indices {pull}22144[#22144] (issues: {issue}19784[#19784], {issue}20925[#20925], {issue}21341[#21341])
  38. * Throw an exception on unrecognized "match_mapping_type" {pull}22090[#22090] (issue: {issue}17285[#17285])
  39. Network::
  40. * Remove blocking TCP clients and servers {pull}22639[#22639]
  41. * Remove `modules/transport_netty_3` in favor of `netty_4` {pull}21590[#21590]
  42. * Remove LocalTransport in favor of MockTcpTransport {pull}20695[#20695]
  43. Packaging::
  44. * Remove customization of ES_USER and ES_GROUP {pull}23989[#23989] (issue: {issue}23848[#23848])
  45. Percolator::
  46. * Remove deprecated percolate and mpercolate apis {pull}22331[#22331]
  47. Plugin Delete By Query::
  48. * Require explicit query in _delete_by_query API {pull}23632[#23632] (issue: {issue}23629[#23629])
  49. Plugin Discovery EC2::
  50. * Ec2 Discovery: Cleanup deprecated settings {pull}24150[#24150]
  51. * Discovery EC2: Remove region setting {pull}23991[#23991] (issue: {issue}22758[#22758])
  52. * AWS Plugins: Remove signer type setting {pull}23984[#23984] (issue: {issue}22599[#22599])
  53. Plugin Lang JS::
  54. * Remove lang-python and lang-javascript {pull}20734[#20734] (issue: {issue}20698[#20698])
  55. Plugin Mapper Attachment::
  56. * Remove mapper attachments plugin {pull}20416[#20416] (issue: {issue}18837[#18837])
  57. Plugin Repository Azure::
  58. * Remove global `repositories.azure` settings {pull}23262[#23262] (issues: {issue}22800[#22800], {issue}22856[#22856])
  59. * Remove auto creation of container for azure repository {pull}22858[#22858] (issue: {issue}22857[#22857])
  60. Plugin Repository S3::
  61. * S3 Repository: Cleanup deprecated settings {pull}24097[#24097]
  62. * S3 Repository: Remove region setting {pull}22853[#22853] (issue: {issue}22758[#22758])
  63. * S3 Repository: Remove bucket auto create {pull}22846[#22846] (issue: {issue}22761[#22761])
  64. * S3 Repository: Remove env var and sysprop credentials support {pull}22842[#22842]
  65. Query DSL::
  66. * Remove deprecated `minimum_number_should_match` in BoolQueryBuilder {pull}22416[#22416]
  67. * Remove support for empty queries {pull}22092[#22092] (issue: {issue}17624[#17624])
  68. * Remove deprecated query names: in, geo_bbox, mlt, fuzzy_match and match_fuzzy {pull}21852[#21852]
  69. * The `terms` query should always map to a Lucene `TermsQuery`. {pull}21786[#21786]
  70. * Be strict when parsing values searching for booleans {pull}21555[#21555] (issue: {issue}21545[#21545])
  71. * Remove collect payloads parameter {pull}20385[#20385]
  72. REST::
  73. * Remove ldjson support and document ndjson for bulk/msearch {pull}23049[#23049] (issue: {issue}23025[#23025])
  74. * Enable strict duplicate checks for all XContent types {pull}22225[#22225] (issues: {issue}19614[#19614], {issue}22073[#22073])
  75. * Enable strict duplicate checks for JSON content {pull}22073[#22073] (issue: {issue}19614[#19614])
  76. * Remove lenient stats parsing {pull}21417[#21417] (issues: {issue}20722[#20722], {issue}21410[#21410])
  77. * Remove allow unquoted JSON {pull}20388[#20388] (issues: {issue}17674[#17674], {issue}17801[#17801])
  78. * Remove FORCE version_type {pull}20377[#20377] (issue: {issue}19769[#19769])
  79. Scripting::
  80. * Make dates be ReadableDateTimes in scripts {pull}22948[#22948] (issue: {issue}22875[#22875])
  81. * Remove groovy scripting language {pull}21607[#21607]
  82. Search::
  83. * ProfileResult and CollectorResult should print machine readable timing information {pull}22561[#22561]
  84. * Remove indices query {pull}21837[#21837] (issue: {issue}17710[#17710])
  85. * Remove ignored type parameter in search_shards api {pull}21688[#21688]
  86. Sequence IDs::
  87. * Change certain replica failures not to fail the replica shard {pull}22874[#22874] (issue: {issue}10708[#10708])
  88. Shadow Replicas::
  89. * Remove shadow replicas {pull}23906[#23906] (issue: {issue}22024[#22024])
  90. [[breaking-java-6.0.0-alpha1]]
  91. [float]
  92. === Breaking Java changes
  93. Java API::
  94. * Java api: ActionRequestBuilder#execute to return a PlainActionFuture {pull}24415[#24415] (issues: {issue}24412[#24412], {issue}9201[#9201])
  95. Network::
  96. * Simplify TransportAddress {pull}20798[#20798]
  97. [[deprecation-6.0.0-alpha1]]
  98. [float]
  99. === Deprecations
  100. Index Templates::
  101. * Restore deprecation warning for invalid match_mapping_type values {pull}22304[#22304]
  102. Internal::
  103. * Deprecate XContentType auto detection methods in XContentFactory {pull}22181[#22181] (issue: {issue}19388[#19388])
  104. [[feature-6.0.0-alpha1]]
  105. [float]
  106. === New features
  107. Core::
  108. * Enable index-time sorting {pull}24055[#24055] (issue: {issue}6720[#6720])
  109. [[enhancement-6.0.0-alpha1]]
  110. [float]
  111. === Enhancements
  112. Aggregations::
  113. * Agg builder accessibility fixes {pull}24323[#24323]
  114. * Remove support for the include/pattern syntax. {pull}23141[#23141] (issue: {issue}22933[#22933])
  115. * Promote longs to doubles when a terms agg mixes decimal and non-decimal numbers {pull}22449[#22449] (issue: {issue}22232[#22232])
  116. Analysis::
  117. * Match- and MultiMatchQueryBuilder should only allow setting analyzer on string values {pull}23684[#23684] (issue: {issue}21665[#21665])
  118. Bulk::
  119. * Simplify bulk request execution {pull}20109[#20109]
  120. CRUD::
  121. * Added validation for upsert request {pull}24282[#24282] (issue: {issue}16671[#16671])
  122. Cluster::
  123. * Separate publishing from applying cluster states {pull}24236[#24236]
  124. * Adds cluster state size to /_cluster/state response {pull}23440[#23440] (issue: {issue}3415[#3415])
  125. Core::
  126. * Remove connect SocketPermissions from core {pull}22797[#22797]
  127. * Add repository-url module and move URLRepository {pull}22752[#22752] (issue: {issue}22116[#22116])
  128. * Remove accept SocketPermissions from core {pull}22622[#22622] (issue: {issue}22116[#22116])
  129. * Move IfConfig.logIfNecessary call into bootstrap {pull}22455[#22455] (issue: {issue}22116[#22116])
  130. * Remove artificial default processors limit {pull}20874[#20874] (issue: {issue}20828[#20828])
  131. * Simplify write failure handling {pull}19105[#19105] (issue: {issue}20109[#20109])
  132. Engine::
  133. * Fill missing sequence IDs up to max sequence ID when recovering from store {pull}24238[#24238] (issue: {issue}10708[#10708])
  134. * Use sequence numbers to identify out of order delivery in replicas & recovery {pull}24060[#24060] (issue: {issue}10708[#10708])
  135. * Add replica ops with version conflict to translog {pull}22626[#22626]
  136. * Clarify global checkpoint recovery {pull}21934[#21934] (issue: {issue}21254[#21254])
  137. Internal::
  138. * Try to convince the JVM not to lose stacktraces {pull}24426[#24426] (issue: {issue}24376[#24376])
  139. * Make document write requests immutable {pull}23038[#23038]
  140. Java High Level REST Client::
  141. * Add info method to High Level Rest client {pull}23350[#23350]
  142. * Add support for named xcontent parsers to high level REST client {pull}23328[#23328]
  143. * Add BulkRequest support to High Level Rest client {pull}23312[#23312]
  144. * Add UpdateRequest support to High Level Rest client {pull}23266[#23266]
  145. * Add delete API to the High Level Rest Client {pull}23187[#23187]
  146. * Add Index API to High Level Rest Client {pull}23040[#23040]
  147. * Add get/exists method to RestHighLevelClient {pull}22706[#22706]
  148. * Add fromxcontent methods to delete response {pull}22680[#22680] (issue: {issue}22229[#22229])
  149. * Add REST high level client gradle submodule and first simple method {pull}22371[#22371]
  150. Java REST Client::
  151. * Wrap rest httpclient with doPrivileged blocks {pull}22603[#22603] (issue: {issue}22116[#22116])
  152. Mapping::
  153. * Date detection should not rely on a hardcoded set of characters. {pull}22171[#22171] (issue: {issue}1694[#1694])
  154. Network::
  155. * Isolate SocketPermissions to Netty {pull}23057[#23057]
  156. * Wrap netty accept/connect ops with doPrivileged {pull}22572[#22572] (issue: {issue}22116[#22116])
  157. * Replace Socket, ServerSocket, and HttpServer usages in tests with mocksocket versions {pull}22287[#22287] (issue: {issue}22116[#22116])
  158. Plugin Discovery EC2::
  159. * Read ec2 discovery address from aws instance tags {pull}22743[#22743] (issue: {issue}22566[#22566])
  160. Plugin Repository HDFS::
  161. * Add doPrivilege blocks for socket connect ops in repository-hdfs {pull}22793[#22793] (issue: {issue}22116[#22116])
  162. Plugins::
  163. * Add doPrivilege blocks for socket connect operations in plugins {pull}22534[#22534] (issue: {issue}22116[#22116])
  164. Recovery::
  165. * Peer Recovery: remove maxUnsafeAutoIdTimestamp hand off {pull}24243[#24243] (issue: {issue}24149[#24149])
  166. * Introduce sequence-number-based recovery {pull}22484[#22484] (issue: {issue}10708[#10708])
  167. Search::
  168. * Add parsing from xContent to Suggest {pull}22903[#22903]
  169. * Add parsing from xContent to ShardSearchFailure {pull}22699[#22699]
  170. Sequence IDs::
  171. * Block global checkpoint advances when recovering {pull}24404[#24404] (issue: {issue}10708[#10708])
  172. * Add primary term to doc write response {pull}24171[#24171] (issue: {issue}10708[#10708])
  173. * Preserve multiple translog generations {pull}24015[#24015] (issue: {issue}10708[#10708])
  174. * Introduce translog generation rolling {pull}23606[#23606] (issue: {issue}10708[#10708])
  175. * Replicate write failures {pull}23314[#23314]
  176. * Introduce sequence-number-aware translog {pull}22822[#22822] (issue: {issue}10708[#10708])
  177. * Introduce translog no-op {pull}22291[#22291] (issue: {issue}10708[#10708])
  178. * Tighten sequence numbers recovery {pull}22212[#22212] (issue: {issue}10708[#10708])
  179. * Add BWC layer to seq no infra and enable BWC tests {pull}22185[#22185] (issue: {issue}21670[#21670])
  180. * Add internal _primary_term doc values field, fix _seq_no indexing {pull}21637[#21637] (issues: {issue}10708[#10708], {issue}21480[#21480])
  181. * Add global checkpoint to translog checkpoints {pull}21254[#21254]
  182. * Sequence numbers commit data for Lucene uses Iterable interface {pull}20793[#20793] (issue: {issue}10708[#10708])
  183. * Simplify GlobalCheckpointService and properly hook it for cluster state updates {pull}20720[#20720]
  184. Stats::
  185. * Expose disk usage estimates in nodes stats {pull}22081[#22081] (issue: {issue}8686[#8686])
  186. Store::
  187. * Remote support for lucene versions without checksums {pull}24021[#24021]
  188. Suggesters::
  189. * Remove deprecated _suggest endpoint {pull}22203[#22203] (issue: {issue}20305[#20305])
  190. Task Manager::
  191. * Add descriptions to bulk tasks {pull}22059[#22059] (issue: {issue}21768[#21768])
  192. [[bug-6.0.0-alpha1]]
  193. [float]
  194. === Bug fixes
  195. Ingest::
  196. * Remove support for Visio and potm files {pull}22079[#22079] (issue: {issue}22077[#22077])
  197. Inner Hits::
  198. * If size / offset are out of bounds just do a plain count {pull}20556[#20556] (issue: {issue}20501[#20501])
  199. Internal::
  200. * Fix handling of document failure exception in InternalEngine {pull}22718[#22718]
  201. Plugin Ingest Attachment::
  202. * Add missing mime4j library {pull}22764[#22764] (issue: {issue}22077[#22077])
  203. Plugin Repository S3::
  204. * Wrap getCredentials() in a doPrivileged() block {pull}23297[#23297] (issues: {issue}22534[#22534], {issue}23271[#23271])
  205. Sequence IDs::
  206. * Avoid losing ops in file-based recovery {pull}22945[#22945] (issue: {issue}22484[#22484])
  207. Snapshot/Restore::
  208. * Keep snapshot restore state and routing table in sync {pull}20836[#20836] (issue: {issue}19774[#19774])
  209. Translog::
  210. * Fix Translog.Delete serialization for sequence numbers {pull}22543[#22543]
  211. [[regression-6.0.0-alpha1]]
  212. [float]
  213. === Regressions
  214. Bulk::
  215. * Only re-parse operation if a mapping update was needed {pull}23832[#23832] (issue: {issue}23665[#23665])
  216. [[upgrade-6.0.0-alpha1]]
  217. [float]
  218. === Upgrades
  219. Core::
  220. * Upgrade to a Lucene 7 snapshot {pull}24089[#24089] (issues: {issue}23966[#23966], {issue}24086[#24086], {issue}24087[#24087], {issue}24088[#24088])
  221. Plugin Ingest Attachment::
  222. * Update to Tika 1.14 {pull}21591[#21591] (issue: {issue}20390[#20390])