Skip to content

13.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Aug 14:01
· 10 commits to release/13.8 since this release

Changelog

Enhancements

  • Allow removing CSS declarations from the WP_Style_Engine_CSS_Declarations object. (42428)
  • 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)
  • ComboboxControl: Refactor onKeyDown to use keyboardEvent.code. (42569)
  • Elevation: Convert component to TypeScript. (42302)
  • InputControl: Decrease large default padding if has prefix/suffix. (42166)
  • ScrollLock: Covert component to TypeScript. (42303)
  • SelectControl: Add flag for larger default size. (42456)
  • Shortcut: Covert component to TypeScript. (42272)
  • Divider: Complete TypeScript migration of component. (41991)
  • ToggleGroupControl: Add size variants. (42008)
  • UnitControl: Update unit select's focus styles. (42383)
  • BorderControl: Add missing changelog for accessibility enhancements. (42411)
  • 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 when value is transparent. (42232)

Block Library

  • Added WhatsApp icon to the Social Icon Block. (42137)
  • Template Part: Swap block action places. (42221)
  • Template Parts: Add search to replacement modal. (42459)
  • Image: Add border block support for color, width, and style. (31366)
  • List v2: Remove quote transforms as removed by Quote v2. (42700)
  • Merge Comments and Post Comments blocks. (41807)
  • Theme.json: Add support for heading / caption elements in theme.json schema. (42433)

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)

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)

Accessibility

  • BorderControl: Update labelling, tooltips and wrap with fieldset and legend. (42348)

Icons

  • Add shuffle icon to library. (42193)

Nested / Inner Blocks

  • Quote: Use nested blocks. (25892)

Colors

  • Update color palette popover style. (41900)

Bug Fixes

  • Env: Download WordPress PHPUnit Into Container. (41780)
  • Env: Restrict WP_TESTS_DOMAIN constant to just hostname and not home URL. (41039)
  • Fix: Condition bug on BoxControl. (42402)
  • MaybeCategoryPanel: Update category selector. (42663)
  • Post title: Fix single line paste. (42321)
  • Scripts: Exit error code 1 when status value is null. (42396)
  • Style engine: Check item value validity. (42487)
  • Utilize WordPress PHPUnit Test Library Included By wp-env. (41852)
  • fix: Correct alt text footnote spacing. (42504)

Block Library

  • 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)
  • List v2: Add forward delete. (42564)
  • List v2: Improve paste handling. (42524)
  • List v2: Merge with nested items. (42551)
  • List v2: Switch to default block type on Backspace from start. (42633)
  • Page List: Fetch items with 'view' context. (42559)
  • Social Icons Block: Fix button opacity in template parts. (42641)
  • Group block: Add context to the word "Row". (42255)
  • Hide prefix and suffix placeholders in post terms. (42418)
  • Theme.json: Fix schema for button elements. (42431)
  • [Media Text]: Fix deprecations regression. (42816)

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 to children. (42686)
  • 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)

Accessibility

  • 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)

Post Editor

  • Avoid 403 errors for users with low permissions. (42413)
  • Display post template selection for non-admin users. (42705)
  • Editor: 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)

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)
  • Button Block: Change text-decoration style to low specificity. (42545)
  • Element styles: Adding stylesheet to load in the editor. (42132)

Global Styles

  • Elements: Fix heading and caption element selectors. (42479)
  • Layout content size controls: Add left alignment to line up with description and other elements. (42576)
  • Layout: Ensure defaultEditorStyles are still output in Classic themes. (42906)
  • Theme JSON Resolver: Update cache check to also check that the object is an instance of the Gutenberg version. (42756)

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)
  • [Site Editor]: Fix Reakit warning on creation template component. (42392)
  • Site Editor: 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)

Performance

Components

  • Lodash: Refactor a few components away from _.isEmpty(). (42468)
  • Lodash: Refactor away from _.compact(). (42438)

Post Editor

  • Lodash: Refactor PageAttributesParent away from _.deburr(). (42429)

Testing

  • Lodash: Refactor away from _.snakeCase(). (42427)

Block Validation/Deprecation

  • Lodash: Refactor away from _.fromPairs(). (42217)

Experiments

  • Style Engine Rules & Store objects. (42222)
  • Style Engine: Add a WP_Style_Engine_Processor object. (42463)

CSS & Styling

  • Style Engine: Add elements to the frontend. (41732)

Global Styles

  • Block supports: Add fluid typography. (39529)
  • Layout: Reduce specificity of fallback blockGap styles. (42665)

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 to block.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)

Code Quality

  • Base Styles: Apply long-content-fade gradient from transparent to color. (42401)
  • Fix jsx-a11y label-has-associated-control configuration. (42671)
  • Fix: 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)
  • Style engine: Update return PHP doc comment and other nitpicks. (42453)

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)

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)

First time contributors

The following PRs were merged by first time contributors:

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