From 7fec5070161a5be12ec6cf15f40dd83e098edabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Mon, 6 Oct 2025 16:24:39 +0100 Subject: [PATCH] prepare 0.9.0 --- CHANGELOG.md | 18 ++++++++++++++++++ examples/Cargo.toml | 1 + refinery/Cargo.toml | 6 +++--- refinery_cli/Cargo.toml | 4 ++-- refinery_core/Cargo.toml | 2 +- refinery_macros/Cargo.toml | 4 ++-- 6 files changed, 27 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 254618a9..f88530e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ 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.0] - 2025-01-06 +### Added +- Support for TLS in postgres/tokio-postgres using native-tls. [#353](https://github.com/rust-db/refinery/pull/353) +- Support for int8 migration versions via new `int8-versions` feature. [#330](https://github.com/rust-db/refinery/pull/330) +- Derive Serialize for Migration if serde is enabled. [#395](https://github.com/rust-db/refinery/pull/395) + +### Changed +- Update migrate Transaction and AsyncTransaction execute functions to avoid double iteration. [#393](https://github.com/rust-db/refinery/pull/393) +- Update `mysql_async` to support up until version 0.36. [#400](https://github.com/rust-db/refinery/pull/400) +- Update `rusqlite` to support up until version 0.37. [#389](https://github.com/rust-db/refinery/pull/389), [#390](https://github.com/rust-db/refinery/pull/390) +- Update `thiserror` to version 2. [#372](https://github.com/rust-db/refinery/pull/372) +- Update MSRV (Minimum Supported Rust Version). [#401](https://github.com/rust-db/refinery/pull/401), [#362](https://github.com/rust-db/refinery/pull/362) +- Fix unused warnings [#403](https://github.com/rust-db/refinery/pull/401) + + +### Fixed +- Fix logging output for async and sync migrate functions. [#378](https://github.com/rust-db/refinery/pull/378) + ## [0.8.16] - 2024-02-21 ### Fixed - Revert [#346](https://github.com/rust-db/refinery/pull/346) as it breaks Semver, save it for a minor release in the future. diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 69635967..48ec0a05 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0" documentation = "https://docs.rs/refinery/" repository = "https://github.com/rust-db/refinery" edition = "2021" +publish = false [features] enums = ["refinery/enums"] diff --git a/refinery/Cargo.toml b/refinery/Cargo.toml index 4e21892c..f55f0c60 100644 --- a/refinery/Cargo.toml +++ b/refinery/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery" -version = "0.8.16" +version = "0.9.0" authors = ["Katharina Fey ", "João Oliveira "] license = "MIT" description = "Powerful SQL migration toolkit for Rust" @@ -27,8 +27,8 @@ enums = ["refinery-macros/enums"] int8-versions = ["refinery-core/int8-versions", "refinery-macros/int8-versions"] [dependencies] -refinery-core = { version = "0.8.16", path = "../refinery_core" } -refinery-macros = { version = "0.8.16", path = "../refinery_macros" } +refinery-core = { version = "0.9.0", path = "../refinery_core" } +refinery-macros = { version = "0.9.0", 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 6289ff48..e51ac49f 100644 --- a/refinery_cli/Cargo.toml +++ b/refinery_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery_cli" -version = "0.8.16" +version = "0.9.0" 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.8.16", path = "../refinery_core", default-features = false, features = ["toml"] } +refinery-core = { version = "0.9.0", path = "../refinery_core", default-features = false, features = ["toml"] } clap = { version = "4", features = ["derive"] } human-panic = "2" toml = "0.8" diff --git a/refinery_core/Cargo.toml b/refinery_core/Cargo.toml index 4e67c30e..3fbd0fe4 100644 --- a/refinery_core/Cargo.toml +++ b/refinery_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery-core" -version = "0.8.16" +version = "0.9.0" 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 00cc570f..f36c8fac 100644 --- a/refinery_macros/Cargo.toml +++ b/refinery_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refinery-macros" -version = "0.8.16" +version = "0.9.0" 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.8.16", path = "../refinery_core" } +refinery-core = { version = "0.9.0", path = "../refinery_core" } quote = "1" syn = "2" proc-macro2 = "1"