Also see Breaking changes in 8.5.
Breaking changesedit
- CRUD
-
- Reject unknown bulk actions #89450
Bug fixesedit
- Aggregations
-
- Fix
auto_date_histogram
>ip_range
#90317 (issue: #90121) - Fail when rebuilding scorer in
breadth_first
mode and query context has changed #89993 (issue: #37650) - Fix merging with empty results #86939 (issue: #84622)
- Fix partial reduce bug in
ip_prefix
#89734 (issue: #89686) - Remove unexpected meta parameter in aggregation response #89467 (issue: #89455)
- Consistently allow sorting
top_metrics
aggregations whose size is greater than 1 #89974 (issue: #86663) - Check parent circuit breaker when allocating an empty bucket #89568 (issue: #80789)
- Fix
- Authorization
-
- Remove magic string for the
"__empty"
role #89766
- Remove magic string for the
- CCR
- Cluster Coordination
- Distributed
-
- Fork
TransportClusterStateAction
toMANAGEMENT
thread pool #90996
- Fork
- Engine
- Geo
- Graph
- Health
-
- Modify disk indicator details to provide an overview of the disk space health #90189
- Fix disk indicator impacts and diagnosis #90262
- Fix the details calculation of the disk indicator #90869
- Report impact and diagnosis data nodes without disk space and no blocked indices #90772 (issue: #90442)
- Update minimum version for health node reporting to 8.5 #90365 (issue: #90359)
- Indices APIs
- Infra/Core
-
- Fix
allow_no_indices
request option in special cases #89622 - Fix repeated error save loops in File Settings Service #90271 (issue: #90222)
- Fix date rounding for date math parsing #90458 (issue: #90187)
- Fix disabling APM tracing for
CancellableTask
inTrainedModelAssignmentNodeService
#90972 (issue: #89850) - Support camel case dates on 7.x indices #88914 (issue: #84199)
- Fix
- Infra/Scripting
-
- Fix true/false accumulation bug in boolean
source
fallback #90895
- Fix true/false accumulation bug in boolean
- Ingest Node
-
- Set the enrich maintenance cluster lifecycle listener only once #90486
- Machine Learning
- Mapping
- Monitoring
-
- Add fields to fix Logstash cgroup graphs #90493
- Network
-
- Fix
RecyclerBytesStreamOutput
allocating unlimited heap for some capacities #90632
- Fix
- Recovery
- Search
-
- Add support for predefined char class regexp on wildcard fields #90064
- Deduplicate fetching doc-values fields #89094
- Don’t shortcut the total hit count for text fields #90341 (issue: #89760)
- Safeguard
RegExp
use againstStackOverflowError
#84624 (issue: #82923) - Use MB rather than GB to calculate max boolean clauses #90309 (issue: #86136)
- Snapshot/Restore
-
- Fix incorrect failed shards count in APIs for current snapshots #89534
- Fix over-allocation of mounted indices on a cold/frozen node #86331
- Fix quadratic complexity in
SnapshotStatus
serialization #90795 - Fork building snapshot status response off of transport thread #90651
- Make sure listener is resolved when file queue is cleared #89929
- Re-register a corrupt repository to unblock it #89719 (issue: #89130)
- Reject unknown request body fields in mount API #88987 (issue: #75982)
- TSDS
- Transform
-
- Don’t fail a transform on a ClusterBlockException, this may be due to ILM closing an index #90396 (issue: #89802)
- Fix NPE in transform scheduling #90347 (issues: #90356, #88203, #90301, #90255)
- Improve error handling in state persistence #88910 (issue: #88905)
- Return
408
instead of500
when the start API times out #89774
- Vector Search
-
- Fix bug for
kNN
with filtered aliases #89621
- Fix bug for
- Watcher
Deprecationsedit
- Infra/Plugins
Enhancementsedit
- Authentication
-
- Add more accurate error message for LDAP user modes #89492
- Authorization
- Autoscaling
-
- Centralize the concept of processors configuration #89662
- Cluster Coordination
- Distributed
- Health
-
- Add IDs to health API diagnoses and impacts #90072
- Add a check to the master stability health API when there is no master and the current node is not master eligible #89219
- Add logic to
master_is_stable
indicator to check for discovery problems #88020 - Poll for cluster diagnostics information #89014
- Update SLM health diagnosis message to include unhealthy policy details #89138
- Highlighting
- ILM+SLM
- Infra/Core
-
- Add reserved
/_snapshot/repo
file based settings #89601 - Add
upgrade_status
attributes to Fleet Agents #89845 - Add support for
/_autoscaling/policy
for file based settings #89708 - Add support for
/_security/role_mapping
for file based settings #89667 - Add support for support for
/_slm/policy
in file based settings #89567 - Retry file watch registration #90537 (issue: #89500)
- Add reserved
- Infra/Node Lifecycle
- Infra/Plugins
- Infra/Scripting
-
- Initial code to support binary expression scripts #89895
- Protect
_source
inside update scripts #88733 - Reindex and
UpdateByQuery
metadata #88665 - Add write Field API
NestedDocument
support #90021 - Add write Field API path manipulation #89889
- Add write Field API with basic path resolution #89738
- Add write Fields API for reindex, update, and update by query #90145
- Infra/Settings
- License
-
- License check for user profile collaboration feature #89990
- Machine Learning
-
- Add measure of non-cache hit inference count #90464
- Add new
text_similarity
nlp task #88439 - Add new trained model deployment cache clear API #89074
- Add processor autoscaling decider #89645
- Distribute trained model allocations across availability zones #89822
- Use a bitset for deduplication of frequent items #88943
- Optimize frequent items transaction lookup #89062
- Release native inference functionality as beta #90418
- Return
408
when the start deployment API times out #89612 - Skip renormalization after calling the node shutdown API #89347
- Compute outlier feature influence via the Gateaux derivative to improve attribution for high dimension vectors #2256
- Improve classification and regression model train runtimes for data sets with many numeric features #2380, #2388, #2390, #2401
- Increase the limit on the maximum number of classes to
100
for training classification models #2395 (issue: #2246)
- Mapping
-
- Add
synthetic_source
support toaggregate_metric_double
fields #88909 - Add
source
fallback for keyword fields using operation #88735 - Add
source
fallback support formatch_only_text
mapped type #89473 - Add
source
fallback support for date anddate_nanos
mapped types #89440 - Add
source
fallback support for unsigned long mapped type #89349 - Add support for
source
fallback with scaled float field type #89053 - Add support for
source
fallback with the boolean field type #89052 - Add text field support in the Painless scripting fields API #89396
- Clarify that fielddata is not supported for text fields error message #89770 (issue: #89485)
- Add new mappings for Fleet Agent
last_checkin_message
and components fields #89599 - Support
source
fallback forbyte
,short
, andlong
fields #88954 - Support
source
fallback fordouble
,float
, andhalf_float
field types #89010
- Add
- Network
-
- Use chunked REST serialization for large REST responses #88311
- Recovery
-
- Disable recovering from snapshots in searchable snapshots #86388
- SQL
- Search
- Security
-
- Add usage stats report for user profiles #90123
- Implement grace period for user profile activation #89566
- Return limited-by role descriptors in Get/QueryApiKey response #89273
- Add option to return profile uid in
GetUser
response #89570 - Return
400
error forGetUserPrivileges
call with API keys #89333 - Show assigned role descriptors in Get/QueryApiKey response #89166
- Add detailed errors in
hasPrivileges
response #89224 - Add support for multiple UIDs to the
GetProfile
API #89023
- Snapshot/Restore
- Stats
-
- Introduce node mappings stats #89807
- TSDS
- Transform
-
- Add an unattended mode setting to transform #89212
New featuresedit
Regressionsedit
- Infra/Scripting
-
- Fix fields API caching regression #90017
Upgradesedit
- Client
- Packaging
-
- Upgrade bundled JDK to Java 19 #90571
转自 Elasticsearch version 8.5.0 | Elasticsearch Guide [8.5] | Elastic