Skip to content

deps(backend)(deps): bump sqlx from 0.8.6 to 0.9.0 in /backend#135

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/backend/sqlx-0.9.0
Closed

deps(backend)(deps): bump sqlx from 0.8.6 to 0.9.0 in /backend#135
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/backend/sqlx-0.9.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Bumps sqlx from 0.8.6 to 0.9.0.

Changelog

Sourced from sqlx's changelog.

0.9.0 - 2026-05-06

Important Announcements

New Github Organization

Shortly after this release is published, the SQLx repository will be transferred to a new GitHub organization: https://github.com/transact-rs/

This is because SQLx has not been owned or maintained by LaunchBadge, LLC. for a few years now, and has since been informally transferred to the collective ownership of its principal authors. Moving the repository to a new organization makes this change more clear, and also allows for potentially inviting outside collaborators.

Cargo.lock Removed from Tracking

The Cargo.lock has been removed from tracking in Git. CI should now always test with the latest versions of all dependencies by default, alongside our pass that checks with cargo generate-lockfile -Z minimal-versions.

This should eliminate the need for any PRs that update dependencies to also update Cargo.lock or contend with an endless stream of merge conflicts against it.

N.B. cargo install --locked sqlx-cli will no longer work. However, cargo install sqlx-cli has always used the latest dependencies by default, ignoring the lockfile, so most users should not be affected. For users requiring reproducible builds, consider maintaining your own lockfile instead; historically, we only ran cargo update sporadically, so relying on SQLx's lockfile offered few guarantees anyway.

See [the manual page for cargo install][man-cargo-install] for details.

Breaking

As per our MSRV policy, the supported Rust version for this release cycle is 1.94.0.

  • [#3383]: feat: create sqlx.toml format [[@​abonander]]
    • SQLx and sqlx-cli now support per-crate configuration files (sqlx.toml)
    • New functionality includes, but is not limited to:
      • Rename DATABASE_URL for a crate (for multi-database workspaces)
      • Set global type overrides for the macros (supporting custom types)
      • Rename or relocate the _sqlx_migrations table (for multiple crates using the same database)
      • Set characters to ignore when hashing migrations (e.g. ignore whitespace)
    • More to be implemented in future releases.
    • Enable feature sqlx-toml to use.
      • sqlx-cli has it enabled by default, but sqlx does not.
      • Default features of library crates can be hard to completely turn off because of [feature unification], so it's better to keep the default feature set as limited as possible. [This is something we learned the hard way.][preferred-crates]
    • Guide: see sqlx::_config module in documentation.
    • Reference: [Link]
    • Examples (written for Postgres but can be adapted to other databases; PRs welcome!):
      • Multiple databases using DATABASE_URL renaming and global type overrides: [Link]
      • Multi-tenant database using _sqlx_migrations renaming and multiple schemas: [Link]
      • Force use of chrono when time is enabled (e.g. when using tower-sessions-sqlx-store): [[Link][preferred-crates]]
        • Forcing bigdecimal when rust_decimal is enabled is also shown, but problems with chrono/time are more common.

... (truncated)

Commits
  • 75bc048 Release 0.9.0 (#4256)
  • 6956cef Prefer to give real data to .bind() in README.md (#4257)
  • 45ba990 Add the possibility to skip migrations (#3846)
  • 66533fa Ensure Deterministic Migration Order (#4136)
  • db47fe3 ci: check direct minimal versions (#4173)
  • 9ecb76d Unescape PostgreSQL passfile password (#3993)
  • c0a3218 breaking(any+mysql): correctly convert text and blob types to AnyTypeInfo (...
  • d82b781 test(sqlite): add regression test for ORDER BY + LIMIT nullability (#4223)
  • b77ba16 chore: update to axum 0.8 (#4253)
  • c0ec9c0 fix(tls): potential deadlock in StdSocket::poll_ready() (#4251)
  • 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 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)

Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.8.6 to 0.9.0.
- [Changelog](https://github.com/transact-rs/sqlx/blob/main/CHANGELOG.md)
- [Commits](transact-rs/sqlx@v0.8.6...v0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jun 3, 2026
@pacphi
Copy link
Copy Markdown
Owner

pacphi commented Jun 3, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@pacphi
Copy link
Copy Markdown
Owner

pacphi commented Jun 8, 2026

Superseded by #148, which consolidates all open Dependabot bumps and resolves each dependency to the latest compatible release (this PR's bump is included there).

@pacphi pacphi closed this Jun 8, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jun 8, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/backend/sqlx-0.9.0 branch June 8, 2026 21:04
pacphi added a commit that referenced this pull request Jun 8, 2026
…#148)

* chore(deps): consolidate Dependabot PRs #125#147 (latest compatible)

Applies every open Dependabot bump on one branch, resolving each dependency
to the latest compatible release rather than the (sometimes already-stale)
version the PR pinned. Where the applied version is newer than the PR target,
it is noted below.

Frontend (pnpm):
- vitest: → 4.1.8 [#127, target 4.1.7 superseded]
- @storybook/react + storybook: → 10.4.2 [#128, target 10.4.1 superseded]
- eslint: → 10.4.1; typescript-eslint: → 8.61.0 [#139, ts-eslint 8.60.1 superseded]
- idb-keyval: → 6.2.5 [#140]
- vite: → 8.0.16 [#141]
- date-fns: → 4.4.0 [#142]
- turbo: → 2.9.16 [#143]
- @tanstack/react-query 5.101.0, react-router 1.170.15 (target 1.170.11
  superseded), react-virtual 3.14.2 [#144]
- react-dom: → 19.2.7 [#145]; react bumped to 19.2.7 to satisfy peer
- zustand: → 5.0.14 [#146]

Backend (Cargo):
- openssl: → 0.10.80 [#125]
- serde_json: → 1.0.150 [#132]
- axum-test: → 20.1.0 [#133]
- redis: → 1.2.2 [#134]
- sqlx: 0.8 → 0.9.0 [#135] (breaking — see below)
- fastembed: → 5.16.0 [#136, target 5.15.0 superseded]
- uuid: → 1.23.2 [#137]
- llama-cpp-4: 0.2 → 0.3.1 [#138, target 0.3.0 superseded]

Rust toolchain:
- Docker base image rust 1.95-slim → 1.96-slim [#147]
- Align rust-toolchain.toml channel and Cargo.toml MSRV to 1.96.0, plus
  docker-compose RUST_VERSION and the setup/deployment/maintainer/README docs.

sqlx 0.9 breaking change:
- sqlx 0.9 only implements SqlSafeStr for &'static str; runtime-built query
  strings now require an explicit safety assertion. Added a single audited
  choke point `db::audited_sql()` (wraps sqlx::AssertSqlSafe) with one
  authoritative doc comment, and routed all dynamic-SQL call sites through it
  (vectors, api, cleanup, mcp, main, integration tests). Every such string is
  composed only from literals and bind-parameter markers; all values are bound.

Verified: backend build (all targets) + 1900+ tests + clippy (strict) + fmt;
frontend typecheck + build + tests + eslint + prettier; markdown/yaml lint +
internal link check.

* docs: align remaining Rust version refs in plan docs to 1.96

Follow-up to the dep consolidation: bump the two plan-doc Rust references
(builtin-llm prerequisites and the illustrative CI Dockerfile snippet) from
1.95 to 1.96 to match the upgraded toolchain. Immutable historical records
(ADRs, the march-2026 audit) are intentionally left as-is.
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 requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant