Repository navigation
2.2.0-rc.0 - #246
Merged
Merged
2.2.0-rc.0#246
Conversation
Publish a release candidate on the `next` dist-tag so the React 19 fix can be adopted and tested before it becomes `latest`. publishConfig pins the npm registry so publishing does not depend on local npm config, and prepublish becomes prepublishOnly because modern npm runs `prepublish` on install rather than publish. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
henryqdineen
marked this pull request as ready for review
October 28, 2026 19:52
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.
Release candidate for 2.2.0, published on the
nextdist-tag so the React 19 fix can be adopted and tested before it becomeslatest.Also:
publishConfigpins the npm registry so publishing doesn't depend on local npm config, andprepublishbecomesprepublishOnly, since modern npm runsprepublishon install rather than on publish.Changes
convertToHTMLno longer includes the<link rel="preload" as="image">tags that React'srenderToStaticMarkupadds for every<img>( Strip React 19's image preload links from convertToHTML output #245 )peerDependency( Strip React 19's image preload links from convertToHTML output #245, closes Support for React 19 as peer dependency #224 )immutableis now~3.8.4(was~3.7.4) for GHSA-wf6x-7x77-mvgw, GHSA-xvcm-6775-5m9r and GHSA-v56q-mh7h-f735 ( Bump immutable from 3.7.6 to 3.8.4 #229 ). draft-js pinsimmutable@~3.7.4, so apps may end up with two copies; an override/resolution toimmutable@^3.8.4dedupes them and patches draft-js's copy too.dist/is now built with rollup. It now works under CommonJS and AMD (it previously requiredDraft/Reactby their global names) and no longer assumeswindow( Replace webpack 4 and Travis with rollup and GitHub Actions #225 )lib/andesm/output is equivalent ( Upgrade jest to 30 and babel to latest 7.x #234, Upgrade to eslint 10 and prettier 3 #237 )React 19 notes
These are React 19 behavior changes that draft-convert doesn't undo:
javascript:URLs in rendered elements are replaced by React with a URL that throws.<title>,<meta>and<link>inside block or entity HTML are moved to just before that element.🤖 Generated with Claude Code