Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 8, 2025

Updated Elastic.Clients.Elasticsearch from 9.0.7 to 9.1.10.

Release notes

Sourced from Elastic.Clients.Elasticsearch's releases.

9.1.10

What's Changed

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

9.1.9

What's Changed

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

9.1.8

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)
                        {
                            // ...
                        }
                    }}
                }
            ]
        }}
    }
};

 ... (truncated)

## 9.1.7

## What's Changed

* BulkResponseItemConverter: Continue after skipping unmapped json member by @​MindaugasButkus in https://github.com/elastic/elasticsearch-net/pull/8698

## New Contributors

* @​MindaugasButkus made their first contribution in https://github.com/elastic/elasticsearch-net/pull/8698

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.1.6...9.1.7

## 9.1.6

## What's Changed

* Fix deserialization of `Context` by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8688

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.1.5...9.1.6

## 9.1.5

## What's Changed

* Introduce `RequestResponseConverter<T>` and make all non-generated `JsonConverter`s public by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8669
  * Greatly simplifies use of `Elastic.Clients.Elasticsearch` types in documents (e.g. for percolation; see #​8003)
* Regenerate client by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8679
* Update `Elastic.Transport` to `0.10.1` by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8681
  * Fixes a race condition (see #​8671)

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.1.4...9.1.5

## 9.1.4

## What's Changed

* More AOT annotations  by @​Mpdreamz in https://github.com/elastic/elasticsearch-net/pull/8661
* Regenerate client by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8668
  * Fixes deserialization of `PercentilesItem` (https://github.com/elastic/elasticsearch-net/issues/8570)

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.1.3...9.1.4

## 9.1.3

## What's Changed

* Regenerate client by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8658
  * Fixes several AOT related warnings.
* Add AOT example by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8569

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.1.2...9.1.3

## 9.1.2

## What's Changed

* Regenerate client by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8656
  * Use `SourceSerializer` for `object` types (https://github.com/elastic/elasticsearch-net/issues/8648)

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.1.1...9.1.2

## 9.1.1

## What's Changed

* Regenerate client by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8644 and https://github.com/elastic/elasticsearch-net/pull/8645
  * Fixes deserialization of `PercentilesAggregate` and improves usability (https://github.com/elastic/elasticsearch-net/issues/8570)
  * Fixes serialization of `TermsvectorRequest.fields` (https://github.com/elastic/elasticsearch-net/issues/8641)
* Address some of the AOT compiler errors in .NET 9 by @​Mpdreamz in https://github.com/elastic/elasticsearch-net/pull/8649

## 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**: https://github.com/elastic/elasticsearch-net/compare/9.1.0...9.1.1

## 9.1.0

## What's Changed

* Release 9.1.0

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.0.8...9.1.0

## 9.0.8

## What's Changed

* Use Count instead of Count() by @​gpetrou in https://github.com/elastic/elasticsearch-net/pull/8604
* Regenerate client by @​flobernd in https://github.com/elastic/elasticsearch-net/pull/8638

**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.0.7...9.0.8

Commits viewable in [compare view](https://github.com/elastic/elasticsearch-net/compare/9.0.7...9.1.10).
</details>

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Elastic.Clients.Elasticsearch&package-manager=nuget&previous-version=9.0.7&new-version=9.1.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

---
updated-dependencies:
- dependency-name: Elastic.Clients.Elasticsearch
  dependency-version: 9.1.10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants