Skip to content

chore: release v0.18.0 - #1665

Merged
robcohen merged 1 commit into
mainfrom
chore/release-v0.18.0
Jul 1, 2026
Merged

robcohen merged 1 commit into
mainfrom
chore/release-v0.18.0

Conversation

@robcohen

@robcohen robcohen commented Jul 1, 2026

Copy link
Copy Markdown
Member

Minor release carrying the breaking FFI/WIT change rustledger:ledger 3.0.0 → 3.1.0 (#1663 / #1664):

  • load/load-file now report balance-assertion failures (previously only validate did — a silent correctness gap for embedders).
  • balance-dir gains a diff field (computed − asserted) for per-assertion pass/fail rendering.

⚠️ rustfava must regenerate its component bindings for the 3.1.0 contract.

Also includes the 0.17.x Nix release-channel fix (doCheck = false), which greened Test Nix in v0.17.4.

  • cargo set-version 0.18.0 + packages/mcp-server → 0.18.0

On merge I tag v0.18.0 and drive the chain (Build → Publish → Channel Testing), waiting on the full channel conclusion incl. Nix.

🤖 Generated with Claude Code

Minor (breaking-FFI) release: the WIT contract is now rustledger:ledger 3.1.0 —
`load`/`load-file` report balance-assertion failures and `balance-dir` carries a
`diff` field (#1663). Embedders (rustfava) must regenerate component bindings.
Also carries the 0.17.x Nix-channel fix (doCheck=false). Workspace 0.17.4 ->
0.18.0 (cargo set-version); packages/mcp-server bumped to match.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI review requested due to automatic review settings July 1, 2026 04:42
@robcohen
robcohen requested a review from a team as a code owner July 1, 2026 04:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs the release bookkeeping for v0.18.0, updating the workspace and package versions so crates and the MCP server publish under the new release number.

Changes:

  • Bump Rust workspace/crate versions from 0.17.4 → 0.18.0 (root workspace + individual crates).
  • Update Cargo.lock to reflect the new crate versions.
  • Bump @rustledger/mcp-server package.json and package-lock.json versions to 0.18.0.

Reviewed changes

Copilot reviewed 17 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/mcp-server/package.json Bumps MCP server npm package version to 0.18.0.
packages/mcp-server/package-lock.json Keeps lockfile package metadata in sync with 0.18.0.
crates/rustledger/Cargo.toml Bumps CLI crate version to 0.18.0.
crates/rustledger-wasm/Cargo.toml Bumps WASM crate version to 0.18.0.
crates/rustledger-validate/Cargo.toml Bumps validation crate version to 0.18.0.
crates/rustledger-query/Cargo.toml Bumps query crate version to 0.18.0.
crates/rustledger-plugin/Cargo.toml Bumps plugin crate version to 0.18.0.
crates/rustledger-plugin-types/Cargo.toml Bumps plugin types crate version to 0.18.0.
crates/rustledger-parser/Cargo.toml Bumps parser crate version to 0.18.0.
crates/rustledger-ops/Cargo.toml Bumps ops crate version to 0.18.0.
crates/rustledger-lsp/Cargo.toml Bumps LSP crate version to 0.18.0.
crates/rustledger-loader/Cargo.toml Bumps loader crate version to 0.18.0.
crates/rustledger-importer/Cargo.toml Bumps importer crate version to 0.18.0.
crates/rustledger-ffi-wasi/Cargo.toml Bumps FFI WASI helper crate version to 0.18.0.
crates/rustledger-core/Cargo.toml Bumps core crate version to 0.18.0.
crates/rustledger-completion/Cargo.toml Bumps completion crate version to 0.18.0.
crates/rustledger-booking/Cargo.toml Bumps booking crate version to 0.18.0.
Cargo.toml Bumps workspace package version and updates internal crate dependency versions to 0.18.0.
Cargo.lock Updates locked package metadata to reflect 0.18.0 versions.
Files not reviewed (1)
  • packages/mcp-server/package-lock.json: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

Tool Time Memory
rustledger 27.3ms ± 0.6ms 23.6 MB
beancount 587.6ms ± 4.7ms 50.6 MB
Comparison 21.5x faster 2.1x less

vs main branch (2026-07-01)

Metric main this PR Change
Time 36.5ms 27.3ms -25.2% 🟢
10K transactions · 5 runs, 2 warmup · hyperfine
What do these numbers mean?
  • Time: Wall-clock time to parse and validate the ledger (± std dev)
  • Memory: Peak resident set size (RSS)
  • vs main: Compared to latest nightly benchmark on main branch

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 792
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

@robcohen
robcohen merged commit 4dfc863 into main Jul 1, 2026
55 checks passed
@robcohen
robcohen deleted the chore/release-v0.18.0 branch July 1, 2026 05:09
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.

2 participants