Skip to content

deps(cargo): upgrade sqlx from 0.8 to 0.9#3065

Draft
zefr0x wants to merge 1 commit into
SeaQL:masterfrom
zefr0x:sqlx-v0.9-migration
Draft

deps(cargo): upgrade sqlx from 0.8 to 0.9#3065
zefr0x wants to merge 1 commit into
SeaQL:masterfrom
zefr0x:sqlx-v0.9-migration

Conversation

@zefr0x
Copy link
Copy Markdown

@zefr0x zefr0x commented May 22, 2026

sqlx had a breaking change in its cargo build features that is ported to sea-orm in a compatible way. Old features should be documented as deprecated in the next release's changelog.

As per sqlx's MSRV policy, the supported Rust version is 1.94.0.

PR Info

  • Closes
  • Dependents:

New Features

Bug Fixes

Breaking Changes

Changes

  • Upgrade sqlx to 0.9
  • New tls-* cargo features were exposed from sqlx.

@zefr0x zefr0x force-pushed the sqlx-v0.9-migration branch 2 times, most recently from 9339a14 to 8e832be Compare May 22, 2026 11:34
@zefr0x zefr0x changed the title deps(cargo): upgrade sqlx from 0.8 to 0.9 deps(cargo): upgrade sqlx from 0.8 to 0.9 May 22, 2026
@zefr0x zefr0x marked this pull request as draft May 22, 2026 12:16
`sqlx` had a breaking change in its cargo build features that is ported
to `sea-orm` in a compatible way. Old features should be documented as
deprecated in the next release's changelog.
@zefr0x zefr0x force-pushed the sqlx-v0.9-migration branch from 8e832be to 60f2a68 Compare May 23, 2026 12:04
tyt2y3 pushed a commit to SeaQL/sea-query that referenced this pull request May 24, 2026
`sqlx` had a breaking change in its cargo build features that is ported
to `sea-query` in a compatible way. Old features should be documented as
deprecated in the next release's changelog.

As per `sqlx`'s [MSRV
policy](https://github.com/launchbadge/sqlx/blob/75bc0487eb661da811bb7a3c5d158f1bd463fef4/FAQ.md#MSRV),
the supported Rust version is
[1.94.0](https://doc.rust-lang.org/stable/releases.html#version-1940-2026-03-05).

<!--

Thank you for contributing to this project!

If you need any help please feel free to contact us on Discord:
https://discord.com/invite/uCPdDXzbdv
Or, mention our core members by typing `@GitHub_Handle` on any issue /
PR

Add some test cases! It help reviewers to understand the behaviour and
prevent it to be broken in the future.

-->

## PR Info

<!-- mention the related issue -->
- Closes <!-- issue link -->

<!-- is this PR depends on other PR? (if applicable) -->
- Dependencies:
  - pgvector/pgvector-rust#25

<!-- any PR depends on this PR? (if applicable) -->
- Dependents:
  - SeaQL/sea-orm#3065

## New Features

<!-- - [ ] <!-- what are the new features? -->

## Bug Fixes

<!-- - [ ] <!-- if it fixes a bug, please provide a brief analysis of
the original bug -->

## Breaking Changes

<!-- - [ ] <!-- any change in behaviour or method signature? is it
backward compatible? -->

## Changes

- [x] Upgrade `sqlx` to `0.9`
- [x] New `tls-*` cargo features were exposed from `sqlx`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant