Skip to content

Commit 9abe9b3

Browse files
authored
prepare 0.5.9 hotfix release (#1469)
1 parent 1b5dd65 commit 9abe9b3

File tree

8 files changed

+40
-17
lines changed

8 files changed

+40
-17
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## 0.5.8 - 2021-10-01
8+
## 0.5.9 - 2021-10-01
9+
10+
A hotfix release to address the issue of the `sqlx` crate itself still depending on older versions of `sqlx-core` and
11+
`sqlx-macros`.
12+
13+
No other changes from `0.5.8`.
14+
15+
## 0.5.8 - 2021-10-01 (Yanked; use 0.5.9)
916

1017
[A total of 24 pull requests][0.5.8-prs] were merged this release cycle! Some highlights:
1118

Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ members = [
1818

1919
[package]
2020
name = "sqlx"
21-
version = "0.5.8"
21+
version = "0.5.9"
2222
license = "MIT OR Apache-2.0"
2323
readme = "README.md"
2424
repository = "https://github.com/launchbadge/sqlx"
@@ -132,8 +132,8 @@ bstr = ["sqlx-core/bstr"]
132132
git2 = ["sqlx-core/git2"]
133133

134134
[dependencies]
135-
sqlx-core = { version = "0.5.7", path = "sqlx-core", default-features = false }
136-
sqlx-macros = { version = "0.5.7", path = "sqlx-macros", default-features = false, optional = true }
135+
sqlx-core = { version = "0.5.9", path = "sqlx-core", default-features = false }
136+
sqlx-macros = { version = "0.5.9", path = "sqlx-macros", default-features = false, optional = true }
137137

138138
[dev-dependencies]
139139
anyhow = "1.0.31"

prep-release.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env sh
2+
set -ex
3+
4+
VERSION=$1
5+
6+
if [ -z "$VERSION" ]
7+
then
8+
echo "USAGE: ./prep-release.sh <version>"
9+
exit 1
10+
fi
11+
12+
cargo set-version -p sqlx-rt "$VERSION"
13+
cargo set-version -p sqlx-core "$VERSION"
14+
cargo set-version -p sqlx-macros "$VERSION"
15+
cargo set-version -p sqlx "$VERSION"
16+
cargo set-version -p sqlx-cli "$VERSION"

sqlx-cli/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-cli"
3-
version = "0.5.8"
3+
version = "0.5.9"
44
description = "Command-line utility for SQLx, the Rust SQL toolkit."
55
edition = "2018"
66
readme = "README.md"
@@ -27,7 +27,7 @@ path = "src/bin/cargo-sqlx.rs"
2727
[dependencies]
2828
dotenv = "0.15"
2929
tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] }
30-
sqlx = { version = "0.5.7", path = "..", default-features = false, features = [
30+
sqlx = { version = "0.5.9", path = "..", default-features = false, features = [
3131
"runtime-async-std-native-tls",
3232
"migrate",
3333
"any",

sqlx-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-core"
3-
version = "0.5.8"
3+
version = "0.5.9"
44
repository = "https://github.com/launchbadge/sqlx"
55
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
66
license = "MIT OR Apache-2.0"
@@ -101,7 +101,7 @@ offline = ["serde", "either/serde"]
101101
[dependencies]
102102
ahash = "0.7.2"
103103
atoi = "0.4.0"
104-
sqlx-rt = { path = "../sqlx-rt", version = "0.5.6" }
104+
sqlx-rt = { path = "../sqlx-rt", version = "0.5.9"}
105105
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
106106
bigdecimal_ = { version = "0.2.0", optional = true, package = "bigdecimal" }
107107
rust_decimal = { version = "1.8.1", optional = true }

sqlx-macros/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-macros"
3-
version = "0.5.8"
3+
version = "0.5.9"
44
repository = "https://github.com/launchbadge/sqlx"
55
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
66
license = "MIT OR Apache-2.0"
@@ -84,8 +84,8 @@ heck = "0.3.1"
8484
either = "1.5.3"
8585
once_cell = "1.5.2"
8686
proc-macro2 = { version = "1.0.9", default-features = false }
87-
sqlx-core = { version = "0.5.7", default-features = false, path = "../sqlx-core" }
88-
sqlx-rt = { version = "0.5.7", default-features = false, path = "../sqlx-rt" }
87+
sqlx-core = { version = "0.5.9", default-features = false, path = "../sqlx-core" }
88+
sqlx-rt = { version = "0.5.9", default-features = false, path = "../sqlx-rt" }
8989
serde = { version = "1.0.111", features = ["derive"], optional = true }
9090
serde_json = { version = "1.0.30", features = ["preserve_order"], optional = true }
9191
sha2 = { version = "0.9.1", optional = true }

sqlx-rt/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-rt"
3-
version = "0.5.8"
3+
version = "0.5.9"
44
repository = "https://github.com/launchbadge/sqlx"
55
license = "MIT OR Apache-2.0"
66
description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."

0 commit comments

Comments
 (0)