Skip to content

chore: release v0.19.0 - #1671

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

robcohen merged 1 commit into
mainfrom
chore/release-v0.19.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.1.0 → 3.2.0 (#1667 / #1670):

  • The component now imports host.decrypt — encrypted (.gpg/.asc) ledgers are decrypted by the embedder with its keyring; secret keys never enter the sandbox. ⚠️ rustfava must provide the import in its wasmtime linker and regenerate bindings.

Plus the diagnostics/booking fixes from #1669 (#1666, #1668): reductions keep the matched lot's label (no phantom holdings lot), dedicated invalid-currency-for-Balance diagnostic, deduped oversell error.

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

On merge: tag v0.19.0, drive Build → Publish → Channel Testing, and verify all three workflows fully green (incl. Test Nix).

🤖 Generated with Claude Code

Minor (breaking-FFI) release: WIT contract rustledger:ledger 3.2.0 — the component
now imports host.decrypt so encrypted ledgers are decrypted by the embedder
(#1667/#1670); embedders must provide the import and regenerate bindings. Also
carries the booking/validate diagnostics fixes (#1666, #1668 via #1669): lot-label
preserved on reductions, dedicated balance-currency diagnostic, deduped oversell
error. Workspace 0.18.0 -> 0.19.0; 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 20:43
@robcohen
robcohen requested a review from a team as a code owner July 1, 2026 20:43
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

Tool Time Memory
rustledger 28.4ms ± 0.7ms 24.1 MB
beancount 608.7ms ± 5.2ms 50.7 MB
Comparison 21.4x faster 2.1x less

vs main branch (2026-07-01)

Metric main this PR Change
Time 36.5ms 28.4ms -22.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

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

Release-prep bump to v0.19.0 across the Rust workspace and the @rustledger/mcp-server package, aligning crate/package versions for publishing the breaking FFI/WIT update described in the PR metadata.

Changes:

  • Bumped Rust workspace + crate versions from 0.18.0 → 0.19.0 (workspace + individual crates + lockfile).
  • Bumped packages/mcp-server version from 0.18.0 → 0.19.0 (package.json + lockfile).
  • Updated internal-crate version pins in the root Cargo.toml workspace dependencies.

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 Bump MCP server npm package version to 0.19.0.
packages/mcp-server/package-lock.json Bump lockfile package version to 0.19.0 (but see review comment re: stale dependency pin).
crates/rustledger/Cargo.toml Bump CLI crate version to 0.19.0.
crates/rustledger-wasm/Cargo.toml Bump wasm crate version to 0.19.0.
crates/rustledger-validate/Cargo.toml Bump validate crate version to 0.19.0.
crates/rustledger-query/Cargo.toml Bump query crate version to 0.19.0.
crates/rustledger-plugin/Cargo.toml Bump plugin crate version to 0.19.0.
crates/rustledger-plugin-types/Cargo.toml Bump plugin-types crate version to 0.19.0.
crates/rustledger-parser/Cargo.toml Bump parser crate version to 0.19.0.
crates/rustledger-ops/Cargo.toml Bump ops crate version to 0.19.0.
crates/rustledger-lsp/Cargo.toml Bump LSP crate version to 0.19.0.
crates/rustledger-loader/Cargo.toml Bump loader crate version to 0.19.0.
crates/rustledger-importer/Cargo.toml Bump importer crate version to 0.19.0.
crates/rustledger-ffi-wasi/Cargo.toml Bump ffi-wasi helper crate version to 0.19.0.
crates/rustledger-core/Cargo.toml Bump core crate version to 0.19.0.
crates/rustledger-completion/Cargo.toml Bump completion crate version to 0.19.0.
crates/rustledger-booking/Cargo.toml Bump booking crate version to 0.19.0.
Cargo.toml Bump workspace package version + internal-crate dependency pins to 0.19.0.
Cargo.lock Refresh lockfile crate versions to 0.19.0.
Files not reviewed (1)
  • packages/mcp-server/package-lock.json: Generated file
Comments suppressed due to low confidence (1)

packages/mcp-server/package-lock.json:14

  • package.json declares @rustledger/wasm as ^0.16.5, but package-lock.json still pins the root package dependency to ^0.16.1 (and resolves node_modules/@rustledger/wasm to 0.16.1). This means npm ci will install 0.16.1, diverging from package.json and potentially missing bugfixes expected by the code.

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

@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 81113b7 into main Jul 1, 2026
55 checks passed
@robcohen
robcohen deleted the chore/release-v0.19.0 branch July 1, 2026 21: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