Skip to content
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
116 changes: 116 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,101 @@ 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.3 - 2025-01-03

41 pull requests were merged this release cycle.

### Added
* [[#3418]]: parse timezone parameter in mysql connection url [[@dojiong]]
* [[#3491]]: chore: Update async-std v1.13 [[@jayvdb]]
* [[#3492]]: expose relation_id and relation_attribution_no on PgColumn [[@kurtbuilds]]
* [[#3493]]: doc(sqlite): document behavior for zoned date-time types [[@abonander]]
* [[#3500]]: Add sqlite commit and rollback hooks [[@gridbox]]
* [[#3505]]: chore(mysql): create test for passwordless auth (#3484) [[@abonander]]
* [[#3507]]: Add a "sqlite-unbundled" feature that dynamically links to system libsqlite3.so library [[@lilydjwg]]
* [[#3508]]: doc(sqlite): show how to turn options into a pool [[@M3t0r]]
* [[#3514]]: Support PgHstore by default in macros [[@joeydewaal]]
* [[#3550]]: Implement Acquire for PgListener [[@sandhose]]
* [[#3551]]: Support building with rustls but native certificates [[@IlyaBizyaev]]
* [[#3553]]: Add support for Postgres lquery arrays [[@philipcristiano]]
* [[#3560]]: Add PgListener::next_buffered(), to support batch processing of notifications [[@chanks]]
* [[#3577]]: Derive Copy where possible for database-specific types [[@veigaribo]]
* [[#3579]]: Reexport AnyTypeInfoKind [[@Norlock]]
* [[#3580]]: doc(mysql): document difference between `Uuid` and `uuid::fmt::Hyphenated` [[@abonander]]
* [[#3583]]: feat: point [[@jayy-lmao]]
* [[#3608]]: Implement AnyQueryResult for Sqlite and MySQL [[@pxp9]]
* [[#3623]]: feat: add geometry line [[@jayy-lmao]]
* [[#3658]]: feat: add Transaction type aliases [[@joeydewaal]]

### Changed
* [[#3519]]: Remove unused dependencies from sqlx-core, sqlx-cli and sqlx-postgres [[@vsuryamurthy]]
* [[#3529]]: Box Pgconnection fields [[@joeydewaal]]
* [[#3548]]: Demote `.pgpass` file warning to a debug message. [[@denschub]]
* [[#3585]]: Eagerly reconnect in `PgListener::try_recv` [[@swlynch99]]
* [[#3596]]: Bump thiserror to v2.0.0 [[@paolobarbolini]]
* [[#3605]]: Use `UNION ALL` instead of `UNION` in nullable check [[@Suficio]]
* [[#3629]]: chore: remove BoxFuture's (non-breaking) [[@joeydewaal]]
* [[#3632]]: Bump hashlink to v0.10 [[@paolobarbolini]]
* [[#3643]]: Roll PostgreSQL 11..=15 tests to 13..=17 [[@paolobarbolini]]
* [[#3648]]: close listener connection on TimedOut and BrokenPipe errors [[@DXist]]
* [[#3649]]: Bump hashbrown to v0.15 [[@paolobarbolini]]

### Fixed
* [[#3528]]: fix: obey `no-transaction` flag in down migrations [[@manifest]]
* [[#3536]]: fix: using sqlx::test macro inside macro's [[@joeydewaal]]
* [[#3545]]: fix: remove `sqlformat` [[@tbar4]]
* [[#3558]]: fix: fix example code of `query_as` [[@xuehaonan27]]
* [[#3566]]: Fix: Cannot query Postgres `INTERVAL[]` [[@Ddystopia]]
* [[#3593]]: fix: URL decode database name when parsing connection url [[@BenoitRanque]]
* [[#3601]]: Remove default-features = false from url [[@hsivonen]]
* [[#3604]]: Fix mistake in sqlx::test fixtures docs [[@andreweggleston]]
* [[#3612]]: fix(mysql): percent-decode database name [[@abonander]]
* [[#3640]]: Dont use `EXPLAIN` in nullability check for QuestDB [[@Suficio]]

[#3418]: https://github.com/launchbadge/sqlx/pull/3418
[#3478]: https://github.com/launchbadge/sqlx/pull/3478
[#3491]: https://github.com/launchbadge/sqlx/pull/3491
[#3492]: https://github.com/launchbadge/sqlx/pull/3492
[#3493]: https://github.com/launchbadge/sqlx/pull/3493
[#3500]: https://github.com/launchbadge/sqlx/pull/3500
[#3505]: https://github.com/launchbadge/sqlx/pull/3505
[#3507]: https://github.com/launchbadge/sqlx/pull/3507
[#3508]: https://github.com/launchbadge/sqlx/pull/3508
[#3514]: https://github.com/launchbadge/sqlx/pull/3514
[#3519]: https://github.com/launchbadge/sqlx/pull/3519
[#3528]: https://github.com/launchbadge/sqlx/pull/3528
[#3529]: https://github.com/launchbadge/sqlx/pull/3529
[#3536]: https://github.com/launchbadge/sqlx/pull/3536
[#3545]: https://github.com/launchbadge/sqlx/pull/3545
[#3548]: https://github.com/launchbadge/sqlx/pull/3548
[#3550]: https://github.com/launchbadge/sqlx/pull/3550
[#3551]: https://github.com/launchbadge/sqlx/pull/3551
[#3553]: https://github.com/launchbadge/sqlx/pull/3553
[#3558]: https://github.com/launchbadge/sqlx/pull/3558
[#3560]: https://github.com/launchbadge/sqlx/pull/3560
[#3566]: https://github.com/launchbadge/sqlx/pull/3566
[#3577]: https://github.com/launchbadge/sqlx/pull/3577
[#3579]: https://github.com/launchbadge/sqlx/pull/3579
[#3580]: https://github.com/launchbadge/sqlx/pull/3580
[#3583]: https://github.com/launchbadge/sqlx/pull/3583
[#3585]: https://github.com/launchbadge/sqlx/pull/3585
[#3593]: https://github.com/launchbadge/sqlx/pull/3593
[#3596]: https://github.com/launchbadge/sqlx/pull/3596
[#3601]: https://github.com/launchbadge/sqlx/pull/3601
[#3604]: https://github.com/launchbadge/sqlx/pull/3604
[#3605]: https://github.com/launchbadge/sqlx/pull/3605
[#3608]: https://github.com/launchbadge/sqlx/pull/3608
[#3612]: https://github.com/launchbadge/sqlx/pull/3612
[#3623]: https://github.com/launchbadge/sqlx/pull/3623
[#3629]: https://github.com/launchbadge/sqlx/pull/3629
[#3632]: https://github.com/launchbadge/sqlx/pull/3632
[#3640]: https://github.com/launchbadge/sqlx/pull/3640
[#3643]: https://github.com/launchbadge/sqlx/pull/3643
[#3648]: https://github.com/launchbadge/sqlx/pull/3648
[#3649]: https://github.com/launchbadge/sqlx/pull/3649
[#3658]: https://github.com/launchbadge/sqlx/pull/3658


## 0.8.2 - 2024-09-02

10 pull requests were merged this release cycle.
Expand Down Expand Up @@ -2584,3 +2679,24 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
[@carschandler]: https://github.com/carschandler
[@kdesjard]: https://github.com/kdesjard
[@luveti]: https://github.com/luveti
[@dojiong]: https://github.com/dojiong
[@jayvdb]: https://github.com/jayvdb
[@kurtbuilds]: https://github.com/kurtbuilds
[@lilydjwg]: https://github.com/lilydjwg
[@M3t0r]: https://github.com/M3t0r
[@vsuryamurthy]: https://github.com/vsuryamurthy
[@manifest]: https://github.com/manifest
[@tbar4]: https://github.com/tbar4
[@sandhose]: https://github.com/sandhose
[@IlyaBizyaev]: https://github.com/IlyaBizyaev
[@philipcristiano]: https://github.com/philipcristiano
[@xuehaonan27]: https://github.com/xuehaonan27
[@chanks]: https://github.com/chanks
[@Ddystopia]: https://github.com/Ddystopia
[@veigaribo]: https://github.com/veigaribo
[@Norlock]: https://github.com/Norlock
[@swlynch99]: https://github.com/swlynch99
[@BenoitRanque]: https://github.com/BenoitRanque
[@hsivonen]: https://github.com/hsivonen
[@andreweggleston]: https://github.com/andreweggleston
[@Suficio]: https://github.com/Suficio
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.2"
version = "0.8.3"
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/launchbadge/sqlx"
Expand Down Expand Up @@ -124,17 +124,17 @@ regexp = ["sqlx-sqlite?/regexp"]

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

# Driver crates
sqlx-mysql = { version = "=0.8.2", path = "sqlx-mysql" }
sqlx-postgres = { version = "=0.8.2", path = "sqlx-postgres" }
sqlx-sqlite = { version = "=0.8.2", path = "sqlx-sqlite" }
sqlx-mysql = { version = "=0.8.3", path = "sqlx-mysql" }
sqlx-postgres = { version = "=0.8.3", path = "sqlx-postgres" }
sqlx-sqlite = { version = "=0.8.3", path = "sqlx-sqlite" }

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

# Common type integrations shared by multiple driver crates.
# These are optional unless enabled in a workspace crate.
Expand Down
3 changes: 2 additions & 1 deletion sqlx-macros-core/src/query/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pub fn quote_args<DB: DatabaseExt>(

Ok(quote_spanned!(expr.span() =>
// this shouldn't actually run
#[allow(clippy::missing_panics_doc, clippy::unreachable)]
if false {
use ::sqlx::ty_match::{WrapSameExt as _, MatchBorrowExt as _};

Expand All @@ -89,7 +90,7 @@ pub fn quote_args<DB: DatabaseExt>(
_ty_check = match_borrow.match_borrow();

// this causes move-analysis to effectively ignore this block
::std::panic!();
::std::unreachable!();
}
))
})
Expand Down
Loading