fix: bump react toolkit cma dependency to v12#3082
Merged
Jared Jolton (jjolton-contentful) merged 2 commits intoMay 13, 2026
Conversation
BREAKING CHANGE: @contentful/react-apps-toolkit now requires @contentful/app-sdk >=4.54.0 and contentful-management v12.
|
Bito Automatic Review Skipped - Files Excluded |
BobHemphill76
approved these changes
May 13, 2026
2 tasks
|
Bito Automatic Review Skipped – PR Already Merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3081
Summary
@contentful/react-apps-toolkitfromcontentful-managementv11 to the v12-compatible^12.3.1range.@contentful/app-sdk >=4.54.0, which is the app-sdk line that also depends oncontentful-managementv12.Breaking change
@contentful/react-apps-toolkitnow requires@contentful/app-sdk >=4.54.0.contentful-managementv12 declaresnode >=20.Upgrade instructions
@contentful/app-sdkto4.54.0or later before upgrading@contentful/react-apps-toolkitto the version released by this PR.contentful-managementv12 engine requirement.contentful-managementdirectly, align that dependency to v12 as well to avoid bundling multiple CMA major versions.Release notes
projectChangelogsand Conventional Commits, so the release workflow will generate the package changelog and GitHub release notes from theBREAKING CHANGEcommit footer after merge.Test plan
node -e "const pkg=require('./packages/contentful--react-apps-toolkit/package.json'); if (!/^\\^12\\./.test(pkg.dependencies['contentful-management'])) { throw new Error('react-apps-toolkit must depend on contentful-management ^12.x'); } for (const field of ['peerDependencies','devDependencies']) { if (pkg[field]['@contentful/app-sdk'] !== '>=4.54.0') { throw new Error(field + ' @contentful/app-sdk must require >=4.54.0 for contentful-management v12 compatibility'); } } console.log('metadata ok');"npm ls @contentful/app-sdk contentful-management --workspace @contentful/react-apps-toolkit --depth=1npm test --workspace @contentful/react-apps-toolkit -- --runInBandnpm run build --workspace @contentful/react-apps-toolkitgit diff --checkGenerated with Codex