Bläddra i källkod

Bump to version 8.6.0

Christos Soulios 3 år sedan
förälder
incheckning
7ca7a75d9d

+ 3 - 3
.backportrc.json

@@ -1,9 +1,9 @@
 {
   "upstream" : "elastic/elasticsearch",
-  "targetBranchChoices" : [ "main", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
+  "targetBranchChoices" : [ "main", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
   "targetPRLabels" : [ "backport" ],
   "branchLabelMapping" : {
-    "^v8.5.0$" : "main",
+    "^v8.6.0$" : "main",
     "^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$" : "$1.$2"
   }
-}
+}

+ 1 - 0
.ci/bwcVersions

@@ -75,3 +75,4 @@ BWC_VERSION:
   - "8.4.2"
   - "8.4.3"
   - "8.5.0"
+  - "8.6.0"

+ 1 - 0
.ci/snapshotBwcVersions

@@ -2,3 +2,4 @@ BWC_VERSION:
   - "7.17.7"
   - "8.4.3"
   - "8.5.0"
+  - "8.6.0"

+ 1 - 1
build-tools-internal/version.properties

@@ -1,4 +1,4 @@
-elasticsearch     = 8.5.0
+elasticsearch     = 8.6.0
 lucene            = 9.4.0-snapshot-923a9f800ae
 
 bundled_jdk_vendor = openjdk

+ 2 - 2
docs/reference/migration/index.asciidoc

@@ -1,13 +1,13 @@
 include::migration_intro.asciidoc[]
 
-* <<migrating-8.5,Migrating to 8.5>>
+* <<migrating-8.6,Migrating to 8.6>>
 * <<migrating-8.4,Migrating to 8.4>>
 * <<migrating-8.3,Migrating to 8.3>>
 * <<migrating-8.2,Migrating to 8.2>>
 * <<migrating-8.1,Migrating to 8.1>>
 * <<migrating-8.0,Migrating to 8.0>>
 
-include::migrate_8_5.asciidoc[]
+include::migrate_8_6.asciidoc[]
 include::migrate_8_4.asciidoc[]
 include::migrate_8_3.asciidoc[]
 include::migrate_8_2.asciidoc[]

+ 22 - 0
docs/reference/migration/migrate_8_6.asciidoc

@@ -0,0 +1,22 @@
+[[migrating-8.6]]
+== Migrating to 8.6
+++++
+<titleabbrev>8.6</titleabbrev>
+++++
+
+This section discusses the changes that you need to be aware of when migrating
+your application to {es} 8.6.
+
+See also <<release-highlights>> and <<es-release-notes>>.
+
+coming::[8.6.0]
+
+
+[discrete]
+[[breaking-changes-8.6]]
+=== Breaking changes
+
+// tag::notable-breaking-changes[]
+There are no breaking changes in {es} 8.6.
+// end::notable-breaking-changes[]
+

+ 2 - 0
docs/reference/release-notes.asciidoc

@@ -6,6 +6,7 @@
 
 This section summarizes the changes in each release.
 
+* <<release-notes-8.6.0>>
 * <<release-notes-8.4.2>>
 * <<release-notes-8.4.1>>
 * <<release-notes-8.4.0>>
@@ -31,6 +32,7 @@ This section summarizes the changes in each release.
 
 --
 
+include::release-notes/8.6.0.asciidoc[]
 include::release-notes/8.4.2.asciidoc[]
 include::release-notes/8.4.1.asciidoc[]
 include::release-notes/8.4.0.asciidoc[]

+ 8 - 0
docs/reference/release-notes/8.6.0.asciidoc

@@ -0,0 +1,8 @@
+[[release-notes-8.6.0]]
+== {es} version 8.6.0
+
+coming[8.6.0]
+
+Also see <<breaking-changes-8.6,Breaking changes in 8.6>>.
+
+

+ 9 - 89
docs/reference/release-notes/highlights.asciidoc

@@ -12,100 +12,20 @@ endif::[]
 // Add previous release to the list
 Other versions:
 
-{ref-bare}/8.3/release-highlights.html[8.3]
+{ref-bare}/8.5/release-highlights.html[8.5]
+| {ref-bare}/8.4/release-highlights.html[8.4]
+| {ref-bare}/8.3/release-highlights.html[8.3]
 | {ref-bare}/8.2/release-highlights.html[8.2]
 | {ref-bare}/8.1/release-highlights.html[8.1]
 | {ref-bare}/8.0/release-highlights.html[8.0]
 
+// The notable-highlights tag marks entries that
+// should be featured in the Stack Installation and Upgrade Guide:
 // tag::notable-highlights[]
-
-[discrete]
-[[speed_up_filters_range_date_histogram_aggs]]
-=== Speed up filters/range/date_histogram aggs
-This speeds up a few aggregations when they don't have child aggregations.
-That's super common, for example, the histogram at the top of Kibana's
-discover tab is a `date_histogram` without any child aggregations. That
-particular aggregation is sped up by about 85% in our rally tests, dropping
-from 250ms to 30ms.
-
-{es-pull}81322[#81322]
-
-[discrete]
-[[minimum_conditions_for_rollover_api_ilm_actions]]
-=== Minimum conditions for the rollover API and ILM actions
-The rollover API and ILM actions now support minimum conditions for rollover.
-
-Minimum conditions prevent rollover from occuring until they are met. That is, an index
-will rollover once one or more max conditions are satisfied and all min conditions are satisfied.
-
-As an example, the following ILM policy would roll an index over if it is at least 7 days old or
-at least 100 gigabytes, but only as long as the index is not empty.
-
-[source,console]
-----
-PUT _ilm/policy/my_policy
-{
-  "policy": {
-    "phases": {
-      "hot": {
-        "actions": {
-          "rollover" : {
-            "max_age": "7d",
-            "max_size": "100gb",
-            "min_docs": 1
-          }
-        }
-      }
-    }
-  }
-}
-----
-
-{es-pull}83345[#83345]
-
-[discrete]
-[[infinite_adaptive_retries_for_transforms]]
-=== Infinite and adaptive retries for transforms
-Infinite and adaptive retries – available in 8.4 – makes it possible for 
-transforms to recover after a failure without any user intervention. Retries 
-can be configured per transform. The transform retries become less frequent 
-progressively. The interval between retries doubles after reaching a one-hour 
-threshold. This is because the possibility that retries solve the problem is 
-less likely after each failed retry.
-
-In the *Transforms* page in *{stack-manage-app}* in {kib}, the number of retries 
-can be configured when creating a new transform or editing an existing one.
-
-{es-pull}87361[#87361]
-
-[discrete]
-[[composite_aggregations_in_datafeeds_are_generally_available]]
-=== Composite aggregations in datafeeds are Generally Available
-The support for
-{ml-docs}/ml-configuring-aggregation.html#aggs-using-composite[composite aggregations]
-in datafeeds is now generally available.
-
-[discrete]
-[[early-stopping-dfa]]
-=== Optimizing speed of {dfanalytics}
-{dfanalytics-cap} is even faster in 8.4. The new function automatically
-stops the process of hyperparameter optimization early in case the
-accuracy gain for a different set of hyperparameter values would be
-insignificant. The early stopping of the optimization process results in a
-shorter runtime for the {dfanalytics-job}.
-
-{es-pull}88589[#88589]
-
-[discrete]
-[[integrate_ann_into_search_endpoint]]
-=== Integrate ANN into `_search` endpoint
-This change adds a `knn` option to the `_search` API to support ANN
-search. It's powered by the same Lucene ANN capabilities as the old
-`_knn_search` endpoint. The `knn` option can be combined with other
-search features like queries and aggregations.
-
-{es-pull}88694[#88694]
-
+// [discrete]
+// === Heading
+//
+// Description.
 // end::notable-highlights[]
 
 

+ 2 - 1
server/src/main/java/org/elasticsearch/Version.java

@@ -123,7 +123,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
     public static final Version V_8_4_2 = new Version(8_04_02_99, org.apache.lucene.util.Version.LUCENE_9_3_0);
     public static final Version V_8_4_3 = new Version(8_04_03_99, org.apache.lucene.util.Version.LUCENE_9_3_0);
     public static final Version V_8_5_0 = new Version(8_05_00_99, org.apache.lucene.util.Version.LUCENE_9_4_0);
-    public static final Version CURRENT = V_8_5_0;
+    public static final Version V_8_6_0 = new Version(8_06_00_99, org.apache.lucene.util.Version.LUCENE_9_4_0);
+    public static final Version CURRENT = V_8_6_0;
 
     private static final Map<Integer, Version> idToVersion;
     private static final Map<String, Version> stringToVersion;