Skip to content

Commit dc88079

Browse files
authored
Merge branch 'launchbadge:main' into main
2 parents f8ff617 + c5357f1 commit dc88079

File tree

11 files changed

+703
-556
lines changed

11 files changed

+703
-556
lines changed

CHANGELOG.md

+126
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,113 @@ 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.7.4 - 2024-03-11
9+
10+
38 pull requests were merged this release cycle.
11+
12+
This is officially the **last** release of the 0.7.x release cycle.
13+
14+
As of this release, development of 0.8.0 has begun on `main` and only high-priority bugfixes may be backported.
15+
16+
### Added
17+
18+
* [[#2891]]: feat: expose getters for connect options fields [[@saiintbrisson]]
19+
* [[#2902]]: feat: add `to_url_lossy` to connect options [[@lily-mosquitoes]]
20+
* [[#2927]]: Support `query!` for cargo-free systems [[@kshramt]]
21+
* [[#2997]]: doc(FAQ): add entry explaining prepared statements [[@abonander]]
22+
* [[#3001]]: Update README to clarify MariaDB support [[@iangilfillan]]
23+
* [[#3004]]: feat(logging): Add numeric elapsed time field elapsed_secs [[@iamjpotts]]
24+
* [[#3007]]: feat: add `raw_sql` API [[@abonander]]
25+
* This hopefully makes it easier to find how to execute statements which are not supported by the default
26+
prepared statement interfaces `query*()` and `query!()`.
27+
* Improved documentation across the board for the `query*()` functions.
28+
* Deprecated: `execute_many()` and `fetch_many()` on interfaces that use prepared statements.
29+
* Multiple SQL statements in one query string were only supported by SQLite because its prepared statement
30+
interface is the *only* way to execute SQL. All other database flavors forbid multiple statements in
31+
one prepared statement string as an extra defense against SQL injection.
32+
* The new `raw_sql` API retains this functionality because it explicitly does *not* use prepared statements.
33+
Raw or text-mode query interfaces generally allow multiple statements in one query string, and this is
34+
supported by all current databases. Due to their nature, however, one cannot use bind parameters with them.
35+
* If this change affects you, an issue is open for discussion: https://github.com/launchbadge/sqlx/issues/3108
36+
* [[#3011]]: Added support to IpAddr with MySQL/MariaDB. [[@Icerath]]
37+
* [[#3013]]: Add default implementation for PgInterval [[@pawurb]]
38+
* [[#3018]]: Add default implementation for PgMoney [[@pawurb]]
39+
* [[#3026]]: Update docs to reflect support for MariaDB data types [[@iangilfillan]]
40+
* [[#3037]]: feat(mysql): allow to connect with mysql driver without default behavor [[@darkecho731]]
41+
42+
### Changed
43+
44+
* [[#2900]]: Show latest url to docs for macro.migrate [[@Vrajs16]]
45+
* [[#2914]]: Use `create_new` instead of `atomic-file-write` [[@mattfbacon]]
46+
* [[#2926]]: docs: update example for `PgConnectOptions` [[@Fyko]]
47+
* [[#2989]]: sqlx-core: Remove dotenvy dependency [[@joshtriplett]]
48+
* [[#2996]]: chore: Update ahash to 0.8.7 [[@takenoko-gohan]]
49+
* [[#3006]]: chore(deps): Replace unmaintained tempdir crate with tempfile [[@iamjpotts]]
50+
* [[#3008]]: chore: Ignore .sqlx folder created by running ci steps locally [[@iamjpotts]]
51+
* [[#3009]]: chore(dev-deps): Upgrade env_logger from 0.9 to 0.11 [[@iamjpotts]]
52+
* [[#3010]]: chore(deps): Upgrade criterion to 0.5.1 [[@iamjpotts]]
53+
* [[#3050]]: Optimize SASL auth in sqlx-postgres [[@mirek26]]
54+
* [[#3055]]: Set TCP_NODELAY option on TCP sockets [[@mirek26]]
55+
* [[#3065]]: Improve max_lifetime handling [[@mirek26]]
56+
* [[#3072]]: Change the name of "inner" function generated by `#[sqlx::test]` [[@ciffelia]]
57+
* [[#3083]]: Remove sha1 because it's not being used in postgres [[@rafaelGuerreiro]]
58+
59+
### Fixed
60+
61+
* [[#2898]]: Fixed docs [[@Vrajs16]]
62+
* [[#2905]]: fix(mysql): Close prepared statement if persistence is disabled [[@larsschumacher]]
63+
* [[#2913]]: Fix handling of deferred constraints [[@Thomasdezeeuw]]
64+
* [[#2919]]: fix duplicate "`" in FromRow "default" attribute doc comment [[@shengsheng]]
65+
* [[#2932]]: fix(postgres): avoid unnecessary flush in PgCopyIn::read_from [[@tsing]]
66+
* [[#2955]]: Minor fixes [[@Dawsoncodes]]
67+
* [[#2963]]: Fixed ReadMe badge styling [[@tadghh]]
68+
* [[#2976]]: fix: AnyRow not support PgType::Varchar [[@holicc]]
69+
* [[#3053]]: fix: do not panic when binding a large BigDecimal [[@Ekleog]]
70+
* [[#3056]]: fix: spans in sqlite tracing (#2876) [[@zoomiti]]
71+
* [[#3089]]: fix(migrate): improve error message when parsing version from filename [[@abonander]]
72+
* [[#3098]]: Migrations fixes [[@abonander]]
73+
* Unhides `sqlx::migrate::Migrator`.
74+
* Improves I/O error message when failing to read a file in `migrate!()`.
75+
76+
[#2891]: https://github.com/launchbadge/sqlx/pull/2891
77+
[#2898]: https://github.com/launchbadge/sqlx/pull/2898
78+
[#2900]: https://github.com/launchbadge/sqlx/pull/2900
79+
[#2902]: https://github.com/launchbadge/sqlx/pull/2902
80+
[#2905]: https://github.com/launchbadge/sqlx/pull/2905
81+
[#2913]: https://github.com/launchbadge/sqlx/pull/2913
82+
[#2914]: https://github.com/launchbadge/sqlx/pull/2914
83+
[#2919]: https://github.com/launchbadge/sqlx/pull/2919
84+
[#2926]: https://github.com/launchbadge/sqlx/pull/2926
85+
[#2927]: https://github.com/launchbadge/sqlx/pull/2927
86+
[#2932]: https://github.com/launchbadge/sqlx/pull/2932
87+
[#2955]: https://github.com/launchbadge/sqlx/pull/2955
88+
[#2963]: https://github.com/launchbadge/sqlx/pull/2963
89+
[#2976]: https://github.com/launchbadge/sqlx/pull/2976
90+
[#2989]: https://github.com/launchbadge/sqlx/pull/2989
91+
[#2996]: https://github.com/launchbadge/sqlx/pull/2996
92+
[#2997]: https://github.com/launchbadge/sqlx/pull/2997
93+
[#3001]: https://github.com/launchbadge/sqlx/pull/3001
94+
[#3004]: https://github.com/launchbadge/sqlx/pull/3004
95+
[#3006]: https://github.com/launchbadge/sqlx/pull/3006
96+
[#3007]: https://github.com/launchbadge/sqlx/pull/3007
97+
[#3008]: https://github.com/launchbadge/sqlx/pull/3008
98+
[#3009]: https://github.com/launchbadge/sqlx/pull/3009
99+
[#3010]: https://github.com/launchbadge/sqlx/pull/3010
100+
[#3011]: https://github.com/launchbadge/sqlx/pull/3011
101+
[#3013]: https://github.com/launchbadge/sqlx/pull/3013
102+
[#3018]: https://github.com/launchbadge/sqlx/pull/3018
103+
[#3026]: https://github.com/launchbadge/sqlx/pull/3026
104+
[#3037]: https://github.com/launchbadge/sqlx/pull/3037
105+
[#3050]: https://github.com/launchbadge/sqlx/pull/3050
106+
[#3053]: https://github.com/launchbadge/sqlx/pull/3053
107+
[#3055]: https://github.com/launchbadge/sqlx/pull/3055
108+
[#3056]: https://github.com/launchbadge/sqlx/pull/3056
109+
[#3065]: https://github.com/launchbadge/sqlx/pull/3065
110+
[#3072]: https://github.com/launchbadge/sqlx/pull/3072
111+
[#3083]: https://github.com/launchbadge/sqlx/pull/3083
112+
[#3089]: https://github.com/launchbadge/sqlx/pull/3089
113+
[#3098]: https://github.com/launchbadge/sqlx/pull/3098
114+
8115
## 0.7.3 - 2023-11-22
9116

10117
38 pull requests were merged this release cycle.
@@ -2135,3 +2242,22 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
21352242
[@Vrajs16]: https://github.com/Vrajs16
21362243
[@shiftrightonce]: https://github.com/shiftrightonce
21372244
[@tamasfe]: https://github.com/tamasfe
2245+
[@lily-mosquitoes]: https://github.com/lily-mosquitoes
2246+
[@larsschumacher]: https://github.com/larsschumacher
2247+
[@shengsheng]: https://github.com/shengsheng
2248+
[@Fyko]: https://github.com/Fyko
2249+
[@kshramt]: https://github.com/kshramt
2250+
[@Dawsoncodes]: https://github.com/Dawsoncodes
2251+
[@tadghh]: https://github.com/tadghh
2252+
[@holicc]: https://github.com/holicc
2253+
[@takenoko-gohan]: https://github.com/takenoko-gohan
2254+
[@iangilfillan]: https://github.com/iangilfillan
2255+
[@iamjpotts]: https://github.com/iamjpotts
2256+
[@Icerath]: https://github.com/Icerath
2257+
[@pawurb]: https://github.com/pawurb
2258+
[@darkecho731]: https://github.com/darkecho731
2259+
[@mirek26]: https://github.com/mirek26
2260+
[@Ekleog]: https://github.com/Ekleog
2261+
[@zoomiti]: https://github.com/zoomiti
2262+
[@ciffelia]: https://github.com/ciffelia
2263+
[@rafaelGuerreiro]: https://github.com/rafaelGuerreiro

0 commit comments

Comments
 (0)