Ver código fonte

Add release notes for v9.1.2 release (#132699)

* Update docs for v9.1.2 release

* Apply writing guideline on release notes

Co-authored-by: Vlada Chirmicci <vlada.chirmicci@elastic.co>
elasticsearchmachine 2 meses atrás
pai
commit
df7373b26d

+ 4 - 0
docs/release-notes/breaking-changes.md

@@ -12,6 +12,10 @@ If you are migrating from a version prior to version 9.0, you must first upgrade
 
 % ## Next version [elasticsearch-nextversion-breaking-changes]
 
+## 9.1.2 [elasticsearch-9.1.2-breaking-changes]
+
+There are no breaking changes associated with this release.
+
 ## 9.1.1 [elasticsearch-9.1.1-breaking-changes]
 
 There are no breaking changes associated with this release.

+ 36 - 0
docs/release-notes/changelog-bundles/9.1.2.yml

@@ -0,0 +1,36 @@
+version: 9.1.2
+released: false
+generated: 2025-08-11T22:54:57.775421149Z
+changelogs:
+  - pr: 132320
+    summary: "Aggs: Add validation to Bucket script pipeline agg"
+    area: Aggregations
+    type: bug
+    issues:
+      - 132272
+  - pr: 132387
+    summary: "[ExtraHop & QualysGAV] Add `manage`, `create_index`, `read`, `index`, `write`, `delete`, permission for third party agent indices `kibana_system`"
+    area: Authorization
+    type: enhancement
+    issues:
+      - 131825
+  - pr: 132459
+    summary: Small fixes for COPY_SIGN
+    area: ES|QL
+    type: bug
+    issues: []
+  - pr: 132570
+    summary: Always stop the timer when profiling the fetch phase
+    area: Search
+    type: bug
+    issues: []
+  - pr: 132593
+    summary: Strings outside BMP have 2 chars per code points
+    area: Mapping
+    type: bug
+    issues: []
+  - pr: 132597
+    summary: Use local segment `fieldInfos` to lookup tsdb merge stats
+    area: Codec
+    type: bug
+    issues: []

+ 4 - 0
docs/release-notes/deprecations.md

@@ -16,6 +16,10 @@ To give you insight into what deprecated features you’re using, {{es}}:
 
 % ## Next version [elasticsearch-nextversion-deprecations]
 
+## 9.1.2 [elasticsearch-9.1.2-deprecations]
+
+There are no deprecations associated with this release.
+
 ## 9.1.1 [elasticsearch-9.1.1-deprecations]
 
 There are no deprecations associated with this release.

+ 42 - 0
docs/release-notes/index.md

@@ -20,6 +20,48 @@ To check for security updates, go to [Security announcements for the Elastic sta
 % ### Fixes [elasticsearch-next-fixes]
 % *
 
+## 9.1.2 [elasticsearch-9.1.2-release-notes]
+
+### Features and enhancements [elasticsearch-9.1.2-features-enhancements]
+
+Authorization:
+* Adds `manage`, `create_index`, `read`, `index`, `write`, and `delete` privileges for the `kibana_system` role on third-party agent indices used by ExtraHop (`logs-extrahop.investigation-*`) and Qualys GAV (`logs-qualys_gav.asset-*`). This ensures ILM policies can delete these indices without permission errors. [#132387](https://github.com/elastic/elasticsearch/pull/132387) (issue: [#131825](https://github.com/elastic/elasticsearch/issues/131825))
+
+### Fixes [elasticsearch-9.1.2-fixes]
+
+Aggregations:
+:::{dropdown} Validates parent aggregation type in `bucket_script`
+The `bucket_script` pipeline aggregation didn’t validate that its parent aggregation was a multi-bucket aggregation.
+This caused a `ClassCastException` at runtime when the parent was not multi-bucket. 
+[#132320](https://github.com/elastic/elasticsearch/pull/132320) adds a validation step so the aggregation fails early, preventing the runtime error. (issue: [#132272](https://github.com/elastic/elasticsearch/issues/132272))
+:::
+
+Codec:
+:::{dropdown} Uses local segment `fieldInfos` for TSDB merge stats
+Merging shrink TSDB or LogsDB indices in versions 8.19 or 9.1+ could fail when using `addIndexes` to combine Lucene segments directly.
+In these cases, the `fieldInfos` value could differ between shards and the merged segment, causing incorrect merge statistics.
+PR [#132597](https://github.com/elastic/elasticsearch/pull/132597) updates the process to use `fieldInfos` from each segment instead of the merged segment, ensuring accurate stats and preventing merge failures.
+:::
+
+ES|QL:
+:::{dropdown} Fixes for `COPY_SIGN` function in ESQL
+The `COPY_SIGN` function has been updated to better support the literal `NULL` in parameters.
+[#132459](https://github.com/elastic/elasticsearch/pull/132459)
+:::
+
+Mapping:
+:::{dropdown} Calculates text string length correctly for code points outside BMP
+Strings parsed with the optimized UTF-8 parsing path had incorrect length calculations for characters outside the basic multilingual plane (BMP).
+These characters require two UTF-16 code units, but the optimized path did not account for this, causing mismatches with the non-optimized path.
+[#132593](https://github.com/elastic/elasticsearch/pull/132593) fixes the calculation to ensure consistent and correct string lengths.
+:::
+
+Search:
+:::{dropdown} Always stops the timer when profiling the fetch phase
+Exceptions in fetch sub-phases (for example, `setNextReader`) left the profiling timer running, causing mismatched start/stop calls and errors.
+[#132570](https://github.com/elastic/elasticsearch/pull/132570) ensures the `timer.stop()` call always stops.
+:::
+
 ## 9.1.1 [elasticsearch-9.1.1-release-notes]
 
 ### Fixes [elasticsearch-9.1.1-fixes]