@@ -5,6 +5,91 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## 0.6.1 - 2022-08-02
9
+
10
+ [ 33 pull requests] [ 0.6.1-prs ] were merged this release cycle.
11
+
12
+ ### Added
13
+ * [[ #1495 ]] : Add example for manual implementation of the ` FromRow ` trait [[ @Erik1000 ]]
14
+ * [[ #1822 ]] : (Postgres) Add support for ` std::net::IpAddr ` [[ @meh ]]
15
+ * Decoding returns an error if the ` INET ` value in Postgres is a prefix and not a full address
16
+ (` /32 ` for IPv4, ` /128 ` for IPv6).
17
+ * [[ #1865 ]] : Add SQLite support for the ` time ` crate [[ @johnbcodes ]]
18
+ * [[ #1902 ]] : Add an example of how to use ` QueryBuilder::separated() ` [[ @sbeckeriv ]]
19
+ * [[ #1917 ]] : Added docs for ` sqlx::types::Json ` [[ @jayy-lmao ]]
20
+ * [[ #1919 ]] : Implement ` Clone ` for ` PoolOptions ` [[ @Thomasdezeeuw ]]
21
+ * [[ #1953 ]] : Support Rust arrays in Postgres [[ @e00E ]]
22
+ * [[ #1954 ]] : Add ` push_tuples ` for ` QueryBuilder ` [[ @0xdeafbeef ]]
23
+ * [[ #1959 ]] : Support ` #[sqlx(flatten)] ` attribute in ` FromRow ` [[ @TheoOiry ]]
24
+ * [[ #1967 ]] : Add example with external query files [[ @JoeyMckenzie ]]
25
+ * [[ #1985 ]] : Add ` query_builder::Separated::push_bind_unseparated() ` [[ @0xdeafbeef ]]
26
+ * [[ #2001 ]] : Implement ` #[sqlx::test] ` for general use
27
+ * Includes automatic database management, migration and fixture application.
28
+ * Drops support for end-of-lifed database versions, see PR for details.
29
+ * [[ #2005 ]] : ` QueryBuilder ` improvements [[ @abonander ]]
30
+ * Raw SQL getters, new method to build ` QueryAs ` instead of ` Query ` .
31
+ * [[ #2013 ]] : (SQLite) Allow VFS to be set as URL query parameter [[ @liningpan ]]
32
+
33
+ ### Changed
34
+ * [[ #1679 ]] : refactor: alias actix-* features to their equivalent tokio-* features [[ @robjtede ]]
35
+ * [[ #1906 ]] : replaced all uses of "uri" to "url" [[ @RomainStorai ]]
36
+ * [[ #1965 ]] : SQLite improvements [[ @abonander ]]
37
+ * [[ #1977 ]] : Docs: clarify relationship between ` query_as!() ` and ` FromRow ` [[ @abonander ]]
38
+ * [[ #2003 ]] : Replace ` dotenv ` with ` dotenvy ` [[ @abonander ]]
39
+
40
+ ### Fixed
41
+ * [[ #1802 ]] : Try avoiding a full clean in ` cargo sqlx prepare --merged ` [[ @LovecraftianHorror ]]
42
+ * [[ #1848 ]] : Fix type info access in ` Any ` database driver [[ @raviqqe ]]
43
+ * [[ #1910 ]] : Set ` CARGO_TARGET_DIR ` when compiling queries [[ @sedrik ]]
44
+ * [[ #1915 ]] : Pool: fix panic when using callbacks [[ @abonander ]]
45
+ * [[ #1930 ]] : Don't cache SQLite connection for macros [[ @LovecraftianHorror ]]
46
+ * [[ #1948 ]] : Fix panic in Postgres ` BYTEA ` decode [[ @e00E ]]
47
+ * [[ #1955 ]] : Fix typo in FAQ [[ @kenkoooo ]]
48
+ * [[ #1968 ]] : (Postgres) don't panic if ` S ` or ` V ` notice fields are not UTF-8 [[ @abonander ]]
49
+ * [[ #1969 ]] : Fix sqlx-cli build [[ @ivan ]]
50
+ * [[ #1974 ]] : Use the ` rust-cache ` action for CI [[ @abonander ]]
51
+ * [[ #1988 ]] : Agree on a single default runtime for the whole workspace [[ @crepererum ]]
52
+ * [[ #1989 ]] : Fix panics in ` PgListener ` [[ @crepererum ]]
53
+ * [[ #1990 ]] : Switch ` master ` to ` main ` in docs [[ @crepererum ]]
54
+ * The change had already been made in the repo, the docs were out of date.
55
+ * [[ #1993 ]] : Update versions in quickstart examples in README [[ @UramnOIL ]]
56
+
57
+ [ 0.6.1-prs ] : https://github.com/launchbadge/sqlx/pulls?page=1&q=is%3Apr+is%3Aclosed+merged%3A2022-06-17..2022-08-02
58
+
59
+ [ #1906 ] : https://github.com/launchbadge/sqlx/pull/1906
60
+ [ #1495 ] : https://github.com/launchbadge/sqlx/pull/1495
61
+ [ #1679 ] : https://github.com/launchbadge/sqlx/pull/1679
62
+ [ #1802 ] : https://github.com/launchbadge/sqlx/pull/1802
63
+ [ #1822 ] : https://github.com/launchbadge/sqlx/pull/1822
64
+ [ #1848 ] : https://github.com/launchbadge/sqlx/pull/1848
65
+ [ #1865 ] : https://github.com/launchbadge/sqlx/pull/1865
66
+ [ #1902 ] : https://github.com/launchbadge/sqlx/pull/1902
67
+ [ #1910 ] : https://github.com/launchbadge/sqlx/pull/1910
68
+ [ #1915 ] : https://github.com/launchbadge/sqlx/pull/1915
69
+ [ #1917 ] : https://github.com/launchbadge/sqlx/pull/1917
70
+ [ #1919 ] : https://github.com/launchbadge/sqlx/pull/1919
71
+ [ #1930 ] : https://github.com/launchbadge/sqlx/pull/1930
72
+ [ #1948 ] : https://github.com/launchbadge/sqlx/pull/1948
73
+ [ #1953 ] : https://github.com/launchbadge/sqlx/pull/1953
74
+ [ #1954 ] : https://github.com/launchbadge/sqlx/pull/1954
75
+ [ #1955 ] : https://github.com/launchbadge/sqlx/pull/1955
76
+ [ #1959 ] : https://github.com/launchbadge/sqlx/pull/1959
77
+ [ #1965 ] : https://github.com/launchbadge/sqlx/pull/1965
78
+ [ #1967 ] : https://github.com/launchbadge/sqlx/pull/1967
79
+ [ #1968 ] : https://github.com/launchbadge/sqlx/pull/1968
80
+ [ #1969 ] : https://github.com/launchbadge/sqlx/pull/1969
81
+ [ #1974 ] : https://github.com/launchbadge/sqlx/pull/1974
82
+ [ #1977 ] : https://github.com/launchbadge/sqlx/pull/1977
83
+ [ #1985 ] : https://github.com/launchbadge/sqlx/pull/1985
84
+ [ #1988 ] : https://github.com/launchbadge/sqlx/pull/1988
85
+ [ #1989 ] : https://github.com/launchbadge/sqlx/pull/1989
86
+ [ #1990 ] : https://github.com/launchbadge/sqlx/pull/1990
87
+ [ #1993 ] : https://github.com/launchbadge/sqlx/pull/1993
88
+ [ #2001 ] : https://github.com/launchbadge/sqlx/pull/2001
89
+ [ #2003 ] : https://github.com/launchbadge/sqlx/pull/2003
90
+ [ #2005 ] : https://github.com/launchbadge/sqlx/pull/2005
91
+ [ #2013 ] : https://github.com/launchbadge/sqlx/pull/2013
92
+
8
93
## 0.6.0 - 2022-06-16
9
94
10
95
This release marks the end of the 0.5.x series of releases and contains a number of breaking changes,
@@ -1411,3 +1496,17 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
1411
1496
[@ EthanYuan ]: https: // github.com/EthanYuan
1412
1497
[@ Nukesor ]: https: // github.com/Nukesor
1413
1498
[@ smonv]: https: // github.com/smonv
1499
+ [@ Erik1000 ]: https: // github.com/Erik1000
1500
+ [@ raviqqe]: https: // github.com/raviqqe
1501
+ [@ johnbcodes]: https: // github.com/johnbcodes
1502
+ [@ sbeckeriv]: https: // github.com/sbeckeriv
1503
+ [@ RomainStorai ]: https: // github.com/RomainStorai
1504
+ [@ jayy- lmao]: https: // github.com/jayy-lmao
1505
+ [@ Thomasdezeeuw ]: https: // github.com/Thomasdezeeuw
1506
+ [@ kenkoooo]: https: // github.com/kenkoooo
1507
+ [@ TheoOiry ]: https: // github.com/TheoOiry
1508
+ [@ JoeyMckenzie ]: https: // github.com/JoeyMckenzie
1509
+ [@ ivan]: https: // github.com/ivan
1510
+ [@ crepererum]: https: // github.com/crepererum
1511
+ [@ UramnOIL ]: https: // github.com/UramnOIL
1512
+ [@ liningpan]: https: // github.com/liningpan
0 commit comments