Skip to content

Release 0.9.0#4256

Open
abonander wants to merge 16 commits into
mainfrom
release/0.9.0
Open

Release 0.9.0#4256
abonander wants to merge 16 commits into
mainfrom
release/0.9.0

Conversation

@abonander
Copy link
Copy Markdown
Collaborator

@abonander abonander commented May 2, 2026

@abonander abonander marked this pull request as ready for review May 7, 2026 02:06
@abonander abonander force-pushed the release/0.9.0 branch 2 times, most recently from f6eb059 to 39a61c7 Compare May 7, 2026 02:12
Comment thread sqlx-postgres/Cargo.toml Outdated
@Kinrany
Copy link
Copy Markdown

Kinrany commented May 12, 2026

Re: SqlStr

Is there a way to make the change less... immediately breaking, allow switching from the deprecated behavior to the strict behavior separately from upgrading the version?

Alternatively, would it make sense for query macros to produce parsed strings as AssertSqlSafe?

A common pattern I see with MySql is checking most of a query at compile time and then replacing a placeholder string with a dynamic list of parameters. Or, alternatively, adding a dynamic list of static conditions. Either can be done with extension methods, and it makes more sense to implement these extension methods as accepting SqlSafe and returning AssertSqlSafe.

@abonander
Copy link
Copy Markdown
Collaborator Author

That API change has been available in 0.9.0-alpha.1 since October. Your feedback would have been much more actionable then. Going back to the drawing board now would delay the stable release even further.

@Kinrany
Copy link
Copy Markdown

Kinrany commented May 13, 2026

Fair!

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.

3 participants