Changelog
Enhancements
Block Library
- Image: Add border block support for color, width, and style. (31366)
- Merge Comments and Post Comments blocks. (41807)
- Social Icon: Added WhatsApp icon to the Social Icon Block. (42137)
- Template Part: Swap block action places. (42221)
- Template Part: Add search to replacement modal. (42459)
General UI
- Equalize modal content padding. (42370)
- Remove top margin on the first paragraph in a modal. (42369)
Components
- BorderControl: Render border color/style dropdown as UnitControl prefix. (42212)
- ColorPicker: Cleanly implement large size. (42002)
- InputControl: Decrease large default padding if has prefix/suffix. (42166)
- SelectControl: Add flag for larger default size. (42456)
- ToggleGroupControl: Add size variants. (42008)
- UnitControl: Update unit select's focus styles. (42383)
- CustomSelectControl: Use styles from SelectControl. (42460)
- Dropdown: Add wrapper for custom padding. (42595)
- InputControl: Add padding wrapper for prefix/suffix. (42378)
- ScrollLock: Improve Storybook story for documentation view. (42344)
ColorPalette
: Display checkered preview background whenvalue
is transparent. (42232)
Global Styles
- Add layout content size controls to global styles. (42309)
- Core CSS support for root padding and alignfull blocks. (42085)
- Theme.json: Add block support feature level selectors for blocks. (42087)
- Theme.json: Add support for heading / caption elements in theme.json schema. (42433)
Document Settings
- Make 'Move to trash' button full width. (42577)
Block Editor
- Add setting to display rich text toolbar inline. (42399)
- Add block variations for individual template parts. (42454)
- Enable
onEnter
support for group block. (40724)
Site Editor
- On template creation, don't show search if not needed. (42357)
Icons
- Add shuffle icon to library. (42193)
Nested / Inner Blocks
- Quote: Use nested blocks. (25892)
Colors
- Update color palette popover style. (41900)
Bug Fixes
Block Library
- Button Block: Change text-decoration style to low specificity. (42545)
- Cover Block: Prevent transform to Group block when featured image is set. (42638)
- Cover block: Adding background-size and background-repeat properties to the block CSS. (42470)
- Fix tab/focus order issue in Media & text block. (40806)
- Page List: Fetch items with 'view' context. (42559)
- Post title: Fix single line paste. (42321)
- Social Icons Block: Fix button opacity in template parts. (42641)
- Group block: Add context to the word "Row". (42255)
- Post terms: Hide prefix and suffix placeholders in post terms. (42418)
Components
- AnglePickerControl: Fix gap between elements in RTL mode. (42534)
- ColorPalette: Fix background image in RTL mode. (42510)
- Context System: Don't explicitly set
undefined
value tochildren
. (42686) - MaybeCategoryPanel: Update category selector. (42663)
- Popover: Fix width on
expandOnMobile
. (42635) - RangeControl: Clamp initialPosition between min and max values. (42571)
- Tooltip: Avoid unnecessary re-renders of
<select>
child elements. (42483) - Tooltip: Fix positioning by anchoring to child element. (41268)
- Fix condition bug on BoxControl. (42402)
Post Editor
- Avoid 403 errors for users with low permissions. (42413)
- Display post template selection for non-admin users. (42705)
- Fix typo in translation string. (42673)
Block Editor
- Prevent link control popover from going offscreen. (42389)
- Writing flow: Fix caret movement for multiple lines. (42423)
- Writing flow: Fix caret placement in corners. (42437)
- Writing flow: Esc should enter Nav mode consistently, avoid focus loss when clearing selection. (42530)
Global Styles, CSS & Styling
- Elements: Buttons: Fix the path with the css to style the cursor for all button elements. (42129)
- Link elements: Add a :where selector to the :Not to lower specificity. (42669)
- Element styles: Adding stylesheet to load in the editor. (42132)
- Elements: Fix heading and caption element selectors. (42479)
- Layout content size controls: Add left alignment to line up with description and other elements. (42576)
- Theme.json: Fix schema for button elements. (42431)
Widgets Editor
- Add configuration option to skip autop on freeform blocks when parsing blocks. (42623)
Rich Text
- Annotation API: Fix __experimentalGetPropsForEditableTreePreparation. (42596)
Site Editor
- Fix typo in default category template's description. (42586)
- Fix Reakit warning on creation template component. (42392)
- Remove leftover class. (42591)
Themes
- Remove core/post-comments-form block styles that are overriding button element styles. (42053)
Icons
- Icons Package: Fix line icons styling. (40315)
Accessibility
- BorderControl: Update labelling, tooltips and wrap with fieldset and legend. (42348)
- Add aria-hidden to query pagination arrows. (42583)
- Fix labelling and semantics of the paragraph block Left to right control. (42324)
- Fix mismatching label and visible text on the Toggle block inserter button. (42359)
- Fix the description text of block movers for horizontal movement. (42393)
- Replace clickable div elements with buttons in the Add template modal. (42668)
Experiments
Style Engine
- Style Engine Rules & Store objects. (42222)
- Add a WP_Style_Engine_Processor object. (42463)
- Add elements to the frontend. (41732)
- Allow removing CSS declarations from the WP_Style_Engine_CSS_Declarations object. (42428)
- Style engine: Check item value validity. (42487)
List v2
- Add forward delete. (42564)
- Improve paste handling. (42524)
- Merge with nested items. (42551)
- Switch to default block type on Backspace from start. (42633)
- Remove quote transforms as removed by Quote v2. (42700)
Global Styles
- Block supports: Add fluid typography. (39529)
Documentation
- Add examples to core/blocks selectors. (42572)
- Consolidate editor filters and actions. (42356)
- Correct the documented return type for
WP_Block_Parser::Render()
. (42642) - Doc: Update getEntityRecord/s param description. (42488)
- Docs: Add
variations
key toblock.json
JSON schema definition. (42539) - Docs: Add missing data module references. (42651)
- Fix: Repetition of wrong word in string. (42621)
- Flex: Remove experimental from documentation and storybook. (42301)
- Include section on how to test code for a given WP major. (42390)
- Marking internal action as @ignore to remove them from the documentation. (42163)
- Theme JSON Docs: Clarify null, true, and false values for blockGap setting. (42447)
- ToolsPanel: Add a readme section related to laying out a ToolsPanel. (42615)
Components
- Improve documentation for the
SpaceInput
type. (42376) - BorderControl: Add missing changelog for accessibility enhancements. (42411)
Code Quality
- Base Styles: Apply
long-content-fade
gradient from transparent to color. (42401) - Fix jsx-a11y label-has-associated-control configuration. (42671)
- Two code issues on navigation link edit missing text. (42440)
- Remove deprecated eslint rules. (42654)
Style Engine
- Rename WP_Style_Engine_CSS_Rule->set_declarations to add_declarations. (42464)
- Update return PHP doc comment and other nitpicks. (42453)
Componentes
- ComboboxControl: Refactor
onKeyDown
to usekeyboardEvent.code
. (42569) - Elevation: Convert component to TypeScript. (42302)
- ScrollLock: Covert component to TypeScript. (42303)
- Shortcut: Covert component to TypeScript. (42272)
- Divider: Complete TypeScript migration of component. (41991)
- Lodash: Refactor a few components away from
_.isEmpty()
. (42468) - Lodash: Refactor away from
_.compact()
. (42438) - Lodash: Refactor
PageAttributesParent
away from_.deburr()
. (42429) - Lodash: Refactor away from
_.snakeCase()
. (42427) - Lodash: Refactor away from
_.fromPairs()
. (42217)
Global Styles
- Dimensions Global Styles: Split props into separate hooks to tidy up the panel component. (42620)
Block Library
- Remove unnecessary React Fragments. (42529)
Tools
Testing
- Added unit test for cover block render function. (42108)
- Migrate hooks api test to playwright. (42584)
- Skip flaky navigation block permissions test. (42693)
- end-to-end Tests: Tweak Comments block tests after migrating to Playwright. (42406)
- Utilize WordPress PHPUnit Test Library Included By
wp-env
. (41852)
Build Tooling
- Update to reflect change in Documentation label. (42395)
- Add inline documentation on building API documentation to commit block API verify error message. (42432)
- Scripts: Exit error code 1 when status value is null. (42396)
- Env: Download WordPress PHPUnit Into Container. (41780)
- Env: Restrict
WP_TESTS_DOMAIN
constant to just hostname and not home URL. (41039)
First time contributors
The following PRs were merged by first time contributors:
- @kkmuffme: Remove deprecated eslint rules. (42654)
- @paulopmt1: Added WhatsApp icon to the Social Icon Block. (42137)
Contributors
The following contributors merged PRs in this release:
@aaronrobertshaw @afercia @ajlende @amustaque97 @andrewserong @arcangelini @aristath @bph @carolinan @chad1008 @ciampo @danielbachhuber @DAreRodz @dcalhoun @ellatrix @fabiankaegy @geriux @getdave @gziolo @jameskoster @johnbillion @jorgefilipecosta @kkmuffme @Mamaduka @matiasbenedetto @mirka @ndiego @noisysocks @ntsekouras @oandregal @ObliviousHarmony @paulopmt1 @pedro-mendonca @pooja-muchandikar @ramonjd @ryanwelcher @scruffian @SiobhyB @sunil25393 @t-hamano @talldan @tellthemachines @tyxla @vcanales @walbo @westonruter @zaguiini