Skip to content

Bump sqlx from 0.7.4 to 0.8.0 in /bundler#145

Merged
garryod merged 2 commits intomainfrom
dependabot/cargo/bundler/sqlx-0.8.0
Jul 29, 2024
Merged

Bump sqlx from 0.7.4 to 0.8.0 in /bundler#145
garryod merged 2 commits intomainfrom
dependabot/cargo/bundler/sqlx-0.8.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2024

Bumps sqlx from 0.7.4 to 0.8.0.

Changelog

Sourced from sqlx's changelog.

0.8.0 - 2024-07-22

70 pull requests were merged this release cycle.

#2697 was merged the same day as release 0.7.4 and so was missed by the automatic CHANGELOG generation.

Breaking

  • [#2697]: fix(macros): only enable chrono when time is disabled [[@​saiintbrisson]]
  • [#2973]: Generic Associated Types in Database, replacing HasValueRef, HasArguments, HasStatement [[@​nitn3lav]]
  • [#2482]: chore: bump syn to 2.0 [[@​saiintbrisson]]
    • Deprecated type ascription syntax in the query macros was removed.
  • [#2736]: Fix describe on PostgreSQL views with rules [[@​tsing]]
    • Potentially breaking: nullability inference changes for Postgres.
  • [#2869]: Implement PgHasArrayType for all references [[@​tylerhawkes]]
    • Conflicts with existing manual implementations.
  • [#2940]: fix: Decode and Encode derives (#1031) [[@​benluelo]]
    • Changes lifetime obligations for field types.
  • [#3064]: Sqlite explain graph [[@​tyrelr]]
    • Potentially breaking: nullability inference changes for SQLite.
  • [#3123]: Reorder attrs in sqlx::test macro [[@​bobozaur]]
    • Potentially breaking: attributes on #[sqlx::test] usages are applied in the correct order now.
  • [#3126]: Make Encode return a result [[@​FSMaxB]]
  • [#3130]: Add version information for failed cli migration (#3129) [[@​FlakM]]
    • Breaking changes to MigrateError.
  • [#3181]: feat: no tx migration [[@​cleverjam]]
    • (Postgres only) migrations that should not run in a transaction can be flagged by adding -- no-transaction to the beginning.
    • Breaking change: added field to Migration
  • [#3184]: [BREAKING} fix(sqlite): always use i64 as intermediate when decoding [[@​abonander]]
    • integer decoding will now loudly error on overflow instead of silently truncating.
    • some usages of the query!() macros might change an i32 to an i64.
  • [#3252]: fix #[derive(sqlx::Type)] in Postgres [[@​abonander]]
    • 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.
  • [#3337]: allow rename with rename_all (close #2896) [[@​DirectorX]]
    • Changes the precedence of #[sqlx(rename)] and #[sqlx(rename_all)] to match the expected behavior (rename wins).
  • [#3285]: fix: use correct names for sslmode options [[@​lily-mosquitoes]]
    • Changes the output of ConnectOptions::to_url_lossy() to match what parsing expects.

Added

... (truncated)

Commits
  • da0ffd7 chore: bump version to 0.8.0
  • 9e1aa74 chore: prepare changelog entry for 0.8.0
  • c90a7ff fix: enable clock and std features of chrono for the workspace
  • c50572e 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 in FromRow, return Error::ColumnDecode for `...
  • b37b34b chore:added a testcase for sqlx migrate add ... (#3352)
  • 543395d fix: build script new line at eof (#3353)
  • 4683cc3 Add support for PostgreSQL HSTORE data type (#3343)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull request that updates Rust code labels Jul 29, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/bundler/sqlx-0.8.0 branch from 3b8c0f8 to 2ddbb13 Compare July 29, 2024 08:53
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.7.4 to 0.8.0.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](launchbadge/sqlx@v0.7.4...v0.8.0)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/bundler/sqlx-0.8.0 branch from 2ddbb13 to ba1b01e Compare July 29, 2024 08:55
@garryod garryod merged commit c6c3d82 into main Jul 29, 2024
@dependabot dependabot bot deleted the dependabot/cargo/bundler/sqlx-0.8.0 branch July 29, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull request that updates Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant