Releases: elastic/elasticsearch-net
7.13.1
Bug Fixes
View the full list of issues and PRs
7.13.0
Breaking Changes
Bug Fixes
Runtime fields now support parameters in their scripts which the current IStoredScript interface, used on IRuntimeField did not support. This change updates the IRuntimeField interface Script property to use IInlineScript which better aligns to the functionality of scripts in runtime fields. The implementation and RuntimeFieldDescriptor were update accordingly.
This is a breaking change but should have a limited impact on existing users and ultimately was worth making to allow consumers to fully utilise runtime fields. Code currently using runtime fields and the object initializer syntax may need to be updated. The change required is to create an instance of InlineScript rather than PainlessScript when setting the Script property.
Renamed Types
- EQL Low-Level APIs
To fully support new EQL APIs and map implementations in NEST, the generated code has resulted in renaming a few types...
DeleteRequestParametersrenamed toEqlDeleteRequestParametersGetRequestParametersrenamed toEqlGetRequestParametersGetStatusRequestParametersrenamed toEqlSearchStatusRequestParameters
In addition, the PreviewDatafeed low-level client method now accepts PostData as an argument.
Bug Fixes
- #5572 Fix client exception message to avoid double period on .NET Framework
New Features
- #5588 Add IP type to convert processor (issue: #5584)
- #5603 Support network direction processor additions (issue: #5584)
- #5606 Support new queryable "_tier" metadata field
- #5607 Add positive_score_impact to rank_features property (issue: #5584)
- #5610 Allow formatting of sort values (issue: #5584)
- #5616 Add registered domain ingest processor (issue: #5584)
- #5619 Add support for combined fields query (issue: #5584)
- #5622 Support for calculated numeric fields (issue: #5584)
- #5624 Support runtime mappings for SQL
- #5633 Add migrate to data stream API in NEST
- #5636 Add promote data stream API to NEST
- #5658 Add NEST support for EQL Search API (issue: #5584)
- #5663 Add NEST support for EQL search status API (issue: #5584)
- #5665 Add NEST support for EQL Get Search API (issue: #5584)
- #5667 Add NEST support for EQL delete API (issue: #5584)
- #5680 Add NEST support for Query Watcher API (issue: #5584)
- #5706 Improve anonymous serialization exception message (issue: #5702)
View the full list of issues and PRs
7.12.1
Bug Fixes
- #5541 Add fallback when detected runtime version is invalid (issue: #5539)
- #5499 Correct the JSON name for the position length on tokens (issue: #5498)
View the full list of issues and PRs
6.8.8
Bug Fixes
- #5530 Check _cleanupTimer is not null when disposing (backport fix/4818 to 6.x) (issues: #4818, #5529)
View the full list of issues and PRs
7.12.0
Features & Enhancements
- #5304 Implement URI parts ingest processor
- #5322 Add data_frozen node role
- #5338 Add architecture stats to cluster node stats (issue: #5337)
- #5345 Add Fingerprint ingest processor (issue: #5337)
- #5347 Add network community ID ingest processor
- #5353 Add rollover API support for max_primary_shard_size (issue: #5337)
- #5354 Add frozen tier support to ILM phases
- #5360 Add network direction ingest processor (issue: #5337)
- #5372 Add multi terms aggregation (issue: #5337)
- #5373 Add linear function to rank_feature query (issue: #5337)
- #5374 Add support for _shard_doc sort with pit (issue: #5337)
- #5377 Support runtime fields on transforms (issue: #5337)
- #5378 Update get token response to include auth info
- #5383 Add max_analyzed_offset to highlight (issue: #5337)
- #5402 Add variable width histogram aggregation (issue: #5400)
- #5403 Add applications to get role response (issue: #5401)
- #5412 Support case_insensitive on term-based queries (issue: #5407)
- #5417 Add IEnumerable overload SearchAfter descriptor (issue: #5416)
Bug Fixes
- #5413 Add explicit stop method to Auditable (issue: #5363)
- #5435 Deserialise analyzers without a type (issue: #5432)
Performance
- #5293 Optimise RouteValues allocations
View the full list of issues and PRs
7.11.1
Bug Fixes
- #5326 Fix Client Diagnostics following the upgrade to DiagnosticSource 5.0.0 in 7.10.1
View the full list of issues and PRs
6.8.7
Features & Enhancements
- #4673 Allow HttpClient instances to be refreshed periodically
- #4678 [Backport 6.x] Reimplement #4673 manually
- #5302 [Backport 6.x] Implement meta header for client requests (issue: #5190)
Bug Fixes
- #4705 update CatAllocationRecord (issue: #4699)
- #4725 AutoDateHistogramAggregate Interval should be DateMathTime (issue: #4333)
View the full list of issues and PRs
7.11.0
Breaking Change
- #5317 Support multiple expand_wildcards. Due to a change on the server introduced in 7.10.1 of Elasticsearch for the Watcher APIs, we have updated
IndicesOptions. This now supports anIEnumerable<ExpandWildcards>rather than a singularExpandWildcardsvalue for the "ExpandWildcards" property. When using the Object Initializer syntax, where indices options are set, you will need to update your code to include theExpandWildcardsin anIEnumerableform. When using the Fluent syntax, you existing code should continue to function without changes. When handling a response from the GET Watch API, you will need to handle the "ExpandWildcards" property as anIEnumerable.
Features & Enhancements
- #5133 Update BoxplotAggregate response to include
LowerandUpperproperties. - #5188 Add
EnablePositionIncrementsproperty toITokenCountProperty(issue: #5186) - #5190 Add the
X-Elastic-Client-MetaHTTP header which is used by Elastic Cloud and can be disabled with theDisableMetaHeaderproperty on theConnectionConfigurationset to false. - #5205 Add
ResourceNameonAttachmentProcessor(issue: #5198) - #5206 Add support for rate aggregations (issue: #5198)
- #5208 Add
AllowDuplicatesproperty toAppendProcessor(issue: #5198) - #5209 Fix failing transform tests and support dates_as_epoch_millis (issues: #5185, #5198)
- #5230 Add support for mapping runtime fields [BETA] (issue: #5198)
- #5239 Implement AsyncSearch Status API
- #5240 Implement Clone Snapshot API
- #5259 Implement runtime fields on searches [BETA]
- #5275 Implement unsigned long numeric field (issue: #5198)
- #5286 Add support for GeoLine Aggregation
- #5200 Add support for the Version field type
Bug Fixes
- #5177 TcpStats.GetStats() now handles error when host cannot disclose information (issue: #5176)
- #5228 Fix deserialisation of aggs in Translate API response (issue: #5201)
- #5260 Fix bug in AutoExpandReplicas.Create (issue: #5258)
- #5271 Fix GetRoleMappings when multiple distinguished names returned (issue: #5270)
- #5294 Fix size overflow in StringToDoubleConverter
View the full list of issues and PRs
7.10.1
Features & Enhancements
- #5151 Support point in time searches
- #5098 Add hard_bounds for histograms
- #5104 Add QueryCache columns to CatNodesRecord (issue: #5096)
- #5116 Add authentication type to AuthenticateResponse (issue: #5096)
- #5121 Add ignore_keywords flag to word delimiter graph (issue: #5096)
- #5123 Generate initial NEST code for 7.10.1
- #5137 Add point in time APIs (issue: #5096)
- #5142 Implement grant API key (issue: #5096)
- #5147 Support clear api key cache (issue: #5096)
- #5148 Support indexing pressure on NodeStats (issue: #5096)
Infrastructure
Minor breaking change risk
GetRole, GetRoleAsync, GetRoleMapping and GetRoleMappingAsync APIs have been updated to support using the Names parameter, rather than Name. In the majority of cases, this should be non-breaking because the types support implicit casting. Reflection based usage will be affected. We have review this change and feel it is preferable that the API correctly support specifying multiple, comma separated names.
View the full list of issues and PRs
7.10.0
Features & Enhancements
- #4735 Add Point property for mapping point datatype (issue: #4718)
- #5078 Make API generation non interactive
- #5085 Add support for the new
data_*roles. - #5030 [DOCS] Reorganizes Overview and Installation chapters
- #5042 [DOCS] Reorganizes Overview and Installation chapters in Test folder
- #4952 NameValueCollection.ToQueryString performance optimisation (issue: #4951)
- #5003 Enable TCP states and ThreadPool stats
Bug Fixes
- #4996 Serialize Epoch milliseconds as a string
- #4978 Fix field value factor serialization
- #4979 Use SourceSerializer when deserializing Source API response (issue: #4970)
- #5077 Fixing BulkAll indefinitely hanging when failing (issue: #4014)
- #5088 Remove performance counters from RecyclableMemoryStream
- #5089 Mapping time boost was removed in 7.10
- #5009 Collect MemberInfo same as Json.NET when building a formatter (issue: #4958)
- #5010 Add Visit methods for derived IProperty types
Performance
- #5002 Short circuit in ToUrl to remove allocations when possible