Skip to content

Commit 7de5a69

Browse files
authored
[8.9] [DOCS] Remove breaking change tags (#98144) (#98180)
1 parent b1e9d1a commit 7de5a69

25 files changed

+1
-137
lines changed

build-tools-internal/src/main/resources/templates/breaking-changes.asciidoc

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,21 @@ coming::[${majorDotMinorDotRevision}]
1616
[[breaking-changes-${majorDotMinor}]]
1717
=== Breaking changes
1818
<% if (breakingByNotabilityByArea.isEmpty()) { %>
19-
// tag::notable-breaking-changes[]
2019
There are no breaking changes in {es} ${majorDotMinor}.
21-
// end::notable-breaking-changes[]
2220
<% } else { %>
2321
The following changes in {es} ${majorDotMinor} might affect your applications
2422
and prevent them from operating normally.
2523
Before upgrading to ${majorDotMinor}, review these changes and take the described steps
2624
to mitigate the impact.
27-
2825
<%
2926
if (breakingByNotabilityByArea.getOrDefault(true, []).isEmpty()) { %>
30-
// tag::notable-breaking-changes[]
27+
3128
There are no notable breaking changes in {es} ${majorDotMinor}.
32-
// end::notable-breaking-changes[]
3329
But there are some less critical breaking changes.
3430
<% }
3531
[true, false].each { isNotable ->
3632
def breakingByArea = breakingByNotabilityByArea.getOrDefault(isNotable, [])
3733
if (breakingByArea.isEmpty() == false) {
38-
if (isNotable) {
39-
/* No newline here, one will be added below */
40-
print "// NOTE: The notable-breaking-changes tagged regions are re-used in the\n"
41-
print "// Installation and Upgrade Guide\n"
42-
print "// tag::notable-breaking-changes[]"
43-
}
44-
4534
breakingByArea.eachWithIndex { area, breakingChanges, i ->
4635
print "\n[discrete]\n"
4736
print "[[breaking_${majorMinor}_${ area.toLowerCase().replaceAll("[^a-z0-9]+", "_") }_changes]]\n"
@@ -62,9 +51,6 @@ ${breaking.impact.trim()}
6251
}
6352
}
6453

65-
if (isNotable) {
66-
print "// end::notable-breaking-changes[]\n"
67-
}
6854
}
6955
}
7056
}
@@ -83,16 +69,10 @@ after upgrading to ${majorDotMinor}.
8369

8470
To find out if you are using any deprecated functionality,
8571
enable <<deprecation-logging, deprecation logging>>.
86-
8772
<%
8873
[true, false].each { isNotable ->
8974
def deprecationsByArea = deprecationsByNotabilityByArea.getOrDefault(isNotable, [])
9075
if (deprecationsByArea.isEmpty() == false) {
91-
if (isNotable) {
92-
/* No newline here, one will be added below */
93-
print "// tag::notable-breaking-changes[]"
94-
}
95-
9676
deprecationsByArea.eachWithIndex { area, deprecations, i ->
9777
print "\n[discrete]\n"
9878
print "[[deprecations_${majorMinor}_${ area.toLowerCase().replaceAll("[^a-z0-9]+", "_") }]]\n"
@@ -113,9 +93,6 @@ ${deprecation.impact.trim()}
11393
}
11494
}
11595

116-
if (isNotable) {
117-
print "// end::notable-breaking-changes[]\n"
118-
}
11996
}
12097
}
12198
} %>

build-tools-internal/src/test/resources/org/elasticsearch/gradle/internal/release/BreakingChangesGeneratorTest.generateMigrationFile.asciidoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ and prevent them from operating normally.
2121
Before upgrading to 8.4, review these changes and take the described steps
2222
to mitigate the impact.
2323

24-
// NOTE: The notable-breaking-changes tagged regions are re-used in the
25-
// Installation and Upgrade Guide
26-
// tag::notable-breaking-changes[]
2724
[discrete]
2825
[[breaking_84_api_changes]]
2926
==== API changes
@@ -64,7 +61,6 @@ Breaking change details 4
6461
*Impact* +
6562
Breaking change impact description 4
6663
====
67-
// end::notable-breaking-changes[]
6864

6965
[discrete]
7066
[[breaking_84_transform_changes]]
@@ -95,7 +91,6 @@ after upgrading to 8.4.
9591
To find out if you are using any deprecated functionality,
9692
enable <<deprecation-logging, deprecation logging>>.
9793

98-
// tag::notable-breaking-changes[]
9994
[discrete]
10095
[[deprecations_84_cluster_and_node_setting]]
10196
==== Cluster and node setting deprecations
@@ -121,7 +116,6 @@ Deprecation change details 6
121116
*Impact* +
122117
Deprecation change impact description 6
123118
====
124-
// end::notable-breaking-changes[]
125119

126120
[discrete]
127121
[[deprecations_84_cluster_and_node_setting]]

docs/reference/migration/migrate_8_0.asciidoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ after upgrading to 8.0.
4646
To find out if you are using any deprecated functionality,
4747
enable <<deprecation-logging, deprecation logging>>.
4848

49-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
50-
//Installation and Upgrade Guide
51-
//tag::notable-breaking-changes[]
5249
[discrete]
5350
[[breaking_80_cluster_node_setting_deprecations]]
5451
==== Cluster and node setting deprecations
@@ -92,7 +89,6 @@ Passwords are generated automatically for the `elastic` user when you start {es}
9289
starting {es}, it will fail because the `elastic`
9390
user password is already configured.
9491
====
95-
//end::notable-breaking-changes[]
9692

9793
include::migrate_8_0/migrate_to_java_time.asciidoc[]
9894
include::transient-settings-migration-guide.asciidoc[]

docs/reference/migration/migrate_8_0/cluster-node-setting-changes.asciidoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_cluster_node_setting_changes]]
33
==== Cluster and node setting changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
TIP: {ess-setting-change}
106

117
.`action.destructive_requires_name` now defaults to `true`. {ess-icon}
@@ -884,7 +880,6 @@ repository-specific `compress` setting to enable compression instead. Refer to
884880
{ref}/snapshots-filesystem-repository.html#filesystem-repository-settings[Shared
885881
file system repository settings].
886882
====
887-
//end::notable-breaking-changes[]
888883

889884
// This change is not notable because it should not have any impact on upgrades
890885
// However we document it here out of an abundance of caution
@@ -911,7 +906,6 @@ Any node that did not have an explicitly configured password hashing algorithm i
911906
{es} 6.x or {es} 7.x would have failed to start.
912907
====
913908

914-
//tag::notable-breaking-changes[]
915909
.The `xpack.monitoring.history.duration` will not delete indices created by metricbeat or elastic agent
916910
[%collapsible]
917911
====
@@ -935,4 +929,3 @@ metricbeat or agent to collect monitoring data, you can also remove any custom `
935929
settings.
936930
937931
====
938-
// end::notable-breaking-changes[]

docs/reference/migration/migrate_8_0/command-line-tool-changes.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_command_line_tool_changes]]
33
==== Command line tool changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
TIP: {ess-skip-section}
106

117
[[migrate-tool-removed]]
@@ -22,4 +18,3 @@ realm directly.
2218
Discontinue use of the `elasticsearch-migrate` tool. Attempts to use the
2319
`elasticsearch-migrate` tool will result in an error.
2420
====
25-
//end::notable-breaking-changes[]

docs/reference/migration/migrate_8_0/index-setting-changes.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_index_setting_changes]]
33
==== Index setting changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
[[deprecation-system-indices]]
106
.Direct access to system indices is deprecated.
117
[%collapsible]
@@ -124,4 +120,3 @@ Discontinue use of the `index.translog.retention.age` and
124120
`index.translog.retention.size` index settings. Requests that
125121
include these settings will return an error.
126122
====
127-
//end::notable-breaking-changes[]

docs/reference/migration/migrate_8_0/java-api-changes.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_java_api_changes]]
33
==== Java API changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
[[ilm-hlrc-rename]]
106
.The `indexlifecycle` package has been renamed `ilm` in the Java High Level REST Client.
117
[%collapsible]
@@ -52,4 +48,3 @@ testability.
5248
*Impact* +
5349
No action needed.
5450
====
55-
//end::notable-breaking-changes[]

docs/reference/migration/migrate_8_0/jvm-option-changes.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_jvm_option_changes]]
33
==== JVM option changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
TIP: {ess-skip-section}
106

117
[[breaking_80_allocation_change_flood_stage_block_always_removed]]
@@ -56,4 +52,3 @@ system property, and ensure that all nodes of the same version are running
5652
exactly the same build. Setting this system property will result in an error
5753
on startup.
5854
====
59-
//end::notable-breaking-changes[]

docs/reference/migration/migrate_8_0/logging-changes.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_logging_changes]]
33
==== Logging changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
.{es} JSON logs now comply with ECS.
106
[%collapsible]
117
====
@@ -55,4 +51,3 @@ to use the new names and to possibly account for `gzip` archives instead of
5551
plain text. The Docker build of {es} is not affected because it logs on `stdout`,
5652
where rollover is not performed.
5753
====
58-
//end::notable-breaking-changes[]

docs/reference/migration/migrate_8_0/mapping-changes.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
[[breaking_80_mapping_changes]]
33
==== Mapping changes
44

5-
//NOTE: The notable-breaking-changes tagged regions are re-used in the
6-
//Installation and Upgrade Guide
7-
8-
//tag::notable-breaking-changes[]
95
.Indices created in {es} 6.x and earlier versions are not supported.
106
[%collapsible]
117
====
@@ -135,4 +131,3 @@ GitHub or the 'discuss' forums.
135131
Discontinue use of the `sparse_vector` field data type. Requests containing
136132
a mapping for this field data type will return an error.
137133
====
138-
//end::notable-breaking-changes[]

0 commit comments

Comments
 (0)