Browse Source

Split release notes pages to be per-patch version

Follow up to #85279 / 4ec75537cdd.
Rory Hunter 3 years ago
parent
commit
cccf8b71a1

+ 1 - 7
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesIndexGenerator.java

@@ -43,13 +43,7 @@ public class ReleaseNotesIndexGenerator {
         versionsSet.stream().map(v -> v.isSnapshot() ? v.withoutQualifier() : v).forEach(versions::add);
 
         final List<String> includeVersions = versions.stream()
-            .map(
-                // We didn't split up the notes for 8.0
-                version -> version.isBefore(QualifiedVersion.of("8.1.0")) && version.hasQualifier() == false
-                    ? version.major() + "." + version.minor()
-                    : version.toString()
-            )
-            .distinct()
+            .map(QualifiedVersion::toString)
             .collect(Collectors.toList());
 
         final Map<String, Object> bindings = new HashMap<>();

+ 3 - 1
build-tools-internal/src/test/resources/org/elasticsearch/gradle/internal/release/ReleaseNotesIndexGeneratorTest.generateFile.asciidoc

@@ -21,7 +21,9 @@ This section summarizes the changes in each release.
 include::release-notes/8.2.0.asciidoc[]
 include::release-notes/8.1.1.asciidoc[]
 include::release-notes/8.1.0.asciidoc[]
-include::release-notes/8.0.asciidoc[]
+include::release-notes/8.0.2.asciidoc[]
+include::release-notes/8.0.1.asciidoc[]
+include::release-notes/8.0.0.asciidoc[]
 include::release-notes/8.0.0-rc3.asciidoc[]
 include::release-notes/8.0.0-beta2.asciidoc[]
 include::release-notes/8.0.0-alpha1.asciidoc[]

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

@@ -18,8 +18,10 @@ This section summarizes the changes in each release.
 
 --
 
-include::release-notes/8.1.asciidoc[]
-include::release-notes/8.0.asciidoc[]
+include::release-notes/8.1.1.asciidoc[]
+include::release-notes/8.1.0.asciidoc[]
+include::release-notes/8.0.1.asciidoc[]
+include::release-notes/8.0.0.asciidoc[]
 include::release-notes/8.0.0-rc2.asciidoc[]
 include::release-notes/8.0.0-rc1.asciidoc[]
 include::release-notes/8.0.0-beta1.asciidoc[]

+ 0 - 77
docs/reference/release-notes/8.0.asciidoc → docs/reference/release-notes/8.0.0.asciidoc

@@ -1,80 +1,3 @@
-[[release-notes-8.0.1]]
-== {es} version 8.0.1
-
-Also see <<breaking-changes-8.0,Breaking changes in 8.0>>.
-
-[[bug-8.0.1]]
-[float]
-=== Bug fixes
-
-Aggregations::
-* Fix backward compatibility with 7.17.0 {es-pull}83715[#83715]
-
-Distributed::
-* Correctly handle large zones with 500 or more instances {es-pull}83785[#83785] (issue: {es-issue}83783[#83783])
-
-ILM+SLM::
-* Do not allow negative age in explain lifecycle API response {es-pull}84043[#84043]
-
-Infra/Core::
-* Copy `trace.id` in threadcontext stash {es-pull}83218[#83218]
-* Preserve context in `ResultDeduplicator` {es-pull}84038[#84038] (issue: {es-issue}84036[#84036])
-* Update system index mappings if `_meta` is null {es-pull}83896[#83896] (issue: {es-issue}83890[#83890])
-
-Ingest::
-* Fix `GeoIpDownloader` startup during rolling upgrade {es-pull}84000[#84000]
-* Short circuit date patterns after first match {es-pull}83764[#83764]
-
-Machine Learning::
-* Retry anomaly detection job recovery during relocation {es-pull}83456[#83456]
-
-Packaging::
-* Add `log4j-slf4j-impl` to `repository-azure` {es-pull}83661[#83661] (issue: {es-issue}83652[#83652])
-
-Recovery::
-* Add missing `indices.recovery.internal_action_retry_timeout` to list of settings {es-pull}83354[#83354]
-
-SQL::
-* Fix txt format for empty result sets {es-pull}83376[#83376]
-
-Search::
-* Avoid eagerly loading `StoredFieldsReader` in fetch phase {es-pull}83693[#83693] (issue: {es-issue}82777[#82777])
-* Returns valid PIT when no index matched {es-pull}83424[#83424]
-
-Security::
-* Upgrade jANSI dependency to 2.4.0 {es-pull}83566[#83566]
-
-Snapshot/Restore::
-* Move get snapshots serialization to management pool {es-pull}83215[#83215]
-* Preserve context in `snapshotDeletionListeners` {es-pull}84089[#84089] (issue: {es-issue}84036[#84036])
-
-Transform::
-* Fix condition on which the transform stops processing buckets {es-pull}82852[#82852]
-
-Watcher::
-* Tolerate empty types array in Watch definitions {es-pull}83524[#83524] (issue: {es-issue}83235[#83235])
-
-[[enhancement-8.0.1]]
-[float]
-=== Enhancements
-
-Infra/REST API::
-* Update YAML REST tests to check for product header on all responses {es-pull}83290[#83290]
-
-Recovery::
-* Adjust `indices.recovery.max_bytes_per_sec` according to external settings {es-pull}82819[#82819]
-
-[[upgrade-8.0.1]]
-[float]
-=== Upgrades
-
-Geo::
-* Update vector tiles google protobuf to 3.16.1 {es-pull}83402[#83402]
-
-Packaging::
-* Bump bundled JDK to 17.0.2+8 {es-pull}83243[#83243] (issue: {es-issue}83242[#83242])
-
-
 [[release-notes-8.0.0]]
 == {es} version 8.0.0
 

+ 77 - 0
docs/reference/release-notes/8.0.1.asciidoc

@@ -0,0 +1,77 @@
+[[release-notes-8.0.1]]
+== {es} version 8.0.1
+
+Also see <<breaking-changes-8.0,Breaking changes in 8.0>>.
+
+[[bug-8.0.1]]
+[float]
+=== Bug fixes
+
+Aggregations::
+* Fix backward compatibility with 7.17.0 {es-pull}83715[#83715]
+
+Distributed::
+* Correctly handle large zones with 500 or more instances {es-pull}83785[#83785] (issue: {es-issue}83783[#83783])
+
+ILM+SLM::
+* Do not allow negative age in explain lifecycle API response {es-pull}84043[#84043]
+
+Infra/Core::
+* Copy `trace.id` in threadcontext stash {es-pull}83218[#83218]
+* Preserve context in `ResultDeduplicator` {es-pull}84038[#84038] (issue: {es-issue}84036[#84036])
+* Update system index mappings if `_meta` is null {es-pull}83896[#83896] (issue: {es-issue}83890[#83890])
+
+Ingest::
+* Fix `GeoIpDownloader` startup during rolling upgrade {es-pull}84000[#84000]
+* Short circuit date patterns after first match {es-pull}83764[#83764]
+
+Machine Learning::
+* Retry anomaly detection job recovery during relocation {es-pull}83456[#83456]
+
+Packaging::
+* Add `log4j-slf4j-impl` to `repository-azure` {es-pull}83661[#83661] (issue: {es-issue}83652[#83652])
+
+Recovery::
+* Add missing `indices.recovery.internal_action_retry_timeout` to list of settings {es-pull}83354[#83354]
+
+SQL::
+* Fix txt format for empty result sets {es-pull}83376[#83376]
+
+Search::
+* Avoid eagerly loading `StoredFieldsReader` in fetch phase {es-pull}83693[#83693] (issue: {es-issue}82777[#82777])
+* Returns valid PIT when no index matched {es-pull}83424[#83424]
+
+Security::
+* Upgrade jANSI dependency to 2.4.0 {es-pull}83566[#83566]
+
+Snapshot/Restore::
+* Move get snapshots serialization to management pool {es-pull}83215[#83215]
+* Preserve context in `snapshotDeletionListeners` {es-pull}84089[#84089] (issue: {es-issue}84036[#84036])
+
+Transform::
+* Fix condition on which the transform stops processing buckets {es-pull}82852[#82852]
+
+Watcher::
+* Tolerate empty types array in Watch definitions {es-pull}83524[#83524] (issue: {es-issue}83235[#83235])
+
+[[enhancement-8.0.1]]
+[float]
+=== Enhancements
+
+Infra/REST API::
+* Update YAML REST tests to check for product header on all responses {es-pull}83290[#83290]
+
+Recovery::
+* Adjust `indices.recovery.max_bytes_per_sec` according to external settings {es-pull}82819[#82819]
+
+[[upgrade-8.0.1]]
+[float]
+=== Upgrades
+
+Geo::
+* Update vector tiles google protobuf to 3.16.1 {es-pull}83402[#83402]
+
+Packaging::
+* Bump bundled JDK to 17.0.2+8 {es-pull}83243[#83243] (issue: {es-issue}83242[#83242])
+
+

+ 0 - 63
docs/reference/release-notes/8.1.asciidoc → docs/reference/release-notes/8.1.0.asciidoc

@@ -1,66 +1,3 @@
-[[release-notes-8.1.1]]
-== {es} version 8.1.1
-
-Also see <<breaking-changes-8.1,Breaking changes in 8.1>>.
-
-[[bug-8.1.1]]
-[float]
-=== Bug fixes
-
-Analysis::
-* Fix `min_hash` configuration settings names {es-pull}84753[#84753] (issue: {es-issue}84578[#84578])
-
-EQL::
-* Clean any used memory by the sequence matcher and circuit breaker used bytes in case of exception {es-pull}84451[#84451]
-
-Engine::
-* Increase store ref before snapshotting index commit {es-pull}84776[#84776]
-
-ILM+SLM::
-* Invoke initial `AsyncActionStep` for newly created indices {es-pull}84541[#84541] (issue: {es-issue}77269[#77269])
-
-Indices APIs::
-* Remove existing `indices/datastreams/aliases` before simulating index template {es-pull}84675[#84675] (issue: {es-issue}84256[#84256])
-
-Infra/Core::
-* Fix `NullPointerException` in `SystemIndexMetadataUpgradeService` hidden alias handling {es-pull}84780[#84780] (issue: {es-issue}81411[#81411])
-* Require and preserve content type for filtered rest requests {es-pull}84914[#84914] (issue: {es-issue}84784[#84784])
-* Wrap thread creation in `doPrivileged` call {es-pull}85180[#85180]
-
-Infra/REST API::
-* Correctly return `_type` field for documents in V7 compatiblity mode {es-pull}84873[#84873] (issue: {es-issue}84173[#84173])
-
-Ingest::
-* Backport mark `GeoIpDownloaderTask` as completed after cancellation #84028 {es-pull}85014[#85014] (issues: {es-issue}84028[#84028], {es-issue}84652[#84652])
-* `CompoundProcessor` should also catch exceptions when executing a processor {es-pull}84838[#84838] (issue: {es-issue}84781[#84781])
-
-Machine Learning::
-* Fix Kibana date format and similar overrides in text structure endpoint {es-pull}84967[#84967]
-* Fixes for multi-line start patterns in text structure endpoint {es-pull}85066[#85066]
-* Return all datafeeds in get anomaly detection jobs API {es-pull}84759[#84759]
-
-Packaging::
-* Remove use of Cloudflare zlib {es-pull}84680[#84680]
-
-Search::
-* Fix point visitor in `DiskUsage` API {es-pull}84909[#84909]
-* `DotExpandingXContentParser` to expose the original token location {es-pull}84970[#84970]
-
-Snapshot/Restore::
-* Don't fail if there no symlink for AWS Web Identity Token {es-pull}84697[#84697]
-* Lookup AWS Region for STS Client from STS endpoint {es-pull}84585[#84585] (issue: {es-issue}83826[#83826])
-
-[[enhancement-8.1.1]]
-[float]
-=== Enhancements
-
-SQL::
-* Forward warning headers to JDBC driver {es-pull}84499[#84499]
-
-Watcher::
-* Add list of allowed domains for Watcher email action {es-pull}84894[#84894] (issue: {es-issue}84739[#84739])
-
-
 [[release-notes-8.1.0]]
 == {es} version 8.1.0
 

+ 61 - 0
docs/reference/release-notes/8.1.1.asciidoc

@@ -0,0 +1,61 @@
+[[release-notes-8.1.1]]
+== {es} version 8.1.1
+
+Also see <<breaking-changes-8.1,Breaking changes in 8.1>>.
+
+[[bug-8.1.1]]
+[float]
+=== Bug fixes
+
+Analysis::
+* Fix `min_hash` configuration settings names {es-pull}84753[#84753] (issue: {es-issue}84578[#84578])
+
+EQL::
+* Clean any used memory by the sequence matcher and circuit breaker used bytes in case of exception {es-pull}84451[#84451]
+
+Engine::
+* Increase store ref before snapshotting index commit {es-pull}84776[#84776]
+
+ILM+SLM::
+* Invoke initial `AsyncActionStep` for newly created indices {es-pull}84541[#84541] (issue: {es-issue}77269[#77269])
+
+Indices APIs::
+* Remove existing `indices/datastreams/aliases` before simulating index template {es-pull}84675[#84675] (issue: {es-issue}84256[#84256])
+
+Infra/Core::
+* Fix `NullPointerException` in `SystemIndexMetadataUpgradeService` hidden alias handling {es-pull}84780[#84780] (issue: {es-issue}81411[#81411])
+* Require and preserve content type for filtered rest requests {es-pull}84914[#84914] (issue: {es-issue}84784[#84784])
+* Wrap thread creation in `doPrivileged` call {es-pull}85180[#85180]
+
+Infra/REST API::
+* Correctly return `_type` field for documents in V7 compatiblity mode {es-pull}84873[#84873] (issue: {es-issue}84173[#84173])
+
+Ingest::
+* Backport mark `GeoIpDownloaderTask` as completed after cancellation #84028 {es-pull}85014[#85014] (issues: {es-issue}84028[#84028], {es-issue}84652[#84652])
+* `CompoundProcessor` should also catch exceptions when executing a processor {es-pull}84838[#84838] (issue: {es-issue}84781[#84781])
+
+Machine Learning::
+* Fix Kibana date format and similar overrides in text structure endpoint {es-pull}84967[#84967]
+* Fixes for multi-line start patterns in text structure endpoint {es-pull}85066[#85066]
+* Return all datafeeds in get anomaly detection jobs API {es-pull}84759[#84759]
+
+Packaging::
+* Remove use of Cloudflare zlib {es-pull}84680[#84680]
+
+Search::
+* Fix point visitor in `DiskUsage` API {es-pull}84909[#84909]
+* `DotExpandingXContentParser` to expose the original token location {es-pull}84970[#84970]
+
+Snapshot/Restore::
+* Don't fail if there no symlink for AWS Web Identity Token {es-pull}84697[#84697]
+* Lookup AWS Region for STS Client from STS endpoint {es-pull}84585[#84585] (issue: {es-issue}83826[#83826])
+
+[[enhancement-8.1.1]]
+[float]
+=== Enhancements
+
+SQL::
+* Forward warning headers to JDBC driver {es-pull}84499[#84499]
+
+Watcher::
+* Add list of allowed domains for Watcher email action {es-pull}84894[#84894] (issue: {es-issue}84739[#84739])