Skip to content

Commit

Permalink
chore: prepare release 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abonander committed Aug 24, 2024
1 parent 0aa0676 commit 9c94ce8
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 16 deletions.
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,72 @@ 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.8.1 - 2024-08-23

16 pull requests were merged this release cycle.

This release contains a fix for [RUSTSEC-2024-0363].

Postgres users are advised to upgrade ASAP as a possible exploit has been demonstrated:
<https://github.com/launchbadge/sqlx/issues/3440#issuecomment-2307956901>

MySQL and SQLite do not _appear_ to be exploitable, but upgrading is recommended nonetheless.

### Added
* [[#3421]]: correct spelling of `MySqlConnectOptions::no_engine_substitution()` [[@kolinfluence]]
* Deprecates `MySqlConnectOptions::no_engine_subsitution()` (oops) in favor of the correctly spelled version.

### Changed
* [[#3376]]: doc: hide `spec_error` module [[@abonander]]
* This is a helper module for the macros and was not meant to be exposed.
* It is not expected to receive any breaking changes for the 0.8.x release, but is not designed as a public API.
Use at your own risk.
* [[#3382]]: feat: bumped to `libsqlite3-sys=0.30.1` to support sqlite 3.46 [[@CommanderStorm]]
* [[#3385]]: chore(examples):Migrated the pg-chat example to ratatui [[@CommanderStorm]]
* [[#3399]]: Upgrade to rustls 0.23 [[@djc]]
* RusTLS now has pluggable cryptography providers: `ring` (the existing implementation),
and `aws-lc-rs` which has optional FIPS certification.
* The existing features activating RusTLS (`runtime-tokio-rustls`, `runtime-async-std-rustls`, `tls-rustls`)
enable the `ring` provider of RusTLS to match the existing behavior so this _should not_ be a breaking change.
* Switch to the `tls-rustls-aws-lc-rs` feature to use the `aws-lc-rs` provider.
* If using `runtime-tokio-rustls` or `runtime-async-std-rustls`,
this will necessitate switching to the appropriate non-legacy runtime feature:
`runtime-tokio` or `runtime-async-std`
* See the RusTLS README for more details: <https://github.com/rustls/rustls?tab=readme-ov-file#cryptography-providers>

### Fixed
* [[#2786]]: fix(sqlx-cli): do not clean sqlx during prepare [[@cycraig]]
* [[#3354]]: sqlite: fix inconsistent read-after-write [[@ckampfe]]
* [[#3371]]: Fix encoding and decoding of MySQL enums in `sqlx::Type` [[@alu]]
* [[#3374]]: fix: usage of `node12` in `SQLx` action [[@hamirmahal]]
* [[#3380]]: chore: replace structopt with clap in examples [[@tottoto]]
* [[#3381]]: Fix CI after Rust 1.80, remove dead feature references [[@abonander]]
* [[#3384]]: chore(tests): fixed deprecation warnings [[@CommanderStorm]]
* [[#3386]]: fix(dependencys):bumped cargo_metadata to `v0.18.1` to avoid yanked `v0.14.3` [[@CommanderStorm]]
* [[#3389]]: fix(cli): typo in error for required DB URL [[@ods]]
* [[#3417]]: Update version to 0.8 in README [[@soucosmo]]
* [[#3441]]: fix: audit protocol handling [[@abonander]]
* This addresses [RUSTSEC-2024-0363] and includes regression tests for MySQL, Postgres and SQLite.

[#2786]: https://github.com/launchbadge/sqlx/pull/2786
[#3354]: https://github.com/launchbadge/sqlx/pull/3354
[#3371]: https://github.com/launchbadge/sqlx/pull/3371
[#3374]: https://github.com/launchbadge/sqlx/pull/3374
[#3376]: https://github.com/launchbadge/sqlx/pull/3376
[#3380]: https://github.com/launchbadge/sqlx/pull/3380
[#3381]: https://github.com/launchbadge/sqlx/pull/3381
[#3382]: https://github.com/launchbadge/sqlx/pull/3382
[#3384]: https://github.com/launchbadge/sqlx/pull/3384
[#3385]: https://github.com/launchbadge/sqlx/pull/3385
[#3386]: https://github.com/launchbadge/sqlx/pull/3386
[#3389]: https://github.com/launchbadge/sqlx/pull/3389
[#3399]: https://github.com/launchbadge/sqlx/pull/3399
[#3417]: https://github.com/launchbadge/sqlx/pull/3417
[#3421]: https://github.com/launchbadge/sqlx/pull/3421
[#3441]: https://github.com/launchbadge/sqlx/pull/3441

[RUSTSEC-2024-0363]: https://rustsec.org/advisories/RUSTSEC-2024-0363.html

## 0.8.0 - 2024-07-22

70 pull requests were merged this release cycle.
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ members = [
]

[workspace.package]
version = "0.8.0"
version = "0.8.1"
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/launchbadge/sqlx"
Expand Down Expand Up @@ -118,17 +118,17 @@ regexp = ["sqlx-sqlite?/regexp"]

[workspace.dependencies]
# Core Crates
sqlx-core = { version = "=0.8.0", path = "sqlx-core" }
sqlx-macros-core = { version = "=0.8.0", path = "sqlx-macros-core" }
sqlx-macros = { version = "=0.8.0", path = "sqlx-macros" }
sqlx-core = { version = "=0.8.1", path = "sqlx-core" }
sqlx-macros-core = { version = "=0.8.1", path = "sqlx-macros-core" }
sqlx-macros = { version = "=0.8.1", path = "sqlx-macros" }

# Driver crates
sqlx-mysql = { version = "=0.8.0", path = "sqlx-mysql" }
sqlx-postgres = { version = "=0.8.0", path = "sqlx-postgres" }
sqlx-sqlite = { version = "=0.8.0", path = "sqlx-sqlite" }
sqlx-mysql = { version = "=0.8.1", path = "sqlx-mysql" }
sqlx-postgres = { version = "=0.8.1", path = "sqlx-postgres" }
sqlx-sqlite = { version = "=0.8.1", path = "sqlx-sqlite" }

# Facade crate (for reference from sqlx-cli)
sqlx = { version = "=0.8.0", path = ".", default-features = false }
sqlx = { version = "=0.8.1", path = ".", default-features = false }

# Common type integrations shared by multiple driver crates.
# These are optional unless enabled in a workspace crate.
Expand Down

0 comments on commit 9c94ce8

Please sign in to comment.