Skip to content

chore(deps): update dependency elastic.clients.elasticsearch to v9#1365

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/elastic.clients.elasticsearch-9.x
Open

chore(deps): update dependency elastic.clients.elasticsearch to v9#1365
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/elastic.clients.elasticsearch-9.x

Conversation

@renovate

@renovate renovate Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
Elastic.Clients.Elasticsearch 8.17.49.4.2 age confidence

Release Notes

elastic/elasticsearch-net (Elastic.Clients.Elasticsearch)

v9.4.2

Compare Source

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: elastic/elasticsearch-net@9.4.1...9.4.2

v9.4.1

Compare Source

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: elastic/elasticsearch-net@9.4.0...9.4.1

v9.4.0

Compare Source

What's Changed

Initial 9.4.x release.

Full Changelog: elastic/elasticsearch-net@9.3.7...9.4.0

v9.3.7

Compare Source

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: elastic/elasticsearch-net@9.3.6...9.3.7

v9.3.6

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.3.5...9.3.6

v9.3.5

Compare Source

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: elastic/elasticsearch-net@9.3.4...9.3.5

v9.3.4

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.3.3...9.3.4

v9.3.3

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.3.2...9.3.3

v9.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/elasticsearch-net@9.3.1...9.3.2

v9.3.1

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.3.0...9.3.1

v9.3.0

Compare Source

What's Changed

Initial 9.3.x release.

Full Changelog: elastic/elasticsearch-net@9.2.3...9.3.0

v9.2.3

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/elasticsearch-net@9.2.2...9.2.3

v9.2.2

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.2.1...9.2.2

v9.2.1

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.2.0...9.2.1

v9.2.0

Compare Source

What's Changed

Initial 9.2 release.

Full Changelog: elastic/elasticsearch-net@9.1.12...9.2.0

v9.1.12

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.11...9.1.12

v9.1.11

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.10...9.1.11

v9.1.10

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.9...9.1.10

v9.1.9

Compare Source

What's Changed

  • Switch to custom SafeSkip() method that works with partial JSON blocks by @​flobernd in #​8720
    • Improves compatibility in certain streaming scenarios

Full Changelog: elastic/elasticsearch-net@9.1.8...9.1.9

v9.1.8

Compare Source

What's Changed

Breaking Changes

The type of the Sources property has been changed from ICollection<IDictionary<string, CompositeAggregationSource>> to ICollection<KeyValuePair<string, CompositeAggregationSource>>. This corresponds to the Elasticsearch standard for modeling ordered dictionaries in the REST API.

CompositeAggregationSource is now also a container (similar to Aggregation, Query, etc.). This change improves usability due to specialized code generation. For example, implicit conversion operators from all existing variants (CompositeTermsAggregation, CompositeHistogramAggregation, etc.) to CompositeAggregationSource are now generated.

As a consequence, the object initializer syntax changes as follows:

// 9.1.7 and below

var request = new SearchRequest
{
    Aggregations = new Dictionary<string, Aggregation>
    {
        { "my_composite", new CompositeAggregation
        {
            Sources =
            [
                new Dictionary<string, CompositeAggregationSource>
                {
                    { "my_terms", new CompositeAggregationSource
                    {
                        Terms = new CompositeTermsAggregation
                        {
                            // ...
                        }
                    }}
                },
                new Dictionary<string, CompositeAggregationSource>
                {
                    { "my_histo", new CompositeAggregationSource
                    {
                        Histogram = new CompositeHistogramAggregation(0.5)
                        {
                            // ...
                        }
                    }}
                }
            ]
        }}
    }
};

// 9.1.8 and above

var request = new SearchRequest
{
    Aggregations = new Dictionary<string, Aggregation>
    {
        { "my_composite", new CompositeAggregation
        {
            Sources =
            [
                new KeyValuePair<string, CompositeAggregationSource>(
                    "my_terms",
                    // Implicit conversion from `CompositeTermsAggregation` to `CompositeAggregationSource`.
                    new CompositeTermsAggregation
                    {
                        // ...
                    }
                ),
                new KeyValuePair<string, CompositeAggregationSource>(
                    "my_histo",
                    // Implicit conversion from `CompositeHistogramAggregation` to `CompositeAggregationSource`.
                    new CompositeHistogramAggregation(0.5) <2>
                    {
                        // ...
                    }
                )
            ]
        }}
    }
};

In addition, this change allows optimized Fluent syntax to be generated, which ultimately avoids a previously existing ambiguity:

// 9.1.7 and below

var descriptor = new SearchRequestDescriptor()
    .Aggregations(aggs => aggs
        .Add("my_composize", agg => agg
            .Composite(composite => composite
                // This is the `params` overload that initializes the `Sources` collection with multiple entries.
                .Sources(
                    // Add dictionary item 1 that contains a single `Terms` aggregation entry.
                    x => x.Add("my_terms", x => x.Terms(/* ... */)),
                    // Add dictionary item 2 that contains a single `Histogram` aggregation entry.
                    x => x.Add("my_histo", x => x.Histogram(/* ... */)) <3>
                )
            )
        )
    );

// 9.1.8 and above

var descriptor = new SearchRequestDescriptor()
    .Aggregations(aggs => aggs
        .Add("my_composize", agg => agg
            .Composite(composite => composite
                .Sources(sources => sources
                    .Add("my_terms", x => x.Terms(/* ... */))
                    .Add("my_histo", x => x.Histogram(/* ... */))
                )
            )
        )
    );

The old syntax was tricky because the 9.1.8 example also compiled successfully, but the .Add referred to the first dictionary both times. This ultimately resulted in a list with only one dictionary, which had multiple entries, and thus an invalid request.


Full Changelog: elastic/elasticsearch-net@9.1.7...9.1.8

v9.1.7

Compare Source

What's Changed
New Contributors

Full Changelog: elastic/elasticsearch-net@9.1.6...9.1.7

v9.1.6

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.5...9.1.6

v9.1.5

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.4...9.1.5

v9.1.4

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.3...9.1.4

v9.1.3

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.2...9.1.3

v9.1.2

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.1.1...9.1.2

v9.1.1

Compare Source

What's Changed
Breaking Changes

The type of the Values property for the following classes got changed from the Percentiles union to a simple PercentilesItem collection:

  • HdrPercentilesAggregate
  • HdrPercentileRanksAggregate
  • TDigestPercentilesAggregate
  • TDigestPercentileRanksAggregate
  • PercentilesBucketAggregate

The Percentiles union type got removed as it's no longer used.


Full Changelog: elastic/elasticsearch-net@9.1.0...9.1.1

v9.1.0

Compare Source

What's Changed
  • Release 9.1.0

Full Changelog: elastic/elasticsearch-net@9.0.8...9.1.0

v9.0.8

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.0.7...9.0.8

v9.0.7

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.0.6...9.0.7

v9.0.6

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.0.5...9.0.6

v9.0.5

Compare Source

What's Changed

  • Update Elastic.Transport by @​flobernd in #​8549
    • Fixes an issue that caused certain URL parameters to get serialized with incorrect casing

Full Changelog: elastic/elasticsearch-net@9.0.4...9.0.5

v9.0.4

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.0.3...9.0.4

v9.0.3

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.0.2...9.0.3

v9.0.2

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.0.1...9.0.2

v9.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/elasticsearch-net@9.0.0...9.0.1

v9.0.0

Compare Source

What's Changed

See release notes and breaking changes.


Full Changelog: elastic/elasticsearch-net@8.17.2...9.0.0

v8.19.23

Compare Source

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: elastic/elasticsearch-net@8.19.22...8.19.23

v8.19.22

Compare Source

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: elastic/elasticsearch-net@8.19.21...8.19.22

v8.19.21

Compare Source

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: elastic/elasticsearch-net@8.19.20...8.19.21

v8.19.20

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.19...8.19.20

v8.19.19

Compare Source

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: elastic/elasticsearch-net@8.19.18...8.19.19

v8.19.18

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.17...8.19.18

v8.19.17

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.16...8.19.17

v8.19.16

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/elasticsearch-net@8.19.15...8.19.16

v8.19.15

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.14...8.19.15

v8.19.14

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/elasticsearch-net@8.19.13...8.19.14

v8.19.13

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@9.2.1...9.2.2

v8.19.12

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.11...8.19.12

v8.19.11

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.10...8.19.11

v8.19.10

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.9...8.19.10

v8.19.9

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.8...8.19.9

v8.19.8

Compare Source

What's Changed

  • Switch to custom SafeSkip() method that works with partial JSON blocks by @​flobernd in #​8720
    • Improves compatibility in certain streaming scenarios

Full Changelog: elastic/elasticsearch-net@8.19.7...8.19.8

v8.19.7

Compare Source

What's Changed

Breaking Changes

See https://github.com/elastic/elasticsearch-net/releases/tag/9.1.8.


Full Changelog: elastic/elasticsearch-net@8.19.6...8.19.7

v8.19.6

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/elasticsearch-net@8.19.5...8.19.6

v8.19.5

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.4...8.19.5

v8.19.4

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.3...8.19.4

v8.19.3

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.2...8.19.3

v8.19.2

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.19.1...8.19.2

v8.19.1

Compare Source

What's Changed

Breaking Changes

The type of the Values property for the following classes got changed from the Percentiles union to a simple PercentilesItem collection:

  • HdrPercentilesAggregate
  • HdrPercentileRanksAggregate
  • TDigestPercentilesAggregate
  • TDigestPercentileRanksAggregate
  • PercentilesBucketAggregate

The Percentiles union type got removed as it's no longer used.


Full Changelog: elastic/elasticsearch-net@8.19.0...8.19.1

v8.19.0

Compare Source

What's Changed

  • Release 8.19.0.

This release backports all improvements of the 9.x client to the 8.x major version of the client.

[!WARNING]
Please note that some of the changes in this release are breaking!

For a complete list of improvements in this release, have a look at the 9.0.0 release notes and breaking changes to learn about all breaking changes.

Full Changelog: elastic/elasticsearch-net@8.19.0-preview.4...8.19.0

[v8.18.3](https://redirect.github.com/elastic/ela

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner June 11, 2026 22:57
@renovate
renovate Bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 2 times, most recently from 1a0ab61 to 13ecc80 Compare June 16, 2026 08:56
@renovate
renovate Bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 2 times, most recently from bf83ef1 to bf29b99 Compare June 22, 2026 12:30
@renovate
renovate Bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from bf29b99 to 825ce82 Compare July 27, 2026 07:31
@renovate
renovate Bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 825ce82 to 17db5c5 Compare July 27, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants