actix_todo
actix_todo copied to clipboard
Bump sqlx from 0.7.4 to 0.8.1
Bumps sqlx from 0.7.4 to 0.8.1.
Changelog
Sourced from sqlx's changelog.
0.8.1 - 2024-08-23
16 pull requests were merged this release cycle.
This release contains a fix for [RUSTSEC-2024-0363].
Postgres users are advised to upgrade ASAP as a possible exploit has been demonstrated: launchbadge/sqlx#3440
MySQL and SQLite do not appear to be exploitable, but upgrading is recommended nonetheless.
Added
- [#3421]: correct spelling of
MySqlConnectOptions::no_engine_substitution()[[@kolinfluence]]
- Deprecates
MySqlConnectOptions::no_engine_subsitution()(oops) in favor of the correctly spelled version.Changed
- [#3376]: doc: hide
spec_errormodule [[@abonander]]
- This is a helper module for the macros and was not meant to be exposed.
- It is not expected to receive any breaking changes for the 0.8.x release, but is not designed as a public API. Use at your own risk.
- [#3382]: feat: bumped to
libsqlite3-sys=0.30.1to support sqlite 3.46 [[@CommanderStorm]]- [#3385]: chore(examples):Migrated the pg-chat example to ratatui [[
@CommanderStorm]]- [#3399]: Upgrade to rustls 0.23 [[
@djc]]
- RusTLS now has pluggable cryptography providers:
ring(the existing implementation), andaws-lc-rswhich has optional FIPS certification.- The existing features activating RusTLS (
runtime-tokio-rustls,runtime-async-std-rustls,tls-rustls) enable theringprovider of RusTLS to match the existing behavior so this should not be a breaking change.- Switch to the
tls-rustls-aws-lc-rsfeature to use theaws-lc-rsprovider.
- If using
runtime-tokio-rustlsorruntime-async-std-rustls, this will necessitate switching to the appropriate non-legacy runtime feature:runtime-tokioorruntime-async-std- See the RusTLS README for more details: https://github.com/rustls/rustls?tab=readme-ov-file#cryptography-providers
Fixed
- [#2786]: fix(sqlx-cli): do not clean sqlx during prepare [[
@cycraig]]- [#3354]: sqlite: fix inconsistent read-after-write [[
@ckampfe]]- [#3371]: Fix encoding and decoding of MySQL enums in
sqlx::Type[[@alu]]- [#3374]: fix: usage of
node12inSQLxaction [[@hamirmahal]]- [#3380]: chore: replace structopt with clap in examples [[
@tottoto]]- [#3381]: Fix CI after Rust 1.80, remove dead feature references [[
@abonander]]- [#3384]: chore(tests): fixed deprecation warnings [[
@CommanderStorm]]- [#3386]: fix(dependencys):bumped cargo_metadata to
v0.18.1to avoid yankedv0.14.3[[@CommanderStorm]]- [#3389]: fix(cli): typo in error for required DB URL [[
@ods]]- [#3417]: Update version to 0.8 in README [[
@soucosmo]]- [#3441]: fix: audit protocol handling [[
@abonander]]
- This addresses [RUSTSEC-2024-0363] and includes regression tests for MySQL, Postgres and SQLite.
#2786: launchbadge/sqlx#2786 #3354: launchbadge/sqlx#3354 #3371: launchbadge/sqlx#3371
... (truncated)
Commits
9c94ce8chore: prepare release 0.8.10aa0676chore(mysql): create regression test for RUSTSEC-2024-0363791433achore(sqlite): create regression test for RUSTSEC-2024-0363b1539b6chore(postgres): create regression test for RUSTSEC-2024-03639e3ece4fix(postgres): use checked decrement onpending_ready_for_query_count823261afix(mysql): don't use an arbitrarycfgfor one testb5c218efix(postgres): fix missing inversion onPgNumeric::is_valid_digit()394a7e8fix(sqlite): fix unit and doctests27c5730fix(mysql): fix doctests71f72e2fix(mysql): addsqlxas a dev-dependency for doctests- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.