From ffcb12456cfef6045bbdf55b2acd165552fa53b5 Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Mon, 22 Jan 2024 10:30:36 -0500 Subject: [PATCH] Update 8.12.0 release notes for #102183 and fix other release notes (#104551) --- docs/reference/migration/migrate_8_12.asciidoc | 5 +---- docs/reference/release-notes/8.12.0.asciidoc | 14 ++++++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/reference/migration/migrate_8_12.asciidoc b/docs/reference/migration/migrate_8_12.asciidoc index 48e45de350890..c7f4aa8728693 100644 --- a/docs/reference/migration/migrate_8_12.asciidoc +++ b/docs/reference/migration/migrate_8_12.asciidoc @@ -9,9 +9,6 @@ your application to {es} 8.12. See also <> and <>. -coming::[8.12.0] - - [discrete] [[breaking-changes-8.12]] === Breaking changes @@ -69,7 +66,7 @@ Plugins that override createComponents will need to be refactored to override th [%collapsible] ==== *Details* + -In ES|QL, the pow function no longer returns the type of its inputs, instead always returning a double. +This corrects an earlier mistake in the ES|QL language design. Initially we had thought to have pow return the same type as its inputs, but in practice even for integer inputs this quickly grows out of the representable range, and we returned null much of the time. This also created a lot of edge cases around casting to/from doubles (which the underlying java function uses). The version in this PR follows the java spec, by always casting its inputs to doubles, and returning a double. Doing it this way also allows for a rather significant reduction in lines of code. *Impact* + low. Most queries should continue to function with the change. diff --git a/docs/reference/release-notes/8.12.0.asciidoc b/docs/reference/release-notes/8.12.0.asciidoc index c49cffabcb93e..468f81145c391 100644 --- a/docs/reference/release-notes/8.12.0.asciidoc +++ b/docs/reference/release-notes/8.12.0.asciidoc @@ -39,7 +39,6 @@ Aggregations:: * Unwrap `ExecutionException` when loading from cache in `AbstractIndexOrdinalsFieldData` {es-pull}102476[#102476] Application:: -* [Connector API] Fix bug in configuration validation parser {es-pull}104198[#104198] * [Connector API] Fix bug with nullable tooltip field in parser {es-pull}103427[#103427] * [Connectors API] Fix `ClassCastException` when creating a new sync job {es-pull}103508[#103508] * [Connectors API] Fix bug with missing TEXT `DisplayType` enum {es-pull}103430[#103430] @@ -67,6 +66,7 @@ Downsampling:: EQL:: * Cover head/tail commands edge cases and data types coverage {es-pull}101859[#101859] (issue: {es-issue}101724[#101724]) +* Fix NPE on missing event queries {es-pull}103611[#103611] (issue: {es-issue}103608[#103608]) * Samples should check if the aggregations result is empty or null {es-pull}103574[#103574] ES|QL:: @@ -83,7 +83,9 @@ ES|QL:: * ES|QL: Fix NPE on single value detection {es-pull}103150[#103150] (issue: {es-issue}103141[#103141]) * ES|QL: Improve resolution error management in `mv_expand` {es-pull}102967[#102967] (issue: {es-issue}102964[#102964]) * Fix layout for MV_EXPAND {es-pull}102916[#102916] (issue: {es-issue}102912[#102912]) +* Fix now in millis for ESQL search contexts {es-pull}103474[#103474] (issue: {es-issue}103455[#103455]) * Fix planning of duplicate aggs {es-pull}102165[#102165] (issue: {es-issue}102083[#102083]) +* Fix the transport version of `PlanStreamOutput` {es-pull}103758[#103758] * `AsyncOperator#isFinished` must never return true on failure {es-pull}104029[#104029] Engine:: @@ -110,6 +112,7 @@ Infra/Plugins:: Infra/Scripting:: * Make IPAddress writeable {es-pull}101093[#101093] (issue: {es-issue}101082[#101082]) +* Wrap painless explain error {es-pull}103151[#103151] (issue: {es-issue}103018[#103018]) Infra/Settings:: * Report full stack trace for non-state file settings transforms {es-pull}101346[#101346] @@ -122,7 +125,6 @@ License:: Machine Learning:: * Catch exceptions during `pytorch_inference` startup {es-pull}103873[#103873] -* Ensure the estimated latitude is within the allowed range {ml-pull}2586[#2586] * Exclude quantiles when fetching model snapshots where possible {es-pull}103530[#103530] * Fix `frequent_item_sets` aggregation on empty index {es-pull}103116[#103116] (issue: {es-issue}103067[#103067]) * If trained model download task is in progress, wait for it to finish before executing start trained model deployment {es-pull}102944[#102944] @@ -130,10 +132,12 @@ Machine Learning:: * Preserve response headers in Datafeed preview {es-pull}103923[#103923] * Prevent attempts to access non-existent node information during rebalancing {es-pull}103361[#103361] * Prevent resource over-subscription in model allocation planner {es-pull}100392[#100392] -* Remove dependency on the IPEX library {ml-pull}2605[#2605] and {ml-pull}2606[#2606] * Start a new trace context before loading a trained model {es-pull}103124[#103124] * Wait for the model results on graceful shutdown {es-pull}103591[#103591] (issue: {es-issue}103414[#103414]) +Mapping:: +* Revert change {es-pull}103865[#103865] + Monitoring:: * [Monitoring] Dont get cluster state until recovery {es-pull}100565[#100565] @@ -157,8 +161,10 @@ Search:: * Support complex datemath expressions in index and index alias names {es-pull}100646[#100646] Snapshot/Restore:: +* Decref `SharedBytes.IO` after read is done not before {es-pull}102848[#102848] * More consistent logging messages for snapshot deletion {es-pull}101024[#101024] * Reroute on shard snapshot completion {es-pull}101585[#101585] (issue: {es-issue}101514[#101514]) +* Restore `SharedBytes.IO` refcounting on reads & writes {es-pull}102843[#102843] TSDB:: * Throw when wrapping rate agg in `DeferableBucketAggregator` {es-pull}101032[#101032] @@ -176,6 +182,7 @@ Vector Search:: Watcher:: * Correctly logging watcher history write failures {es-pull}101802[#101802] +* Fix: Watcher REST API `GET /_watcher/settings` now includes product header {es-pull}103003[#103003] (issue: {es-issue}102928[#102928]) [[enhancement-8.12.0]] [float] @@ -306,7 +313,6 @@ Machine Learning:: * Include ML processor limits in `_ml/info` response {es-pull}101392[#101392] * Read scores from downloaded vocabulary for XLM Roberta tokenizers {es-pull}101868[#101868] * Support for GET all models and by task type in the `_inference` API {es-pull}102806[#102806] -* Upgrade Boost libraries to version 1.83 {ml-pull}2560[#2560] Mapping:: * Improve analyzer reload log message {es-pull}102273[#102273]