rusty-crab / warp-api-starter-template

A boilerplate template for starting a web services using Warp + SQLx (PostgreSQL) + Redis + Juniper (GraphQL). ❤️
MIT License
201 stars 17 forks source link

Bump sqlx from 0.3.5 to 0.5.2 #99

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps sqlx from 0.3.5 to 0.5.2.

Changelog

Sourced from sqlx's changelog.

0.5.2 - 2021-04-15

#1132: launchbadge/sqlx#1132 #1149: launchbadge/sqlx#1149 #1128: launchbadge/sqlx#1128 #1099: launchbadge/sqlx#1099 #1097: launchbadge/sqlx#1097

PostgreSQL

  • [#1170] Remove Self: Type bounds in Encode / Decode implementations for arrays [[@​jplatte]]

    Enables working around the lack of support for user-defined array types:

    #[derive(sqlx::Encode)]
    struct Foos<'a>(&'a [Foo]);
    

    impl sqlx::Type<sqlx::Postgres> for Foos<'_> { fn type_info() -> PgTypeInfo { PgTypeInfo::with_name("_foo") } }

    query_as!( Whatever, "<QUERY with $1 of type foo[]>", Foos(&foo_vec) as _, )

  • [#1141] Use u16::MAX instead of i16::MAX for a check against the largest number of parameters in a query [[@​crajcan]]

  • [#1112] Add support for DOMAIN types [[@​demurgos]]

  • [#1100] Explicitly UNLISTEN before returning connections to the pool in PgListener [[@​Diggsey]]

#1170: launchbadge/sqlx#1170 #1141: launchbadge/sqlx#1141 #1112: launchbadge/sqlx#1112 #1100: launchbadge/sqlx#1100

... (truncated)

Commits
  • f7775f7 release: 0.5.2
  • 73d35e7 Remove Self: Type bounds in Encode / Decode implementations
  • 81ae756 Fix warnings
  • bd06836 test(sqlite): extend it_caches_statements() test
  • 9e8e334 chore: add std_rng to rand
  • 633a662 chore: update dependencies
  • 98cd619 style: rustfmt
  • 78656eb fix(sqlite): reset the statement when fetch_many() stream is dropped
  • 5cf1af2 fix(sqlite): do not ignore API misuse errors from sqlite3_finalize
  • f488f53 fix(sqlite): do not cast pointers to i32
  • 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 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

Superseded by #103.