Skip to content

chore: release v0.20.1 - #1710

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

robcohen merged 1 commit into
mainfrom
release/v0.20.1

Conversation

@robcohen

@robcohen robcohen commented Jul 3, 2026

Copy link
Copy Markdown
Member

Patch release: empty-{} cost inference (#1705/#1706/#1709 — reported and first implemented by @yurenju, completed with bean-check-verified edge semantics). Supersedes the #1708 interim guard. No wire or API changes — clean patch per semver.

After merge: tag → build → publish dispatch → channel-test dispatch → verify 20/20 + component artifact (same automated pipeline as v0.20.0).

🤖 Generated with Claude Code

Patch release: augmenting empty-{} cost specs now infer the per-unit
cost from the transaction residual, matching beancount exactly (#1705,
reported and first implemented by @yurenju in #1706, completed in #1709
with bean-check-verified edge semantics: residual wins over a
disagreeing price annotation; negative and ambiguous-currency solves
are rejected). The #1708 interim guard is superseded. No wire or API
changes.

Workspace 0.20.0 -> 0.20.1; 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 18:56
Copilot AI review requested due to automatic review settings July 3, 2026 18:56

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 prepares the v0.20.1 patch release by bumping version numbers across the Rust workspace crates and the @rustledger/mcp-server npm package, keeping the Rust and JS lockfiles in sync for a reproducible release build.

Changes:

  • Bump Cargo workspace + published crate versions from 0.20.0 → 0.20.1.
  • Update root Cargo.lock to reflect the new crate versions.
  • Bump @rustledger/mcp-server version (and its package-lock.json) to 0.20.1.

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.20.1.
packages/mcp-server/package-lock.json Updates npm lockfile metadata to 0.20.1.
crates/rustledger/Cargo.toml Bumps main CLI crate version to 0.20.1.
crates/rustledger-wasm/Cargo.toml Bumps WASM crate version to 0.20.1.
crates/rustledger-validate/Cargo.toml Bumps validate crate version to 0.20.1.
crates/rustledger-query/Cargo.toml Bumps query crate version to 0.20.1.
crates/rustledger-plugin/Cargo.toml Bumps plugin crate version to 0.20.1.
crates/rustledger-plugin-types/Cargo.toml Bumps plugin-types crate version to 0.20.1.
crates/rustledger-parser/Cargo.toml Bumps parser crate version to 0.20.1.
crates/rustledger-ops/Cargo.toml Bumps ops crate version to 0.20.1.
crates/rustledger-lsp/Cargo.toml Bumps LSP crate version to 0.20.1.
crates/rustledger-loader/Cargo.toml Bumps loader crate version to 0.20.1.
crates/rustledger-importer/Cargo.toml Bumps importer crate version to 0.20.1.
crates/rustledger-ffi-wasi/Cargo.toml Bumps ffi-wasi crate version to 0.20.1.
crates/rustledger-core/Cargo.toml Bumps core crate version to 0.20.1.
crates/rustledger-completion/Cargo.toml Bumps completion crate version to 0.20.1.
crates/rustledger-booking/Cargo.toml Bumps booking crate version to 0.20.1.
Cargo.toml Bumps workspace package version and internal crate dependency versions to 0.20.1.
Cargo.lock Updates resolved workspace crate versions to 0.20.1.
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.

@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

📊 Benchmark Results

Tool Time Memory
rustledger 32.3ms ± 0.5ms 23.7 MB
beancount 897.9ms ± 6.6ms 50.7 MB
Comparison 27.8x faster 2.1x less

vs main branch (2026-07-03)

Metric main this PR Change
Time 34.9ms 32.3ms -7.4% 🟢
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

@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 810
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 d567b61 into main Jul 3, 2026
55 of 56 checks passed
@robcohen
robcohen deleted the release/v0.20.1 branch July 3, 2026 19:20
@yurenju

yurenju commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@robcohen that is awesome, thank you! 👍

@robcohen

robcohen commented Jul 4, 2026 •

Copy link
Copy Markdown
Member Author

No, thank you @yurenju ! It's contributions like yours that are greatly appreciated. Thank you for taking the time to improve rustledger.

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.

3 participants