Skip to content

fix: update dependencies to have semantic-release working#5128

Merged
traefiker merged 1 commit intotraefik:masterfrom
mmatur:fix/dep-upgrade
Apr 1, 2026
Merged

fix: update dependencies to have semantic-release working#5128
traefiker merged 1 commit intotraefik:masterfrom
mmatur:fix/dep-upgrade

Conversation

@mmatur
Copy link
Copy Markdown
Member

@mmatur mmatur commented Apr 1, 2026

Description

  • Upgrade semantic-release (v19 → v25) and all its plugins to support npm trusted publishing with provenance
  • Upgrade @storybook/* (10.0.8 → 10.2.10), vite (7.1.3 → 7.1.11), conventional-changelog-conventionalcommits (^4 → ^9)
  • Pin webpack to 5.104.1
  • Disable Yarn hardened mode in .yarnrc.yml to avoid conflicts with safe-chain's minimum package age policy — safe-chain already provides equivalent supply chain protection
  • Remove unnecessary dependency resolutions that were only needed due to the hardened mode / safe-chain conflict

Context

Following PR #5126 (trusted publishing), @semantic-release/npm v13+ is required for provenance: true support. The major version upgrades of semantic-release plugins pulled in newer transitive dependencies that conflicted with Yarn's hardened mode + safe-chain's SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS=360 policy.

Yarn hardened mode re-resolves all packages from the registry on public PRs, but safe-chain filters out versions published less than 15 days ago from registry responses — making it impossible to pin all transitive dependencies (e.g., npm alone has 65+ direct deps). Disabling hardened mode lets Yarn trust the lockfile while safe-chain continues to protect against malicious packages on direct downloads.

@mmatur mmatur changed the title Fix: update dependencies to have semantic-release working fix: update dependencies to have semantic-release working Apr 1, 2026
@mmatur mmatur force-pushed the fix/dep-upgrade branch 7 times, most recently from 2b1242a to 37e8dcd Compare April 1, 2026 13:45
@mmatur mmatur force-pushed the fix/dep-upgrade branch from 37e8dcd to 5066da1 Compare April 1, 2026 13:56
@mmatur mmatur force-pushed the fix/dep-upgrade branch from 5066da1 to 334d1c5 Compare April 1, 2026 14:00
@traefiker traefiker merged commit d840445 into traefik:master Apr 1, 2026
4 checks passed
@mmatur mmatur deleted the fix/dep-upgrade branch April 1, 2026 14:08
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

🎉 This PR is included in version 12.0.12-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

🎉 This PR is included in version 12.0.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants