Manual implementations of PgHasArrayType for enums will conflict with the generated one. Delete the manual impl or add #[sqlx(no_pg_array)] where conflicts occur.
Type equality for PgTypeInfo is now schema-aware.
[#3329]: fix: correct handling of arrays of custom types in Postgres [[@abonander]]
Potential breaking change: PgTypeInfo::with_name() infers types that start with _ to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.
[#3356]: breaking: fix name collision in FromRow, return Error::ColumnDecode for TryFrom errors [[@abonander]]
Breaking behavior change: errors with #[sqlx(try_from = "T")] now return Error::ColumnDecode instead of Error::ColumnNotFound.
Breaking because #[sqlx(default)] on an individual field or the struct itself would have previously suppressed the error.
This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
Instead, create a wrapper implementing From and apply the default explicitly.
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 show 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)
Updates the requirements on sqlx to permit the latest version.
Changelog
Sourced from sqlx's changelog.
... (truncated)
Commits
da0ffd7
chore: bump version to 0.8.09e1aa74
chore: prepare changelog entry for 0.8.0c90a7ff
fix: enableclock
andstd
features of chrono for the workspacec50572e
fix: sqlite update_hook char types (#3288)940d9fb
Add example on how to use Transaction as Executor (#3311)eaad7b2
doc: Minor rust docs fixes (#3312)4fc5b30
breaking: fix name collision inFromRow
, returnError::ColumnDecode
for `...b37b34b
chore:added a testcase forsqlx migrate add ...
(#3352)543395d
fix: build script new line at eof (#3353)4683cc3
Add support for PostgreSQL HSTORE data type (#3343)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 show