Repository navigation
chore: release v0.20.0 - #1707
Merged
Merged
Conversation
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]>
Contributor
There was a problem hiding this comment.
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-servernpm package version to0.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.
Contributor
📊 Benchmark Results
vs main branch (2026-07-03)
What do these numbers mean?
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
{a # b}weighsN·a + bper beancount (booking: per-unit-from-total cost ({a # b}) weight is wrong in all three forms #1700/fix(parser,booking)!: compound cost {a # b} carries both components (N*a + b) #1704) — previously-"balancing" invalid ledgers now error; compound cost bases now correct;CACHE_VERSION13 invalidates stale caches.CostNumberData::Compound— exhaustive plugin matches need a new arm (deliberate).API_VERSION3.3 — embedders regenerate (rustfava#234); post-booking egress unaffected.only()NULL propagation (query: only() type-errors on NULL first argument (beanquery propagates NULL) — Holdings by_currency 500s #1699/fix(query): only() propagates NULL in its first argument #1702); type-stablevalue()+ first-non-NULL column datatypes (query: column declared Amount but value serialized as Inventory for value(sum(position)) #1701/fix(query,ffi): one-arg value() is type-stable; column datatypes from first non-NULL row #1703).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