Releases: elastic/elasticsearch-net
Releases · elastic/elasticsearch-net
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
View the full list of issues and PRs
7.6.2
Bug Fixes
- #4541 Add formatter for
int
->string
(issue: #4537) - #4574 implement
IPercentageScoreHeuristic
onPercentageScoreHeuristic
(issue: #4573) - #4581 Fix InternalsVisibleTo for versioned assemblies (issue: #4538)
- #4655 Fix bug in IsLong implementation (issue: #4649)
- #4656 Don't sanitize the keys for Filters aggregation named buckets (issue: #4582)
Features & Enhancements
Breaking Changes
View the full list of issues and PRs
6.8.6
7.6.1
Features
- #4472 Adds socket timeout and connect timeout options to reindex on server
Bug Fixes
- #4463 Fix GetMany when no default index is set
- #4468 Deserialize string bool and int repository setting values (issue: #4467)
- #4488 Fix distance_feature query serialization (issue: #4487)
View the full list of issues and PRs
6.8.5
7.6.0
Features & Enhancements
- #4324 Handle short form queries
- #4325 Add index setting method for index.blocks.read_only_allow_delete
- #4327 Date string format within aggregation (NEST)
- #4328 Serialize custom ITokenFilter and ICharFilter implementations
- #4331 Add format to metric aggregations that support it
- #4346 Allow the code generator to generate only the low level client
- #4348 Allow headers to be specified on a per request basis
- #4351 DynamicValue can now dispatch into arrays
- #4358 Add HistogramProperty
- #4359 Allow headers to be specified on a per request basis (#4348)
- #4360 Allow the code generator to generate only the low level client
- #4367 Add histogram datatype
- #4369 / #4370 Add StringStats aggregation
- #4371 Add Estonian language analyzer
- #4374 Add Csv processor
- #4375 Add WaitForSnapshot ILM lifecycle action
- #4376 Add per-field metadata
- #4379 Add support for fuzzy intervals in interval query
- #4384 Support custom token chars in (edge)ngram tokenizer
- #4391 Add retry count and is retryable to ILM explain
- #4402 Add preserve_trailing to Split processor
- #4403 Add support for bounds in geohash_grid aggregation
- #4406 Support Enterprise license type
- #4407 Add ingest info to Cluster Stats response
- #4408 Add categorization analyzer to defaults on ml info response
- #4409 Add flattened usage field count
- #4410 Add first_only to geoip processor
Deprecations
- #4356 / #4357 Deprecate sort on ReindexOnServer
- #4394 For custom analyzer position_offset_gap renamed to position_increment_gap
- #4401 Add index.final_pipeline index setting
- #4411 Deprecate index soft delete enabled setting
Bug Fixes
- #4342 SourceMany unexpected behavior
- #4353 Return distinct items from GetMany and SourceMany
- #4366 Add missing datatype members to IPropertiesDescriptor
- #4372 Add missing visit methods to aggregation visitor
- #4378 Create exception formatters for different exceptions
- #4382 VerifyRepositoryResponse uses incorrect JsonFormatter
- #4383 Use correct IJsonFormatter in attributes
- #4392 RankQueryQueryFormatter generates incorrect JSON
- #4393 Function is optional for rank_feature query
Uncategorized
- #4291 Replace old github organisation (elasticsearch) urls with new organisation (elastic).
- #4303 Fix search request body links (#4296)
- #4310 Read numeric aggs keys as long or double
- #4312 Several improvements to PostData
- #4313 Additional UTF8Json overloads, consolidate how we tell it to write/serialize.
- #4314 Backport PostData performance fixes and new features
- #4326 Allow extending NEST token filters
- #4329 Pass base64 encoded API key on Connectionsettings
- #4335 Implement client examples
- #4339 Implement _source parameter on action and doc lines.
- #4347 Update low level client with missing methods
- #4354 Remove edgengram tokenizer spelling
- #4364 Unknown query now returns a different error
- #4404 Ability to only run one test section in file in yaml test runner
- #4405 Add Github Actions automations
- #4427 Update version for SearchTemplate error message
- #4428 Avoid multiple enumeration of IEnumerable PostData
- #4429 Use XPackCluster for PutPipeline API tests
- #4435 Use MachineLearningDateTimeFormatter
- #4436 Wait for .security index to be green
- #4437 update docs on the 7.x branch
- #4438 Add 7.6.0 to the azure devops pipeline
- #4445 Improve test logger
- #4446 Move intrusive xpack tests to own cluster
- #4447 Fix yaml tests not deleting newly defined hidden indices
- #4452 / #4453 Remove pre-release reference for Microsoft.CSharp
- #4459 Ignore experimental APIs from 7.6.0