Releases: WordPress/gutenberg
21.5.0 RC1
Changelog
Features
Block Library
- Query Title: Add "Post Type Label" variation. (71167)
Enhancements
- DataForm: Panel layout can open as
dropdown
ormodal
. (71212) - Move Style above Navigation in Command Pallete. (71265)
- Update
@tannin/sprintf
for full precision typing support in@wordpress/i18n
's sprintf. (71185)
DataViews
- Add
enableMoving
option to thetable
layout to allow or disallow column moving left and right. (71120) - Add smaller preview size to dataviews grid layout. (71077)
- Allow hiding configuration. (71173)
- DataForm: Add
array
control. (71136) - DataForm: Add new
card
layout. (71100) - DataViews story: Rename "Non-interactive" to "Minimal UI". (71178)
- Try adding optional infinite scroll to dataviews. (70955)
Block Library
- Add View button to navigation link blocks. (70986)
- Cover Block: Fix placeholder interaction in contentOnly mode. (70157)
- Rename Accordions block to Accordion. (71222)
- Video: Enable autoplay for video on
iOS
devices. (69380)
Components
- Calendar component: Adjusts the justification for the first and last days of the week. (71005)
- Form components: Support async validation. (71184)
- Primary button: Update disabled state to be less prominent. (70674)
- Update gradient-parser from 1.0.2 to 1.1.1. (71186)
Write mode
- Hide Cut/Copy commands in Write Mode (contentOnly). (71063)
- Restrict formatting controls in write mode (contentOnly). (71058)
Themes
- Support providing border radius presets. (67544)
Bug Fixes
- Block Comments: Remove period in comment UI text. (71234)
- Elements: Support unitless value in CSS custom properties. (70704)
- Fix horizontal overflow caused by long parent page names in Post Panel. (71117)
DataViews
- Fix DataViews primary actions horizontal layout consistency. (71274)
- Preview size picker falls back to the smallest available size. (71218)
Components
- DateCalendar, DateRangeCalendar: Use px instead of rem units, better theming support. (71248)
- MenuItem: Make accessible when disabled. (71251)
Block Library
- Media & Text: Retain 'useFeaturedImage' value during transformations. (71093)
- Post Excerpts Block: Fix "read more" theme override. (71179)
Write mode
- Fix: Hide crop and dimensions controls in site-logo block when in Write Mode. (71061)
- Fix: Hide heading level and alignment controls in site-title block when in contentOnly mode. (71057)
Block Editor
- Editor: Fix drag and drop to the top of the page. (71241)
CSS & Styling
- Fields Components: Add missing style resets for fieldset elements. (71217)
Post Editor
- DocumentBar: Only show template icon when back button is not present. (71183)
Icons
- Fix viewbox for table and formatting related icons. (71155)
Design Tools
- Fix duotone
cleanEmptyObject
attributes. (71151)
Paste
- Classic block: Prevent event bubbubbling on paste. (71148)
Experiments
- al: Enable Command Palette in admin dashboard. (71030)
Block Library
- Accordion Blocks: Make block icons internal. (71229)
Documentation
- DataForm: Update stories. (71268)
- FormTokenField: Improve use case stories. (71121)
- Social: Include developer blog tutorial in README. (71266)
- Storybook: Move validated form components into main grouping. (71181)
- Storybook: Remove
experimental
category in favor of a badge. (70540) - block.json schema: Make the apiVersion field required and only allow 3. (71107)
Code Quality
Block Library
- Accordion: Refactor settings panel to use ToolsPanel. (71225)
- File Block: Follow HTML API best practices. (71034)
Widgets Editor
- Widget Area Block: Apply API version 3. (71110)
Tools
Testing
- Automated Testing: Re-enable storybook smoke test. (71126)
- Fix flaky 'navigable-toolbar' end-to-end test. (71158)
- Site editor e2e: Ensure dismissal notice waits for the first occurrence of an updated/published notice. (71197)
- Upgrade Playwright to v1.54.2. (70503)
Build Tooling
- Dynamically set
node-version-file
input. (71090)
Various
Icons
- Deprecate moreHorizontalMobile. (71172)
Block Library
- Add Accordions Block. (64119)
First-time contributors
The following PRs were merged by first-time contributors:
Contributors
The following contributors merged PRs in this release:
@andrewserong @BogdanUngureanu @BugReportOnWeb @ciampo @desrosj @elazzabi @getdave @gigitux @im3dabasia @jasmussen @jffng @karthikeya-io @Mamaduka @mikachan @mikejolley @mirka @mrleemon @oandregal @p-jackson @priethor @R1shabh-Gupta @ramonjd @shimotmk @Sukhendu2002 @t-hamano @tellthemachines @USERSATOSHI @yogeshbhutkar @youknowriad
21.4.0
Changelog
Enhancements
- Change header height from 60px to 64px. (60729)
- Core data: Add a private media "edit" action to ensure cache invalidation. (70814)
- ServerSideRender: Introduce a new 'useServerSideRender' hook. (70543)
DataViews & Dataforms
- Allow dataviews empty state to be customised. (70867)
- DataForm: Bootstrap validation (required and typechecks). (70901)
- Add ctrl/cmd + click multiselection support to table layout when clicking rows. (70891)
- Align media styles in table view with list view for consistency. (70671)
- Allow Dataform Select Box to have a custom empty option. (70894)
- Implement Edit control for date field. (70836)
- Introduce locked filters. (71075)
- Make the media item clickable as well. (70985)
- Support groupBy in table layout. (71055)
- Try using responsive images in dataview grid layouts. (70493)
perPageSizes
tweaks. (71004)
Block Library
- Add preview example for
comments-count
andcomments-link
. (71016) - Categories: Disable links in the editor. (70896)
- Cover/Video Block: Add Drag-and-Drop Support for Poster Uploads. (71039)
- File Block: Use mime type to determine if file is PDF. (71033)
- File block: Use native feature detection for pdf support. (63044)
- Video/Cover Block: Enhance UI for Poster Image Preview. (70939)
Developer Experience
- Override the existing file paths using those from a variant. (70855)
Icons
Block Editor
- Explain why we need to intercept hash links in iframe editor. (70960)
- List: Add keyboard shortcuts to Indent/Outdent tooltips. (71053)
Media
- useSaveImage: Handle missing editMediaEntity gracefully. (70967)
Write mode
- Add shuffle style to write mode toolbar. (70946)
Interactivity API
- Deprecate data-wp-ignore directive with warning message. (70945)
Components
- TextControl: Improve theming support. (70910)
Block bindings
- Date block: Allow connecting to Block Bindings. (70585)
Bug Fixes
- Synced Pattern: Guard against redeclaration of
WP_Block_Cloner
. (71174) core-data
: FixPostStatusObject
export (#71191)- Add
@wordpress/env
as an optional peer dependency of@wordpress/scripts
. (70636) - Review all the 'Add New' strings #53984. (71083)
- ServerSideRender: Allow skipping block shadow support value. (70970)
Block Library
- Social Link Block: Add context to service names. (70413)
- File Block: Fix PDF preview on URLs containing query parameters. (70915)
- Image Block: Prepend HTTP to links when missing protocol. (71027)
- More Block: Fix undo/redo history for custom text. (71087)
- Page List: Fix Notice component background gets incorrectly inherited. (70932)
- Paragraph Block: Fix 'Drop cap' control reset value. (70959)
- Resize TikTok social icon to appropriate size. (71101)
- Video: Fix missing trailing periods. (70857)
DataViews
- Added max-width to DataView columns. (70983)
- Clear user-input filters properly. (70956)
- DataForm: Fix Edit for
array
field type. (71000) - Do not render an empty level span if level is 0. (71021)
- Pages: Filters should not be visible if they are present in the bundled view. (71059)
- Allow searching over array fieldtypes. (70785)
- Fields: Add label to Password field. (70865)
Block Editor
- Fix single block selection when holding 'Shift' key. (70978)
- MediaReplaceFlow: Correctly truncate long URL. (71062)
- RichText: Support more colors for format boundary colors. (70918)
- Writing Flow: Remove empty blocks when the merge target doesn't support merging. (70741)
Post Editor
- Editor: Fix 'isEditedPostAutosaveable' selector return value. (70888)
- Editor: Fix incorrect title when multiple post selected. (70997)
- Editor: Move editor-sidebar CSS reset closer to its target. (71096)
Saving
- Core Data: Add getTitle for user entity. (70941)
- Core Data: Define record title getter for taxonomy entities. (70863)
Components
- PaletteEdit: Fill available space with input field. (70935)
- TextareaControl: Add missing component CSS classname. (70930)
Block bindings
- Date Block: Ensure that fallback value is overridden if source is not registered. (71047)
Icons
- Update dollar icon. (71042)
Synced Patterns
- Synced Pattern block: Pass block context to pattern content. (70943)
Interactivity API
- iAPI Router: Ignores
<noscript>
elements while preparing DOM. (70905)
Block API
- Add special case for metadata attribute in 'isUnmodifiedBlock'. (70903)
Global Styles
- Fix ability to preview Additional CSS changes in the Customizer when using a Block Theme. (70428)
List View
- Fix focus outline style. (69201)
Accessibility
Components
- Color Picker: Improve color picker slider focus styles. (70146)
Performance
Block Library
- Fix layout shift caused by
video
tag in Video block lackingwidth
andheight
. (70293)
Documentation
- Add DataForm story about field visibility. (70996)
- Add changelog entry for #70493. (71008)
- Added Missing Global Documentation. (71029)
- Blocks: Display browser console warnings for blocks with apiVersion below 2. (70783)
- Clarify block name immutability and namespace best practices [docs]. (71040)
- DataViews: Clarify filtering behavior in DataViews configuration in README.md. (70958)
- Field elements: Add changelog for custom empty element. (71041)
- Fix: Add hyphen to “hands-on” in Getting Started section. (70906)
- Image: Fix return type annotation for lightbox settings function. ([71073](https://github.com/WordPress/guten...
21.4.0 RC2
21.4.0 RC1
Changelog
Features
- DataForm: Bootstrap validation (required and typechecks). (70901)
- Override the existing file paths using those from a variant. (70855)
DataViews
- Allow dataviews empty state to be customised. (70867)
Enhancements
- Change header height from 60px to 64px. (60729)
- Core data: Add a private media "edit" action to ensure cache invalidation. (70814)
- ServerSideRender: Introduce a new 'useServerSideRender' hook. (70543)
DataViews
- Add ctrl/cmd + click multiselection support to table layout when clicking rows. (70891)
- Align media styles in table view with list view for consistency. (70671)
- Allow Dataform Select Box to have a custom empty option. (70894)
- Implement Edit control for date field. (70836)
- Introduce locked filters. (71075)
- Make the media item clickable as well. (70985)
- Support groupBy in table layout. (71055)
- Try using responsive images in dataview grid layouts. (70493)
perPageSizes
tweaks. (71004)
Block Library
- Add preview example for
comments-count
andcomments-link
. (71016) - Categories: Disable links in the editor. (70896)
- Cover/Video Block: Add Drag-and-Drop Support for Poster Uploads. (71039)
- File Block: Use mime type to determine if file is PDF. (71033)
- File block: Use native feature detection for pdf support. (63044)
- Video/Cover Block: Enhance UI for Poster Image Preview. (70939)
Icons
Block Editor
- Explain why we need to intercept hash links in iframe editor. (70960)
- List: Add keyboard shortcuts to Indent/Outdent tooltips. (71053)
Media
- useSaveImage: Handle missing editMediaEntity gracefully. (70967)
Write mode
- Add shuffle style to write mode toolbar. (70946)
Interactivity API
- Deprecate data-wp-ignore directive with warning message. (70945)
Components
- TextControl: Improve theming support. (70910)
Block bindings
- Date block: Allow connecting to Block Bindings. (70585)
Bug Fixes
- Add
@wordpress/env
as an optional peer dependency of@wordpress/scripts
. (70636) - DataViews: Allow searching over array fieldtypes. (70785)
- Fields: Add label to Password field. (70865)
- Review all the 'Add New' strings #53984. (71083)
- ServerSideRender: Allow skipping block shadow support value. (70970)
- Social Link Block: Add context to service names. (70413)
Block Library
- File Block: Fix PDF preview on URLs containing query parameters. (70915)
- Image Block: Prepend HTTP to links when missing protocol. (71027)
- More Block: Fix undo/redo history for custom text. (71087)
- Page List: Fix Notice component background gets incorrectly inherited. (70932)
- Paragraph Block: Fix 'Drop cap' control reset value. (70959)
- Resize TikTok social icon to appropriate size. (71101)
- Video: Fix missing trailing periods. (70857)
DataViews
- Added max-width to DataView columns. (70983)
- Clear user-input filters properly. (70956)
- DataForm: Fix Edit for
array
field type. (71000) - Do not render an empty level span if level is 0. (71021)
- Pages: Filters should not be visible if they are present in the bundled view. (71059)
Block Editor
- Fix single block selection when holding 'Shift' key. (70978)
- MediaReplaceFlow: Correctly truncate long URL. (71062)
- RichText: Support more colors for format boundary colors. (70918)
- Writing Flow: Remove empty blocks when the merge target doesn't support merging. (70741)
Post Editor
- Editor: Fix 'isEditedPostAutosaveable' selector return value. (70888)
- Editor: Fix incorrect title when multiple post selected. (70997)
- Editor: Move editor-sidebar CSS reset closer to its target. (71096)
Saving
- Core Data: Add getTitle for user entity. (70941)
- Core Data: Define record title getter for taxonomy entities. (70863)
Components
- PaletteEdit: Fill available space with input field. (70935)
- TextareaControl: Add missing component CSS classname. (70930)
Block bindings
- Date Block: Ensure that fallback value is overridden if source is not registered. (71047)
Icons
- Update dollar icon. (71042)
Synced Patterns
- Synced Pattern block: Pass block context to pattern content. (70943)
Interactivity API
- iAPI Router: Ignores
<noscript>
elements while preparing DOM. (70905)
Block API
- Add special case for metadata attribute in 'isUnmodifiedBlock'. (70903)
Global Styles
- Fix ability to preview Additional CSS changes in the Customizer when using a Block Theme. (70428)
List View
- Fix focus outline style. (69201)
Accessibility
Components
- Color Picker: Improve color picker slider focus styles. (70146)
Performance
Block Library
- Fix layout shift caused by
video
tag in Video block lackingwidth
andheight
. (70293)
Documentation
- Add DataForm story about field visibility. (70996)
- Add changelog entry for #70493. (71008)
- Added Missing Global Documentation. (71029)
- Blocks: Display browser console warnings for blocks with apiVersion below 2. (70783)
- Clarify block name immutability and namespace best practices [docs]. (71040)
- DataViews: Clarify filtering behavior in DataViews configuration in README.md. (70958)
- Field elements: Add changelog for custom empty element. (71041)
- Fix: Add hyphen to “hands-on” in Getting Started section. (70906)
- Image: Fix return type annotation for lightbox settings function. (71073)
- Improve note for 'blockType.save' method. (70942)
- Mentioning Playground CLI instead wp-now. (71071...
21.3.0
Changelog
Features
DataViews
- Add groupByField support to grid layout. (70752)
Components
- Add ValidateControls components. (70620)
Enhancements
- DataViews: Add
date
field type. (70657) - wp-env: Add wp-cli configuration when creating environment. (70661)
Block Library
- Cover: Enable support for adding posters over video. (70816)
- Navigation Submenu Link: Add
Open in new tab
toggle to navigation block sidebar. (70687) - Post Content Block: Add tagName selector. (70698)
- Video: Enable support for adding multiple tracks. (70689)
- Site tagline: update block description. (34473)
Write mode
- Allow add before/after on block toolbar menu dropdown when in write mode. (70827)
- Remove cover block content position and full height controls from write mode. (70826)
Block API
- Add attribute role-based filtering to 'isUnmodifiedBlock'. (70764)
List View
- Package blocks: Introduce a utility for getting the block image. (68910)
Layout
- Adds max limit to row span and column span in grid. (64895)
Bug Fixes
- Update @tannin/sprintf to resolve CommonJS error. (70799)
- wp-env: Don't overwrite wp-cli.yml if it already exists. (70677)
- wp-env: Fix Docker build errors with Debian Buster repositories. (70718)
Block Library
- Archives: Update padding for archives block to remain consistent with
list
. (69008) - Fix: Preserve hasParallax when switching from video to image in Cover block. (70703)
- Media & Text: Fixed resetAll to return image resolution to default value. (70683)
- Navigation Block: Fix inconsistent padding in nested submenus when "Open on click" is enabled. (70471)
- Navigation Link: Fix URL deletion in Inspector Controls. (70749)
- Separator: Surfacing the HTML markup control. (70455)
- Sever Nav Link item entity link on URL change if ID already exists. (68143)
- Video: Fix track editor state saves without explicitly applying the changes. (70628)
- [Block] Cover: Fix resize handler gets stuck on undo. (70820)
Block Editor
- Block Editor Components: Add missing style resets for fieldset elements. (70685)
- Inserter: Fix focus style for disabled items. (70691)
- Inserter: Restore styling for disabled blocks. (70663)
- Block Editor: Fix link interception in the iframed editor. (#70931)
Global Styles
- Core/File: Reduce specificity of pseudo-selector styles for better override support via theme.json. (70358)
- Make Button element inherit all typography styles on the frontend. (70676)
Components
- Update Icon component to support bundled dataviews package. (70756)
CSS & Styling
- Block Lock Modal: Add ul browser defaults CSS resets. (70700)
Interactivity API
- iAPI Router: Preserve media attribute on intial style sheets after client-side navigation. (70668)
Font Library
- Fix: Font Library Modal: Focus outline not displaying correctly. (70667)
Post Editor
- Match front-page link style to admin styles. (70600)
Accessibility
Block Editor
- Autocomplete: Prevent text cursor position loss when clicking to insert an item. (70660)
- Components: Fix label and placeholder handling in
LinkControlSearchInput
. (70096)
Block Library
- a11y: Comments Pagination Nav Wrapper. (70730)
Performance
- core-data: Try using cached permissions even when
_fields
is present in the query. (70738)
Block Editor
Block Library
- Fix: Avoid duplicate
get_the_title()
calls inrender_block_core_post_featured_image()
. (70813)
List View
- Delay block highlighting when moving the mouse over the items. (70732)
Documentation
- Deprecated: Fix code example. (70781)
- Docs: Update RichTextToolbarButton link in documentation. (70804)
- Docs: Update WP Studio to WordPress Studio. (70716)
Code Quality
- Convert packages to TypeScript:
- Migrate
@packages/url
package to TypeScript. (70496) - Migrate
hooks
package to TypeScript. (70488) - Migrate
lazy-import
package toTypeScript
. (70475) - Migrate
redux-routine
package to TS. (70686) - Migrate plugins package to TS. (70773)
- Migrate Icons package to
TypeScript
. (70456) - TypeScript: Fix types for core entity meta. (70788)
- TypeScript: Migrate
block-serialization-default-parser
to TS. (#70507). (70766) - TypeScript: Migrate wordcount package to TypeScript. (70501)
- Migrate
Block Library
- Navigation Link: Add
opensInNewTab
to resetAll. (70717) - Video: Fix 'MediaUploadCheck' wrapper for Poster control. (70830)
- Video: Reuse logic for uploaded track selection. (70675)
DataViews
- Improve data in DataViews storybook. (70817)
- filterSortAndPaginate: Extract sortBy and groupBy logic. (70822)
Components
- Reuse existing
useControlledValue
hook in Calendar components. (70655) - SelectControl: Move classnames to root. (70643)
DateCalendar
,DateRangeCalendar
: Move to private APIs. (70681)
Layout
- Dimensions support: Fix duplicate output of styling rules. (70796)
Block API
- Blocks: Set default 'apiVersion' for client-side registration. (70750)
List View
- Remove public APIs for getting images. (70705)
Tools
- Improve plugin release checklist and documentation. (70808)
- Improving Gitignore for files related to applying patches. (70745)
- Update codeowners for
packages/dataviews
. (70753) - Update gutenberg release documentation. (70772)
- Sync package-lock.json on latest NPM. (70839)
Contributors
The following contributors merged PRs in this release:
@Adi-ty @aduth @andrewserong @carolinan @chihsuan @ciampo @DAreRodz @dhruvikpatel18 @dmsnell @EliezerSPP @ellatrix @getdave @gigitux @im3dabasia @Infinite-Null @jeryj @jsnajdr @kellychoffman @Mamaduka @manzoorwanijk @mukeshpanchal27 @n2erjo00 @ndiego @oandregal @prasadkarmalkar @priethor @shimotmk @shrivastavanolo @SirLouen @t-hamano @talldan @vipul0425 @y...
21.3.0 RC2
- Block Editor: Fix link interception in the iframed editor. (#70931)
21.3.0 RC1
Changelog
Features
DataViews
- Add groupByField support to grid layout. (70752)
Components
- Add ValidateControls components. (70620)
Enhancements
- DataViews: Add
date
field type. (70657) - wp-env: Add wp-cli configuration when creating environment. (70661)
Block Library
- Cover: Enable support for adding posters over video. (70816)
- Navigation Submenu Link: Add
Open in new tab
toggle to navigation block sidebar. (70687) - Post Content Block: Add tagName selector. (70698)
- Video: Enable support for adding multiple tracks. (70689)
- Site tagline: update block description. (34473)
Write mode
- Allow add before/after on block toolbar menu dropdown when in write mode. (70827)
- Remove cover block content position and full height controls from write mode. (70826)
Block API
- Add attribute role-based filtering to 'isUnmodifiedBlock'. (70764)
List View
- Package blocks: Introduce a utility for getting the block image. (68910)
Layout
- Adds max limit to row span and column span in grid. (64895)
Bug Fixes
- Update @tannin/sprintf to resolve CommonJS error. (70799)
- wp-env: Don't overwrite wp-cli.yml if it already exists. (70677)
- wp-env: Fix Docker build errors with Debian Buster repositories. (70718)
Block Library
- Archives: Update padding for archives block to remain consistent with
list
. (69008) - Fix: Preserve hasParallax when switching from video to image in Cover block. (70703)
- Media & Text: Fixed resetAll to return image resolution to default value. (70683)
- Navigation Block: Fix inconsistent padding in nested submenus when "Open on click" is enabled. (70471)
- Navigation Link: Fix URL deletion in Inspector Controls. (70749)
- Separator: Surfacing the HTML markup control. (70455)
- Sever Nav Link item entity link on URL change if ID already exists. (68143)
- Video: Fix track editor state saves without explicitly applying the changes. (70628)
- [Block] Cover: Fix resize handler gets stuck on undo. (70820)
Block Editor
- Block Editor Components: Add missing style resets for fieldset elements. (70685)
- Inserter: Fix focus style for disabled items. (70691)
- Inserter: Restore styling for disabled blocks. (70663)
Global Styles
- Core/File: Reduce specificity of pseudo-selector styles for better override support via theme.json. (70358)
- Make Button element inherit all typography styles on the frontend. (70676)
Components
- Update Icon component to support bundled dataviews package. (70756)
CSS & Styling
- Block Lock Modal: Add ul browser defaults CSS resets. (70700)
Interactivity API
- iAPI Router: Preserve media attribute on intial style sheets after client-side navigation. (70668)
Font Library
- Fix: Font Library Modal: Focus outline not displaying correctly. (70667)
Post Editor
- Match front-page link style to admin styles. (70600)
Accessibility
Block Editor
- Autocomplete: Prevent text cursor position loss when clicking to insert an item. (70660)
- Components: Fix label and placeholder handling in
LinkControlSearchInput
. (70096)
Block Library
- a11y: Comments Pagination Nav Wrapper. (70730)
Performance
- core-data: Try using cached permissions even when
_fields
is present in the query. (70738)
Block Editor
Block Library
- Fix: Avoid duplicate
get_the_title()
calls inrender_block_core_post_featured_image()
. (70813)
List View
- Delay block highlighting when moving the mouse over the items. (70732)
Documentation
- Deprecated: Fix code example. (70781)
- Docs: Update RichTextToolbarButton link in documentation. (70804)
- Docs: Update WP Studio to WordPress Studio. (70716)
Code Quality
- Convert packages to TypeScript:
- Migrate
@packages/url
package to TypeScript. (70496) - Migrate
hooks
package to TypeScript. (70488) - Migrate
lazy-import
package toTypeScript
. (70475) - Migrate
redux-routine
package to TS. (70686) - Migrate plugins package to TS. (70773)
- Migrate Icons package to
TypeScript
. (70456) - TypeScript: Fix types for core entity meta. (70788)
- TypeScript: Migrate
block-serialization-default-parser
to TS. (#70507). (70766) - TypeScript: Migrate wordcount package to TypeScript. (70501)
- Migrate
Block Library
- Navigation Link: Add
opensInNewTab
to resetAll. (70717) - Video: Fix 'MediaUploadCheck' wrapper for Poster control. (70830)
- Video: Reuse logic for uploaded track selection. (70675)
DataViews
- Improve data in DataViews storybook. (70817)
- filterSortAndPaginate: Extract sortBy and groupBy logic. (70822)
Components
- Reuse existing
useControlledValue
hook in Calendar components. (70655) - SelectControl: Move classnames to root. (70643)
DateCalendar
,DateRangeCalendar
: Move to private APIs. (70681)
Layout
- Dimensions support: Fix duplicate output of styling rules. (70796)
Block API
- Blocks: Set default 'apiVersion' for client-side registration. (70750)
List View
- Remove public APIs for getting images. (70705)
Tools
- Improve plugin release checklist and documentation. (70808)
- Improving Gitignore for files related to applying patches. (70745)
- Update codeowners for
packages/dataviews
. (70753) - Update gutenberg release documentation. (70772)
- Sync package-lock.json on latest NPM. (70839)
Contributors
The following contributors merged PRs in this release:
@Adi-ty @aduth @andrewserong @carolinan @chihsuan @ciampo @DAreRodz @dhruvikpatel18 @dmsnell @EliezerSPP @ellatrix @getdave @gigitux @im3dabasia @Infinite-Null @jeryj @jsnajdr @kellychoffman @Mamaduka @manzoorwanijk @mukeshpanchal27 @n2erjo00 @ndiego @oandregal @prasadkarmalkar @priethor @shimotmk @shrivastavanolo @SirLouen @t-hamano @talldan @vipul0425 @yogeshbhutkar @youknowriad
21.2.0
Changelog
Enhancements
- DataViews: Introduce
perPageSizes
to control the available sizes of the items per page. (70604) - ESLint: Enforce stricter translator comment placeholder matching. (70458)
- Format Library: Improve inline image replacement workflow. (70598)
- I18N: Use
@tannin/sprintf
. (70434)
Block Library
- Gallery: Refactor "Settings" panel of Gallery block to use
ToolsPanel
instead ofPanelBody
. (67904) - Navigation Link: Add "Open in new tab" toggle to navigation block sidebar. (67262)
- Site Logo: Refactor the media panel to use ToolsPanel. (70599)
Icons
- Update circle icons to have a unified footprint. (70581)
- Update icons: Help, PlusCircle, Typography. (70299)
Block Editor
- Use consistent sizing for the block locking modal. (70593)
Post Editor
- Editor: Allow replacing the 'PostLockedModal' component. (70586)
Components
- Add
DateCalendar
andDateRangeCalendar
components. (70578)
DataViews
- More fields, controls and operators. (70567)
Interactivity API
- iAPI Router: Prioritize custom click event handlers when full-page navigation is enabled. (70566)
Templates API
- Site Editor: Sort post types alphabetically within the
Add Template
modal. (70562)
Bug Fixes
- iAPI Router: Preserve media attribute on intial style sheets after client-side navigation (#70668)
Block Library
- Cover: Fixed resetAll to return image resolution to default value. (70608)
- Featured Image: Fixed resetAll to return image resolution to default value. (70514)
- Fix submenu border visibility in Navigation block. (70520)
- Image Block: Preserve line breaks in media caption. (70476)
- RSS Block: Decode HTML entities in feed titles before display. (70491)
Icons
- Fix plusCircleFilled size. (70650)
DataViews
- Correct padding for empty-state elements when is in a . (70638)
Components
- Remove the extra font-size override for the select control on medium layouts. (70619)
Style Book
- Enable support for showing individual block variations. (70448)
Accessibility
Components
FormTokenField
: Fix focus lost on tab when__experimentalExpandOnFocus
is set. (70591)
Performance
- usePostActions: Avoid fetching all templates (unbound request). (70535)
- Block Editor: Avoid unbound requests in inserter selectors (#66817)
Block Library
- Post Author: Optimize and improve user control queries. (70510)
Documentation
- Add
isPostAutosavingLocked
example to doc block. (70640) - Docs: Update Locking interface example image. (70590)
- Media Upload: Correct wrapper reference in docstring. (70651)
- RawHTML: Clarify the wrapper 'div' element behavior. (70527)
- ServerSideRender: Remove the 'POST' method shim example. (70577)
- Update nested-blocks-inner-blocks.md. (70587)
- Updated support for MS Word Images. (70564)
Code Quality
- I18n: Use more descriptive type arguments in i18n package. (70606)
- ServerSideRender: Remove unnecessary props for default loading placeholder. (70576)
- ServerSideRender: Use data hooks instead of HoC. (70529)
- wp-env: Fix Docker build errors with Debian Buster repositories (#70718)
Block Editor
Block Library
- List Block: Remove unused __unstableMultilineWrapperTags field from block.json. (70209)
Components
- Fix Floating UI packages dependencies. (70553)
Tools
Testing
- CodeVitals: Use a different SHA for the base branch. (70565)
- Fix unit test for flaky filterSortAndPaginate function. (70582)
- e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)
First-time contributors
The following PRs were merged by first-time contributors:
- @Adi-ty: e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)
- @chihsuan: Components: Add
DateCalendar
andDateRangeCalendar
components. (70578) - @coderGtm: (70482)
- @mecskyverse: Updated support for MS Word Images. (70564)
- @R1shabh-Gupta: Fix submenu border visibility in Navigation block. (70520)
- @USERSATOSHI: ESLint: Enforce stricter translator comment placeholder matching. (70458)
Contributors
The following contributors merged PRs in this release:
@Adi-ty @arthur791004 @BugReportOnWeb @chihsuan @coderGtm @DAreRodz @ellatrix @himanshupathak95 @Infinite-Null @jameskoster @jasmussen @Lovor01 @Mamaduka @mecskyverse @p-jackson @R1shabh-Gupta @sejas @shimotmk @sirreal @Sukhendu2002 @swissspidy @t-hamano @USERSATOSHI @yogeshbhutkar @youknowriad
21.2.0 RC2
21.2.0 RC1
Changelog
Enhancements
- DataViews: Introduce
perPageSizes
to control the available sizes of the items per page. (70604) - ESLint: Enforce stricter translator comment placeholder matching. (70458)
- Format Library: Improve inline image replacement workflow. (70598)
- I18N: Use
@tannin/sprintf
. (70434)
Block Library
- Gallery: Refactor "Settings" panel of Gallery block to use
ToolsPanel
instead ofPanelBody
. (67904) - Navigation Link: Add "Open in new tab" toggle to navigation block sidebar. (67262)
- Site Logo: Refactor the media panel to use ToolsPanel. (70599)
Icons
- Update circle icons to have a unified footprint. (70581)
- Update icons: Help, PlusCircle, Typography. (70299)
Block Editor
- Use consistent sizing for the block locking modal. (70593)
Post Editor
- Editor: Allow replacing the 'PostLockedModal' component. (70586)
Components
- Add
DateCalendar
andDateRangeCalendar
components. (70578)
DataViews
- More fields, controls and operators. (70567)
Interactivity API
- iAPI Router: Prioritize custom click event handlers when full-page navigation is enabled. (70566)
Templates API
- Site Editor: Sort post types alphabetically within the
Add Template
modal. (70562)
Bug Fixes
Block Library
- Cover: Fixed resetAll to return image resolution to default value. (70608)
- Featured Image: Fixed resetAll to return image resolution to default value. (70514)
- Fix submenu border visibility in Navigation block. (70520)
- Image Block: Preserve line breaks in media caption. (70476)
- RSS Block: Decode HTML entities in feed titles before display. (70491)
Icons
- Fix plusCircleFilled size. (70650)
DataViews
- Correct padding for empty-state elements when is in a . (70638)
Components
- Remove the extra font-size override for the select control on medium layouts. (70619)
Style Book
- Enable support for showing individual block variations. (70448)
Accessibility
Components
FormTokenField
: Fix focus lost on tab when__experimentalExpandOnFocus
is set. (70591)
Performance
- usePostActions: Avoid fetching all templates (unbound request). (70535)
Block Library
- Post Author: Optimize and improve user control queries. (70510)
Documentation
- Add
isPostAutosavingLocked
example to doc block. (70640) - Docs: Update Locking interface example image. (70590)
- Media Upload: Correct wrapper reference in docstring. (70651)
- RawHTML: Clarify the wrapper 'div' element behavior. (70527)
- ServerSideRender: Remove the 'POST' method shim example. (70577)
- Update nested-blocks-inner-blocks.md. (70587)
- Updated support for MS Word Images. (70564)
Code Quality
- I18n: Use more descriptive type arguments in i18n package. (70606)
- ServerSideRender: Remove unnecessary props for default loading placeholder. (70576)
- ServerSideRender: Use data hooks instead of HoC. (70529)
Block Editor
Block Library
- List Block: Remove unused __unstableMultilineWrapperTags field from block.json. (70209)
Components
- Fix Floating UI packages dependencies. (70553)
Tools
Testing
- CodeVitals: Use a different SHA for the base branch. (70565)
- Fix unit test for flaky filterSortAndPaginate function. (70582)
- e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)
First-time contributors
The following PRs were merged by first-time contributors:
- @Adi-ty: e2e: Re-enable skipped end-to-end tests related to the settings REST API. (70551)
- @chihsuan: Components: Add
DateCalendar
andDateRangeCalendar
components. (70578) - @coderGtm: (70482)
- @mecskyverse: Updated support for MS Word Images. (70564)
- @R1shabh-Gupta: Fix submenu border visibility in Navigation block. (70520)
- @USERSATOSHI: ESLint: Enforce stricter translator comment placeholder matching. (70458)
Contributors
The following contributors merged PRs in this release:
@Adi-ty @arthur791004 @BugReportOnWeb @chihsuan @coderGtm @DAreRodz @ellatrix @himanshupathak95 @Infinite-Null @jameskoster @jasmussen @Lovor01 @Mamaduka @mecskyverse @p-jackson @R1shabh-Gupta @sejas @shimotmk @sirreal @Sukhendu2002 @swissspidy @t-hamano @USERSATOSHI @yogeshbhutkar @youknowriad