Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
LHolten committed Nov 4, 2024
1 parent 641ee0d commit 9be80e1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.2.2

- Bound the lifetime of `TableRow: IntoColumn` to the lifetime of the transaction.
Without the bound it was possible to sneak `TableRow`s into following transacions. <details>
`query_one` now checks that its input lives for as long as the transaction.
To make sure that `query_one` still checks that the dummy is "global", the transaction now has an invariant lifetime.
</details>

# 0.2.1

- Relax `Transaction` creation to not borrow the `Database`.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["rust-query-macros"]

[package]
name = "rust-query"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
description = "A query builder using rust concepts."
categories = ["database"]
Expand All @@ -22,7 +22,7 @@ proc-macro2 = "1.0.79"
heck = "0.5.0"
expect-test = "1"
k12 = "0.3"
rust-query-macros = { path = "rust-query-macros", version = "=0.2.0" }
rust-query-macros = { path = "rust-query-macros", version = "=0.2.2" }
ouroboros = "0.18.4"
ref-cast = "1.0.23"
pretty_assertions = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion rust-query-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-query-macros"
version = "0.2.0"
version = "0.2.2"
edition = "2021"
description = "Proc-macro crate for rust-query."
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit 9be80e1

Please sign in to comment.