Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Updated Elastic.Clients.Elasticsearch from 9.1.0 to 9.1.9.

Release notes

Sourced from Elastic.Clients.Elasticsearch's releases.

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

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

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Elastic.Clients.Elasticsearch&package-manager=nuget&previous-version=9.1.0&new-version=9.1.9)](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 will merge this PR once CI passes on it, as requested by @guibranco.

[//]: # (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>

<!-- Korbit AI PR Description Start -->
## Description by Korbit AI

### What change is being made?

Bump Elastic.Clients.Elasticsearch from version 9.1.0 to 9.1.9 in Directory.Packages.props.

### Why are these changes being made?

To apply the latest bug fixes and improvements in the Elasticsearch client. This keeps dependencies up-to-date and maintains compatibility with the rest of the stack.

> Is this description stale? Ask me to generate a new description by commenting `/korbit-generate-pr-description`
<!-- Korbit AI PR Description End -->

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

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 nuget packages labels Oct 6, 2025
@korbit-ai
Copy link

korbit-ai bot commented Oct 6, 2025

By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the /korbit-review command in a comment.

@guibranco guibranco enabled auto-merge (squash) October 6, 2025 14:54
@gstraccini gstraccini bot added the ☑️ auto-merge Automatic merging of pull requests (gstraccini-bot) label Oct 6, 2025
@github-actions github-actions bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 6, 2025
Copy link
Owner

@guibranco guibranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by gstraccini[bot]

@gstraccini gstraccini bot added the 🤖 bot Automated processes or integrations label Oct 6, 2025
@guibranco
Copy link
Owner

@dependabot squash and merge

@coderabbitai
Copy link

coderabbitai bot commented Oct 6, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Note

Free review on us!

CodeRabbit is offering free reviews until Wed Oct 08 2025 to showcase some of the refinements we've made.

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

Infisical secrets check: ✅ No secrets leaked!

💻 Scan logs
A new release of infisical is available: 0.41.90 -> 0.42.6

To update, run: sudo apt-get update && sudo apt-get install infisical

2:55PM INF scanning for exposed secrets...
2:55PM INF 716 commits scanned.
2:55PM INF scan completed in 1.15s
2:55PM INF no leaks found

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2025

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednuget/​elastic.clients.elasticsearch@​9.1.0 ⏵ 9.1.910010090 +2100100

View full report

@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 4c9fa3b1
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (4c9fa3b) Report Missing Report Missing Report Missing
Head commit (2dae7f8) 3681 1620 44.01%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#778) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2025

@AppVeyorBot
Copy link

Build CrispyWaffle 10.0.764 completed (commit 5c148b0f67 by @gstraccini[bot])

@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.62%. Comparing base (83a2cfd) to head (2dae7f8).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #778   +/-   ##
=======================================
  Coverage   40.62%   40.62%           
=======================================
  Files          83       83           
  Lines        3631     3631           
  Branches      519      519           
=======================================
  Hits         1475     1475           
  Misses       2053     2053           
  Partials      103      103           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@guibranco guibranco merged commit 91f02ce into main Oct 6, 2025
30 of 31 checks passed
@guibranco guibranco deleted the dependabot/nuget/Elastic.Clients.Elasticsearch-9.1.9 branch October 6, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☑️ auto-merge Automatic merging of pull requests (gstraccini-bot) 🤖 bot Automated processes or integrations dependencies Pull requests that update a dependency file .NET Pull requests that update .net code nuget packages size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants