Skip to content

Raise the dependency requirements to the newest compatible versions - #303

Merged
soareschen merged 1 commit into
mainfrom
update-dependencies
Nov 17, 2026
Merged

soareschen merged 1 commit into
mainfrom
update-dependencies

Conversation

@soareschen

@soareschen soareschen commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

[claude-opus-5-5] Each external dependency requirement now matches the version the lockfile holds, so a build cannot resolve an older release than the one the checks ran against. Because the lockfile moved only to the newest version each old requirement allowed, every new requirement stays semver-compatible with the one it replaces.

Impact

A project that depends on cgp now resolves at least syn 2.0.119, quote 1.0.47, and proc-macro2 1.0.107, up from 2.0.95, 1.0.38, and 1.0.92. Every published macro crate requires the new syn, and each one that also uses quote and proc-macro2 requires their new versions.

The test crates' new requirements stay out of the published crates. The unpublished cgp-tests and cgp-macro-tests require insta 1.49.0, and cgp-tests requires futures 0.3.34, which brings syn 3.0.10 into the lockfile through futures-macro. Only cgp-tests depends on futures, so the published crates still build against syn 2 alone.

`cargo update` moves the lockfile to the newest versions each
requirement allows, and every requirement on an external crate rises
to the version now locked, so a build never resolves an older release
than the one the checks ran against. Each change stays within semver
compatibility.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@soareschen
soareschen marked this pull request as ready for review November 17, 2026 22:55
@soareschen
soareschen merged commit e39de6c into main Nov 17, 2026
6 checks passed
@soareschen
soareschen deleted the update-dependencies branch November 17, 2026 22:56
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.

1 participant