This patch release contains an important update as an addition to bug fixes. Starting this version it's possible to use the NodaTime plugin without losing ability to have BCL date and time types in parameters or in query results. Many thanks @davidroth who made this!
This patch version has been a long time coming, and includes many important bug fixes.
Note that starting with v4.1.4, the Detail property on PostgresException will be redacted by default, since PostgreSQL uses it to send potentially sensitive information (see #2501) . The information can be included as before by specifying Include Error Detail on the connection string
Npgsql 4.1.2 includes some important bugfixes. In particular, the pooling changes in v4.1.0 introduced a bug causing idle connections to never be pruned; this has been fixed (thanks @NinoFloris!).
Npgsql 4.1.0 unintentionally introduced some breaking changes which made it incompatible with some libraries (e.g. EF Core 2.2, Marten). Almost all have been rolled back and everything should work now.
In additional, two significant bugs were fixed. All users of 4.1.0 should upgrade.
This is a support release for the older Npgsql 4.0 branch, for people using it for any reason. Various important bug fixes have been backported from the 4.1 branch.
Note that starting with v4.0.11, the Detail property on PostgresException will be redacted by default, since PostgreSQL uses it to send potentially sensitive information (see #2501) . The information can be included as before by specifying Include Error Detail on the connection string
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 commands and options
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps Npgsql from 4.0.3 to 4.1.5.
Release notes
Sourced from Npgsql's releases.
Commits
7d79099
Merge branch 'hotfix/4.1.5' into HEAD562a513
Fix wrong assertion and provide a test to cover this path0410181
Improve docs for NpgsqlConnection.ClearPool and ClearAllPools79a4a3a
Remove logging from NpgsqlFactory (#3143)3ae9d1a
Fix MSI upgrade when same version is being installed (#3131)218dc58
Add some missing nullability annotationsd3fd4b5
Fixed NRE for keepalive failure (#3139)080800f
Add two missing nullability annotations (#3141)5aa892c
Fixed error during preparing leaving PreparedStatementManager in a wrong sta...64827fa
Update NodaTime plugin to support BCL typesDependabot 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 commands and options
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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)