Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Löthberg <[email protected]>
  • Loading branch information
kyrias committed Jan 7, 2025
1 parent 6fdfb79 commit 456b684
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [0.3.0] - 2025-01-07

### Fixed
- Fix queries only containing run-time bound parameters.
([#20](https://github.com/kyrias/sqlx-conditional-queries/issues/20),
[#22](https://github.com/kyrias/sqlx-conditional-queries/pull/22))

### Changed
- Upgrade all dependencies.
([#23](https://github.com/kyrias/sqlx-conditional-queries/pull/23))
- Made `sqlx-conditional-queries-core` take database type at run-time.
([#21](https://github.com/kyrias/sqlx-conditional-queries/pull/21))


## [0.2.1] - 2024-08-19

### Fixed
Expand Down Expand Up @@ -42,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 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))


[Unreleased]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.2.1...main
[Unreleased]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.3.0...main
[0.3.0]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.1.4...0.2.0
[0.1.3]: https://github.com/kyrias/sqlx-conditional-queries/compare/0.1.3...0.1.4
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 = ["core", "macros"]

[package]
name = "sqlx-conditional-queries"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
description = "Compile-time conditional queries for SQLx"
repository = "https://github.com/kyrias/sqlx-conditional-queries"
Expand All @@ -16,7 +16,7 @@ features = ["postgres"]

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

[features]
mysql = ["sqlx-conditional-queries-macros/mysql"]
Expand Down
7 changes: 1 addition & 6 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
[package]
name = "sqlx-conditional-queries-core"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
description = "Internal functions for sqlx-conditional-queries"
repository = "https://github.com/kyrias/sqlx-conditional-queries"
license = "MIT OR Apache-2.0"

[features]
mysql = []
postgres = []
sqlite = []

[dependencies]
itertools = "0.14.0"
proc-macro2 = "1.0.92"
Expand Down
4 changes: 2 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlx-conditional-queries-macros"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
description = "Macro definition for sqlx-conditional-queries"
repository = "https://github.com/kyrias/sqlx-conditional-queries"
Expand All @@ -12,7 +12,7 @@ proc-macro = true
[dependencies]
proc-macro-error = "1.0.4"
proc-macro2 = "1.0.92"
sqlx-conditional-queries-core = { path = "../core", version = "0.2" }
sqlx-conditional-queries-core = { path = "../core", version = "0.3" }

[features]
mysql = []
Expand Down

0 comments on commit 456b684

Please sign in to comment.