Skip to content

Commit cb52c7c

Browse files
committed
chore: prep 0.6.1 release
1 parent b630d5c commit cb52c7c

File tree

8 files changed

+117
-18
lines changed

8 files changed

+117
-18
lines changed

CHANGELOG.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,91 @@ 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.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+
893
## 0.6.0 - 2022-06-16
994

1095
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
14111496
[@EthanYuan]: https://github.com/EthanYuan
14121497
[@Nukesor]: https://github.com/Nukesor
14131498
[@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

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ members = [
2020

2121
[package]
2222
name = "sqlx"
23-
version = "0.6.0"
23+
version = "0.6.1"
2424
license = "MIT OR Apache-2.0"
2525
readme = "README.md"
2626
repository = "https://github.com/launchbadge/sqlx"
@@ -125,8 +125,8 @@ bstr = ["sqlx-core/bstr"]
125125
git2 = ["sqlx-core/git2"]
126126

127127
[dependencies]
128-
sqlx-core = { version = "0.6.0", path = "sqlx-core", default-features = false }
129-
sqlx-macros = { version = "0.6.0", path = "sqlx-macros", default-features = false, optional = true }
128+
sqlx-core = { version = "0.6.1", path = "sqlx-core", default-features = false }
129+
sqlx-macros = { version = "0.6.1", path = "sqlx-macros", default-features = false, optional = true }
130130

131131
[dev-dependencies]
132132
anyhow = "1.0.52"

examples/postgres/axum-social-with-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
[dependencies]
99
# Primary crates
1010
axum = { version = "0.5.13", features = ["macros"] }
11-
sqlx = { version = "0.6.0", path = "../../../", features = ["runtime-tokio-rustls", "postgres", "time", "uuid"] }
11+
sqlx = { version = "0.6.1", path = "../../../", features = ["runtime-tokio-rustls", "postgres", "time", "uuid"] }
1212
tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] }
1313

1414
# Important secondary crates

sqlx-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-cli"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = "Command-line utility for SQLx, the Rust SQL toolkit."
55
edition = "2021"
66
readme = "README.md"
@@ -27,7 +27,7 @@ path = "src/bin/cargo-sqlx.rs"
2727
[dependencies]
2828
dotenvy = "0.15.0"
2929
tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread"] }
30-
sqlx = { version = "0.6.0", path = "..", default-features = false, features = [
30+
sqlx = { version = "0.6.1", path = "..", default-features = false, features = [
3131
"migrate",
3232
"any",
3333
"offline",

sqlx-core/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-core"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
repository = "https://github.com/launchbadge/sqlx"
55
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
66
license = "MIT OR Apache-2.0"
@@ -106,7 +106,7 @@ offline = ["serde", "either/serde"]
106106
paste = "1.0.6"
107107
ahash = "0.7.6"
108108
atoi = "1.0"
109-
sqlx-rt = { path = "../sqlx-rt", version = "0.6.0" }
109+
sqlx-rt = { path = "../sqlx-rt", version = "0.6.1" }
110110
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
111111
bigdecimal_ = { version = "0.3.0", optional = true, package = "bigdecimal" }
112112
rust_decimal = { version = "1.19.0", optional = true }
@@ -178,5 +178,5 @@ event-listener = "2.5.2"
178178
dotenvy = "0.15"
179179

180180
[dev-dependencies]
181-
sqlx = { version = "0.6.0", path = "..", features = ["postgres", "sqlite", "mysql"] }
181+
sqlx = { version = "0.6.1", path = "..", features = ["postgres", "sqlite", "mysql"] }
182182
tokio = { version = "1", features = ["rt"] }

sqlx-macros/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-macros"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
repository = "https://github.com/launchbadge/sqlx"
55
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
66
license = "MIT OR Apache-2.0"
@@ -75,8 +75,8 @@ heck = { version = "0.4", features = ["unicode"] }
7575
either = "1.6.1"
7676
once_cell = "1.9.0"
7777
proc-macro2 = { version = "1.0.36", default-features = false }
78-
sqlx-core = { version = "0.6.0", default-features = false, features = ["any"], path = "../sqlx-core" }
79-
sqlx-rt = { version = "0.6.0", default-features = false, path = "../sqlx-rt" }
78+
sqlx-core = { version = "0.6.1", default-features = false, features = ["any"], path = "../sqlx-core" }
79+
sqlx-rt = { version = "0.6.1", default-features = false, path = "../sqlx-rt" }
8080
serde = { version = "1.0.132", features = ["derive"], optional = true }
8181
serde_json = { version = "1.0.73", optional = true }
8282
sha2 = { version = "0.10.0", optional = true }

sqlx-rt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-rt"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
repository = "https://github.com/launchbadge/sqlx"
55
license = "MIT OR Apache-2.0"
66
description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."

0 commit comments

Comments
 (0)