Releases: elastic/elasticsearch-net
Releases · elastic/elasticsearch-net
9.4.2
What's Changed
- Add plugin-defined (non-exhaustive) variant registry by @flobernd in #8911
- Unknown discriminators on variant union families (properties, analyzers, char filters, token filters, tokenizers, repositories, similarity settings, aggregations, queries, etc.) now deserialize into an
Unknown*carrier and re-serialize losslessly — no data is dropped for plugin-defined or future variants the client doesn't model - Opt into strong typing by registering a CLR type for a discriminator:
settings.Variants.Register<IProperty, MyPluginProperty>("my_plugin"); registrations are scoped per client instance and AOT-safe — see the Plugin-defined variant types documentation for details
- Unknown discriminators on variant union families (properties, analyzers, char filters, token filters, tokenizers, repositories, similarity settings, aggregations, queries, etc.) now deserialize into an
- Regenerate client by @flobernd in #8908 and #8917
- Generated
Unknown*carrier types for all variant families (properties, analyzers, char filters, token filters, tokenizers, repositories, similarity settings, aggregations, queries, suggesters, rescorers) to support the non-exhaustive variant registry - Improved XML documentation coverage across generated client methods, request/response types, and type members that previously had no IntelliSense descriptions
- Generated
Full Changelog: 9.4.1...9.4.2
8.19.23
What's Changed
- Add plugin-defined (non-exhaustive) variant registry by @flobernd in #8911
- Unknown discriminators on variant union families (properties, analyzers, char filters, token filters, tokenizers, repositories, similarity settings, aggregations, queries, etc.) now deserialize into an
Unknown*carrier and re-serialize losslessly — no data is dropped for plugin-defined or future variants the client doesn't model - Opt into strong typing by registering a CLR type for a discriminator:
settings.Variants.Register<IProperty, MyPluginProperty>("my_plugin"); registrations are scoped per client instance and AOT-safe — see the Plugin-defined variant types documentation for details
- Unknown discriminators on variant union families (properties, analyzers, char filters, token filters, tokenizers, repositories, similarity settings, aggregations, queries, etc.) now deserialize into an
- Regenerate client by @flobernd in #8910 and #8916
- Generated
Unknown*carrier types for all variant families (properties, analyzers, char filters, token filters, tokenizers, repositories, similarity settings, aggregations, queries, suggesters, rescorers) to support the non-exhaustive variant registry - Improved XML documentation coverage across generated client methods, request/response types, and type members that previously had no IntelliSense descriptions
- Generated
Full Changelog: 8.19.22...8.19.23
9.4.1
What's Changed
- Regenerate client by @flobernd in #8899 and #8907
- Fixes (de-)serialization of unions with three or more variants — previously, hand-rolled union converters could fail to select the correct variant
- Search response shape fix in
InnerHits: theFieldsproperty is split intoField(single-field selector usingFields) and a newFieldscollection ofFieldAndFormat— existing usages ofInnerHits.Fields = …may need to be retargeted toField DataStreamLifecyclegainsEffectiveRetentionandRetentionDeterminedBy; newGlobalRetentionandRetentionSourcetypes;GetDataLifecycleResponsenow exposesGlobalRetention- Reindex rethrottle response now models parent task progress via the new
ParentReindexStatustype - Inference and
_mvtcontent-type alignment:chat_completion_unified/stream_completionsendContent-Type: application/json;_mvtuses the versionedapplication/vnd.elasticsearch+vnd.mapbox-vector-tileAccept header
Full Changelog: 9.4.0...9.4.1
8.19.22
What's Changed
- Regenerate client by @flobernd in #8897 and #8906
- Fixes (de-)serialization of unions with three or more variants — previously, hand-rolled union converters could fail to select the correct variant
DataStreamLifecyclegainsEffectiveRetentionandRetentionDeterminedBy; newGlobalRetentionandRetentionSourcetypes;GetDataLifecycleResponsenow exposesGlobalRetention- Inference and
_mvtcontent-type alignment:chat_completion_unified/stream_completionsendContent-Type: application/json;_mvtuses the versionedapplication/vnd.elasticsearch+vnd.mapbox-vector-tileAccept header
Full Changelog: 8.19.21...8.19.22
9.4.0
9.3.7
What's Changed
- Regenerate client by @flobernd in #8898
- Set explicit
ContentType: application/jsonforChatCompletionUnifiedandStreamCompletionstreaming inference requests - Switch
SearchMvtAcceptheader toapplication/vnd.elasticsearch+vnd.mapbox-vector-tile(Elasticsearch product-flavored content-type) - Bump
Elastic.Transportto 0.17.1 - Document default
max_page_search_sizevalues forpivot(500) andlatest(5000) transforms
- Set explicit
Full Changelog: 9.3.6...9.3.7
8.19.21
What's Changed
- Regenerate client by @flobernd in #8897
- Set explicit
ContentType: application/jsonforChatCompletionUnifiedandStreamCompletionstreaming inference requests - Switch
SearchMvtAcceptheader toapplication/vnd.elasticsearch+vnd.mapbox-vector-tile(Elasticsearch product-flavored content-type) - Bump
Elastic.Transportto 0.17.1 - Document default
max_page_search_sizevalues forpivot(500) andlatest(5000) transforms
- Set explicit
Full Changelog: 8.19.20...8.19.21
9.3.6
8.19.20
9.3.5
What's Changed
- Hand-craft IndexSettingsTimeSeriesConverter to handle out-of-range dates by @flobernd in #8873
- Fix DefaultMappingFor not consuming
IdPropertyNameandDisableIdInferenceby @flobernd in #8877 - Regenerate client by @flobernd in #8883
- Align LINQ-to-ES|QL integration with
Elastic.Esql0.11.0 by @flobernd in #8886
Full Changelog: 9.3.4...9.3.5