Skip to content

deps: Bump sqlx from 0.8.6 to 0.9.0 in the other group across 1 directory - #71

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/other-bc5a4fe1aa
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/other-bc5a4fe1aa

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2026 •

Copy link
Copy Markdown

Bumps the other group with 1 update in the / directory: sqlx.

Updates 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
dependabot Bot requested a review from codecapo as a code owner November 4, 2026 10:55
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 4, 2026
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

codecapo added a commit that referenced this pull request Nov 10, 2026
## What and why

`cargo deny check` fails on every branch since 2026-11-09, when
RUSTSEC-2026-0459 (CVE-2026-119375) entered the RustSec database. SQLite
before 3.54 can return uninitialised page-cache memory when a database
is opened next to a crafted `-wal` file whose page size differs. Our
copy is SQLite 3.46.0, bundled by `libsqlite3-sys 0.30.1`, which
`sqlx-sqlite 0.8.6` pins and `iceberg-catalog-sql` requires (`cargo tree
-i libsqlite3-sys`). The fix is `libsqlite3-sys 0.39`, and no sqlx
release accepts it: `sqlx-sqlite 0.9.0` caps it below 0.38, and
iceberg-rust main still requires `sqlx 0.8.1`. No dependency update
clears the advisory today.

This adds an ignore with a reason to `deny.toml`, beside the three zstd
ignores, with a comment saying when to remove it. Removal is tracked in
#98.

## Exposure

Only `catalog.db` in the warehouse directory is opened through this
SQLite, and Infostash is the only writer there. Triggering the bug needs
a crafted file placed next to the catalog by someone who already has
write access to that directory.

## About #71

`crates/storage` declares `sqlx` only to turn on the SQLite driver of
the copy `iceberg-catalog-sql` uses. #71 moves that declaration to sqlx
0.9, which builds a second sqlx and leaves the catalog's copy without a
driver; its tests fail with a pool panic for that reason, and it would
not clear this advisory anyway. #71 should wait for iceberg-rust to move
to sqlx 0.9, or be closed with a dependabot ignore for sqlx majors.

## How it was tested

`cargo deny check` passes with the ignore and fails without it (one
advisories error, RUSTSEC-2026-0459). `typos` passes. No code changes.

Signed-off-by: Mayur Kale <hello@mayurkale.com>
@dependabot dependabot Bot changed the title deps: Bump sqlx from 0.8.6 to 0.9.0 in the other group deps: Bump sqlx from 0.8.6 to 0.9.0 in the other group across 1 directory Nov 10, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/other-bc5a4fe1aa branch from 4468e44 to 2fd257f Compare November 10, 2026 19:32
Bumps the other group with 1 update in the / directory: [sqlx](https://github.com/launchbadge/sqlx).


Updates `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
  dependency-group: other
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/other-bc5a4fe1aa branch from 2fd257f to f36a183 Compare November 12, 2026 18:49
@dependabot @github

dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Author

Looks like sqlx is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 18, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/other-bc5a4fe1aa branch November 18, 2026 10:55
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.

0 participants