Skip to content

Commit

Permalink
prepare 0.5.9 hotfix release (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
abonander authored Oct 1, 2021
1 parent 1b5dd65 commit 9abe9b3
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 17 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
16 changes: 16 additions & 0 deletions prep-release.sh
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions sqlx-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions sqlx-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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 }
Expand Down
6 changes: 3 additions & 3 deletions sqlx-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion sqlx-rt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand Down

0 comments on commit 9abe9b3

Please sign in to comment.