Repository navigation
chore: release v0.15.0 - #1122
Merged
Merged
Conversation
Bumps the workspace from 0.14.1 to 0.15.0. Minor-version bump per SemVer because 0.14.2..0.15.0 ships PR #1116, which is a breaking API change for downstream consumers: * `rustledger_validate` — removed the `validate()`, `validate_with_options()`, `validate_with_today()`, and the two spanned variants. Replaced with `ValidationSession::new(opts). run_phase(_, Phase::Early, today).run_phase(_, Phase::Late, today). finalize()`. * `rustledger_plugin_types` — `PluginOutput.directives: Vec<DirectiveWrapper>` replaced with `ops: Vec<PluginOp>` where `PluginOp { Keep(usize) | Modify(usize, DirectiveWrapper) | Insert(DirectiveWrapper) | Delete(usize) }`. The wrapper round-trip's span-fidelity loss is now eliminated by construction. * `rustledger_plugin::NativePlugin` — new `is_synth()` trait method for self-classifying plugins as pre-booking synthesizers. * `rustledger_loader` — new `PluginPass { PreBookingSynth | PostBooking | All }` enum; `run_plugins` takes a `pass` parameter. `run_booking` returns `(Vec<Spanned<Directive>>, Vec<Spanned<Directive>>)` partitioned into (booked, failed) instead of `Vec<usize>` of failed indices. * `rustledger_booking` — `INTERPOLATED_MARKER` const removed. Plus the v0.14.1..v0.15.0 fix train: pad multi-currency / future-date regressions, duplicate-Open suppression across five plugins, plugin-error source-location propagation, `--clobber` post-fetch dedup hardening (#1120 / #1119) and the `cfg(debug_assertions)` gate on the should-panic phase-ordering tests so Nix package builds via `cargo test --release` pass. # Surface coverage (per RELEASING.md) * Workspace `Cargo.toml`: `[workspace.package].version` + 10 `[workspace.dependencies]` path-pinned crates. * 14 crate `Cargo.toml` files. * `Cargo.lock` regenerated via `cargo check --workspace`. * `packages/mcp-server/package.json`: `version` and the `@rustledger/wasm` dep pin. * `packaging/rpm/rustledger.spec`: `Version`, `Source0` URL, and `%setup -n rustledger-X.Y.Z` directory. `BuildRequires: rust >= 1.94` already matches the workspace MSRV — no change. # Pre-flight smoke checks * `cargo check --workspace --all-features --all-targets` — clean. * `cd packages/mcp-server && npm ci && npm run build` — clean (temporarily reverted `@rustledger/wasm` to `^0.14.1` during the build since `^0.15.0` isn't on npm yet; restored to `^0.15.0` before committing). * `cd crates/rustledger-wasm && wasm-pack build --target web --release` — clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
📊 Benchmark Results
vs main branch (2026-05-15)
What do these numbers mean?
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR prepares the repository for the v0.15.0 release by updating Rust, npm, and RPM package metadata to the new version.
Changes:
- Bumps workspace, crate, and lockfile versions from
0.14.1to0.15.0. - Updates the MCP server package version and WASM dependency range.
- Updates RPM source/setup metadata for the v0.15.0 release tarball.
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
Cargo.toml |
Updates workspace and internal dependency versions. |
Cargo.lock |
Regenerates package versions for workspace crates. |
crates/rustledger/Cargo.toml |
Bumps crate version. |
crates/rustledger-booking/Cargo.toml |
Bumps crate version. |
crates/rustledger-core/Cargo.toml |
Bumps crate version. |
crates/rustledger-ffi-wasi/Cargo.toml |
Bumps crate version. |
crates/rustledger-importer/Cargo.toml |
Bumps crate version. |
crates/rustledger-loader/Cargo.toml |
Bumps crate version. |
crates/rustledger-lsp/Cargo.toml |
Bumps crate version. |
crates/rustledger-ops/Cargo.toml |
Bumps crate version. |
crates/rustledger-parser/Cargo.toml |
Bumps crate version. |
crates/rustledger-plugin/Cargo.toml |
Bumps crate version. |
crates/rustledger-plugin-types/Cargo.toml |
Bumps crate version. |
crates/rustledger-query/Cargo.toml |
Bumps crate version. |
crates/rustledger-validate/Cargo.toml |
Bumps crate version. |
crates/rustledger-wasm/Cargo.toml |
Bumps crate version. |
packages/mcp-server/package.json |
Updates npm package version and WASM dependency. |
packaging/rpm/rustledger.spec |
Updates RPM version, source URL, and setup directory. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Bump to v0.15.0. Minor version per SemVer (pre-1.0) because of PR #1116's breaking API changes — see "Breaking changes" below for the migration story.
Versions bumped
Per
RELEASING.md:Cargo.toml—[workspace.package].version+ 10[workspace.dependencies]path-pinned siblings.Cargo.tomlfiles undercrates/.Cargo.lockregenerated viacargo check --workspace.packages/mcp-server/package.json—versionand@rustledger/wasmdep.packaging/rpm/rustledger.spec—Version,Source0,%setupdirectory.BuildRequires: rust >= 1.94already matchesworkspace.package.rust-version— no change.Pre-flight smoke checks (per RELEASING.md §3)
cargo check --workspace --all-features --all-targets— clean.cd packages/mcp-server && npm ci && npm run build— clean. Temporarily reverted@rustledger/wasmto^0.14.1during the build (^0.15.0isn't on npm yet during the bump PR); restored to^0.15.0before commit.cd crates/rustledger-wasm && wasm-pack build --target web --release— clean.Breaking changes since v0.14.1
PR #1116 reshaped two public protocols and removed several shortcut entry points. Migration paths for each:
rustledger_validateThe free-function shortcuts are gone. Use
ValidationSession:rustledger_plugin_typesPluginOutput.directives: Vec<DirectiveWrapper>is replaced withops: Vec<PluginOp>:Every input index must appear in EXACTLY ONE op across
{Keep, Modify, Delete}— the loader validates and emits aPLUGINerror on violations.rustledger_plugin::NativePluginNew
is_synth()trait method (defaultfalse). Override totrueif your plugin synthesizes directives that the Early validator depends on (e.g.,auto_accounts).rustledger_loaderPluginPass { PreBookingSynth | PostBooking | All }enum.pub fn run_pluginstakes an extrapass: PluginPassparameter. Standalone callers (LSP, FFI, tests on already-booked input) passPluginPass::All.run_bookingnow returns(Vec<Spanned<Directive>>, Vec<Spanned<Directive>>)partitioned into (booked, failed) instead ofVec<usize>of failed indices.rustledger_bookingINTERPOLATED_MARKERconst removed. The marker-based zero-elided posting preservation from chore(compat): classify 3 sum-number-by-currency mismatches as known-Rust divergences (refs #1112) #1114 was replaced by the validate phase split — Early validation now runs before booking prunes.Highlights since v0.14.1
ValidationSession, replacing theINTERPOLATED_MARKERmetadata side-channel from chore(compat): classify 3 sum-number-by-currency mismatches as known-Rust divergences (refs #1112) #1114.PluginError::source_file+line_numbernow flow intoLedgerError::location.Post-merge
Follow RELEASING.md §5 to tag and trigger release-build + release-publish:
git switch main git pull --ff-only origin main gh release create v0.15.0 --target "$(git rev-parse HEAD)" --generate-notes🤖 Generated with Claude Code