Skip to content

Do not clear pool while establishing connection if we'll retry it - #6431

Merged
vonzshik merged 2 commits into
mainfrom
6427-establish-connection-retry-clear-pool-fix
Feb 2, 2026
Merged

vonzshik merged 2 commits into
mainfrom
6427-establish-connection-retry-clear-pool-fix

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

Fixes #6427

@vonzshik
vonzshik requested a review from roji as a code owner January 29, 2026 10:56
Comment thread src/Npgsql/Internal/NpgsqlConnector.cs Outdated
/// <param name="markHostAsOffline">Whether we treat host as down, even if we're still connecting to PostgreSQL instance.</param>
/// <returns>The exception given in <paramref name="reason"/> for chaining calls.</returns>
internal Exception Break(Exception reason)
internal Exception Break(Exception reason, bool markHostAsOffline = false)

@roji roji Jan 29, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Am wondering if we want to not mark as offline by default... I haven't audited all the places where we call Break, but given the current behavior is to always mark as offline, it may be safer to go the other way and say that we mark as offline unless otherwise specified?

But I don't have the full picture and am fine if you think this is the better way.

@vonzshik vonzshik Jan 29, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it may be safer to go the other way and say that we mark as offline unless otherwise specified?

If I understood you correctly, that's pretty much exactly how it's working right now. The idea is that we do not mark as offline if we're still connecting (connector's state is Connecting) to the host, with the exception if we break with markHostAsOffline = true (which only happens in NpgsqlConnector.Open, after all retries are exhausted).

That means, after we fully established connection, any break will mark as offline (there are other conditions, like being a transient error, but nothing changed in that regard).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I see, this parameter is only meaningful for the Connecting state (in others we always mark as default in any case).

I'd suggest just tweaking the parameter name to make that clear (I got confused), maybe markHostOfflineOnConnecting or similar...

@vonzshik
vonzshik enabled auto-merge (squash) February 2, 2026 10:19
@vonzshik
vonzshik merged commit 2328a2c into main Feb 2, 2026
17 checks passed
@vonzshik
vonzshik deleted the 6427-establish-connection-retry-clear-pool-fix branch February 2, 2026 10:25
vonzshik added a commit that referenced this pull request Feb 2, 2026
@vonzshik

vonzshik commented Feb 2, 2026

Copy link
Copy Markdown
Contributor Author

Backported to 10.0.2 via 39eaacf

PaulTrampert added a commit to PaulTrampert/PacmanManager that referenced this pull request Dec 1, 2026
Updated [Npgsql](https://github.com/npgsql/npgsql) from 10.0.4 to
11.0.0.

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

_Sourced from [Npgsql's
releases](https://github.com/npgsql/npgsql/releases)._

## 11.0.0

See the [release
notes](https://www.npgsql.org/doc/release-notes/11.0.html).

The full list of changes is available
[here](https://github.com/npgsql/npgsql/milestone/132?closed=1).

## What's Changed
* Bump GitHubActionsTestLogger from 2.4.1 to 3.0.1 by @​dependabot[bot]
in npgsql/npgsql#6353
* Docs: clarify NpgsqlParameterCollection.Add(object) requires
NpgsqlParameter by @​nimanikoo in
npgsql/npgsql#6342
* Bump actions/setup-dotnet from 5.0.0 to 5.0.1 by @​dependabot[bot] in
npgsql/npgsql#6355
* Bump Scriban.Signed from 6.5.1 to 6.5.2 by @​dependabot[bot] in
npgsql/npgsql#6356
* Fix flaky test PostgresType by @​vonzshik in
npgsql/npgsql#6354
* Drop net8.0 and net9.0 TFMs by @​roji in
npgsql/npgsql#6358
* Bump BenchmarkDotNet from 0.15.6 to 0.15.8 by @​dependabot[bot] in
npgsql/npgsql#6361
* Bump NUnit3TestAdapter from 5.2.0 to 6.0.0 by @​dependabot[bot] in
npgsql/npgsql#6365
* Throw OperationCancelledException with correct CancellationToken from
Dns.GetHostAddressesAsync by @​vonzshik in
npgsql/npgsql#6364
* Bump dotnet logging and DI dependencies by @​roji in
npgsql/npgsql#6371
* Bump NodaTime from 3.2.2 to 3.2.3 by @​dependabot[bot] in
npgsql/npgsql#6375
* Bump actions/upload-artifact from 5 to 6 by @​dependabot[bot] in
npgsql/npgsql#6377
* Bump actions/cache from 4 to 5 by @​dependabot[bot] in
npgsql/npgsql#6378
* For COPY operations treat 0 as infinite timeout in addition to -1 by
@​vonzshik in npgsql/npgsql#6352
* Bump NUnit3TestAdapter from 6.0.0 to 6.0.1 by @​dependabot[bot] in
npgsql/npgsql#6387
* Fix reading numerics as BigInteger by @​vonzshik in
npgsql/npgsql#6385
* Add empty permissions block in Github Actions configs (#​3694) by
@​roji in npgsql/npgsql#6392
* Fix test timeout_during_authentication by @​vonzshik in
npgsql/npgsql#6388
* Fix retrieving sequence file for hanging tests by @​vonzshik in
npgsql/npgsql#6397
* Fix reading BigInteger with composites by @​vonzshik in
npgsql/npgsql#6390
* Do not include password in data source name with Persist Security
Info=true by @​roji in npgsql/npgsql#6395
* [Tests] Remove npgsqldbtype passing and rename related flag by
@​NinoFloris in npgsql/npgsql#6305
* Year++ by @​vonzshik in npgsql/npgsql#6402
* Bump NodaTime from 3.2.3 to 3.3.0 by @​dependabot[bot] in
npgsql/npgsql#6403
* Bump NUnit3TestAdapter from 6.0.1 to 6.1.0 by @​dependabot[bot] in
npgsql/npgsql#6405
* Bump some dependencies by @​roji in
npgsql/npgsql#6411
* Bump actions/setup-dotnet from 5.0.1 to 5.1.0 by @​dependabot[bot] in
npgsql/npgsql#6412
* Bump Microsoft.Data.SqlClient from 6.1.3 to 6.1.4 by @​dependabot[bot]
in npgsql/npgsql#6414
* Bump OpenTelemetry.Api from 1.14.0 to 1.15.0 by @​dependabot[bot] in
npgsql/npgsql#6420
* Bump OpenTelemetry and OpenTelemetry.Exporter.InMemory by
@​dependabot[bot] in npgsql/npgsql#6421
* Improve fallback handling for GSS session encryption when native
library is missing by @​vonzshik in
npgsql/npgsql#6422
* Fix wrapping OperationCancelledException for physical open by
@​vonzshik in npgsql/npgsql#6425
* Fix reusing NpgsqlBatch with auto prepare by @​vonzshik in
npgsql/npgsql#6433
* Do not clear pool while establishing connection if we'll retry it by
@​vonzshik in npgsql/npgsql#6431
* Fix for retrieving column metadata for Postgres < 10 by @​KeltorHD in
npgsql/npgsql#6438
* Some SQL query cleanup by @​roji in
npgsql/npgsql#6439
* Reset connection when closing within TransactionScope by @​roji in
npgsql/npgsql#6424
* Fix per instance nullability converter resolver info code by
@​NinoFloris in npgsql/npgsql#6435
* Bump Microsoft.SourceLink.GitHub from 10.0.102 to 10.0.103 by
@​dependabot[bot] in npgsql/npgsql#6445
* Bump Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.2
to 10.0.3 by @​dependabot[bot] in
npgsql/npgsql#6441
* Bump extensions versions to 10.0.3 by @​roji in
npgsql/npgsql#6448
* Bump Scriban.Signed from 6.5.2 to 6.5.3 by @​dependabot[bot] in
npgsql/npgsql#6455
* [Tests] Fully rework type mapping assertion helpers by @​NinoFloris in
npgsql/npgsql#6314
* Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 by @​dependabot[bot]
in npgsql/npgsql#6460
* Bump actions/upload-artifact from 6 to 7 by @​dependabot[bot] in
npgsql/npgsql#6461
 ... (truncated)

Commits viewable in [compare
view](npgsql/npgsql@v10.0.4...v11.0.0).
</details>

Updated
[WolverineFx.EntityFrameworkCore](http://github.com/jasperfx/wolverine)
from 6.66.1 to 6.67.0.

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

_Sourced from [WolverineFx.EntityFrameworkCore's
releases](http://github.com/jasperfx/wolverine/releases)._

## 6.67.0

A 6.x release of transport and persistence fixes, backported from the
7.0 line.

## Fixes

- **Marten:** a second save of a session on a durable inbox is no longer
refused as "handled elsewhere" and discarded (#​6059, backport of
#​6053; thanks @​svenclaesson, found by @​JonasHedinForsberg).
- **RabbitMQ:**
- Dead letter queue recovery runs per broker. A named broker
(`AddNamedRabbitMqBroker`) reads its dead letter queues over its own
connection, one failing queue no longer stops recovery for the others,
and a failed consumer retries with backoff (#​6061, backport of #​6060;
thanks @​RandomTIP for the analysis and design).
- `resources check` looks up an exchange by the name it was declared
with, so a mixed-case exchange is no longer reported as missing, and the
default exchange is found (#​6074, backport of #​6071; thanks
@​santiag00).
- **Azure Service Bus and Amazon SQS:** dead letter queue recovery runs
per broker, as it now does on RabbitMQ (#​6069; #​6063, #​6066).
- **Kafka:** a failure on a named broker under the retry-topic policy is
retried on that broker. Before, it was produced to the first broker's
cluster and lost (#​6069; #​6064).
- **Named brokers:** with no name,
`TransportCollection.GetOrCreate<T>()` resolves the default broker
rather than the first broker registered. Also new: optional broker-name
overloads of `ModifyRabbitMqObjects`, `UnBindRabbitMqQueue`,
`UnBindRabbitMqExchange` and `ReplayPulsarTopicAsync` (#​6069; #​6065).
- **Tenant dead letters:**
- Dead letter queue recovery drains per-tenant Azure Service Bus
namespaces, RabbitMQ virtual hosts and SQS accounts or regions, and
recovered dead letters carry their `TenantId` (#​6079; #​6070, #​6072,
#​6073).
- An SQS buffered tenant-aware listener dead-letters a tenant's message
into the tenant's own queue (#​6079; #​6080).

## Behaviour change

- **Named broker registered first:** an application that registers a
named broker first (`AddNamedXBroker(...)`) and then makes an unnamed
call (`UseX()`, `ListenToX…`, `ToX…`, `ConfigureX`) now gets a separate
**default** broker. Before, that call silently configured, and
overwrote, the named broker. If you relied on that by accident, pass the
broker name explicitly.
- **SNS:** the default SNS broker now pairs with the default SQS broker,
not whichever SQS broker was registered first (#​6065).


Commits viewable in [compare
view](http://github.com/jasperfx/wolverine/compare/V6.66.1...V6.67.0).
</details>

Updated [WolverineFx.Postgresql](http://github.com/jasperfx/wolverine)
from 6.66.1 to 6.67.0.

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

_Sourced from [WolverineFx.Postgresql's
releases](http://github.com/jasperfx/wolverine/releases)._

## 6.67.0

A 6.x release of transport and persistence fixes, backported from the
7.0 line.

## Fixes

- **Marten:** a second save of a session on a durable inbox is no longer
refused as "handled elsewhere" and discarded (#​6059, backport of
#​6053; thanks @​svenclaesson, found by @​JonasHedinForsberg).
- **RabbitMQ:**
- Dead letter queue recovery runs per broker. A named broker
(`AddNamedRabbitMqBroker`) reads its dead letter queues over its own
connection, one failing queue no longer stops recovery for the others,
and a failed consumer retries with backoff (#​6061, backport of #​6060;
thanks @​RandomTIP for the analysis and design).
- `resources check` looks up an exchange by the name it was declared
with, so a mixed-case exchange is no longer reported as missing, and the
default exchange is found (#​6074, backport of #​6071; thanks
@​santiag00).
- **Azure Service Bus and Amazon SQS:** dead letter queue recovery runs
per broker, as it now does on RabbitMQ (#​6069; #​6063, #​6066).
- **Kafka:** a failure on a named broker under the retry-topic policy is
retried on that broker. Before, it was produced to the first broker's
cluster and lost (#​6069; #​6064).
- **Named brokers:** with no name,
`TransportCollection.GetOrCreate<T>()` resolves the default broker
rather than the first broker registered. Also new: optional broker-name
overloads of `ModifyRabbitMqObjects`, `UnBindRabbitMqQueue`,
`UnBindRabbitMqExchange` and `ReplayPulsarTopicAsync` (#​6069; #​6065).
- **Tenant dead letters:**
- Dead letter queue recovery drains per-tenant Azure Service Bus
namespaces, RabbitMQ virtual hosts and SQS accounts or regions, and
recovered dead letters carry their `TenantId` (#​6079; #​6070, #​6072,
#​6073).
- An SQS buffered tenant-aware listener dead-letters a tenant's message
into the tenant's own queue (#​6079; #​6080).

## Behaviour change

- **Named broker registered first:** an application that registers a
named broker first (`AddNamedXBroker(...)`) and then makes an unnamed
call (`UseX()`, `ListenToX…`, `ToX…`, `ConfigureX`) now gets a separate
**default** broker. Before, that call silently configured, and
overwrote, the named broker. If you relied on that by accident, pass the
broker name explicitly.
- **SNS:** the default SNS broker now pairs with the default SQS broker,
not whichever SQS broker was registered first (#​6065).


Commits viewable in [compare
view](http://github.com/jasperfx/wolverine/compare/V6.66.1...V6.67.0).
</details>

Updated [WolverineFx.RabbitMQ](http://github.com/jasperfx/wolverine)
from 6.66.1 to 6.67.0.

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

_Sourced from [WolverineFx.RabbitMQ's
releases](http://github.com/jasperfx/wolverine/releases)._

## 6.67.0

A 6.x release of transport and persistence fixes, backported from the
7.0 line.

## Fixes

- **Marten:** a second save of a session on a durable inbox is no longer
refused as "handled elsewhere" and discarded (#​6059, backport of
#​6053; thanks @​svenclaesson, found by @​JonasHedinForsberg).
- **RabbitMQ:**
- Dead letter queue recovery runs per broker. A named broker
(`AddNamedRabbitMqBroker`) reads its dead letter queues over its own
connection, one failing queue no longer stops recovery for the others,
and a failed consumer retries with backoff (#​6061, backport of #​6060;
thanks @​RandomTIP for the analysis and design).
- `resources check` looks up an exchange by the name it was declared
with, so a mixed-case exchange is no longer reported as missing, and the
default exchange is found (#​6074, backport of #​6071; thanks
@​santiag00).
- **Azure Service Bus and Amazon SQS:** dead letter queue recovery runs
per broker, as it now does on RabbitMQ (#​6069; #​6063, #​6066).
- **Kafka:** a failure on a named broker under the retry-topic policy is
retried on that broker. Before, it was produced to the first broker's
cluster and lost (#​6069; #​6064).
- **Named brokers:** with no name,
`TransportCollection.GetOrCreate<T>()` resolves the default broker
rather than the first broker registered. Also new: optional broker-name
overloads of `ModifyRabbitMqObjects`, `UnBindRabbitMqQueue`,
`UnBindRabbitMqExchange` and `ReplayPulsarTopicAsync` (#​6069; #​6065).
- **Tenant dead letters:**
- Dead letter queue recovery drains per-tenant Azure Service Bus
namespaces, RabbitMQ virtual hosts and SQS accounts or regions, and
recovered dead letters carry their `TenantId` (#​6079; #​6070, #​6072,
#​6073).
- An SQS buffered tenant-aware listener dead-letters a tenant's message
into the tenant's own queue (#​6079; #​6080).

## Behaviour change

- **Named broker registered first:** an application that registers a
named broker first (`AddNamedXBroker(...)`) and then makes an unnamed
call (`UseX()`, `ListenToX…`, `ToX…`, `ConfigureX`) now gets a separate
**default** broker. Before, that call silently configured, and
overwrote, the named broker. If you relied on that by accident, pass the
broker name explicitly.
- **SNS:** the default SNS broker now pairs with the default SQS broker,
not whichever SQS broker was registered first (#​6065).


Commits viewable in [compare
view](http://github.com/jasperfx/wolverine/compare/V6.66.1...V6.67.0).
</details>

Updated
[WolverineFx.RuntimeCompilation](http://github.com/jasperfx/wolverine)
from 6.66.1 to 6.67.0.

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

_Sourced from [WolverineFx.RuntimeCompilation's
releases](http://github.com/jasperfx/wolverine/releases)._

## 6.67.0

A 6.x release of transport and persistence fixes, backported from the
7.0 line.

## Fixes

- **Marten:** a second save of a session on a durable inbox is no longer
refused as "handled elsewhere" and discarded (#​6059, backport of
#​6053; thanks @​svenclaesson, found by @​JonasHedinForsberg).
- **RabbitMQ:**
- Dead letter queue recovery runs per broker. A named broker
(`AddNamedRabbitMqBroker`) reads its dead letter queues over its own
connection, one failing queue no longer stops recovery for the others,
and a failed consumer retries with backoff (#​6061, backport of #​6060;
thanks @​RandomTIP for the analysis and design).
- `resources check` looks up an exchange by the name it was declared
with, so a mixed-case exchange is no longer reported as missing, and the
default exchange is found (#​6074, backport of #​6071; thanks
@​santiag00).
- **Azure Service Bus and Amazon SQS:** dead letter queue recovery runs
per broker, as it now does on RabbitMQ (#​6069; #​6063, #​6066).
- **Kafka:** a failure on a named broker under the retry-topic policy is
retried on that broker. Before, it was produced to the first broker's
cluster and lost (#​6069; #​6064).
- **Named brokers:** with no name,
`TransportCollection.GetOrCreate<T>()` resolves the default broker
rather than the first broker registered. Also new: optional broker-name
overloads of `ModifyRabbitMqObjects`, `UnBindRabbitMqQueue`,
`UnBindRabbitMqExchange` and `ReplayPulsarTopicAsync` (#​6069; #​6065).
- **Tenant dead letters:**
- Dead letter queue recovery drains per-tenant Azure Service Bus
namespaces, RabbitMQ virtual hosts and SQS accounts or regions, and
recovered dead letters carry their `TenantId` (#​6079; #​6070, #​6072,
#​6073).
- An SQS buffered tenant-aware listener dead-letters a tenant's message
into the tenant's own queue (#​6079; #​6080).

## Behaviour change

- **Named broker registered first:** an application that registers a
named broker first (`AddNamedXBroker(...)`) and then makes an unnamed
call (`UseX()`, `ListenToX…`, `ToX…`, `ConfigureX`) now gets a separate
**default** broker. Before, that call silently configured, and
overwrote, the named broker. If you relied on that by accident, pass the
broker name explicitly.
- **SNS:** the default SNS broker now pairs with the default SQS broker,
not whichever SQS broker was registered first (#​6065).


Commits viewable in [compare
view](http://github.com/jasperfx/wolverine/compare/V6.66.1...V6.67.0).
</details>

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Trampert <paul.trampert@ptrampert.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Samwelomwenga pushed a commit to Samwelomwenga/laneway-api that referenced this pull request Dec 1, 2026
Updated [Npgsql.OpenTelemetry](https://github.com/npgsql/npgsql) from
10.0.3 to 11.0.0.

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

_Sourced from [Npgsql.OpenTelemetry's
releases](https://github.com/npgsql/npgsql/releases)._

## 11.0.0

See the [release
notes](https://www.npgsql.org/doc/release-notes/11.0.html).

The full list of changes is available
[here](https://github.com/npgsql/npgsql/milestone/132?closed=1).

## What's Changed
* Bump GitHubActionsTestLogger from 2.4.1 to 3.0.1 by @​dependabot[bot]
in npgsql/npgsql#6353
* Docs: clarify NpgsqlParameterCollection.Add(object) requires
NpgsqlParameter by @​nimanikoo in
npgsql/npgsql#6342
* Bump actions/setup-dotnet from 5.0.0 to 5.0.1 by @​dependabot[bot] in
npgsql/npgsql#6355
* Bump Scriban.Signed from 6.5.1 to 6.5.2 by @​dependabot[bot] in
npgsql/npgsql#6356
* Fix flaky test PostgresType by @​vonzshik in
npgsql/npgsql#6354
* Drop net8.0 and net9.0 TFMs by @​roji in
npgsql/npgsql#6358
* Bump BenchmarkDotNet from 0.15.6 to 0.15.8 by @​dependabot[bot] in
npgsql/npgsql#6361
* Bump NUnit3TestAdapter from 5.2.0 to 6.0.0 by @​dependabot[bot] in
npgsql/npgsql#6365
* Throw OperationCancelledException with correct CancellationToken from
Dns.GetHostAddressesAsync by @​vonzshik in
npgsql/npgsql#6364
* Bump dotnet logging and DI dependencies by @​roji in
npgsql/npgsql#6371
* Bump NodaTime from 3.2.2 to 3.2.3 by @​dependabot[bot] in
npgsql/npgsql#6375
* Bump actions/upload-artifact from 5 to 6 by @​dependabot[bot] in
npgsql/npgsql#6377
* Bump actions/cache from 4 to 5 by @​dependabot[bot] in
npgsql/npgsql#6378
* For COPY operations treat 0 as infinite timeout in addition to -1 by
@​vonzshik in npgsql/npgsql#6352
* Bump NUnit3TestAdapter from 6.0.0 to 6.0.1 by @​dependabot[bot] in
npgsql/npgsql#6387
* Fix reading numerics as BigInteger by @​vonzshik in
npgsql/npgsql#6385
* Add empty permissions block in Github Actions configs (#​3694) by
@​roji in npgsql/npgsql#6392
* Fix test timeout_during_authentication by @​vonzshik in
npgsql/npgsql#6388
* Fix retrieving sequence file for hanging tests by @​vonzshik in
npgsql/npgsql#6397
* Fix reading BigInteger with composites by @​vonzshik in
npgsql/npgsql#6390
* Do not include password in data source name with Persist Security
Info=true by @​roji in npgsql/npgsql#6395
* [Tests] Remove npgsqldbtype passing and rename related flag by
@​NinoFloris in npgsql/npgsql#6305
* Year++ by @​vonzshik in npgsql/npgsql#6402
* Bump NodaTime from 3.2.3 to 3.3.0 by @​dependabot[bot] in
npgsql/npgsql#6403
* Bump NUnit3TestAdapter from 6.0.1 to 6.1.0 by @​dependabot[bot] in
npgsql/npgsql#6405
* Bump some dependencies by @​roji in
npgsql/npgsql#6411
* Bump actions/setup-dotnet from 5.0.1 to 5.1.0 by @​dependabot[bot] in
npgsql/npgsql#6412
* Bump Microsoft.Data.SqlClient from 6.1.3 to 6.1.4 by @​dependabot[bot]
in npgsql/npgsql#6414
* Bump OpenTelemetry.Api from 1.14.0 to 1.15.0 by @​dependabot[bot] in
npgsql/npgsql#6420
* Bump OpenTelemetry and OpenTelemetry.Exporter.InMemory by
@​dependabot[bot] in npgsql/npgsql#6421
* Improve fallback handling for GSS session encryption when native
library is missing by @​vonzshik in
npgsql/npgsql#6422
* Fix wrapping OperationCancelledException for physical open by
@​vonzshik in npgsql/npgsql#6425
* Fix reusing NpgsqlBatch with auto prepare by @​vonzshik in
npgsql/npgsql#6433
* Do not clear pool while establishing connection if we'll retry it by
@​vonzshik in npgsql/npgsql#6431
* Fix for retrieving column metadata for Postgres < 10 by @​KeltorHD in
npgsql/npgsql#6438
* Some SQL query cleanup by @​roji in
npgsql/npgsql#6439
* Reset connection when closing within TransactionScope by @​roji in
npgsql/npgsql#6424
* Fix per instance nullability converter resolver info code by
@​NinoFloris in npgsql/npgsql#6435
* Bump Microsoft.SourceLink.GitHub from 10.0.102 to 10.0.103 by
@​dependabot[bot] in npgsql/npgsql#6445
* Bump Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.2
to 10.0.3 by @​dependabot[bot] in
npgsql/npgsql#6441
* Bump extensions versions to 10.0.3 by @​roji in
npgsql/npgsql#6448
* Bump Scriban.Signed from 6.5.2 to 6.5.3 by @​dependabot[bot] in
npgsql/npgsql#6455
* [Tests] Fully rework type mapping assertion helpers by @​NinoFloris in
npgsql/npgsql#6314
* Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 by @​dependabot[bot]
in npgsql/npgsql#6460
* Bump actions/upload-artifact from 6 to 7 by @​dependabot[bot] in
npgsql/npgsql#6461
 ... (truncated)

## 10.0.4

[Release
milestone](https://github.com/npgsql/npgsql/milestone/139?closed=1)

**Full Changelog**:
npgsql/npgsql@v10.0.3...v10.0.4

Commits viewable in [compare
view](npgsql/npgsql@v10.0.3...v11.0.0).
</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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rethink pool clear on connection break while establishing connection

2 participants