Skip to content

deps: bump cfb from 0.11 to 0.14 - #139

Merged
DrunkOnJava merged 1 commit into
mainfrom
cursor/cfb-0-14-67f9
Aug 29, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
cursor/cfb-0-14-67f9

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

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

  • cargo test --release --lib writer — 63 writer-related tests ok
  • cargo test --release --test cfb_patch_corpus — 3/3 ok (family + project grow/shrink/multi/missing)
  • cargo test --release --test cfb_roundtrip_delta — 7/7 ok
  • cargo test --release --lib --bins — 824 lib + bin tests ok
  • 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

  • No capability claims changed
  • Commit describes what/why
  • No emojis

Legal and contribution hygiene

  • Apache-2.0
  • 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).


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.

Reviewed by Cursor Bugbot for commit 8a99d87c70bc2b0f64d1e55f58df90f864002cd7. Configure here.

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
cursor Bot force-pushed the cursor/cfb-0-14-67f9 branch from 4b77295 to c9834c2 Compare August 29, 2026 11:52
@DrunkOnJava
DrunkOnJava merged commit 1ad23a5 into main Aug 29, 2026
22 checks passed
@DrunkOnJava
DrunkOnJava deleted the cursor/cfb-0-14-67f9 branch August 29, 2026 11:53
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]>
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.

2 participants