Skip to content

Commit

Permalink
prepare 0.7.1 release (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
abonander committed Jul 15, 2023
1 parent f7ce8fd commit c70cfaf
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 18 deletions.
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

0 comments on commit c70cfaf

Please sign in to comment.