From c253e65819c407f13c96adeb23085d02b46dbb93 Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Mon, 2 Sep 2024 13:13:14 -0700 Subject: [PATCH] chore: prepare 0.8.2 release --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++++++++ Cargo.lock | 16 ++++++++-------- Cargo.toml | 16 ++++++++-------- 3 files changed, 57 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c07f913d1a..a463c951ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.8.2 - 2024-09-02 + +10 pull requests were merged this release cycle. + +This release addresses a few regressions that have occurred, and refines SQLx's MSRV policy (see [the FAQ](FAQ.md)). + +### Added +* [[#3447]]: Clarify usage of Json/Jsonb in query macros [[@Lachstec]] + +### Changed +* [[#3424]]: Remove deprecated feature-names from `Cargo.toml` files in examples [[@carschandler]] + +### Fixed +* [[#3403]]: Fix (#3395) sqlx::test macro in 0.8 [[@joeydewaal]] +* [[#3411]]: fix: Use rfc3339 to decode date from text [[@pierre-wehbe]] +* [[#3453]]: fix(#3445): PgHasArrayType [[@joeydewaal]] + * Fixes `#[sqlx(no_pg_array)]` being forbidden on `#[derive(Type)]` structs. +* [[#3454]]: fix: non snake case warning [[@joeydewaal]] +* [[#3459]]: Pgsql cube type compile fail [[@kdesjard]] +* [[#3465]]: fix(postgres): max number of binds is 65535, not 32767 (regression) [[@abonander]] +* [[#3467]]: fix cancellation issues with `PgListener`, `PgStream::recv()` [[@abonander]] + * Fixes cryptic `unknown message: "\\0"` error +* [[#3474]]: Fix try_get example in README.md [[@luveti]] + +[#3403]: https://github.com/launchbadge/sqlx/pull/3403 +[#3411]: https://github.com/launchbadge/sqlx/pull/3411 +[#3424]: https://github.com/launchbadge/sqlx/pull/3424 +[#3447]: https://github.com/launchbadge/sqlx/pull/3447 +[#3453]: https://github.com/launchbadge/sqlx/pull/3453 +[#3454]: https://github.com/launchbadge/sqlx/pull/3454 +[#3455]: https://github.com/launchbadge/sqlx/pull/3455 +[#3459]: https://github.com/launchbadge/sqlx/pull/3459 +[#3465]: https://github.com/launchbadge/sqlx/pull/3465 +[#3467]: https://github.com/launchbadge/sqlx/pull/3467 +[#3474]: https://github.com/launchbadge/sqlx/pull/3474 + ## 0.8.1 - 2024-08-23 16 pull requests were merged this release cycle. @@ -2543,3 +2579,8 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg [@ods]: https://github.com/ods [@soucosmo]: https://github.com/soucosmo [@kolinfluence]: https://github.com/kolinfluence +[@joeydewaal]: https://github.com/joeydewaal +[@pierre-wehbe]: https://github.com/pierre-wehbe +[@carschandler]: https://github.com/carschandler +[@kdesjard]: https://github.com/kdesjard +[@luveti]: https://github.com/luveti diff --git a/Cargo.lock b/Cargo.lock index 6f867680b1..dcbc6d1519 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3328,7 +3328,7 @@ dependencies = [ [[package]] name = "sqlx" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "async-std", @@ -3358,7 +3358,7 @@ dependencies = [ [[package]] name = "sqlx-cli" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "assert_cmd", @@ -3385,7 +3385,7 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.8.1" +version = "0.8.2" dependencies = [ "async-io 1.13.0", "async-std", @@ -3569,7 +3569,7 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.8.1" +version = "0.8.2" dependencies = [ "proc-macro2", "quote", @@ -3580,7 +3580,7 @@ dependencies = [ [[package]] name = "sqlx-macros-core" -version = "0.8.1" +version = "0.8.2" dependencies = [ "async-std", "dotenvy", @@ -3605,7 +3605,7 @@ dependencies = [ [[package]] name = "sqlx-mysql" -version = "0.8.1" +version = "0.8.2" dependencies = [ "atoi", "base64 0.22.0", @@ -3651,7 +3651,7 @@ dependencies = [ [[package]] name = "sqlx-postgres" -version = "0.8.1" +version = "0.8.2" dependencies = [ "atoi", "base64 0.22.0", @@ -3697,7 +3697,7 @@ dependencies = [ [[package]] name = "sqlx-sqlite" -version = "0.8.1" +version = "0.8.2" dependencies = [ "atoi", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 3754275b8a..79e8ff3882 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ members = [ ] [workspace.package] -version = "0.8.1" +version = "0.8.2" license = "MIT OR Apache-2.0" edition = "2021" repository = "https://github.com/launchbadge/sqlx" @@ -120,17 +120,17 @@ regexp = ["sqlx-sqlite?/regexp"] [workspace.dependencies] # Core Crates -sqlx-core = { version = "=0.8.1", path = "sqlx-core" } -sqlx-macros-core = { version = "=0.8.1", path = "sqlx-macros-core" } -sqlx-macros = { version = "=0.8.1", path = "sqlx-macros" } +sqlx-core = { version = "=0.8.2", path = "sqlx-core" } +sqlx-macros-core = { version = "=0.8.2", path = "sqlx-macros-core" } +sqlx-macros = { version = "=0.8.2", path = "sqlx-macros" } # Driver crates -sqlx-mysql = { version = "=0.8.1", path = "sqlx-mysql" } -sqlx-postgres = { version = "=0.8.1", path = "sqlx-postgres" } -sqlx-sqlite = { version = "=0.8.1", path = "sqlx-sqlite" } +sqlx-mysql = { version = "=0.8.2", path = "sqlx-mysql" } +sqlx-postgres = { version = "=0.8.2", path = "sqlx-postgres" } +sqlx-sqlite = { version = "=0.8.2", path = "sqlx-sqlite" } # Facade crate (for reference from sqlx-cli) -sqlx = { version = "=0.8.1", path = ".", default-features = false } +sqlx = { version = "=0.8.2", path = ".", default-features = false } # Common type integrations shared by multiple driver crates. # These are optional unless enabled in a workspace crate.