Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sqlx requirement from 0.5.7 to 0.6.0 #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2022

Updates the requirements on sqlx to permit the latest version.

Changelog

Sourced from sqlx's changelog.

0.6.0 - 2022-06-16

This release marks the end of the 0.5.x series of releases and contains a number of breaking changes, mainly to do with backwards-incompatible dependency upgrades.

As we foresee many more of these in the future, we [surveyed the community] on how to handle this; the consensus appears to be "just release breaking changes more often."

As such, we expect the 0.6.x release series to be a shorter one.

[39 pull requests(!)][0.6.0-prs] (not counting "prepare 0.5.12 release", of course) were merged this release cycle.

Breaking

  • [#1384]: (Postgres) Move server_version_num from trait to inherent impl [[@​AtkinsChang]]
  • [#1426]: Bump ipnetwork to 0.19 [[@​paolobarbolini]]
  • [#1455]: Upgrade time to 0.3 [[@​paolobarbolini]]
  • [#1505]: Upgrade rustls to 0.20 [[@​paolobarbolini]]
    • Fortunately, future upgrades should not be breaking as webpki is no longer exposed in the API.
  • [#1529]: Upgrade bigdecimal to 0.3 [[@​e00E]]
  • [#1602]: postgres: use Oid everywhere instead of u32 [[@​paolobarbolini]]
    • This drops the Type, Decode, Encode impls for u32 for Postgres as it was misleading. Postgres doesn't support unsigned ints without using an extension. These impls were decoding Postgres OIDs as bare u32s without any context (and trying to bind a u32 to a query would produce an OID value in SQL). This changes that to use a newtype instead, for clarity.
  • [#1612]: Make all ConnectOptions types cloneable [[@​05storm26]]
  • [#1618]: SQLite chrono::DateTime<FixedOffset> timezone fix [[@​05storm26]]
    • DateTime<FixedOffset> will be stored in SQLite with the correct timezone instead of always in UTC. This was flagged as a "potentially breaking change" since it changes how dates are sent to SQLite.
  • [#1733]: Update git2 to 0.14 [[@​joshtriplett]]
  • [#1734]: Make PgLTree::push() infallible and take PgLTreeLabel directly [[@​sebpuetz]]
  • [#1785]: Fix Rust type for SQLite REAL [[@​pruthvikar]]
    • Makes the macros always map a REAL column to f64 instead of f32 as SQLite uses only 64-bit floats.
  • [#1816]: Improve SQLite support for sub-queries and CTEs [[@​tyrelr]]
    • This likely will change the generated code for some invocations sqlx::query!() with SQLite.
  • [#1821]: Update uuid crate to v1 [[@​paolobarbolini]]
  • [#1901]: Pool fixes and breaking changes [[@​abonander]]
    • Renamed PoolOptions::connect_timeout to acquire_timeout for clarity.
    • Changed the expected signatures for PoolOptions::after_connect, before_acquire, after_release
    • Changed the signature for Pool::close() slightly
      • Now eagerly starts the pool closing, .awaiting is only necessary if you want to ensure a graceful shutdown.
    • Deleted PoolConnection::release() which was previously deprecated in favor of PoolConnection::detach().
    • Fixed connections getting leaked even when calling .close().
  • [#1748]: Derive PgHasArrayType for #[sqlx(transparent)] types [[@​carols10cents]]
    • This change was released with 0.5.12 but [we didn't realize it was a breaking change] at the time.
      It was reverted in 0.5.13 and postponed until this release.

Added

  • [#1843]: Expose some useful methods on PgValueRef [[@​mfreeborn]]
  • [#1889]: SQLx-CLI: add --connect-timeout [[@​abonander]]
    • Adds a default 10 second connection timeout to all commands.

... (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)

Updates the requirements on [sqlx](https://github.com/launchbadge/sqlx) to permit the latest version.
- [Release notes](https://github.com/launchbadge/sqlx/releases)
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](launchbadge/sqlx@v0.5.7...v0.6.0)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants