prepare 0.5.9 hotfix release (#1469)

This commit is contained in:
Austin Bonander 2021-10-01 15:52:52 -07:00 committed by GitHub
parent 1b5dd6514b
commit 9abe9b3ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 40 additions and 17 deletions

View File

@ -5,7 +5,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.5.8 - 2021-10-01
## 0.5.9 - 2021-10-01
A hotfix release to address the issue of the `sqlx` crate itself still depending on older versions of `sqlx-core` and
`sqlx-macros`.
No other changes from `0.5.8`.
## 0.5.8 - 2021-10-01 (Yanked; use 0.5.9)
[A total of 24 pull requests][0.5.8-prs] were merged this release cycle! Some highlights:

10
Cargo.lock generated
View File

@ -2333,7 +2333,7 @@ dependencies = [
[[package]]
name = "sqlx"
version = "0.5.8"
version = "0.5.9"
dependencies = [
"anyhow",
"async-std",
@ -2366,7 +2366,7 @@ dependencies = [
[[package]]
name = "sqlx-cli"
version = "0.5.8"
version = "0.5.9"
dependencies = [
"anyhow",
"async-trait",
@ -2389,7 +2389,7 @@ dependencies = [
[[package]]
name = "sqlx-core"
version = "0.5.8"
version = "0.5.9"
dependencies = [
"ahash",
"atoi",
@ -2526,7 +2526,7 @@ dependencies = [
[[package]]
name = "sqlx-macros"
version = "0.5.8"
version = "0.5.9"
dependencies = [
"dotenv",
"either",
@ -2546,7 +2546,7 @@ dependencies = [
[[package]]
name = "sqlx-rt"
version = "0.5.8"
version = "0.5.9"
dependencies = [
"actix-rt",
"async-native-tls",

View File

@ -18,7 +18,7 @@ members = [
[package]
name = "sqlx"
version = "0.5.8"
version = "0.5.9"
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.7", path = "sqlx-core", default-features = false }
sqlx-macros = { version = "0.5.7", path = "sqlx-macros", default-features = false, optional = true }
sqlx-core = { version = "0.5.9", path = "sqlx-core", default-features = false }
sqlx-macros = { version = "0.5.9", path = "sqlx-macros", default-features = false, optional = true }
[dev-dependencies]
anyhow = "1.0.31"

16
prep-release.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env sh
set -ex
VERSION=$1
if [ -z "$VERSION" ]
then
echo "USAGE: ./prep-release.sh <version>"
exit 1
fi
cargo set-version -p sqlx-rt "$VERSION"
cargo set-version -p sqlx-core "$VERSION"
cargo set-version -p sqlx-macros "$VERSION"
cargo set-version -p sqlx "$VERSION"
cargo set-version -p sqlx-cli "$VERSION"

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-cli"
version = "0.5.8"
version = "0.5.9"
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.7", path = "..", default-features = false, features = [
sqlx = { version = "0.5.9", path = "..", default-features = false, features = [
"runtime-async-std-native-tls",
"migrate",
"any",

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-core"
version = "0.5.8"
version = "0.5.9"
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"
@ -101,7 +101,7 @@ offline = ["serde", "either/serde"]
[dependencies]
ahash = "0.7.2"
atoi = "0.4.0"
sqlx-rt = { path = "../sqlx-rt", version = "0.5.6" }
sqlx-rt = { path = "../sqlx-rt", version = "0.5.9"}
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
bigdecimal_ = { version = "0.2.0", optional = true, package = "bigdecimal" }
rust_decimal = { version = "1.8.1", optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-macros"
version = "0.5.8"
version = "0.5.9"
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"
@ -84,8 +84,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.7", default-features = false, path = "../sqlx-core" }
sqlx-rt = { version = "0.5.7", default-features = false, path = "../sqlx-rt" }
sqlx-core = { version = "0.5.9", default-features = false, path = "../sqlx-core" }
sqlx-rt = { version = "0.5.9", 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 }

View File

@ -1,6 +1,6 @@
[package]
name = "sqlx-rt"
version = "0.5.8"
version = "0.5.9"
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."