Skip to content

Releases: elastic/elasticsearch-net

9.4.2

01 Jun 14:44
0d5c9b5

Choose a tag to compare

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
  • 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

Full Changelog: 9.4.1...9.4.2

8.19.23

01 Jun 14:43
691ee74

Choose a tag to compare

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
  • 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

Full Changelog: 8.19.22...8.19.23

9.4.1

21 May 21:22
5ec2d95

Choose a tag to compare

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: the Fields property is split into Field (single-field selector using Fields) and a new Fields collection of FieldAndFormat — existing usages of InnerHits.Fields = … may need to be retargeted to Field
    • DataStreamLifecycle gains EffectiveRetention and RetentionDeterminedBy; new GlobalRetention and RetentionSource types; GetDataLifecycleResponse now exposes GlobalRetention
    • Reindex rethrottle response now models parent task progress via the new ParentReindexStatus type
    • Inference and _mvt content-type alignment: chat_completion_unified / stream_completion send Content-Type: application/json; _mvt uses the versioned application/vnd.elasticsearch+vnd.mapbox-vector-tile Accept header

Full Changelog: 9.4.0...9.4.1

8.19.22

21 May 21:22
e8ff071

Choose a tag to compare

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
    • DataStreamLifecycle gains EffectiveRetention and RetentionDeterminedBy; new GlobalRetention and RetentionSource types; GetDataLifecycleResponse now exposes GlobalRetention
    • Inference and _mvt content-type alignment: chat_completion_unified / stream_completion send Content-Type: application/json; _mvt uses the versioned application/vnd.elasticsearch+vnd.mapbox-vector-tile Accept header

Full Changelog: 8.19.21...8.19.22

9.4.0

06 May 10:05
b10525c

Choose a tag to compare

What's Changed

Initial 9.4.x release.

Full Changelog: 9.3.7...9.4.0

9.3.7

06 May 10:05
800d076

Choose a tag to compare

What's Changed

  • Regenerate client by @flobernd in #8898
    • Set explicit ContentType: application/json for ChatCompletionUnified and StreamCompletion streaming inference requests
    • Switch SearchMvt Accept header to application/vnd.elasticsearch+vnd.mapbox-vector-tile (Elasticsearch product-flavored content-type)
    • Bump Elastic.Transport to 0.17.1
    • Document default max_page_search_size values for pivot (500) and latest (5000) transforms

Full Changelog: 9.3.6...9.3.7

8.19.21

06 May 10:05
41c4928

Choose a tag to compare

What's Changed

  • Regenerate client by @flobernd in #8897
    • Set explicit ContentType: application/json for ChatCompletionUnified and StreamCompletion streaming inference requests
    • Switch SearchMvt Accept header to application/vnd.elasticsearch+vnd.mapbox-vector-tile (Elasticsearch product-flavored content-type)
    • Bump Elastic.Transport to 0.17.1
    • Document default max_page_search_size values for pivot (500) and latest (5000) transforms

Full Changelog: 8.19.20...8.19.21

9.3.6

28 Apr 13:26
eeec392

Choose a tag to compare

What's Changed

  • Remove obsolete ElasticsearchClientProductRegistration overrides by @flobernd in #8891

Full Changelog: 9.3.5...9.3.6

8.19.20

28 Apr 13:26
f333665

Choose a tag to compare

What's Changed

  • Remove obsolete ElasticsearchClientProductRegistration overrides by @flobernd in #8891

Full Changelog: 8.19.19...8.19.20

9.3.5

23 Apr 07:42
c0403d7

Choose a tag to compare

What's Changed

  • Hand-craft IndexSettingsTimeSeriesConverter to handle out-of-range dates by @flobernd in #8873
  • Fix DefaultMappingFor not consuming IdPropertyName and DisableIdInference by @flobernd in #8877
  • Regenerate client by @flobernd in #8883
    • Fixes FieldType enum doesnt have Wildcard value" (#8826)
    • Fixes SearchMvtAsync throws TransportException on successful HTTP 200 _mvt responses with valid binary tile payload (#8867)
  • Align LINQ-to-ES|QL integration with Elastic.Esql 0.11.0 by @flobernd in #8886

Full Changelog: 9.3.4...9.3.5