Skip to content

Commit 456b684

Browse files
committed
Release 0.3.0
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
1 parent 6fdfb79 commit 456b684

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

CHANGELOG.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010

11+
## [0.3.0] - 2025-01-07
12+
13+
### Fixed
14+
- Fix queries only containing run-time bound parameters.
15+
([#20](https://github.com/kyrias/sqlx-conditional-queries/issues/20),
16+
[#22](https://github.com/kyrias/sqlx-conditional-queries/pull/22))
17+
18+
### Changed
19+
- Upgrade all dependencies.
20+
([#23](https://github.com/kyrias/sqlx-conditional-queries/pull/23))
21+
- Made `sqlx-conditional-queries-core` take database type at run-time.
22+
([#21](https://github.com/kyrias/sqlx-conditional-queries/pull/21))
23+
24+
1125
## [0.2.1] - 2024-08-19
1226

1327
### Fixed
@@ -42,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4256
- Fixed bug introduced when removing brace escaping support that lead to out-of-bound panics when two bound parameter references were too far apart. ([#4](https://github.com/kyrias/sqlx-conditional-queries/issues/4))
4357

4458

45-
[Unreleased]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.2.1...main
59+
[Unreleased]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.3.0...main
60+
[0.3.0]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.2.1...0.3.0
4661
[0.2.1]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.2.0...0.2.1
4762
[0.2.0]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.1.4...0.2.0
4863
[0.1.3]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.1.3...0.1.4

Cargo.toml

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

44
[package]
55
name = "sqlx-conditional-queries"
6-
version = "0.2.1"
6+
version = "0.3.0"
77
edition = "2021"
88
description = "Compile-time conditional queries for SQLx"
99
repository = "https://github.com/kyrias/sqlx-conditional-queries"
@@ -16,7 +16,7 @@ features = ["postgres"]
1616

1717
[dependencies]
1818
futures-core = "0.3.31"
19-
sqlx-conditional-queries-macros = { path = "macros", version = "0.2" }
19+
sqlx-conditional-queries-macros = { path = "macros", version = "0.3" }
2020

2121
[features]
2222
mysql = ["sqlx-conditional-queries-macros/mysql"]

core/Cargo.toml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
[package]
22
name = "sqlx-conditional-queries-core"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
edition = "2021"
55
description = "Internal functions for sqlx-conditional-queries"
66
repository = "https://github.com/kyrias/sqlx-conditional-queries"
77
license = "MIT OR Apache-2.0"
88

9-
[features]
10-
mysql = []
11-
postgres = []
12-
sqlite = []
13-
149
[dependencies]
1510
itertools = "0.14.0"
1611
proc-macro2 = "1.0.92"

macros/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlx-conditional-queries-macros"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
edition = "2021"
55
description = "Macro definition for sqlx-conditional-queries"
66
repository = "https://github.com/kyrias/sqlx-conditional-queries"
@@ -12,7 +12,7 @@ proc-macro = true
1212
[dependencies]
1313
proc-macro-error = "1.0.4"
1414
proc-macro2 = "1.0.92"
15-
sqlx-conditional-queries-core = { path = "../core", version = "0.2" }
15+
sqlx-conditional-queries-core = { path = "../core", version = "0.3" }
1616

1717
[features]
1818
mysql = []

0 commit comments

Comments
 (0)