Skip to content

Commit 9be80e1

Browse files
committed
Prepare release
1 parent 641ee0d commit 9be80e1

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 0.2.2
2+
3+
- Bound the lifetime of `TableRow: IntoColumn` to the lifetime of the transaction.
4+
Without the bound it was possible to sneak `TableRow`s into following transacions. <details>
5+
`query_one` now checks that its input lives for as long as the transaction.
6+
To make sure that `query_one` still checks that the dummy is "global", the transaction now has an invariant lifetime.
7+
</details>
8+
19
# 0.2.1
210

311
- Relax `Transaction` creation to not borrow the `Database`.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["rust-query-macros"]
33

44
[package]
55
name = "rust-query"
6-
version = "0.2.1"
6+
version = "0.2.2"
77
edition = "2021"
88
description = "A query builder using rust concepts."
99
categories = ["database"]
@@ -22,7 +22,7 @@ proc-macro2 = "1.0.79"
2222
heck = "0.5.0"
2323
expect-test = "1"
2424
k12 = "0.3"
25-
rust-query-macros = { path = "rust-query-macros", version = "=0.2.0" }
25+
rust-query-macros = { path = "rust-query-macros", version = "=0.2.2" }
2626
ouroboros = "0.18.4"
2727
ref-cast = "1.0.23"
2828
pretty_assertions = "1.4.0"

rust-query-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-query-macros"
3-
version = "0.2.0"
3+
version = "0.2.2"
44
edition = "2021"
55
description = "Proc-macro crate for rust-query."
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)