Skip to content

chore: bump version to 0.4.0 - #84

Merged
prrao87 merged 1 commit into
mainfrom
chore/bump-0.4.0
Oct 28, 2026
Merged

prrao87 merged 1 commit into
mainfrom
chore/bump-0.4.0

Conversation

@prrao87

@prrao87 prrao87 commented Oct 28, 2026

Copy link
Copy Markdown
Member

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

  • The version moves from 0.3.1 to 0.4.0 in the four crate manifests, python/pyproject.toml and .bumpversion.toml (bump-my-version bump minor).
  • The version also moves in the three lockfiles that carry it, which bump-my-version doesn't update: the root Cargo.lock, the Python bindings' own Cargo.lock, and python/uv.lock. Only the workspace packages' version lines change; no dependency moves.

What 0.4.0 contains

Breaking (Rust):

  • refactor(config)!: make graph config mappings private #70: GraphConfig's node and relationship mappings are private. Code that wrote to them directly must use GraphConfigBuilder. 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:

Python:

  • refactor(python): wrap the compiled classes in typed, documented python classes #71: the public classes are typed, documented Python classes wrapping the compiled ones. Names, signatures and behaviour are unchanged. ExecutionStrategy, SqlDialect and DistanceMetric are IntEnums with the same members and values, and passing the wrong class raises TypeError naming 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

Release steps after merge

  1. Run python-publish.yml with mode=dry_run on main. It's the only place the release wheels are built and tested.
  2. Publish the crates by hand, lance-csr-catalog first, then lance-csr.
  3. Publish a GitHub release tagged v0.4.0 from main. That runs python-publish.yml, which publishes to PyPI once its builds and tests pass.

🤖 Generated with Claude Code

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.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Deploying lance-csr with  Cloudflare Pages  Cloudflare Pages

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

View logs

@prrao87
prrao87 marked this pull request as ready for review October 28, 2026 23:45
@prrao87
prrao87 merged commit c3c3ea5 into main Oct 28, 2026
7 checks passed
@prrao87
prrao87 deleted the chore/bump-0.4.0 branch October 28, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant