Repository navigation
chore: release v0.12.0 - #771
Conversation
📊 Benchmark Results
vs main branch (2026-04-13)
What do these numbers mean?
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
Bumps the whole workspace from 0.11.0 to 0.12.0 (minor version bump under pre-1.0 semver because the cycle since 0.11.0 includes user-visible breaking changes that release-plz's auto-detection missed). release-plz auto-generated a v0.11.1 patch bump from the `fix:` / `feat:` commits since 0.11.0. That's too conservative. The cycle since 0.11.0 shipped the following breaking changes, all merged as `refactor:` / `fix:` without the `!` conventional-commit marker: - **`rustledger_booking::BookingError`** collapsed three variants (`InsufficientUnits`, `NoMatchingLot`, `AmbiguousMatch`) into a single `Inventory(AccountedBookingError)` variant (#751). Out-of-tree consumers pattern-matching on the old variants break. - **`rustledger_core::AccountedBookingError`** added as a new canonical user-facing type with `BookingError::with_account()` as the constructor (#751). Not a break on its own, but part of the unification. - **`rustledger_lsp::handlers::diagnostics::all_diagnostics`** signature changed to take an additional `other_buffer_overlays: &[(u16, &[Spanned<Directive>])]` parameter for multi-buffer LSP overlays (#760 / #764). - **`rustledger_lsp::handlers::diagnostics::validation_errors_to_diagnostics`** signature changed to take an owned `Vec<Spanned<Directive>>` instead of borrowed slices (#758). Optimizes a hot path but breaks the function's public signature. - **`rustledger_loader::LoadError::IncludeCycle`** Display format rewritten to match Python beancount's `"Duplicate filename parsed: ..."` wording (#767). Substring-matching consumers break. Under pre-1.0 semver, any breaking change should bump the minor version (0.x → 0.(x+1)). So 0.11.0 → 0.12.0 is correct. Highlights since 0.11.0: ### Breaking - Unified `BookingError` under a single `Inventory` variant with one canonical `Display` impl, preventing the wording drift that produced #748 (#751). - `LoadError::IncludeCycle` Display now begins with `"Duplicate filename parsed: "` to match beancount's wording for conformance (#767). - LSP `all_diagnostics` and `validation_errors_to_diagnostics` signatures changed to support the multi-buffer overlay and avoid double-cloning directive lists (#758 / #764). ### Features - LSP live overlay so in-memory buffer edits reflect in diagnostics before save, for both the current file (#685 / #758) and any other open buffer in a multi-file ledger (#760 / #764). - Parser `Vec::with_capacity` hints with DoS caps on `source.len()` heuristics (#754). - `working_inventories` cloning in the booking engine now only touches accounts actually referenced in the transaction, and dedupes repeated account references (#756). ### Fixes - `InsufficientUnits` booking error wording restored to `"Not enough units in ..."` so pta-standards `reduction-exceeds-inventory` conformance assertion passes (#748 / #749). - `noduplicates` plugin now hashes flag, tags, links, cost, and price in addition to date and narration — complete beancount `hash_entry` parity (#746 / #747). - Parser test suite: 14 fake-coverage tests replaced with real tests that exercise the functions they claim to cover (#766). - All Copilot inline review comments on #754-#763, #766, #767 addressed in fix commits. - Closed PRs #768 (dead incremental parser) and #769 (hallucinated simdutf8 API) — no code shipped from these. ### Internal - Forbid-unsafe-code invariant now has a dedicated CI check and pre-push hook (#770). - New pre-push `cargo check` hook to catch compile errors before PRs are opened (#770). This commit supersedes release-plz's auto-generated v0.11.1 proposal to produce the minor bump the breaking changes require. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
5727b35 to
68eb391
Compare
|
Forced this PR from v0.11.1 → v0.12.0 because release-plz's auto-detection was too conservative. release-plz only saw
Under pre-1.0 semver, any breaking change should bump the minor. 0.11.0 → 0.12.0 is correct. This is the manual-bump escape hatch documented in
The full list of what's in 0.12.0 is in the commit body. Net effect: 28 files changed, +295/-38 lines, all 13 workspace crates now at 0.12.0 coherently. |
Running `cargo vet regenerate exemptions` adds exemptions for 45
transitive dependencies (wasmtime 43.0.1 / cranelift 0.130.1 /
pulley / wasmparser / wit-parser / etc.) that were flagged as
`missing ["safe-to-deploy"]`, and drops one stale exemption for
`fallible-iterator 0.3.0` which is no longer in the graph.
These had been failing the `Cargo Vet` CI job on every PR in this
release cycle because the `cargo-vet-auto.yml` workflow only runs
on Dependabot PRs (by design, for security), so human-authored
dependency bumps never got their exemptions refreshed.
All changes are mechanical: no new audited code, no policy shift,
just a sync of the exemption set to the current `Cargo.lock` graph.
`cargo vet --locked` now reports:
Vetting Succeeded (289 fully audited, 3 partially audited, 237 exempted)
Unblocks #771.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
🤖 New release
rustledger-core: 0.11.0 -> 0.11.1rustledger-parser: 0.11.0 -> 0.11.1rustledger-booking: 0.11.0 -> 0.11.1rustledger-plugin: 0.11.0 -> 0.11.1rustledger-validate: 0.11.0 -> 0.11.1rustledger-loader: 0.11.0 -> 0.11.1rustledger-query: 0.11.0 -> 0.11.1rustledger: 0.11.0 -> 0.11.1rustledger-wasm: 0.11.0 -> 0.11.1rustledger-ffi-wasi: 0.11.0 -> 0.11.1rustledger-lsp: 0.11.0 -> 0.11.1rustledger-importer: 0.11.0 -> 0.11.1Changelog
rustledger-corerustledger-parserrustledger-bookingrustledger-pluginrustledger-validaterustledger-loaderrustledger-queryrustledgerrustledger-wasmrustledger-ffi-wasirustledger-lsprustledger-importerThis PR was generated with release-plz.