Skip to content

feat!: upgrade to frontend-base 2.0 - #129

Merged
arbrandes merged 2 commits into
openedx:mainfrom
arbrandes:arbrandes/frontend-base-2.0
Aug 29, 2026
Merged

feat!: upgrade to frontend-base 2.0#129
arbrandes merged 2 commits into
openedx:mainfrom
arbrandes:arbrandes/frontend-base-2.0

Conversation

@arbrandes

Copy link
Copy Markdown
Contributor

Description

Takes the @openedx/frontend-base peer dependency from ^1.0.0 || 0.0.0-dev to ^2.0.0-alpha.4 || 0.0.0-dev, the prerelease line published to the alpha dist-tag, and adopts what 2.0 brings. Part of openedx/frontend-base#299.

Of the four changes since 1.0, two are no-ops here. Nothing imports the injectIntl or intlShape shims that the react-intl v10 bump dropped, and the app bundles no config, so App.defaultConfig has nothing to hold. The one real adoption is src/Notification/tours/constants.ts, which imported IntlShape from react-intl - a package this repository does not declare as a dependency and which only resolved through hoisting. 2.0 re-exports the type, so it now comes from @openedx/frontend-base like every other intl import in the app.

The shared ESLint config now requires semicolons rather than commas between TypeScript type members. That churn is npm run lint:fix output and lands in its own commit, so it stays out of the upgrade's diff.

Closes #128

LLM usage notice

Built with assistance from Claude.

arbrandes and others added 2 commits August 29, 2026 08:56
Take the peer dependency to the 2.0 prerelease line and source IntlShape
from frontend-base, which now re-exports it, rather than from react-intl,
a package this repository does not declare and only resolves by hoisting.

The app bundles no config, so App.defaultConfig has nothing to hold here.

BREAKING CHANGE: requires @openedx/frontend-base ^2.0.0-alpha.4.

Closes openedx#128

Co-Authored-By: Claude <noreply@anthropic.com>
Mechanical npm run lint:fix for a rule frontend-base 2.0 enables.

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes
arbrandes merged commit 3210194 into openedx:main Aug 29, 2026
4 checks passed
@arbrandes
arbrandes deleted the arbrandes/frontend-base-2.0 branch August 29, 2026 13:46
@openedx-semantic-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 4.0.0-alpha.1 🎉

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.

Upgrade to frontend-base 2.0

2 participants