Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ grammar in `meta/src/meta/grammar.y`. From the grammar we can automatically deri
and pretty printers for the S-expression representation of LQP, which is used for testing
and debugging.

When you have updated the grammar, you can regenerate the parsers and verify that they match
by running
When you have updated the grammar, you can regenerate the SDKs (protobuf bindings, parser,
and pretty printer for each language) and run the tests to verify them.

```
make parsers
make
make test
```

Expand All @@ -76,8 +76,14 @@ The Python SDK is [deployed to PyPI](https://pypi.org/project/lqp/). Publishing
via GitHub Actions: creating a GitHub release triggers a workflow that builds and uploads the
package to PyPI. To release a new version:

1. Update the version in `sdks/python/pyproject.toml`
2. Create a new GitHub release
1. Make sure that everything is up-to-date by running `make`.
2. File a PR that updates the version in `sdks/python/pyproject.toml` and
`sdks/julia/LogicalQueryProtocol/Project.toml`. Note that the Go SDK version is
automatically determined by the release tag in GitHub.
3. Get approval and merge into `main`.
4. Create a new GitHub release from `main` with a tag matching the version (e.g.
`gh release create v0.3.0 --title "v0.3.0" --generate-notes`). The release must be
created after merging the version bump, since the workflow checks out the default branch.

To publish manually instead:

Expand Down
2 changes: 1 addition & 1 deletion sdks/julia/LogicalQueryProtocol/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LogicalQueryProtocol"
uuid = "a92373ee-6cc4-4662-ae66-0c99a03ebae1"
version = "0.1.0"
version = "0.3.0"
authors = ["RelationalAI"]

[deps]
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "lqp"
version = "0.2.3"
version = "0.3.0"
description = "Validate and translate Logical Query Protocol (LQP) S-expressions into Protobuf"
readme = "README.md"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/uv.lock

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

Loading