Repository navigation
deps: bump cfb from 0.11 to 0.14 - #139
Merged
Merged
Conversation
Dedicated migration for Dependabot #70. Public CompoundFile open/create/ open_rw/create_stream APIs we use remain compatible; 0.14 mainly moves stream buffer options onto OpenOptions. Verified with writer unit tests, cfb_patch_corpus, and cfb_roundtrip_delta. Co-authored-by: DrunkOnJava <[email protected]>
cursor
Bot
force-pushed
the
cursor/cfb-0-14-67f9
branch
from
August 29, 2026 11:52
4b77295 to
c9834c2
Compare
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
## Summary Dedicated `cfb` 0.11 → 0.14 migration for core CFB I/O, superseding Dependabot #70. ## Motivation Dependabot #70 was left open as high risk (core container read/write). This PR lands the bump after verifying writer, patch-corpus, and roundtrip coverage. ## Changes - `Cargo.toml`: `cfb = "0.11"` → `cfb = "0.14"` - `Cargo.lock`: resolves `cfb 0.14.0` (and drops unused transitive ICU crates pulled by older uuid/cfb paths) - No source changes required — `CompoundFile::{open,create,open_rw,create_stream,open_stream}` remain compatible; 0.14 mainly moves stream buffer options onto `OpenOptions` ## Testing - [x] `cargo test --release --lib writer` — 63 writer-related tests ok - [x] `cargo test --release --test cfb_patch_corpus` — 3/3 ok (family + project grow/shrink/multi/missing) - [x] `cargo test --release --test cfb_roundtrip_delta` — 7/7 ok - [x] `cargo test --release --lib --bins` — 824 lib + bin tests ok - [x] `gen-fixture` + `rvt-inspect` smoke on synthetic demo.rvt (Revit 2024, scaffold-only as expected) - [ ] Full multi-OS CI — merge when GitHub reports mergeable; local evidence above covers the CFB surface ## Audit-honesty checklist - [x] No capability claims changed - [x] Commit describes what/why - [x] No emojis ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content ## Breaking changes None for our call sites. Downstream crates that used removed `CreateStreamOptions` / `OpenStreamOptions` (0.13-era) would need updates; we never used those. ## Related issues Closes #70 (supersedes Dependabot bump with verified migration). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > `cfb` is on the critical path for every `.rvt`/`.rfa` open and write, so a semver bump warrants regression testing even though this PR reports no API changes at our call sites. > > **Overview** > **Bumps the `cfb` dependency** from `0.11` to `0.14` in `Cargo.toml`, with `Cargo.lock` resolving `cfb 0.14.0` and pruning a large set of transitive ICU-related crates that older `cfb` paths pulled in; `cfb` now depends on `web-time` instead of `icu_casemap`. > > There are **no Rust source edits**—call sites in `reader`, `writer`, and `gen_fixture` keep using `CompoundFile::{open,create}`, `open_rw`, and stream APIs unchanged. The upgrade is intended to supersede Dependabot #70 after writer, patch-corpus, and roundtrip test coverage. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 8a99d87c70bc2b0f64d1e55f58df90f864002cd7. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
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
Dedicated
cfb0.11 → 0.14 migration for core CFB I/O, superseding Dependabot #70.Motivation
Dependabot #70 was left open as high risk (core container read/write). This PR lands the bump after verifying writer, patch-corpus, and roundtrip coverage.
Changes
Cargo.toml:cfb = "0.11"→cfb = "0.14"Cargo.lock: resolvescfb 0.14.0(and drops unused transitive ICU crates pulled by older uuid/cfb paths)CompoundFile::{open,create,open_rw,create_stream,open_stream}remain compatible; 0.14 mainly moves stream buffer options ontoOpenOptionsTesting
cargo test --release --lib writer— 63 writer-related tests okcargo test --release --test cfb_patch_corpus— 3/3 ok (family + project grow/shrink/multi/missing)cargo test --release --test cfb_roundtrip_delta— 7/7 okcargo test --release --lib --bins— 824 lib + bin tests okgen-fixture+rvt-inspectsmoke on synthetic demo.rvt (Revit 2024, scaffold-only as expected)Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None for our call sites. Downstream crates that used removed
CreateStreamOptions/OpenStreamOptions(0.13-era) would need updates; we never used those.Related issues
Closes #70 (supersedes Dependabot bump with verified migration).
Note
Medium Risk
cfbis on the critical path for every.rvt/.rfaopen and write, so a semver bump warrants regression testing even though this PR reports no API changes at our call sites.Overview
Bumps the
cfbdependency from0.11to0.14inCargo.toml, withCargo.lockresolvingcfb 0.14.0and pruning a large set of transitive ICU-related crates that oldercfbpaths pulled in;cfbnow depends onweb-timeinstead oficu_casemap.There are no Rust source edits—call sites in
reader,writer, andgen_fixturekeep usingCompoundFile::{open,create},open_rw, and stream APIs unchanged. The upgrade is intended to supersede Dependabot #70 after writer, patch-corpus, and roundtrip test coverage.Reviewed by Cursor Bugbot for commit 8a99d87c70bc2b0f64d1e55f58df90f864002cd7. Configure here.