[[release-notes-7.0.0-rc1]] == {es} version 7.0.0-rc1 Also see <>. [[breaking-7.0.0-rc1]] [float] === Breaking changes Distributed:: * Remove cluster state size {es-pull}40061[#40061] (issues: {es-issue}39806[#39806], {es-issue}39827[#39827], {es-issue}39951[#39951], {es-issue}40016[#40016]) Features/Features:: * Remove Migration Upgrade and Assistance APIs {es-pull}40075[#40075] (issue: {es-issue}40014[#40014]) [[deprecation-7.0.0-rc1]] [float] === Deprecations Cluster Coordination:: * Deprecate size in cluster state response {es-pull}39951[#39951] (issue: {es-issue}39806[#39806]) Infra/Packaging:: * Deprecate fallback to java on PATH {es-pull}37990[#37990] [[feature-7.0.0-rc1]] [float] === New features Allocation:: * Node repurpose tool {es-pull}39403[#39403] (issues: {es-issue}37347[#37347], {es-issue}37748[#37748]) Security:: * Switch internal security index to ".security-7" {es-pull}39337[#39337] (issue: {es-issue}39284[#39284]) [[enhancement-7.0.0-rc1]] [float] === Enhancements CCR:: * Reduce retention lease sync intervals {es-pull}40302[#40302] * Renew retention leases while following {es-pull}39335[#39335] (issues: {es-issue}37165[#37165], {es-issue}38718[#38718]) * Reduce refresh when lookup term in FollowingEngine {es-pull}39184[#39184] * Integrate retention leases to recovery from remote {es-pull}38829[#38829] (issue: {es-issue}37165[#37165]) * Enable removal of retention leases {es-pull}38751[#38751] (issue: {es-issue}37165[#37165]) Client:: * Fixed required fields and paths list {es-pull}39358[#39358] Discovery-Plugins:: * Adds connect and read timeouts to discovery-gce {es-pull}28193[#28193] (issue: {es-issue}24313[#24313]) Distributed:: * Introduce retention lease actions {es-pull}38756[#38756] (issue: {es-issue}37165[#37165]) * Add dedicated retention lease exceptions {es-pull}38754[#38754] (issue: {es-issue}37165[#37165]) * Copy retention leases when trim unsafe commits {es-pull}37995[#37995] (issue: {es-issue}37165[#37165]) Docs Infrastructure:: * Align generated release notes with doc standards {es-pull}39234[#39234] (issue: {es-issue}39155[#39155]) Engine:: * Explicitly advance max_seq_no before indexing {es-pull}39473[#39473] (issue: {es-issue}38879[#38879]) Infra/Core:: * Add details about what acquired the shard lock last {es-pull}38807[#38807] (issue: {es-issue}30290[#30290]) Infra/Packaging:: * Use bundled JDK in Docker images {es-pull}40238[#40238] * Upgrade bundled JDK and Docker images to JDK 12 {es-pull}40229[#40229] * Bundle java in distributions {es-pull}38013[#38013] (issue: {es-issue}31845[#31845]) Infra/Settings:: * Provide a clearer error message on keystore add {es-pull}39327[#39327] (issue: {es-issue}39324[#39324]) Percolator:: * Make the `type` parameter optional when percolating existing documents. {es-pull}39987[#39987] (issue: {es-issue}39963[#39963]) * Add support for selecting percolator query candidate matches containing geo_point based queries {es-pull}26040[#26040] SQL:: * Enhance checks for inexact fields {es-pull}39427[#39427] (issue: {es-issue}38501[#38501]) * Change the default precision for CURRENT_TIMESTAMP function {es-pull}39391[#39391] (issue: {es-issue}39288[#39288]) [[bug-7.0.0-rc1]] [float] === Bug fixes Aggregations:: * Skip sibling pipeline aggregators reduction during non-final reduce {es-pull}40101[#40101] (issue: {es-issue}40059[#40059]) * Extend nextDoc to delegate to the wrapped doc-value iterator for date_nanos {es-pull}39176[#39176] (issue: {es-issue}39107[#39107]) * Only create MatrixStatsResults on final reduction {es-pull}38130[#38130] (issue: {es-issue}37587[#37587]) Authentication:: * Allow non super users to create API keys {es-pull}40028[#40028] (issue: {es-issue}40029[#40029]) * Use consistent view of realms for authentication {es-pull}38815[#38815] (issue: {es-issue}30301[#30301]) CCR:: * Safe publication of AutoFollowCoordinator {es-pull}40153[#40153] (issue: {es-issue}38560[#38560]) * Enable reading auto-follow patterns from x-content {es-pull}40130[#40130] (issue: {es-issue}40128[#40128]) * Stop auto-followers on shutdown {es-pull}40124[#40124] * Protect against the leader index being removed {es-pull}39351[#39351] (issue: {es-issue}39308[#39308]) * Handle the fact that `ShardStats` instance may have no commit or seqno stats {es-pull}38782[#38782] (issue: {es-issue}38779[#38779]) * Fix LocalIndexFollowingIT#testRemoveRemoteConnection() test {es-pull}38709[#38709] (issue: {es-issue}38695[#38695]) CRUD:: * Cascading primary failure lead to MSU too low {es-pull}40249[#40249] Cluster Coordination:: * Fix node tool cleanup {es-pull}39389[#39389] * Avoid serialising state if it was already serialised {es-pull}39179[#39179] Distributed:: * Ignore waitForActiveShards when syncing leases {es-pull}39224[#39224] (issue: {es-issue}39089[#39089]) * Fix synchronization in LocalCheckpointTracker#contains {es-pull}38755[#38755] (issues: {es-issue}33871[#33871], {es-issue}38633[#38633]) Engine:: * Bubble up exception when processing NoOp {es-pull}39338[#39338] (issue: {es-issue}38898[#38898]) * ReadOnlyEngine should update translog recovery state information {es-pull}39238[#39238] Features/Features:: * Only count some fields types for deprecation check {es-pull}40166[#40166] Features/ILM:: * Handle failure to release retention leases in ILM {es-pull}39281[#39281] (issue: {es-issue}39181[#39181]) Features/Watcher:: * Use non-ILM template setting up watch history template & ILM disabled {es-pull}39325[#39325] (issue: {es-issue}38805[#38805]) * Only flush Watcher's bulk processor if Watcher is enabled {es-pull}38803[#38803] (issue: {es-issue}38798[#38798]) Infra/Core:: * Correct name of basic_date_time_no_millis {es-pull}39367[#39367] Infra/Packaging:: * Some elasticsearch-cli tools could not be run not from ES_HOME {es-pull}39937[#39937] * Obsolete pre 7.0 noarch package in rpm {es-pull}39472[#39472] (issue: {es-issue}39414[#39414]) * Suppress error message when `/proc/sys/vm/max_map_count` is not exists. {es-pull}35933[#35933] Infra/REST API:: * Fix #38623 remove xpack namespace REST API {es-pull}38625[#38625] * Remove the "xpack" namespace from the REST API {es-pull}38623[#38623] Recovery:: * Create retention leases file during recovery {es-pull}39359[#39359] (issue: {es-issue}37165[#37165]) SQL:: * Add missing handling of IP field in JDBC {es-pull}40384[#40384] (issue: {es-issue}40358[#40358]) * Fix metric aggs on date/time to not return double {es-pull}40377[#40377] (issues: {es-issue}39492[#39492], {es-issue}40376[#40376]) * CAST supports both SQL and ES types {es-pull}40365[#40365] (issue: {es-issue}40282[#40282]) * Fix RLIKE bug and improve testing for RLIKE statement {es-pull}40354[#40354] (issues: {es-issue}34609[#34609], {es-issue}39931[#39931]) * Unwrap the first value in an array in case of array leniency {es-pull}40318[#40318] (issue: {es-issue}40296[#40296]) * Preserve original source for cast/convert function {es-pull}40271[#40271] (issue: {es-issue}40239[#40239]) * Fix LIKE function equality by considering its pattern as well {es-pull}40260[#40260] (issue: {es-issue}39931[#39931]) * Fix issue with optimization on queries with ORDER BY/LIMIT {es-pull}40256[#40256] (issue: {es-issue}40211[#40211]) * Rewrite ROUND and TRUNCATE functions with a different optional parameter handling method {es-pull}40242[#40242] (issue: {es-issue}40001[#40001]) * Fix issue with getting DATE type in JDBC {es-pull}40207[#40207] * Fix issue with date columns returned always in UTC {es-pull}40163[#40163] (issue: {es-issue}40152[#40152]) * Add multi_value_field_leniency inside FieldHitExtractor {es-pull}40113[#40113] (issue: {es-issue}39700[#39700]) * Fix incorrect ordering of groupings (GROUP BY) based on orderings (ORDER BY) {es-pull}40087[#40087] (issue: {es-issue}39956[#39956]) * Fix bug with JDBC timezone setting and DATE type {es-pull}39978[#39978] (issue: {es-issue}39915[#39915]) * Use underlying exact field for LIKE/RLIKE {es-pull}39443[#39443] (issue: {es-issue}39442[#39442]) Search:: * Serialize top-level pipeline aggs as part of InternalAggregations {es-pull}40177[#40177] (issues: {es-issue}40059[#40059], {es-issue}40101[#40101]) * CCS: Skip empty search hits when minimizing round-trips {es-pull}40098[#40098] (issues: {es-issue}32125[#32125], {es-issue}40067[#40067]) * CCS: Disable minimizing round-trips when dfs is requested {es-pull}40044[#40044] (issue: {es-issue}32125[#32125]) [[upgrade-7.0.0-rc1]] [float] === Upgrades Discovery-Plugins:: * Bump jackson-databind version for AWS SDK {es-pull}39183[#39183] Engine:: * Upgrade to Lucene 8.0.0-snapshot-ff9509a8df {es-pull}39350[#39350] * Upgrade to Lucene 8.0.0 {es-pull}39992[#39992] (issue: {es-issue}39640[#39640]) Features/Ingest:: * Bump jackson-databind version for ingest-geoip {es-pull}39182[#39182] Security:: * Upgrade the bouncycastle dependency to 1.61 {es-pull}40017[#40017] (issue: {es-issue}40011[#40011])