Skip to content

Commit 28cfdbb

Browse files
authored
Release/0.8.3 (launchbadge#3663)
* chore: create 0.8.3 release * fix: prevent dead-branch warning from Clippy in query macros cc launchbadge#3595 * fix: move `#[allow]` from previous commit to the `if` block
1 parent dfd0ac5 commit 28cfdbb

File tree

4 files changed

+134
-17
lines changed

4 files changed

+134
-17
lines changed

Diff for: CHANGELOG.md

+116
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,101 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.8.3 - 2025-01-03
9+
10+
41 pull requests were merged this release cycle.
11+
12+
### Added
13+
* [[#3418]]: parse timezone parameter in mysql connection url [[@dojiong]]
14+
* [[#3491]]: chore: Update async-std v1.13 [[@jayvdb]]
15+
* [[#3492]]: expose relation_id and relation_attribution_no on PgColumn [[@kurtbuilds]]
16+
* [[#3493]]: doc(sqlite): document behavior for zoned date-time types [[@abonander]]
17+
* [[#3500]]: Add sqlite commit and rollback hooks [[@gridbox]]
18+
* [[#3505]]: chore(mysql): create test for passwordless auth (#3484) [[@abonander]]
19+
* [[#3507]]: Add a "sqlite-unbundled" feature that dynamically links to system libsqlite3.so library [[@lilydjwg]]
20+
* [[#3508]]: doc(sqlite): show how to turn options into a pool [[@M3t0r]]
21+
* [[#3514]]: Support PgHstore by default in macros [[@joeydewaal]]
22+
* [[#3550]]: Implement Acquire for PgListener [[@sandhose]]
23+
* [[#3551]]: Support building with rustls but native certificates [[@IlyaBizyaev]]
24+
* [[#3553]]: Add support for Postgres lquery arrays [[@philipcristiano]]
25+
* [[#3560]]: Add PgListener::next_buffered(), to support batch processing of notifications [[@chanks]]
26+
* [[#3577]]: Derive Copy where possible for database-specific types [[@veigaribo]]
27+
* [[#3579]]: Reexport AnyTypeInfoKind [[@Norlock]]
28+
* [[#3580]]: doc(mysql): document difference between `Uuid` and `uuid::fmt::Hyphenated` [[@abonander]]
29+
* [[#3583]]: feat: point [[@jayy-lmao]]
30+
* [[#3608]]: Implement AnyQueryResult for Sqlite and MySQL [[@pxp9]]
31+
* [[#3623]]: feat: add geometry line [[@jayy-lmao]]
32+
* [[#3658]]: feat: add Transaction type aliases [[@joeydewaal]]
33+
34+
### Changed
35+
* [[#3519]]: Remove unused dependencies from sqlx-core, sqlx-cli and sqlx-postgres [[@vsuryamurthy]]
36+
* [[#3529]]: Box Pgconnection fields [[@joeydewaal]]
37+
* [[#3548]]: Demote `.pgpass` file warning to a debug message. [[@denschub]]
38+
* [[#3585]]: Eagerly reconnect in `PgListener::try_recv` [[@swlynch99]]
39+
* [[#3596]]: Bump thiserror to v2.0.0 [[@paolobarbolini]]
40+
* [[#3605]]: Use `UNION ALL` instead of `UNION` in nullable check [[@Suficio]]
41+
* [[#3629]]: chore: remove BoxFuture's (non-breaking) [[@joeydewaal]]
42+
* [[#3632]]: Bump hashlink to v0.10 [[@paolobarbolini]]
43+
* [[#3643]]: Roll PostgreSQL 11..=15 tests to 13..=17 [[@paolobarbolini]]
44+
* [[#3648]]: close listener connection on TimedOut and BrokenPipe errors [[@DXist]]
45+
* [[#3649]]: Bump hashbrown to v0.15 [[@paolobarbolini]]
46+
47+
### Fixed
48+
* [[#3528]]: fix: obey `no-transaction` flag in down migrations [[@manifest]]
49+
* [[#3536]]: fix: using sqlx::test macro inside macro's [[@joeydewaal]]
50+
* [[#3545]]: fix: remove `sqlformat` [[@tbar4]]
51+
* [[#3558]]: fix: fix example code of `query_as` [[@xuehaonan27]]
52+
* [[#3566]]: Fix: Cannot query Postgres `INTERVAL[]` [[@Ddystopia]]
53+
* [[#3593]]: fix: URL decode database name when parsing connection url [[@BenoitRanque]]
54+
* [[#3601]]: Remove default-features = false from url [[@hsivonen]]
55+
* [[#3604]]: Fix mistake in sqlx::test fixtures docs [[@andreweggleston]]
56+
* [[#3612]]: fix(mysql): percent-decode database name [[@abonander]]
57+
* [[#3640]]: Dont use `EXPLAIN` in nullability check for QuestDB [[@Suficio]]
58+
59+
[#3418]: https://github.com/launchbadge/sqlx/pull/3418
60+
[#3478]: https://github.com/launchbadge/sqlx/pull/3478
61+
[#3491]: https://github.com/launchbadge/sqlx/pull/3491
62+
[#3492]: https://github.com/launchbadge/sqlx/pull/3492
63+
[#3493]: https://github.com/launchbadge/sqlx/pull/3493
64+
[#3500]: https://github.com/launchbadge/sqlx/pull/3500
65+
[#3505]: https://github.com/launchbadge/sqlx/pull/3505
66+
[#3507]: https://github.com/launchbadge/sqlx/pull/3507
67+
[#3508]: https://github.com/launchbadge/sqlx/pull/3508
68+
[#3514]: https://github.com/launchbadge/sqlx/pull/3514
69+
[#3519]: https://github.com/launchbadge/sqlx/pull/3519
70+
[#3528]: https://github.com/launchbadge/sqlx/pull/3528
71+
[#3529]: https://github.com/launchbadge/sqlx/pull/3529
72+
[#3536]: https://github.com/launchbadge/sqlx/pull/3536
73+
[#3545]: https://github.com/launchbadge/sqlx/pull/3545
74+
[#3548]: https://github.com/launchbadge/sqlx/pull/3548
75+
[#3550]: https://github.com/launchbadge/sqlx/pull/3550
76+
[#3551]: https://github.com/launchbadge/sqlx/pull/3551
77+
[#3553]: https://github.com/launchbadge/sqlx/pull/3553
78+
[#3558]: https://github.com/launchbadge/sqlx/pull/3558
79+
[#3560]: https://github.com/launchbadge/sqlx/pull/3560
80+
[#3566]: https://github.com/launchbadge/sqlx/pull/3566
81+
[#3577]: https://github.com/launchbadge/sqlx/pull/3577
82+
[#3579]: https://github.com/launchbadge/sqlx/pull/3579
83+
[#3580]: https://github.com/launchbadge/sqlx/pull/3580
84+
[#3583]: https://github.com/launchbadge/sqlx/pull/3583
85+
[#3585]: https://github.com/launchbadge/sqlx/pull/3585
86+
[#3593]: https://github.com/launchbadge/sqlx/pull/3593
87+
[#3596]: https://github.com/launchbadge/sqlx/pull/3596
88+
[#3601]: https://github.com/launchbadge/sqlx/pull/3601
89+
[#3604]: https://github.com/launchbadge/sqlx/pull/3604
90+
[#3605]: https://github.com/launchbadge/sqlx/pull/3605
91+
[#3608]: https://github.com/launchbadge/sqlx/pull/3608
92+
[#3612]: https://github.com/launchbadge/sqlx/pull/3612
93+
[#3623]: https://github.com/launchbadge/sqlx/pull/3623
94+
[#3629]: https://github.com/launchbadge/sqlx/pull/3629
95+
[#3632]: https://github.com/launchbadge/sqlx/pull/3632
96+
[#3640]: https://github.com/launchbadge/sqlx/pull/3640
97+
[#3643]: https://github.com/launchbadge/sqlx/pull/3643
98+
[#3648]: https://github.com/launchbadge/sqlx/pull/3648
99+
[#3649]: https://github.com/launchbadge/sqlx/pull/3649
100+
[#3658]: https://github.com/launchbadge/sqlx/pull/3658
101+
102+
8103
## 0.8.2 - 2024-09-02
9104

10105
10 pull requests were merged this release cycle.
@@ -2584,3 +2679,24 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
25842679
[@carschandler]: https://github.com/carschandler
25852680
[@kdesjard]: https://github.com/kdesjard
25862681
[@luveti]: https://github.com/luveti
2682+
[@dojiong]: https://github.com/dojiong
2683+
[@jayvdb]: https://github.com/jayvdb
2684+
[@kurtbuilds]: https://github.com/kurtbuilds
2685+
[@lilydjwg]: https://github.com/lilydjwg
2686+
[@M3t0r]: https://github.com/M3t0r
2687+
[@vsuryamurthy]: https://github.com/vsuryamurthy
2688+
[@manifest]: https://github.com/manifest
2689+
[@tbar4]: https://github.com/tbar4
2690+
[@sandhose]: https://github.com/sandhose
2691+
[@IlyaBizyaev]: https://github.com/IlyaBizyaev
2692+
[@philipcristiano]: https://github.com/philipcristiano
2693+
[@xuehaonan27]: https://github.com/xuehaonan27
2694+
[@chanks]: https://github.com/chanks
2695+
[@Ddystopia]: https://github.com/Ddystopia
2696+
[@veigaribo]: https://github.com/veigaribo
2697+
[@Norlock]: https://github.com/Norlock
2698+
[@swlynch99]: https://github.com/swlynch99
2699+
[@BenoitRanque]: https://github.com/BenoitRanque
2700+
[@hsivonen]: https://github.com/hsivonen
2701+
[@andreweggleston]: https://github.com/andreweggleston
2702+
[@Suficio]: https://github.com/Suficio

Diff for: Cargo.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ members = [
2323
]
2424

2525
[workspace.package]
26-
version = "0.8.2"
26+
version = "0.8.3"
2727
license = "MIT OR Apache-2.0"
2828
edition = "2021"
2929
repository = "https://github.com/launchbadge/sqlx"
@@ -124,17 +124,17 @@ regexp = ["sqlx-sqlite?/regexp"]
124124

125125
[workspace.dependencies]
126126
# Core Crates
127-
sqlx-core = { version = "=0.8.2", path = "sqlx-core" }
128-
sqlx-macros-core = { version = "=0.8.2", path = "sqlx-macros-core" }
129-
sqlx-macros = { version = "=0.8.2", path = "sqlx-macros" }
127+
sqlx-core = { version = "=0.8.3", path = "sqlx-core" }
128+
sqlx-macros-core = { version = "=0.8.3", path = "sqlx-macros-core" }
129+
sqlx-macros = { version = "=0.8.3", path = "sqlx-macros" }
130130

131131
# Driver crates
132-
sqlx-mysql = { version = "=0.8.2", path = "sqlx-mysql" }
133-
sqlx-postgres = { version = "=0.8.2", path = "sqlx-postgres" }
134-
sqlx-sqlite = { version = "=0.8.2", path = "sqlx-sqlite" }
132+
sqlx-mysql = { version = "=0.8.3", path = "sqlx-mysql" }
133+
sqlx-postgres = { version = "=0.8.3", path = "sqlx-postgres" }
134+
sqlx-sqlite = { version = "=0.8.3", path = "sqlx-sqlite" }
135135

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

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

Diff for: sqlx-macros-core/src/query/args.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ pub fn quote_args<DB: DatabaseExt>(
7474

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

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

9192
// this causes move-analysis to effectively ignore this block
92-
::std::panic!();
93+
::std::unreachable!();
9394
}
9495
))
9596
})

0 commit comments

Comments
 (0)