jbr / async-sqlx-session

30 stars 27 forks source link

Update sqlx requirement from 0.4.2 to 0.5.1 #15

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on sqlx to permit the latest version.

Changelog

Sourced from sqlx's changelog.

0.5.1 - 2020-02-04

  • Update sqlx-rt to 0.3.

0.5.0 - 2020-02-04

Changes

  • [#983] [#1022] Upgrade async runtime dependencies [[@seryl], [@ant32], [@jplatte], [@robjtede]]

    • tokio 1.0
    • actix-rt 2.0
  • [#854] Allow chaining map and try_map [[@jplatte]]

    Additionally enables calling these combinators with the macros:

    let ones: Vec<i32> = query!("SELECT 1 as foo")
        .map(|row| row.foo)
        .fetch_all(&mut conn).await?;
    
  • [#940] Rename the #[sqlx(rename)] attribute used to specify the type name on the database side to #[sqlx(type_name)] [[@jplatte]].

  • [#976] Rename the DbDone types to DbQueryResult. [[@jplatte]]

  • [#976] Remove the Done trait. The .rows_affected() method is now available as an inherent method on PgQueryResult, MySqlQueryResult and so on. [[@jplatte]]

  • [#1007] Remove any::AnyType (and replace with directly implementing Type<Any>) [[@jplatte]]

Added

Fixes

  • [#1002] For SQLite, GROUP BY in query! caused an infinite loop at compile time. [[@pymongo]]

  • [#979] For MySQL, fix support for non-default authentication. [[@sile]]

  • [#918] Recover from dropping wait_for_conn inside Pool. [[@antialize]]

#821: launchbadge/sqlx#821

#918: launchbadge/sqlx#918

... (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)
dependabot[bot] commented 3 years ago

Looks like sqlx is up-to-date now, so this is no longer needed.