Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 0.7.1 release #2621

Merged
merged 1 commit into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,53 @@ 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.7.1 - 2023-07-14

This release mainly addresses issues reported with the 0.7.0 release.

16 pull requests were merged this release cycle.

### Added
* [[#2551]]: Introduce build_query_scalar for QueryBuilder [[@iamquang95]]
* [[#2605]]: Implement Default for QueryBuilder [[@Xydez]]
* [[#2616]]: feat(sqlx-core): add table function to database error [[@saiintbrisson]]
* [[#2619]]: feat: allow opt-out of `PgHasArrayType` with `#[derive(sqlx::Type)]` [[@abonander]]
* TL;DR: if you're getting errors from `#[derive(sqlx::Type)]` with `#[sqlx(transparent)]`
regarding `PgHasArrayType` not being implemented, add `#[sqlx(no_pg_array)]` to fix.

### Changed
* [[#2566]]: improve docs about migration files [[@jnnnnn]]
* [[#2576]]: Major Version Update clap to 4.0 [[@titaniumtraveler]]
* [[#2597]]: Bump webpki-roots to v0.24 [[@paolobarbolini]]
* [[#2603]]: docs(changelog): be more verbose about offline mode breaking change [[@mrl5]]

### Fixed
* [[#2553]]: Implement `Clone` for `PoolOptions` manually (#2548) [[@alilleybrinker]]
* [[#2580]]: Update README.md now that 0.7.0 is no longer in alpha [[@saolof]]
* [[#2585]]: Fix for Issue #2549 - cannot use feature "rust_decimal" without also using "bigdecimal" [[@deneut]]
* [[#2586]]: Fix optional dependency on sqlx-macros [[@kitterion]]
* [[#2593]]: Correct mention of the `tls-native-tls` in the documentation. [[@denschub]]
* [[#2599]]: Remove incorrect CAST in test database cleanup for MySQL. [[@fd]]
* [[#2613]]: Fix readme.md to reduce confusion about optional features (decimal->rust_decimal) [[@vabka]]
* [[#2620]]: fix(sqlite/any): encode bool as integer [[@saiintbrisson]]

[#2551]: https://github.com/launchbadge/sqlx/pull/2551
[#2553]: https://github.com/launchbadge/sqlx/pull/2553
[#2566]: https://github.com/launchbadge/sqlx/pull/2566
[#2576]: https://github.com/launchbadge/sqlx/pull/2576
[#2580]: https://github.com/launchbadge/sqlx/pull/2580
[#2585]: https://github.com/launchbadge/sqlx/pull/2585
[#2586]: https://github.com/launchbadge/sqlx/pull/2586
[#2593]: https://github.com/launchbadge/sqlx/pull/2593
[#2597]: https://github.com/launchbadge/sqlx/pull/2597
[#2599]: https://github.com/launchbadge/sqlx/pull/2599
[#2603]: https://github.com/launchbadge/sqlx/pull/2603
[#2605]: https://github.com/launchbadge/sqlx/pull/2605
[#2613]: https://github.com/launchbadge/sqlx/pull/2613
[#2616]: https://github.com/launchbadge/sqlx/pull/2616
[#2619]: https://github.com/launchbadge/sqlx/pull/2619
[#2620]: https://github.com/launchbadge/sqlx/pull/2620

## 0.7.0 - 2023-06-30

At least **70 pull requests** were merged this release cycle! (The exact count is muddied with pull requests for alpha
Expand Down Expand Up @@ -1882,3 +1929,13 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
[@titaniumtraveler]: https://github.com/titaniumtraveler
[@nyurik]: https://github.com/nyurik
[@stepantubanov]: https://github.com/stepantubanov
[@iamquang95]: https://github.com/iamquang95
[@jnnnnn]: https://github.com/jnnnnn
[@saolof]: https://github.com/saolof
[@deneut]: https://github.com/deneut
[@kitterion]: https://github.com/kitterion
[@denschub]: https://github.com/denschub
[@fd]: https://github.com/fd
[@mrl5]: https://github.com/mrl5
[@Xydez]: https://github.com/Xydez
[@vabka]: https://github.com/vabka
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 @@ -22,7 +22,7 @@ members = [
]

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

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

# Driver crates
sqlx-mysql = { version = "=0.7.0", path = "sqlx-mysql" }
sqlx-postgres = { version = "=0.7.0", path = "sqlx-postgres" }
sqlx-sqlite = { version = "=0.7.0", path = "sqlx-sqlite" }
sqlx-mysql = { version = "=0.7.1", path = "sqlx-mysql" }
sqlx-postgres = { version = "=0.7.1", path = "sqlx-postgres" }
sqlx-sqlite = { version = "=0.7.1", path = "sqlx-sqlite" }

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

# Common type integrations shared by multiple driver crates.
# These are optional unless enabled in a workspace crate.
Expand Down
2 changes: 0 additions & 2 deletions gen-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ set -e
PULLS='[]'
CURSOR='null'

VERSION=$1

MIN_MERGED_AT=$(date --date="$1" +%s)

while true
Expand Down
Loading