File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change
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
+
1
9
# 0.2.1
2
10
3
11
- Relax ` Transaction ` creation to not borrow the ` Database ` .
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ members = ["rust-query-macros"]
3
3
4
4
[package ]
5
5
name = " rust-query"
6
- version = " 0.2.1 "
6
+ version = " 0.2.2 "
7
7
edition = " 2021"
8
8
description = " A query builder using rust concepts."
9
9
categories = [" database" ]
@@ -22,7 +22,7 @@ proc-macro2 = "1.0.79"
22
22
heck = " 0.5.0"
23
23
expect-test = " 1"
24
24
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 " }
26
26
ouroboros = " 0.18.4"
27
27
ref-cast = " 1.0.23"
28
28
pretty_assertions = " 1.4.0"
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rust-query-macros"
3
- version = " 0.2.0 "
3
+ version = " 0.2.2 "
4
4
edition = " 2021"
5
5
description = " Proc-macro crate for rust-query."
6
6
license = " MIT OR Apache-2.0"
You can’t perform that action at this time.
0 commit comments