You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(deps): update dependency @portabletext/block-tools to v6 - #2137
Every package now declares its entry points through the exports map only. Node, all maintained bundlers, and TypeScript (moduleResolution: 'bundler', 'node16', or 'nodenext') resolve through exports; only tooling that predates exports support read main or module and can no longer resolve these packages.
Node.js 22.12 or later is now required. The previous range also allowed Node.js 20.19 and later; Node.js 20 reached end of life in April 2026 and is no longer supported. @portabletext/editor and @portabletext/markdown also move to @portabletext/to-html v6 and @portabletext/toolkit v6, which carry the same Node.js requirement.
Medium Risk
Major-version bump of block-tools used for HTML↔Portable Text in serializer plugins, with stricter Node requirements and upgraded transitive Portable Text packages; regression risk is mainly in deserialization/serialization paths.
Overview
Bumps the workspace catalog entry for @portabletext/block-tools from ^5.2.0 to ^6.0.3 and refreshes pnpm-lock.yaml so consumers (sanity-naive-html-serializer, sanity-translations-tab, and the root workspace) resolve the new major.
The lockfile also picks up v6’s transitive upgrades (@portabletext/html, @portabletext/sanity-bridge, @portabletext/schema) and drops the older sanity-bridge@3.x tree. v6 tightens the package engines to Node ≥22.12 (no more Node 20.x) and resolves only via exports (legacy main/module removed). No application source files change in this PR.
Reviewed by Cursor Bugbot for commit ff9ff79. Bugbot is set up for automated code reviews on this repo. Configure here.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
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
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.
This PR contains the following updates:
^5.2.0→^6.0.3Release Notes
portabletext/editor (@portabletext/block-tools)
v6.0.3Compare Source
Patch Changes
3fd76cb]:v6.0.2Compare Source
Patch Changes
cdca034]:v6.0.1Compare Source
Patch Changes
7a9a566]:v6.0.0Compare Source
Major Changes
#3110
09aa881Thanks @christianhg! - feat!: drop the legacymainandmodulefieldsEvery package now declares its entry points through the
exportsmap only. Node, all maintained bundlers, and TypeScript (moduleResolution: 'bundler', 'node16', or 'nodenext') resolve throughexports; only tooling that predatesexportssupport readmainormoduleand can no longer resolve these packages.#3106
3ce5a1dThanks @christianhg! - feat!: require node 22.12 or laterNode.js 22.12 or later is now required. The previous range also allowed Node.js 20.19 and later; Node.js 20 reached end of life in April 2026 and is no longer supported.
@portabletext/editorand@portabletext/markdownalso move to@portabletext/to-htmlv6 and@portabletext/toolkitv6, which carry the same Node.js requirement.Patch Changes
09aa881,3ce5a1d]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here
Note
Medium Risk
Major-version bump of block-tools used for HTML↔Portable Text in serializer plugins, with stricter Node requirements and upgraded transitive Portable Text packages; regression risk is mainly in deserialization/serialization paths.
Overview
Bumps the workspace catalog entry for
@portabletext/block-toolsfrom^5.2.0to^6.0.3and refreshespnpm-lock.yamlso consumers (sanity-naive-html-serializer,sanity-translations-tab, and the root workspace) resolve the new major.The lockfile also picks up v6’s transitive upgrades (
@portabletext/html,@portabletext/sanity-bridge,@portabletext/schema) and drops the oldersanity-bridge@3.xtree. v6 tightens the packageenginesto Node ≥22.12 (no more Node 20.x) and resolves only viaexports(legacymain/moduleremoved). No application source files change in this PR.Reviewed by Cursor Bugbot for commit ff9ff79. Bugbot is set up for automated code reviews on this repo. Configure here.