Releases: elastic/elasticsearch-net
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 singularExpandWildcards
value for the "ExpandWildcards" property. When using the Object Initializer syntax, where indices options are set, you will need to update your code to include theExpandWildcards
in anIEnumerable
form. 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
Lower
andUpper
properties. - #5188 Add
EnablePositionIncrements
property toITokenCountProperty
(issue: #5186) - #5190 Add the
X-Elastic-Client-Meta
HTTP header which is used by Elastic Cloud and can be disabled with theDisableMetaHeader
property on theConnectionConfiguration
set to false. - #5205 Add
ResourceName
onAttachmentProcessor
(issue: #5198) - #5206 Add support for rate aggregations (issue: #5198)
- #5208 Add
AllowDuplicates
property 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
View the full list of issues and PRs
7.9.0
Features & Enhancements
- #4863 Add global highlight_query (issue: #4862)
- #4870 Implement dangling indices APIs
- #4871 Add description to ingest processors
- #4873 Add index block API
- #4874 Add indices resolve index API
- #4886 Add normalize aggregation
- #4887 Add moving_percentiles aggregation
- #4888 Add index filter to field_caps API
- #4890 Add support for wildcard property
- #4891 Add standard deviation / variance sampling to extended stats
- #4905 Add addition settings to s3 repository (issue: #4889)
- #4911 Add max_token_length to chargroup tokenizer
- #4912 Add discard_compound_token to kuromoji tokenizer
- #4913 Add data streams APIs
- #4914 Add must_exist to alias remove
- #4915 Add ignore_empty_value to set processor
- #4916 Add security.clear_cached_privileges API
- #4917 Add geotile_grid transform group by
- #4918 Add reserved, reserved_in_bytes to node stats response
- #4919 Add annotations_enabled to model config
- #4947 Add settings to create follow index and create auto follow pattern APIs
Docs
- #4921 [DOCS] Fixes broken link to sliced scroll
Bug Fixes
View the full list of issues and PRs
7.9.0-alpha1
7.8.2
Bug Fixes
- #4847
client.Timeout
was not being set after refactoring introduced in #4673 - #4833 Deserialize enums in fallback
Enum.Parse
as case insensitive (issue: #4817) - #4834 Check
_cleanupTimer
is not null when disposingRequestDataHttpClientFactory
(issue: #4818) - #4854 Fix ScriptCacheStats
- #4856 Fix DateHistogram aggregation intervals (issue: #4839)
Breaking Changes
-
#4854 Fix ScriptCacheStats
Modelling of contexts was incorrectly implemented such that deserialization would fail. This breaking change fixes an implementation that would never have worked.
-
#4856 Fix DateHistogram aggregation intervals (issue: #4839)
FixedInterval was incorrectly mapped to accept either a
DateInterval
orTime
, but an input always requires a factor, meaning the former input would result in an error from Elasticsearch if used. Rather than attempt to patch around this, we decided to fix the broken implementation such thatFixedInterval
accepts onlyTime
CalendarInterval
acceptsDateInterval
orDateMathTime
Documentation
View the full list of issues and PRs
7.8.1
Features & Enhancements
- #4812 Add DailyModelSnapshotRetentionAfterDays to ml jobs (issue: #4803)
- #4813 Add FailedCategoryCount to ModelSizeStats (issue: #4803)
- #4814 Add effective max model memory limit to ML info (issue: #4803)
- #4815 Add assigned node to OpenJob/StartDatafeed response (issue: #4803)
- #4816 Add Indices and Aliases in BulkAlias API (issue: #4721)
Bug Fixes
- #4806 Deserialize sort short forms (issue: #4797)
- #4807 Do not wrap null ISourceFilter in Union (issue: #4787)
CI and docs
- #4793 Remove duplicated properties. Thanks @DanAtkinson 👍
- #4805 Use format that null_value conforms to (issue: #4781)
- #4804 Parent-Child Documentation: Fixed spelling error on "IndexResponse". thanks @NickFane 👍
View the full list of issues and PRs
7.8.0
Features & Enhancements
- #4673 Allow HttpClient instances to be refreshed periodically
- #4719 Update REST api specs against 7.8 branch
- #4727 Add PreserveOriginal to EdgeNgramTokenFilter (issue: #4718)
- #4728 Add analytics to xpack usage (issue: #4718)
- #4732 Add support for T-Test aggregations (issue: #4718)
- #4736 Add PreserveOriginal to NGramTokenFilter (issue: #4718)
- #4737 Add aggregation usage to nodes usage (issue: #4718)
- #4738 Add Voting Config Exclusions APIs (issue: #4718)
- #4743 Add rewrite to RegExp query (issue: #4722)
- #4772 Add FixedInterval and CalendarInterval to IDateHistogramCompositeAggr… (issue: #4695)
- #4744 Add script_cache to Node Stats API (issue: #4718)
- #4790 Update with latest 7.8 REST specs
Bug Fixes
- #4725 AutoDateHistogramAggregate Interval should be DateMathTime (issue: #4333)
- #4741 Fix Ids overloads on PinnedQuery (issue: #4733)
- #4780 Remove increment inside loop when validating intermediate CA (issue: #4717)
- #4789 Ignore ContainsMetadata field when automapping Attachment
Docs
- #4730 Update getting-started.asciidoc
CI and Tests
- #4685 Feature/master/yaml completeness
- #4726 Unmute CsvProcessor (issue: #4718)
- #4792 Change default ModelSnapshotRetentionDays
View the full list of issues and PRs
7.7.1
Features & Enhancements
Bug Fixes
- #4705 update CatAllocationRecord (issue: #4699)
- #4713 Add special serialization handling for nullable ValueTuples (issue: #4703)
- #4714 Fix api url lookups
Breaking changes
Some generated types and methods for async search and transform APIs made their way into 7.7.0 when they shouldn't have. These types and methods have been removed or their signature changed in 7.7.1:
-Elasticsearch.Net.Specification.DataFrameApi.DeleteDataFrameTransformRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.GetDataFrameTransformRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.GetDataFrameTransformStatsRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.PreviewDataFrameTransformRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.PutDataFrameTransformRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.StartDataFrameTransformRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.StopDataFrameTransformRequestParameters
-Elasticsearch.Net.Specification.DataFrameApi.UpdateDataFrameTransformRequestParameters
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Delete<TResponse>(String, AsyncSearchDeleteRequestParameters)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Delete<TResponse>(String, DeleteRequestParameters)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.DeleteAsync<TResponse>(String, AsyncSearchDeleteRequestParameters, CancellationToken)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.DeleteAsync<TResponse>(String, DeleteRequestParameters, CancellationToken)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Get<TResponse>(String, AsyncSearchGetRequestParameters)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Get<TResponse>(String, GetRequestParameters)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.GetAsync<TResponse>(String, AsyncSearchGetRequestParameters, CancellationToken)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.GetAsync<TResponse>(String, GetRequestParameters, CancellationToken)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Submit<TResponse>(PostData, AsyncSearchSubmitRequestParameters)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Submit<TResponse>(PostData, SubmitRequestParameters)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Submit<TResponse>(String, PostData, AsyncSearchSubmitRequestParameters)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.Submit<TResponse>(String, PostData, SubmitRequestParameters)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.SubmitAsync<TResponse>(PostData, AsyncSearchSubmitRequestParameters, CancellationToken)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.SubmitAsync<TResponse>(PostData, SubmitRequestParameters, CancellationToken)
+Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.SubmitAsync<TResponse>(String, PostData, AsyncSearchSubmitRequestParameters, CancellationToken)
-Elasticsearch.Net.Specification.AsyncSearchApi.LowLevelAsyncSearchNamespace.SubmitAsync<TResponse>(String, PostData, SubmitRequestParameters, CancellationToken)
View the full list of issues and PRs
7.7.0
Bug Fixes
- #4578 [ISSUE] FieldStatistics.cs class has int values but can get from indexes long values
- #4663 Fix check for agressive connectionlimit
- #4544 Fix Node Info
- #4545 Fixes integration tests against latest 7.7.0-SNAPSHOT (issues: #4521, #4508)
Features & Enhancements
- #4557 Implement cat.transforms
- #4526 Implement cat.transform
- #4529 Implement indices.reload_search_analyzers
- #4530 Implement ml.estimate_model_memory.json
- #4535 Implement ml.set_upgrade_mode
- #4536 Implement security.get_builtin_privileges
- #4562 Implement cat.ml_trained_models
- #4563 Implement cat.ml_jobs
- #4564 Implement cat.ml_datafeeds
- #4565 Implement cat.ml_data_frame_analytics
- #4591 Add nori_number token filter in analysis-nori and discard_punctuation to filter
- #4594 Implement Top Metrics aggregation
- #4597 Add empty_value parameter to CSV processor
- #4598 Allow forcemerge in the hot phase for ILM policies
- #4592 Implement Boxplot aggregation
- #4593 Implement ConstantKeyword property
- #4599 Implement hidden indices and aliases
- #4595 [ISSUE] Add max_children to nested sort
- #4579 Use
params
modifier for methods in RequestDescriptorBase (issue: #4471) - #4601 Integration tests and docs for circle and multipoint geoshape queries
Uncategorized
- #4460 Update readme.md for LLC compatibility
- #4540 Updates REST API specifications for 7.7 to latest
- #4549 Remove snapshot testing from YAML run
- #4552 Update specifications
- #4558 Update to latest CI packages
- #4559 Regenerate docs for 7.7 branch
- #4561 Ignore indices.data_stream as API is unstable (experimental)
- #4602 Regnerate from new specifications
- #4653 update documentation for 7.7
- #4665 Make assertions on job created in test
- #4666 Mute CsvProcessor tests