Conversation
`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`.
Keep the main sea-query crate on Rust 1.88 while running sea-query-sqlx and sqlx examples on Rust 1.94. Update CI to exercise sqlx 0.9 split runtime/TLS features while preserving coverage for legacy runtime/TLS aliases. Adapt SeaQuery sqlx helper macros and examples to wrap generated dynamic SQL with sqlx::AssertSqlSafe. Update sqlx IntoArguments impls for the sqlx 0.9 signature changes.
Keep jiff-sqlx as an optional dormant dependency, but remove it from active with-jiff feature wiring because jiff-sqlx 0.1.1 still depends on sqlx 0.8. Gate Jiff support for Postgres/MySQL/Any behind an explicit acknowledgement feature until jiff-sqlx releases sqlx 0.9 support. Remove Jiff from the Postgres SQLx example for now and configure docs.rs to avoid the broken integration path. This commit is intended to be reverted once jiff-sqlx supports sqlx 0.9.
🎉 Released In 1.0.0 🎉Thank you everyone for the contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cont'd #1075