From e0382b3806655ecbfadb122581d449ef3269dda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Tue, 9 Jun 2026 15:07:10 +0100 Subject: [PATCH 1/4] Prepare 0.9.2 - Bump versions to 0.9.2 in all crates - Update inter-crate dependency references - Add 0.9.2 changelog entries for TLS opt-in (#408), tokio-postgres-rustls feature (#426), rusqlite 0.39.x (#425), and toml 1.1.2 (#430) --- CHANGELOG.md | 8 ++++++++ refinery/Cargo.toml | 6 +++--- refinery_cli/Cargo.toml | 4 ++-- refinery_core/Cargo.toml | 2 +- refinery_macros/Cargo.toml | 4 ++-- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0870fae..fc983a26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ 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.9.2] - 2026-06-09 +### Added +- Support for `rustls` as a TLS backend for `tokio-postgres` via the new `tokio-postgres-rustls` feature. [#426](https://github.com/rust-db/refinery/pull/426) +### Changed +- Make TLS opt-in for `postgres` and `tokio-postgres` features. The `postgres` and `tokio-postgres` features no longer pull in `native-tls` unconditionally. Use `postgres-tls` and `tokio-postgres-tls` features for TLS support. [#408](https://github.com/rust-db/refinery/pull/408) +- Support `rusqlite` 0.39.x. [#425](https://github.com/rust-db/refinery/pull/425) +- Update `toml` dependency to 1.1.2. [#430](https://github.com/rust-db/refinery/pull/430) + ## [0.9.1] - 2026-04-15 ### Changed - Support `rusqlite` 0.38.x. [#410](https://github.com/rust-db/refinery/pull/410) diff --git a/refinery/Cargo.toml b/refinery/Cargo.toml index 4a8e5fa1..7471624c 100644 --- a/refinery/Cargo.toml +++ b/refinery/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery" -version = "0.9.1" +version = "0.9.2" authors = ["Katharina Fey ", "João Oliveira "] license = "MIT" description = "Powerful SQL migration toolkit for Rust" @@ -31,8 +31,8 @@ enums = ["refinery-macros/enums"] int8-versions = ["refinery-core/int8-versions", "refinery-macros/int8-versions"] [dependencies] -refinery-core = { version = "0.9.1", path = "../refinery_core", default-features = false } -refinery-macros = { version = "0.9.1", path = "../refinery_macros" } +refinery-core = { version = "0.9.2", path = "../refinery_core", default-features = false } +refinery-macros = { version = "0.9.2", path = "../refinery_macros" } [dev-dependencies] barrel = { git = "https://github.com/jxs/barrel", features = ["sqlite3", "pg", "mysql", "mssql"] } diff --git a/refinery_cli/Cargo.toml b/refinery_cli/Cargo.toml index 450a9bd8..a153cc8d 100644 --- a/refinery_cli/Cargo.toml +++ b/refinery_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery_cli" -version = "0.9.1" +version = "0.9.2" authors = ["Katharina Fey ", "João Oliveira "] license = "MIT OR Apache-2.0" description = "Provides the CLI for the Refinery crate" @@ -24,7 +24,7 @@ mssql = ["refinery-core/tiberius-config", "tokio"] int8-versions = ["refinery-core/int8-versions"] [dependencies] -refinery-core = { version = "0.9.1", path = "../refinery_core", default-features = false, features = ["toml", "config"] } +refinery-core = { version = "0.9.2", path = "../refinery_core", default-features = false, features = ["toml", "config"] } clap = { version = "4", features = ["derive"] } human-panic = "2" toml = "0.8" diff --git a/refinery_core/Cargo.toml b/refinery_core/Cargo.toml index 45e95430..e48dfff8 100644 --- a/refinery_core/Cargo.toml +++ b/refinery_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery-core" -version = "0.9.1" +version = "0.9.2" authors = ["Katharina Fey ", "João Oliveira "] description = "This crate should not be used directly, it is internally related to Refinery" license = "MIT OR Apache-2.0" diff --git a/refinery_macros/Cargo.toml b/refinery_macros/Cargo.toml index 36701ce3..1aadb11a 100644 --- a/refinery_macros/Cargo.toml +++ b/refinery_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery-macros" -version = "0.9.1" +version = "0.9.2" authors = ["Katharina Fey ", "João Oliveira "] description = "This crate should not be used directly, it is internally related to Refinery" license = "MIT OR Apache-2.0" @@ -16,7 +16,7 @@ int8-versions = ["refinery-core/int8-versions"] proc-macro = true [dependencies] -refinery-core = { version = "0.9.1", path = "../refinery_core" } +refinery-core = { version = "0.9.2", path = "../refinery_core" } quote = "1" syn = "2" proc-macro2 = "1" From 65267d3d98891af31565338625e46c57d0c09aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Tue, 9 Jun 2026 15:09:30 +0100 Subject: [PATCH 2/4] Bump mysql to 0.28.x and mysql_async to 0.37.x --- CHANGELOG.md | 1 + refinery_core/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc983a26..a82dc58b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Make TLS opt-in for `postgres` and `tokio-postgres` features. The `postgres` and `tokio-postgres` features no longer pull in `native-tls` unconditionally. Use `postgres-tls` and `tokio-postgres-tls` features for TLS support. [#408](https://github.com/rust-db/refinery/pull/408) - Support `rusqlite` 0.39.x. [#425](https://github.com/rust-db/refinery/pull/425) +- Support `mysql` up to 0.28.x and `mysql_async` up to 0.37.x. - Update `toml` dependency to 1.1.2. [#430](https://github.com/rust-db/refinery/pull/430) ## [0.9.1] - 2026-04-15 diff --git a/refinery_core/Cargo.toml b/refinery_core/Cargo.toml index e48dfff8..51edba25 100644 --- a/refinery_core/Cargo.toml +++ b/refinery_core/Cargo.toml @@ -42,8 +42,8 @@ postgres = { version = ">=0.17, <= 0.19", optional = true } native-tls = { version = "0.2", optional = true } postgres-native-tls = { version = "0.5", optional = true } tokio-postgres = { version = ">= 0.5, <= 0.7", optional = true } -mysql = { version = ">= 21.0.0, <= 26", optional = true, default-features = false, features = ["minimal"] } -mysql_async = { version = ">= 0.28, <= 0.36", optional = true, default-features = false, features = ["minimal"] } +mysql = { version = ">= 21.0.0, <= 28", optional = true, default-features = false, features = ["minimal"] } +mysql_async = { version = ">= 0.28, <= 0.37", optional = true, default-features = false, features = ["minimal"] } tiberius = { version = ">= 0.7, <= 0.12", optional = true, default-features = false } tokio = { version = "1.0", optional = true } futures = { version = "0.3.16", optional = true, features = ["async-await"] } From 6760d5782c530e63c84301a50d119a68cdf1d4ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Tue, 9 Jun 2026 15:58:19 +0100 Subject: [PATCH 3/4] Apply suggestion from @jxs --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a82dc58b..2b9be206 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Make TLS opt-in for `postgres` and `tokio-postgres` features. The `postgres` and `tokio-postgres` features no longer pull in `native-tls` unconditionally. Use `postgres-tls` and `tokio-postgres-tls` features for TLS support. [#408](https://github.com/rust-db/refinery/pull/408) - Support `rusqlite` 0.39.x. [#425](https://github.com/rust-db/refinery/pull/425) -- Support `mysql` up to 0.28.x and `mysql_async` up to 0.37.x. +- Support `mysql` up to 0.28.x and `mysql_async` up to 0.37.x. [#436](https://github.com/rust-db/refinery/pull/436) - Update `toml` dependency to 1.1.2. [#430](https://github.com/rust-db/refinery/pull/430) ## [0.9.1] - 2026-04-15 From e028287bea12296b34f0fb679ff07aa33c53e115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Tue, 9 Jun 2026 15:58:41 +0100 Subject: [PATCH 4/4] Apply suggestion from @jxs --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b9be206..8b52454c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Make TLS opt-in for `postgres` and `tokio-postgres` features. The `postgres` and `tokio-postgres` features no longer pull in `native-tls` unconditionally. Use `postgres-tls` and `tokio-postgres-tls` features for TLS support. [#408](https://github.com/rust-db/refinery/pull/408) - Support `rusqlite` 0.39.x. [#425](https://github.com/rust-db/refinery/pull/425) -- Support `mysql` up to 0.28.x and `mysql_async` up to 0.37.x. [#436](https://github.com/rust-db/refinery/pull/436) +- Support `mysql` up to 0.28.x and `mysql_async` up to 0.37.x. [#436](https://github.com/rust-db/refinery/pull/436) - Update `toml` dependency to 1.1.2. [#430](https://github.com/rust-db/refinery/pull/430) ## [0.9.1] - 2026-04-15