Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 23, 2025

This PR contains the following updates:

Package Change Age Confidence
Elastic.Clients.Elasticsearch 8.17.4 -> 9.2.2 age confidence

Release Notes

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

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

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.18.2...8.18.3

v8.18.2

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-net@8.18.1...8.18.2

v8.18.1

Compare Source

What's Changed

  • Fix (de-)serialization of SnapshotShardFailure.ShardId
  • Various specification-induced bug fixes and improvements

Full Changelog: elastic/elasticsearch-net@8.18.0...8.18.1

v8.18.0

Compare Source

What's Changed

  • Regenerate client for 8.18

Full Changelog: elastic/elasticsearch-net@8.17.4...8.18.0


Configuration

📅 Schedule: 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 April 23, 2025 14:46
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 11 times, most recently from a766baa to 8d4e6f9 Compare April 28, 2025 14:06
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 5 times, most recently from 88a69ca to 99a0dde Compare May 8, 2025 13:09
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 5 times, most recently from d9c3325 to 1a2efff Compare May 16, 2025 12:47
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 2 times, most recently from 7949114 to c341e54 Compare May 31, 2025 15:45
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 3 times, most recently from 6ce61b0 to b5b4525 Compare June 10, 2025 17:24
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from b5b4525 to f880f1b Compare June 10, 2025 18:07
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 1041a6c to 8d650b2 Compare August 4, 2025 23:58
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 3 times, most recently from 2bcb1e2 to fe5247f Compare August 20, 2025 13:04
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 2 times, most recently from 50606f2 to a13a35c Compare August 21, 2025 07:16
@ArneD ArneD force-pushed the main branch 2 times, most recently from 0b3d073 to cd4d58d Compare August 22, 2025 11:10
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 3 times, most recently from 278c153 to 50fb543 Compare August 25, 2025 11:53
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 50fb543 to c8563ce Compare September 1, 2025 13:40
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from c8563ce to 8730a19 Compare September 14, 2025 18:54
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 2 times, most recently from 4f1bff8 to 808cc92 Compare September 29, 2025 20:14
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 808cc92 to 0abda16 Compare October 8, 2025 23:19
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 0abda16 to fb28e19 Compare October 16, 2025 11:56
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from fb28e19 to 0c25b29 Compare October 26, 2025 07:58
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 0c25b29 to bc9a2c3 Compare November 3, 2025 23:29
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 3 times, most recently from 6b1f144 to 12ff1cb Compare November 21, 2025 09:50
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch 5 times, most recently from 6d811e3 to 44d6268 Compare November 27, 2025 10:57
@renovate renovate bot force-pushed the renovate/elastic.clients.elasticsearch-9.x branch from 44d6268 to 667697f Compare December 4, 2025 13:44
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.

1 participant