jbr / async-sqlx-session

30 stars 27 forks source link

Update sqlx requirement from 0.6.2 to 0.7.1 #32

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on sqlx to permit the latest version.

Changelog

Sourced from sqlx's changelog.

0.7.1 - 2023-07-14

This release mainly addresses issues reported with the 0.7.0 release.

16 pull requests were merged this release cycle.

Added

  • [#2551]: Introduce build_query_scalar for QueryBuilder [[@​iamquang95]]
  • [#2605]: Implement Default for QueryBuilder [[@​Xydez]]
  • [#2616]: feat(sqlx-core): add table function to database error [[@​saiintbrisson]]
  • [#2619]: feat: allow opt-out of PgHasArrayType with #[derive(sqlx::Type)] [[@​abonander]]
    • TL;DR: if you're getting errors from #[derive(sqlx::Type)] with #[sqlx(transparent)] regarding PgHasArrayType not being implemented, add #[sqlx(no_pg_array)] to fix.

Changed

Fixed

#2551: launchbadge/sqlx#2551 #2553: launchbadge/sqlx#2553 #2566: launchbadge/sqlx#2566 #2576: launchbadge/sqlx#2576 #2580: launchbadge/sqlx#2580 #2585: launchbadge/sqlx#2585 #2586: launchbadge/sqlx#2586 #2593: launchbadge/sqlx#2593 #2597: launchbadge/sqlx#2597 #2599: launchbadge/sqlx#2599 #2603: launchbadge/sqlx#2603 #2605: launchbadge/sqlx#2605 #2613: launchbadge/sqlx#2613 #2616: launchbadge/sqlx#2616 #2619: launchbadge/sqlx#2619 #2620: launchbadge/sqlx#2620

0.7.0 - 2023-06-30

At least 70 pull requests were merged this release cycle! (The exact count is muddied with pull requests for alpha

... (truncated)

Commits


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)
rich-murphey commented 1 year ago

The above build fails because there is a breaking change in sqlx 0.7. The remedy for this is to change each

&mut connection

to

&mut *connection

See the sqlx CHANGELOG for details.

I'd be glad to submit a PR for this if you like.

dependabot[bot] commented 1 year ago

Superseded by #36.