From 3749e0ea37ae1bd2777db6a58a8c8bb9140b4e5e Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Fri, 20 Aug 2021 17:14:42 -0700 Subject: [PATCH] chore: prepare 0.5.7 (hotfix) release (#1394) --- CHANGELOG.md | 10 ++++++++++ Cargo.lock | 10 +++++----- Cargo.toml | 6 +++--- sqlx-cli/Cargo.toml | 4 ++-- sqlx-core/Cargo.toml | 2 +- sqlx-macros/Cargo.toml | 6 +++--- sqlx-rt/Cargo.toml | 2 +- 7 files changed, 25 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ab9352c5f..c6286ef405 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ 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.5.7 - 2021-08-20 + +* [[#1392]] use `resolve_path` when getting path for `include_str!()` [[@abonander]] + * Fixes a regression introduced by [[#1332]]. +* [[#1393]] avoid recursively spawning tasks in `PgListener::drop()` [[@abonander]] + * Fixes a panic that occurs when `PgListener` is dropped in `async fn main()`. + +[#1392]: https://github.com/launchbadge/sqlx/pull/1392 +[#1393]: https://github.com/launchbadge/sqlx/pull/1393 + ## 0.5.6 - 2021-08-16 A large bugfix release, including but not limited to: diff --git a/Cargo.lock b/Cargo.lock index b97c1d28cc..7d4a43775c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "sqlx" -version = "0.5.6" +version = "0.5.7" dependencies = [ "anyhow", "async-std", @@ -2323,7 +2323,7 @@ dependencies = [ [[package]] name = "sqlx-cli" -version = "0.5.6" +version = "0.5.7" dependencies = [ "anyhow", "async-trait", @@ -2346,7 +2346,7 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.5.6" +version = "0.5.7" dependencies = [ "ahash", "atoi", @@ -2482,7 +2482,7 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.5.6" +version = "0.5.7" dependencies = [ "dotenv", "either", @@ -2503,7 +2503,7 @@ dependencies = [ [[package]] name = "sqlx-rt" -version = "0.5.6" +version = "0.5.7" dependencies = [ "actix-rt", "async-native-tls", diff --git a/Cargo.toml b/Cargo.toml index fe1420c076..00ef4defb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ members = [ [package] name = "sqlx" -version = "0.5.6" +version = "0.5.7" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/launchbadge/sqlx" @@ -132,8 +132,8 @@ bstr = ["sqlx-core/bstr"] git2 = ["sqlx-core/git2"] [dependencies] -sqlx-core = { version = "0.5.6", path = "sqlx-core", default-features = false } -sqlx-macros = { version = "0.5.6", path = "sqlx-macros", default-features = false, optional = true } +sqlx-core = { version = "0.5.7", path = "sqlx-core", default-features = false } +sqlx-macros = { version = "0.5.7", path = "sqlx-macros", default-features = false, optional = true } [dev-dependencies] anyhow = "1.0.31" diff --git a/sqlx-cli/Cargo.toml b/sqlx-cli/Cargo.toml index 103077a8d2..7bb883345d 100644 --- a/sqlx-cli/Cargo.toml +++ b/sqlx-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-cli" -version = "0.5.6" +version = "0.5.7" description = "Command-line utility for SQLx, the Rust SQL toolkit." edition = "2018" readme = "README.md" @@ -27,7 +27,7 @@ path = "src/bin/cargo-sqlx.rs" [dependencies] dotenv = "0.15" tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] } -sqlx = { version = "0.5.6", path = "..", default-features = false, features = [ +sqlx = { version = "0.5.7", path = "..", default-features = false, features = [ "runtime-async-std-native-tls", "migrate", "any", diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index ea2b46f3b7..0d6af4f21a 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-core" -version = "0.5.6" +version = "0.5.7" repository = "https://github.com/launchbadge/sqlx" description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" diff --git a/sqlx-macros/Cargo.toml b/sqlx-macros/Cargo.toml index 973e6cf005..2a74b573ce 100644 --- a/sqlx-macros/Cargo.toml +++ b/sqlx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-macros" -version = "0.5.6" +version = "0.5.7" repository = "https://github.com/launchbadge/sqlx" description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" @@ -85,8 +85,8 @@ heck = "0.3.1" either = "1.5.3" once_cell = "1.5.2" proc-macro2 = { version = "1.0.9", default-features = false } -sqlx-core = { version = "0.5.6", default-features = false, path = "../sqlx-core" } -sqlx-rt = { version = "0.5.6", default-features = false, path = "../sqlx-rt" } +sqlx-core = { version = "0.5.7", default-features = false, path = "../sqlx-core" } +sqlx-rt = { version = "0.5.7", default-features = false, path = "../sqlx-rt" } serde = { version = "1.0.111", features = ["derive"], optional = true } serde_json = { version = "1.0.30", features = ["preserve_order"], optional = true } sha2 = { version = "0.9.1", optional = true } diff --git a/sqlx-rt/Cargo.toml b/sqlx-rt/Cargo.toml index 9fbc159b24..a0db271926 100644 --- a/sqlx-rt/Cargo.toml +++ b/sqlx-rt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-rt" -version = "0.5.6" +version = "0.5.7" repository = "https://github.com/launchbadge/sqlx" license = "MIT OR Apache-2.0" description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."