Skip to content

fix: bump react toolkit cma dependency to v12#3082

Merged
Jared Jolton (jjolton-contentful) merged 2 commits into
mainfrom
fix/bump-contentful-management-v12
May 13, 2026
Merged

fix: bump react toolkit cma dependency to v12#3082
Jared Jolton (jjolton-contentful) merged 2 commits into
mainfrom
fix/bump-contentful-management-v12

Conversation

@jjolton-contentful
Copy link
Copy Markdown
Contributor

@jjolton-contentful Jared Jolton (jjolton-contentful) commented May 13, 2026

Fixes #3081

Summary

  • Bump @contentful/react-apps-toolkit from contentful-management v11 to the v12-compatible ^12.3.1 range.
  • Require @contentful/app-sdk >=4.54.0, which is the app-sdk line that also depends on contentful-management v12.
  • Update the lockfile so the toolkit and app-sdk compile against the same CMA v12 type surface.

Breaking change

  • @contentful/react-apps-toolkit now requires @contentful/app-sdk >=4.54.0.
  • contentful-management v12 declares node >=20.

Upgrade instructions

  • Upgrade @contentful/app-sdk to 4.54.0 or later before upgrading @contentful/react-apps-toolkit to the version released by this PR.
  • Run the app on Node.js 20 or later to satisfy the contentful-management v12 engine requirement.
  • If the app imports contentful-management directly, align that dependency to v12 as well to avoid bundling multiple CMA major versions.

Release notes

  • No checked-in changelog entry is added manually. This repository uses Nx release with projectChangelogs and Conventional Commits, so the release workflow will generate the package changelog and GitHub release notes from the BREAKING CHANGE commit 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=1
  • npm test --workspace @contentful/react-apps-toolkit -- --runInBand
  • npm run build --workspace @contentful/react-apps-toolkit
  • git diff --check

Generated with Codex

BREAKING CHANGE: @contentful/react-apps-toolkit now requires @contentful/app-sdk >=4.54.0 and contentful-management v12.
@bito-code-review
Copy link
Copy Markdown

bito-code-review Bot commented May 13, 2026

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at michael.pearce@contentful.com.

@jjolton-contentful Jared Jolton (jjolton-contentful) requested a review from a team May 13, 2026 16:02
@jjolton-contentful Jared Jolton (jjolton-contentful) merged commit 3e838a2 into main May 13, 2026
16 checks passed
@jjolton-contentful Jared Jolton (jjolton-contentful) deleted the fix/bump-contentful-management-v12 branch May 13, 2026 16:11
@bito-code-review
Copy link
Copy Markdown

Bito Automatic Review Skipped – PR Already Merged

Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.
No action is needed if you didn't intend to review it. To get a review, you can type /review in a comment and save it

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.

bump contentful-management to v12

2 participants