Repository navigation
chore: bump version to 0.4.0 - #84
Merged
Merged
Conversation
0.4.0 rather than 0.3.2: #70 made the graph config mappings private, a breaking change. Also refresh the version in the three lockfiles, which bump-my-version does not update.
Deploying lance-csr with
|
| Latest commit: |
dbbb236
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://17ea414d.lance-csr.pages.dev |
| Branch Preview URL: | https://chore-bump-0-4-0.lance-csr.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Release the changes merged since 0.3.1 to crates.io and PyPI. The version is 0.4.0 rather than 0.3.2 because #70 is a breaking change for Rust users, and before 1.0 a breaking change takes a minor bump.
What changed
python/pyproject.tomland.bumpversion.toml(bump-my-version bump minor).bump-my-versiondoesn't update: the rootCargo.lock, the Python bindings' ownCargo.lock, andpython/uv.lock. Only the workspace packages' version lines change; no dependency moves.What 0.4.0 contains
Breaking (Rust):
GraphConfig's node and relationship mappings are private. Code that wrote to them directly must useGraphConfigBuilder. A deserialized config is now validated like a built one, so a saved config with an unnormalized key, or a relationship whose endpoint label has no node mapping, fails to load. The Python API is unaffected.Query results that change:
MATCH, two single-hop relationships of the same type no longer bind the same edge, so some queries return fewer rows (openCypher relationship uniqueness).(a)-[r:KNOWS]->(b), (c)-[r]->(d), matches that same relationship. It used to return wrong rows or fail to plan. Reusing one in a variable-length segment now raises an error within oneMATCH.Python:
ExecutionStrategy,SqlDialectandDistanceMetricareIntEnums with the same members and values, and passing the wrong class raisesTypeErrornaming the parameter. The API reference is generated from the docstrings.Fixes: #65 (distinct counts on empty input), #66 (physical column casing in graph scans), #67 (one trailing semicolon accepted).
Docs: #63, #64, #68, #69.
Validation
cargo test --workspace,cargo clippy --workspace --all-targets -- -D warnings: pass.make testinpython/: 1619 passed; the rebuilt package reports version 0.4.0.make lint: clean.cargo publish --dry-run -p lance-csr-catalog -p lance-csr: both crates package and build from their packaged sources (11 and 71 files; no internal files), and the uploads are skipped.mainin fix(planner): bind each relationship once per match #82.Release steps after merge
python-publish.ymlwithmode=dry_runonmain. It's the only place the release wheels are built and tested.lance-csr-catalogfirst, thenlance-csr.v0.4.0frommain. That runspython-publish.yml, which publishes to PyPI once its builds and tests pass.🤖 Generated with Claude Code