Skip to content

Commit fdbfc5d

Browse files
authored
Prepare 0.5.10 release (#1603)
* fix(cli): change new `rustls` and `native-tls` features to use correct runtime feature * chore: upgrade SQLx crates to 0.5.10, upgrade all dependencies to latest versions chore(cli): upgraded `clap` to `3.0.0-rc.9` * fix(tests/sqlite): ignore `issue_1467()` as spuriously failing I'm well aware of the principle that a spuriously failing test is a failing test, but even though I have it outputting the seed used with a reproducible PRNG, I can't reproduce the failures locally, so 🤷. * chore: add CHANGELOG entry for 0.5.10
1 parent aa40f5f commit fdbfc5d

File tree

11 files changed

+521
-528
lines changed

11 files changed

+521
-528
lines changed

Diff for: CHANGELOG.md

+100-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,86 @@ 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.5.10 - 2021-12-29
9+
[A whopping 31 pull requests][0.5.10-prs] were merged this release cycle!
10+
11+
According to this changelog, we saw 18 new contributors! However, some of these folks may have missed getting
12+
mentioned in previous entries since we only listed highlights. To avoid anyone feeling left out, I put in the effort
13+
this time and tried to list every single one here.
14+
15+
### Added
16+
* [[#1228]]: Add `Pool::any_kind()` [[@nitnelave]]
17+
* [[#1343]]: Add `Encode/Decode` impl for `Cow<'_, str>` [[@Drevoed]]
18+
* [[#1474]]: Derive `Clone`, `Copy` for `AnyKind` [[@yuyawk]]
19+
* [[#1497]]: Update FAQ to explain how to configure docs.rs to build a project using SQLx [[@russweas]]
20+
* [[#1498]]: Add description of migration file structure to `migrate!()` docs [[@zbigniewzolnierowicz]]
21+
* [[#1508]]: Add `.persistent(bool)` to `QueryAs`, `QueryScalar` [[@akiradeveloper]]
22+
* [[#1514]]: Add support for serialized threading mode to SQLite [[@LLBlumire]]
23+
* [[#1523]]: Allow `rust_decimal::Decimal` in `PgRange` [[@meh]]
24+
* [[#1539]]: Support `PGOPTIONS` and adding custom configuration options in `PgConnectOptions` [[@liushuyu]]
25+
* [[#1562]]: Re-export `either::Either` used by `Executor::fetch_many()` [[@DoumanAsh]]
26+
* [[#1584]]: Add feature to use RusTLS instead of `native-tls` for `sqlx-cli` [[@SonicZentropy]]
27+
* [[#1592]]: Add `AnyConnection::kind()` [[@05storm26]]
28+
29+
### Changes
30+
* [[#1385]]: Rewrite Postgres array handling to reduce boilerplate and allow custom types [[@jplatte]]
31+
* [[#1479]]: Remove outdated mention of `runtime-async-std-native-tls` as the default runtime in README.md [[@yerke]]
32+
* [[#1526]]: Revise `Pool` docs in a couple places [[@abonander]]
33+
* [[#1535]]: Bump `libsqlite-sys` to `0.23.1` [[@nitsky]]
34+
* [[#1551]]: SQLite: make worker thread responsible for all FFI calls [[@abonander]]
35+
* If you were encountering segfaults with the SQLite driver, there's a good chance this will fix it!
36+
* [[#1557]]: CI: test with Postgres 14 [[@paolobarbolini]]
37+
* [[#1571]]: Make `whoami` dep optional, only pull it in for Postgres [[@joshtriplett]]
38+
* [[#1572]]: Update `rsa` crate to 0.5 [[@paolobarbolini]]
39+
* [[#1591]]: List SeaORM as an ORM option in the README [[@kunjee17]]
40+
* [[#1601]]: Update `itoa` and `dirs` [[@paolobarbolini]]
41+
42+
### Fixes
43+
* [[#1475]]: Fix panic when converting a negative `chrono::Duration` to `PgInterval` [[@yuyawk]]
44+
* [[#1483]]: Fix error when decoding array of custom types from Postgres [[@demurgos]
45+
* [[#1501]]: Reduce `indexmap` version requirement to `1.6.2` [[@dimfeld]]
46+
* [[#1511]]: Fix element type given to Postgres for arrays of custom enums [[@chesedo]]
47+
* [[#1517]]: Fix mismatched type errors in MySQL type tests [[@abonander]]
48+
* [[#1537]]: Fix missing re-export of `PgCopyIn` [[@akiradeveloper]]
49+
* [[#1566]]: Match `~/.pgpass` password after URL parsing and fix user and database ordering [[@D1plo1d]]
50+
* [[#1582]]: `cargo sqlx prepare`: Append to existing `RUSTFLAGS` instead of overwriting [[@tkintscher]]
51+
* [[#1587]]: SQLite: if set, send `PRAGMA key` on a new connection before anything else. [[@parazyd]]
52+
* This should fix problems with being unable to open databases using SQLCipher.
53+
54+
55+
[#1228]: https://github.com/launchbadge/sqlx/pull/1228
56+
[#1343]: https://github.com/launchbadge/sqlx/pull/1343
57+
[#1385]: https://github.com/launchbadge/sqlx/pull/1385
58+
[#1474]: https://github.com/launchbadge/sqlx/pull/1474
59+
[#1475]: https://github.com/launchbadge/sqlx/pull/1475
60+
[#1479]: https://github.com/launchbadge/sqlx/pull/1479
61+
[#1483]: https://github.com/launchbadge/sqlx/pull/1483
62+
[#1497]: https://github.com/launchbadge/sqlx/pull/1497
63+
[#1498]: https://github.com/launchbadge/sqlx/pull/1498
64+
[#1501]: https://github.com/launchbadge/sqlx/pull/1501
65+
[#1508]: https://github.com/launchbadge/sqlx/pull/1508
66+
[#1511]: https://github.com/launchbadge/sqlx/pull/1511
67+
[#1514]: https://github.com/launchbadge/sqlx/pull/1514
68+
[#1517]: https://github.com/launchbadge/sqlx/pull/1517
69+
[#1523]: https://github.com/launchbadge/sqlx/pull/1523
70+
[#1526]: https://github.com/launchbadge/sqlx/pull/1526
71+
[#1535]: https://github.com/launchbadge/sqlx/pull/1535
72+
[#1537]: https://github.com/launchbadge/sqlx/pull/1537
73+
[#1539]: https://github.com/launchbadge/sqlx/pull/1539
74+
[#1551]: https://github.com/launchbadge/sqlx/pull/1551
75+
[#1557]: https://github.com/launchbadge/sqlx/pull/1557
76+
[#1562]: https://github.com/launchbadge/sqlx/pull/1562
77+
[#1566]: https://github.com/launchbadge/sqlx/pull/1566
78+
[#1571]: https://github.com/launchbadge/sqlx/pull/1571
79+
[#1572]: https://github.com/launchbadge/sqlx/pull/1572
80+
[#1582]: https://github.com/launchbadge/sqlx/pull/1582
81+
[#1584]: https://github.com/launchbadge/sqlx/pull/1584
82+
[#1587]: https://github.com/launchbadge/sqlx/pull/1587
83+
[#1591]: https://github.com/launchbadge/sqlx/pull/1591
84+
[#1592]: https://github.com/launchbadge/sqlx/pull/1592
85+
[#1601]: https://github.com/launchbadge/sqlx/pull/1601
86+
[0.5.10-prs]: https://github.com/launchbadge/sqlx/pulls?page=1&q=is%3Apr+merged%3A2021-10-02..2021-12-31+sort%3Acreated-asc
87+
888
## 0.5.9 - 2021-10-01
989

1090
A hotfix release to address the issue of the `sqlx` crate itself still depending on older versions of `sqlx-core` and
@@ -994,4 +1074,23 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
9941074
[@djmarcin]: https://github.com/djmarcin
9951075
[@ghassmo]: https://github.com/ghassmo
9961076
[@eagletmt]: https://github.com/eagletmt
997-
[@montanalow]: https://github.com/montanalow
1077+
[@montanalow]: https://github.com/montanalow
1078+
[@nitnelave]: https://github.com/nitnelave
1079+
[@Drevoed]: https://github.com/Drevoed
1080+
[@yuyawk]: https://github.com/yuyawk
1081+
[@yerke]: https://github.com/yerke
1082+
[@russweas]: https://github.com/russweas
1083+
[@zbigniewzolnierowicz]: https://github.com/zbigniewzolnierowicz
1084+
[@dimfeld]: https://github.com/dimfeld
1085+
[@akiradeveloper]: https://github.com/akiradeveloper
1086+
[@chesedo]: https://github.com/chesedo
1087+
[@LLBlumire]: https://github.com/LLBlumire
1088+
[@liushuyu]: https://github.com/liushuyu
1089+
[@paolobarbolini]: https://github.com/paolobarbolini
1090+
[@DoumanAsh]: https://github.com/DoumanAsh
1091+
[@D1plo1d]: https://github.com/D1plo1d
1092+
[@tkintscher]: https://github.com/tkintscher
1093+
[@SonicZentropy]: https://github.com/SonicZentropy
1094+
[@parazyd]: https://github.com/parazyd
1095+
[@kunjee17]: https://github.com/kunjee17
1096+
[@05storm26]: https://github.com/05storm26

0 commit comments

Comments
 (0)