Skip to content

Update Elastic.Transport to 1.1.0 - #8992

Merged
flobernd merged 2 commits into
mainfrom
update-transport-1.1.0
Sep 8, 2026
Merged

flobernd merged 2 commits into
mainfrom
update-transport-1.1.0

Conversation

@flobernd

@flobernd flobernd commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

Updates Elastic.Transport from 0.17.1 to 1.1.0 in the client and in the request converter, which compiles the
client sources and pins its own transport version, and adds the matching release notes.

Intention

Transport 1.1.0 records the Elastic-Cluster-Name response header, emitted by Elasticsearch 9.6+ when
http.headers.cluster_name.enabled is set, as the db.elasticsearch.cluster.name span attribute, so spans against
self-managed clusters carry the cluster name. It also fixes a duplicate-key exception when ParseAllHeaders or an
overlapping ResponseHeadersToParse was used while OpenTelemetry listeners were active.

Related

Notes

The client skips 1.0.0 and 1.0.1, which it never adopted. Their release notes report no public API changes, and both
the client and the request converter build against 1.1.0 without further changes.

Picks up support for the Elastic-Cluster-Name response header emitted by
Elasticsearch 9.6+ when http.headers.cluster_name.enabled is set, so the
db.elasticsearch.cluster.name span attribute is also populated for
self-managed clusters. Also includes the fix for the duplicate-key
exception when ParseAllHeaders or ResponseHeadersToParse overlap with
the telemetry headers while OpenTelemetry listeners are active.
@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Plugin-defined variant types shipped in 9.4.2, and the cluster-name span
attribute targets the next 9.5 patch, so both entries move under those
version headings instead of the version.next placeholder. The
placeholder returns to its commented-out form without a Fixes section,
which the release notes do not use.
@flobernd
flobernd merged commit 2213f10 into main Sep 8, 2026
26 of 27 checks passed
@flobernd
flobernd deleted the update-transport-1.1.0 branch September 8, 2026 10:52
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
❌ 8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- Restore delegate caching in IdResolver (#8973)
- Emit the executing client call in the request converter (#8967)
- Make custom JSON converters safe for multi-segment readers (#8923)
- Add plugin-defined (non-exhaustive) variant registry (#8911)
- Remove obsolete ElasticsearchClientProductRegistration overrides (#8891)
- [Align LINQ-to-ES
✅ 9.5

Manual backport

To create the backport manually run:

backport --pr 8992

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

flobernd added a commit that referenced this pull request Sep 8, 2026
Co-authored-by: Florian Bernd <git@flobernd.de>
flobernd added a commit that referenced this pull request Sep 9, 2026
github-actions Bot pushed a commit to omerkck41/OmerkckArchitecture that referenced this pull request Oct 26, 2026
…153)

Updated
[Elastic.Clients.Elasticsearch](https://github.com/elastic/elasticsearch-net)
from 9.4.1 to 9.5.3.

<details>
<summary>Release notes</summary>

_Sourced from [Elastic.Clients.Elasticsearch's
releases](https://github.com/elastic/elasticsearch-net/releases)._

## 9.5.3

> [!WARNING]
> This release contains a breaking change in the generated security
types. Review the **Breaking** entry below before upgrading.

## What's Changed

* Update `Elastic.Transport` to `1.1.0` by @​flobernd in
elastic/elasticsearch-net#8992
* Records the `Elastic-Cluster-Name` response header (sent by
Elasticsearch 9.6+ when `http.headers.cluster_name.enabled` is set) as
the `db.elasticsearch.cluster.name` span attribute
* Fixes a duplicate-key exception when `ParseAllHeaders` or an
overlapping `ResponseHeadersToParse` was used while OpenTelemetry
listeners were active
* Fix routing inference for bulk update and delete operations by
@​fresh55 in elastic/elasticsearch-net#8995
Fixes elastic/elasticsearch-net#8978
* Bulk update operations (including the fluent `IdFrom` path and script
upserts) now infer `routing` from the document instead of omitting it
* Bulk delete operations no longer emit `"routing":null` for types
without a routing property, and `Delete<T>(doc)` / `DeleteMany<T>(...)`
keep routing and `_index` inference
* Avoid closure allocations in RoutingResolver by @​fresh55 in
elastic/elasticsearch-net#8979 Fixes
elastic/elasticsearch-net#7664
* `RoutingResolver.Resolve()` no longer allocates on any path
(join-field routing drops from 160 B/op to 0 B/op)
* Regenerate client by @​flobernd in
elastic/elasticsearch-net#9003 and
elastic/elasticsearch-net#9005
* Adds the `Certificates` (`_ssl/certificates`), `Cluster.RemoteInfo`,
`DanglingIndices.DeleteDanglingIndex` / `ImportDanglingIndex`,
`Ilm.ExplainLifecycle`, `Indices.AddBlock` and `Ml.PreviewDatafeed`
endpoints
  * Adds the `kql` query to the Query DSL (`Query.Kql` / `KqlQuery`)
* Adds the `moving_avg` pipeline aggregation (`Aggregation.MovingAvg`
with EWMA, Holt, Holt-Winters, linear and simple models)
* Adds the `clone_api_key` cluster privilege
(`ClusterPrivilege.CloneApiKey`)
* Adds `MaxConsecutiveExtractionFailures` to `DatafeedConfig` and the
put/update datafeed requests, and `AnalysisStats` to
`DataframeAnalytics`
* **Breaking** `GlobalPrivilege.Application` is now optional
(`ApplicationGlobalUserPrivileges?`) and the
`GlobalPrivilege(ApplicationGlobalUserPrivileges)` constructor was
removed. Use the object initializer or the `GlobalPrivilegeDescriptor`
instead

**Full Changelog**:
elastic/elasticsearch-net@9.5.2...9.5.3


## 9.5.2

> [!WARNING]
> This release contains breaking changes in generated types. Please
review the breaking changes listed below before upgrading.

## What's Changed

* Regenerate client by @​flobernd in
elastic/elasticsearch-net#8990
* `DenseVectorIndexOptions` gains the `bbq_disk` properties
`AutoCalibrate`, `Bits`, `ClusterSize`,
    `DefaultVisitPercentage` and `Precondition`.
* `DenseVectorIndexOptions.ConfidenceInterval` is now marked
`[Obsolete]` (deprecated since 9.5.0).
* `SourceFieldMode` gains `ColumnarStored` (`columnar_stored`), so index
templates and mappings that use the new mode
    no longer fail deserialization.
* **Breaking**: `InnerRetriever.Normalizer` and `InnerRetriever.Weight`
are now optional (`ScoreNormalizer?` and
`float?` instead of `required`), following the spec change that made
`normalizer` and `weight` optional on the linear
retriever's inner retrievers. The `[SetsRequiredMembers]` constructor no
longer takes `normalizer` and `weight`
    arguments.
* **Breaking**: `RoleDescriptor.Global`, `QueryRole.Global` and
`RoleDescriptorRead.Global` now use a single
`GlobalPrivilege` instead of a collection, matching the server-side
parser, which only accepts an object for the
`global` privilege. The `Global` descriptor methods replace their
`params` array overloads with a single-object
    overload.

**Full Changelog**:
elastic/elasticsearch-net@9.5.1...9.5.2


## 9.5.1

> [!WARNING]
> This release contains breaking changes in generated types. Please
review the breaking changes listed below before upgrading.

## What's Changed

* Regenerate client by @​flobernd in
elastic/elasticsearch-net#8957 and
elastic/elasticsearch-net#8981
* Transform destinations now accept `aliases`, each with an optional
`move_on_creation` flag, through the new `DestinationAlias` type.
* Request converter sources regenerated to emit the full client
invocation.
* **Breaking**: `KnnRetriever.NumCandidates` is now optional (`int?`
instead of `required int`), following the spec change that made
`num_candidates` optional on the kNN retriever. The
`[SetsRequiredMembers]` constructor no longer takes a `numCandidates`
argument.
* **Breaking**: `TransformSummary.Dest` and
`UpdateTransformResponse.Dest` now use
`Elastic.Clients.Elasticsearch.TransformManagement.Destination` instead
of `Elastic.Clients.Elasticsearch.Core.Reindex.Destination`.
* Restore delegate caching in IdResolver by @​fresh55 in
elastic/elasticsearch-net#8973
* The getter delegate was only cached when resolution failed, so it was
rebuilt on every successful call.
* 100k resolves of the same type improve from 64 ms / 55.2 MB to 3.5 ms
/ 40 bytes. Partially addresses (#​7664).

**Full Changelog**:
elastic/elasticsearch-net@9.5.0...9.5.1


## 9.5.0

## What's Changed

Initial 9.5.x release.

> [!WARNING]
> This release regenerates the client against the Elasticsearch 9.5
specification and contains breaking changes. Please review the list
below before upgrading.

* Regenerate client against the Elasticsearch 9.5 specification by
@​flobernd in elastic/elasticsearch-net#8930 and
elastic/elasticsearch-net#8944
* New experimental `client.Encryption.Reset` endpoint, plus a
`ProjectEncryptionKey` indicator on the health report
* New experimental ES|QL data federation APIs: `PutDataSource` /
`GetDataSource` / `DeleteDataSource` and `PutDataset` / `GetDataset` /
`DeleteDataset`, with the supporting `ESQLDataSource`, `ESQLDataset` and
`DatasetMapping` types
* New experimental Inference region policy APIs: `PutRegionPolicy` /
`GetRegionPolicy` / `DeleteRegionPolicy`
* New `_slice` routing parameter (`RouteSlice`) across the search, get,
index, delete, update and bulk APIs, as well as on the multi-search
header and the reindex destination
* `FrequentItemSets` aggregations now round-trip correctly. The
generated variant used an empty discriminator where the converter
expected `frequent_item_sets`, so the property always read back as
`null`
* Role-template queries in index privileges now deserialize to
`RoleTemplateQuery`. Previously any object-shaped query was
unconditionally read as a regular `QueryDsl.Query`
* `SpanGap` and `RoleMappingRule.Field` variant accessors now return
`null` instead of a default `KeyValuePair` when the union holds a
different variant
* New enum members: `EmbeddingContentType.Audio` / `.Pdf` / `.Video`,
`AnthropicTaskType.ChatCompletion`, `OpenAITaskType.Embedding`, and the
`ClusterPrivilege.ManageReindex` / `.MonitorReindex` values
* **Breaking (mapping)**: `DocValues` on 32 property types changes from
`bool?` to `Union<bool, DocValuesConfig>?` to carry the new
`doc_values.multi_value` setting. The parameterless `DocValues()`
descriptor overload is gone, and reading the property into a `bool?` no
longer compiles. `SourceField.Compress` and `CompressThreshold` are
removed, and `TextIndexPrefixes.MinChars` / `MaxChars` become optional
(`int?`), dropping the two-argument constructor
* **Breaking (ES|QL)**: the named-parameter arm of `Params` on
`EsqlQuery` and `AsyncQuery` changes from `KeyValuePair<string,
ICollection<FieldValue>>` to `KeyValuePair<string,
Union<ICollection<FieldValue>, ClassifiedNamedParameter>>`, which
affects every existing named-parameter call site. Both requests also
gain a `Settings` body property
* **Breaking (inference)**: `Rerank` now accepts the expanded multimodal
request format, so `Input` becomes `Union<ICollection<string>,
ICollection<RerankInputObject>>`, `Query` becomes `Union<string,
RerankInputObject>`, and the `Input(params string[])` overload is
removed. `EmbeddingContentObject.Content` becomes
`ICollection<EmbeddingContentObjectItem>` and
`EmbeddingContentObjectContents` is gone, `OpenAIServiceSettings.ApiKey`
is now optional, and `JinaAIServiceSettings.ElementType` is renamed to
`EmbeddingType`
* **Breaking (snapshot)**: `SourceOnlyRepositorySettings` is replaced by
the `ISourceOnlyRepositorySettings` variant family with per-backend
settings types, constructed through
`SourceOnlyRepositorySettingsFactory` (`ForAzure`, `ForGcs`,
`ForReadOnlyUrl`, `ForS3`, `ForSharedFileSystem`).
`SourceOnlyRepository.Settings` now takes the interface, and its
descriptor overloads are replaced by a factory callback
* **Breaking (security)**: `RoleInfo.Indices` changes from
`IndicesPrivileges` to `IndicesPrivilegesRead`, and role definitions
gain `DataSourcePrivileges`
* **Breaking (stats)**: `GetStats.Time` is renamed to `GetTime`,
`ShardStats.Indices` becomes a dictionary of `ShardStats`, the
`DenseVectorOffHeapStats.TotalCenifSize` typo is corrected to
`TotalCenivfSize`, and newly required members change the positional
constructors of `IndexingStats`, `SearchStats`, `FlushStats`,
`MappingStats` and `MachineLearning.Defaults`
* Make custom JSON converters safe for multi-segment readers by
@​flobernd in elastic/elasticsearch-net#8923
* The hand-written date, duration, stringified and fractional numeric
converters no longer fail when the `Utf8JsonReader` is constructed over
a multi-segment `ReadOnlySequence<byte>`, which unblocks sequence-based
deserializers such as a streaming reader over a `PipeReader`
  * The existing single-segment typed deserialization path is unchanged

## New Contributors
* @​charlotte-hoblik made their first contribution in
elastic/elasticsearch-net#8901

**Full Changelog**:
elastic/elasticsearch-net@9.4.2...9.5.0


## 9.4.2

## What's Changed

* Add plugin-defined (non-exhaustive) variant registry by @​flobernd in
elastic/elasticsearch-net#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](https://www.elastic.co/docs/reference/elasticsearch/clients/dotnet/plugin-defined-variants)
documentation for details
* Regenerate client by @​flobernd in
elastic/elasticsearch-net#8908 and
elastic/elasticsearch-net#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


Commits viewable in [compare
view](elastic/elasticsearch-net@9.4.1...9.5.3).
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant