Skip to content

Commit

Permalink
Release v0.2.0 (#39)
Browse files Browse the repository at this point in the history
* release: v0.2.0

* refactor: use workspace for version
  • Loading branch information
gadomski authored Oct 10, 2024
1 parent 1d67fe2 commit ecf5c47
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 25 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [0.2.0] - 2024-10-10

### Added

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

- `SqlQuery` attributes are now public ([#30](https://github.com/developmentseed/cql2-rs/pull/30))
- `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))
- Removed `Error::BoonCompile` ([#38](https://github.com/developmentseed/cql2-rs/pull/38))

## [0.1.0] - 2024-10-08

Initial release.

[Unreleased]: https://github.com/developmentseed/cql-rs/compare/v0.1.0...main
[Unreleased]: https://github.com/developmentseed/cql-rs/compare/v0.2.0...main
[0.2.0]: https://github.com/developmentseed/cql-rs/releases/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/developmentseed/cql-rs/releases/tag/v0.1.0
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "cql2"
version = "0.1.0"
authors = ["David Bitner <[email protected]>"]
edition = "2021"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
description = "Parse, validate, and convert Common Query Language (CQL2) text and JSON"
documentation = "https://docs.rs/cql2"
documentation = { workspace = true }
readme = "README.md"
homepage = "https://github.com/developmentseed/cql2-rs"
repository = "https://github.com/developmentseed/cql2-rs"
license = "MIT"
repository = { workspace = true }
license = { workspace = true }
keywords = ["cql2"]

[dependencies]
Expand All @@ -32,5 +32,13 @@ rstest = "0.23"
default-members = [".", "cli"]
members = ["cli", "python"]

[workspace.package]
version = "0.2.0"
authors = ["David Bitner <[email protected]>"]
edition = "2021"
documentation = "https://docs.rs/cql2"
repository = "https://github.com/developmentseed/cql2-rs"
license = "MIT"

[workspace.dependencies]
clap = "4.5"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Parse, validate, and convert [Common Query Language (CQL2)](https://www.ogc.org/

```toml
[dependencies]
cql = "0.1"
cql = "0.2"
```

Then:
Expand Down
6 changes: 3 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Setup:
Then:

1. Create a new branch: `release/vX.Y.Z`
2. Update the versions all `Cargo.toml` files, as necessary
3. Update each README
4. Update each CHANGELOG
2. Update the version in `Cargo.toml`
3. Update the CHANGELOG
4. Update each README
5. Open a PR
6. Once approved, merge the PR
7. (if releasing the main crate) Run `cargo release -p cql2`, then `cargo release -p cql2 --execute`
Expand Down
12 changes: 6 additions & 6 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "cql2-cli"
version = "0.1.0"
authors = ["David Bitner <[email protected]>"]
edition = "2021"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
description = "Command line interface for Common Query Language (CQL2)"
readme = "README.md"
homepage = "https://github.com/developmentseed/cql2-rs"
repository = "https://github.com/developmentseed/cql2-rs"
license = "MIT"
repository = { workspace = true }
license = { workspace = true }
keywords = ["cql2"]


[dependencies]
anyhow = "1.0"
clap = { workspace = true, features = ["derive"] }
cql2 = { path = "..", version = "0.1.0" }
cql2 = { path = "..", version = "0.2.0" }
serde_json = "1.0"

[[bin]]
Expand Down
10 changes: 5 additions & 5 deletions python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "cql2-python"
version = "0.1.0"
authors = ["David Bitner <[email protected]>"]
edition = "2021"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
description = "Parse, validate, and convert Common Query Language (CQL2) text and JSON"
readme = "README.md"
homepage = "https://github.com/developmentseed/cql2-rs"
repository = "https://github.com/developmentseed/cql2-rs"
license = "MIT"
repository = { workspace = true }
license = { workspace = true }
keywords = ["cql2"]

[lib]
Expand Down

0 comments on commit ecf5c47

Please sign in to comment.