Skip to content

fix: clean up fast-element dependency hierarchy and update to 2.10.4#36184

Merged
radium-v merged 5 commits into
microsoft:masterfrom
radium-v:fix-fast-element-deps
May 12, 2026
Merged

fix: clean up fast-element dependency hierarchy and update to 2.10.4#36184
radium-v merged 5 commits into
microsoft:masterfrom
radium-v:fix-fast-element-deps

Conversation

@radium-v
Copy link
Copy Markdown
Contributor

Previous Behavior

The @microsoft/fast-element dependency was pinned to version 2.0.0 across multiple packages, and the dependency hierarchy had several issues:

  • packages/web-components/package.json listed @microsoft/fast-element and @microsoft/focusgroup-polyfill as devDependencies despite already declaring them as peerDependencies, duplicating the hoisted entries unnecessarily.
  • packages/charts/chart-web-components/package.json had a redundant devDependencies entry for @microsoft/fast-element pinned to 2.0.0, and its peerDependencies range included the pre-release syntax ^2.0.0-beta.26 || ^2.0.0.
  • apps/vr-tests-web-components/package.json pinned @microsoft/fast-element to exactly 2.0.0.
  • The root package.json did not hoist @microsoft/fast-element, so the resolved version in yarn.lock was stuck at 2.0.0.

New Behavior

  • Removed the redundant devDependencies entries for @microsoft/fast-element and @microsoft/focusgroup-polyfill from packages/web-components/package.json since they are already declared as peerDependencies and satisfied by the root.
  • Removed the redundant devDependencies entry for @microsoft/fast-element from packages/charts/chart-web-components/package.json.
  • Simplified the peerDependencies range in chart-web-components to ^2.0.0 (dropping the unnecessary beta range).
  • Changed apps/vr-tests-web-components to use ^2.0.0 instead of the exact pin.
  • Added @microsoft/fast-element at version 2.10.4 to the root devDependencies so it is hoisted and all workspace packages resolve to the same up-to-date version.
  • yarn.lock now resolves @microsoft/fast-element to 2.10.4.

@radium-v radium-v requested review from a team as code owners May 11, 2026 02:55
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

📊 Bundle size report

✅ No changes found

@github-actions
Copy link
Copy Markdown

Pull request demo site: URL

Comment thread apps/vr-tests-web-components/package.json
@radium-v radium-v requested a review from marchbox May 12, 2026 04:25
@radium-v radium-v force-pushed the fix-fast-element-deps branch from 0e067a5 to 531b809 Compare May 12, 2026 04:25
@radium-v radium-v force-pushed the fix-fast-element-deps branch from 531b809 to f8b2e80 Compare May 12, 2026 04:30
@radium-v radium-v self-assigned this May 12, 2026
@radium-v radium-v force-pushed the fix-fast-element-deps branch from f8b2e80 to 948564c Compare May 12, 2026 15:41
@radium-v radium-v merged commit e5b0e24 into microsoft:master May 12, 2026
14 checks passed
@radium-v radium-v deleted the fix-fast-element-deps branch May 12, 2026 17:11
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.

5 participants