Skip to content

chore: release v0.20.0 - #1707

Merged
robcohen merged 1 commit into
mainfrom
release/v0.20.0
Jul 3, 2026
Merged

robcohen merged 1 commit into
mainfrom
release/v0.20.0

Conversation

@robcohen

@robcohen robcohen commented Jul 3, 2026

Copy link
Copy Markdown
Member

Minor (breaking) release carrying the route-smoke fix wave — v0.20.0 rather than v0.19.2 because the payload is breaking on three axes (per the v0.19.0 breaking-FFI precedent):

After merge: annotated tag v0.20.0 → build → manual publish + channel-test dispatches (GITHUB_TOKEN-published releases don't chain — learned on v0.19.1) → verify 20/20 + component artifact.

🤖 Generated with Claude Code

Minor (breaking) release carrying the route-smoke fix wave (#1699/#1700/
#1701, found by rustfava's new route-smoke suite):

- BREAKING parser/booking: compound cost {a # b} now carries both
  components and weighs N*a + b per beancount (#1700, via #1704).
  Ledgers that balanced under the old {a # b} == {{b}} misreading were
  genuinely unbalanced and now error; lot cost bases for compound specs
  are now correct. Binary caches invalidate automatically
  (CACHE_VERSION 13).
- BREAKING plugin-types: CostNumberData gained the Compound variant —
  exhaustive matches in plugin code need a new arm (deliberate: silent
  mishandling of compound costs is the failure mode the exhaustive enum
  prevents).
- FFI: WIT rustledger:ledger 3.2.0 -> 3.3.0 (additive compound case);
  runtime API_VERSION 3.3. Embedders regenerate bindings
  (rustfava#234); post-booking egress is unaffected.
- query: only() propagates NULL (fava Holdings by_currency 500, #1699
  via #1702); one-arg value() is inventory-typed for every row and the
  component declares column datatypes from the first non-NULL value
  (#1701, via #1703).

Workspace 0.19.1 -> 0.20.0; packages/mcp-server bumped to match.

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

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 chore PR that bumps the workspace and published artifacts to v0.20.0, aligning crate and npm package metadata with the breaking changes already described in the release notes (parser/booking semantics, plugin-types enum expansion, FFI/WIT/API versioning, query fixes).

Changes:

  • Bump Rust workspace + crate versions from 0.19.1 → 0.20.0 (including workspace internal dependency pins).
  • Bump @rustledger/mcp-server npm package version to 0.20.0.
  • Refresh lockfiles (Cargo.lock, packages/mcp-server/package-lock.json) to reflect the new versions.

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 npm package version to 0.20.0
packages/mcp-server/package-lock.json Lockfile version bumps to 0.20.0
crates/rustledger/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-wasm/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-validate/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-query/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-plugin/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-plugin-types/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-parser/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-ops/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-lsp/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-loader/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-importer/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-ffi-wasi/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-core/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-completion/Cargo.toml Bump crate version to 0.20.0
crates/rustledger-booking/Cargo.toml Bump crate version to 0.20.0
Cargo.toml Bump workspace version + internal crate dependency versions to 0.20.0
Cargo.lock Update lockfile entries to 0.20.0
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 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

Tool Time Memory
rustledger 33.6ms ± 3.2ms 23.7 MB
beancount 893.9ms ± 18.1ms 50.7 MB
Comparison 26.6x faster 2.1x less

vs main branch (2026-07-03)

Metric main this PR Change
Time 34.9ms 33.6ms -3.7% ✅
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 3, 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 3, 2026

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 793
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 58d5e22 into main Jul 3, 2026
55 of 56 checks passed
@robcohen
robcohen deleted the release/v0.20.0 branch July 3, 2026 15:35
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