- Introduced new
useAnchorhook, which works better with the newPopovercomponent APIs. The previoususeAnchorRefhook is now marked as deprecated, and is scheduled to be removed in WordPress 6.3 (#43691).
- Removed unused
@wordpress/dom,@wordpress/is-shallow-equalandclassnamesdependencies (#38388).
- Upgraded React components to work with v17.0 (#29118). There are no new features in React v17.0 as explained in the blog post.
- Drop support for Internet Explorer 11 (#31110). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
- Increase the minimum Node.js version to v12 matching Long Term Support releases (#31270). Learn more at https://nodejs.org/en/about/releases/.
- Added a store definition
storefor the rich-text namespace to use with@wordpress/dataAPI (#26655).
- Removed and renamed undocumented functions and constants:
- Removed
charAt - Removed
getSelectionStart - Removed
getSelectionEnd - Removed
insertLineBreak - Renamed
isEmptyLineto__unstableIsEmptyLine - Renamed
insertLineSeparatorto__unstableInsertLineSeparator - Renamed
applyto__unstableApply - Renamed
unstableToDomto__unstableToDom - Renamed
LINE_SEPARATORto__UNSTABLE_LINE_SEPARATOR - Renamed
indentListItemsto__unstableIndentListItems - Renamed
outdentListItemsto__unstableOutdentListItems - Renamed
changeListTypeto__unstableChangeListType
- Removed
- Added format boundaries.
- Removed parameters from
createto filter out content. - Removed the
createLinePaddingfromapply, which is now built in. - Improved format placeholder.
- Improved dom diffing.
- Internal performance optimizations to avoid excessive expensive creation of DOM documents.
toHTMLStringalways expects an object instead of multiple arguments.
- Fix Format Type Assignment During Parsing.
- Fix applying formats on multiline values without wrapper tags.
- Remove
@wordpress/blocksas a dependency.
- Initial release.