Skip to content

Commit ecf5c47

Browse files
authored
Release v0.2.0 (#39)
* release: v0.2.0 * refactor: use workspace for version
1 parent 1d67fe2 commit ecf5c47

File tree

7 files changed

+37
-25
lines changed

7 files changed

+37
-25
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [0.2.0] - 2024-10-10
10+
911
### Added
1012

1113
- Python bindings 🐍 ([#30](https://github.com/developmentseed/cql2-rs/pull/30))
@@ -15,10 +17,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1517

1618
- `SqlQuery` attributes are now public ([#30](https://github.com/developmentseed/cql2-rs/pull/30))
1719
- `Expr::to_json`, `Expr::to_json_pretty`, and `Expr::to_value` now return `Error` instead of `serde_json::Error` ([#37](https://github.com/developmentseed/cql2-rs/pull/37))
20+
- Removed `Error::BoonCompile` ([#38](https://github.com/developmentseed/cql2-rs/pull/38))
1821

1922
## [0.1.0] - 2024-10-08
2023

2124
Initial release.
2225

23-
[Unreleased]: https://github.com/developmentseed/cql-rs/compare/v0.1.0...main
26+
[Unreleased]: https://github.com/developmentseed/cql-rs/compare/v0.2.0...main
27+
[0.2.0]: https://github.com/developmentseed/cql-rs/releases/compare/v0.1.0...v0.2.0
2428
[0.1.0]: https://github.com/developmentseed/cql-rs/releases/tag/v0.1.0

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "cql2"
3-
version = "0.1.0"
4-
authors = ["David Bitner <[email protected]>"]
5-
edition = "2021"
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
edition = { workspace = true }
66
description = "Parse, validate, and convert Common Query Language (CQL2) text and JSON"
7-
documentation = "https://docs.rs/cql2"
7+
documentation = { workspace = true }
88
readme = "README.md"
99
homepage = "https://github.com/developmentseed/cql2-rs"
10-
repository = "https://github.com/developmentseed/cql2-rs"
11-
license = "MIT"
10+
repository = { workspace = true }
11+
license = { workspace = true }
1212
keywords = ["cql2"]
1313

1414
[dependencies]
@@ -32,5 +32,13 @@ rstest = "0.23"
3232
default-members = [".", "cli"]
3333
members = ["cli", "python"]
3434

35+
[workspace.package]
36+
version = "0.2.0"
37+
authors = ["David Bitner <[email protected]>"]
38+
edition = "2021"
39+
documentation = "https://docs.rs/cql2"
40+
repository = "https://github.com/developmentseed/cql2-rs"
41+
license = "MIT"
42+
3543
[workspace.dependencies]
3644
clap = "4.5"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Parse, validate, and convert [Common Query Language (CQL2)](https://www.ogc.org/
1010

1111
```toml
1212
[dependencies]
13-
cql = "0.1"
13+
cql = "0.2"
1414
```
1515

1616
Then:

RELEASING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Setup:
77
Then:
88

99
1. Create a new branch: `release/vX.Y.Z`
10-
2. Update the versions all `Cargo.toml` files, as necessary
11-
3. Update each README
12-
4. Update each CHANGELOG
10+
2. Update the version in `Cargo.toml`
11+
3. Update the CHANGELOG
12+
4. Update each README
1313
5. Open a PR
1414
6. Once approved, merge the PR
1515
7. (if releasing the main crate) Run `cargo release -p cql2`, then `cargo release -p cql2 --execute`

cli/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
name = "cql2-cli"
3-
version = "0.1.0"
4-
authors = ["David Bitner <[email protected]>"]
5-
edition = "2021"
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
edition = { workspace = true }
66
description = "Command line interface for Common Query Language (CQL2)"
77
readme = "README.md"
88
homepage = "https://github.com/developmentseed/cql2-rs"
9-
repository = "https://github.com/developmentseed/cql2-rs"
10-
license = "MIT"
9+
repository = { workspace = true }
10+
license = { workspace = true }
1111
keywords = ["cql2"]
1212

1313

1414
[dependencies]
1515
anyhow = "1.0"
1616
clap = { workspace = true, features = ["derive"] }
17-
cql2 = { path = "..", version = "0.1.0" }
17+
cql2 = { path = "..", version = "0.2.0" }
1818
serde_json = "1.0"
1919

2020
[[bin]]

python/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "cql2-python"
3-
version = "0.1.0"
4-
authors = ["David Bitner <[email protected]>"]
5-
edition = "2021"
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
edition = { workspace = true }
66
description = "Parse, validate, and convert Common Query Language (CQL2) text and JSON"
77
readme = "README.md"
88
homepage = "https://github.com/developmentseed/cql2-rs"
9-
repository = "https://github.com/developmentseed/cql2-rs"
10-
license = "MIT"
9+
repository = { workspace = true }
10+
license = { workspace = true }
1111
keywords = ["cql2"]
1212

1313
[lib]

0 commit comments

Comments
 (0)