Features
- New padding control to cover block. (21492)
- New link color control to paragraph, heading, group, columns, and media-text blocks. (22722)
- Updated default block categories. (19279)
- New parent block selector to child blocks. (21056)
Enhancements
- Blocks:
- SiteTitle: add alignment and tag level support. (22843)
- Heading: use toolbar for heading level control. (20246)
- LatestPost: add ability to filter by author. (16169)
- Image: add caption field to placeholder. (22295)
- Add caption split at end to all caption blocks. (22934)
- Add transforms between the core widgets that have equivalent blocks. (22644)
- Interface package:
- Add heading to the block inserter tips and to the block inserter groups (22898, 22903)
- Move between nesting levels with arrow keys in navigate mode. (22614)
- Add icons for image tools, other, and update list icons. (22593)
- Block Navigator: Use default block appender. (22590)
- Adds a default text label to the block appender when it can only insert a single block type (22293)
- Make ToolbarButton API consistent. (22961)
- Implement roving tabindex on the Image block. (22696)
- Block Editor: Allow control over drop cap feature with
useEditorFeature
helper. (22291) - REST API:
New APIs
- Add new package
@wordpress/lazy-import
for lazily installed packages. (22684) - Added
_experimental/block-types
endpoint to expose all registered blocks. (REST API 21065, register core blocks in the server 22491).
Experimental
- Added experimental version of rich image editing tools. (21024, 22870)
- Full Site Editing
- New template creation flow for EditSite. (22586)
- Edit Site: Avoid dirtying un-customized templates on first load. (22876)
- Edit Site: Refactor business logic into store. (22844)
- Global Styles: make theme.json shape consistent with local styles shape. (22744) and take block supports from block.json. (22698)
- Navigation screen
- Use panel for navigation structure on small screens only. (22828)
- Disable the navigator toolbar button. (22792)
- Atomic save using customizer API endpoint. (22603)
- Retain block IDs on save. (22739)
- Separate concerns in useNavigationBlocks. (22825)
- Fetch all menus for display in select menu. (22591)
- Fix keyboard navigation in Navigation block. (22885)
- Rename EllipsisMenu to BlockNavigationBlockSettings. (22630)
- Remove BlockNavigationEditor from navigation-link/edit.js. (22629)
- Block directory:
Bug Fixes
- Blocks
- Skip null values returned from the server during registration. (22849)
- LatestPost: fix author display. (22937)
- Legacy Widgets: widgets with special chars on classname did not load. (22841)
- Group: clean up block padding rules. (22746)
- Gallery: fix initial creation via media library. (22659)
- Cover: fix height reset on unit change. (22642)
- Navigation: fix submenu keyboard a11y in IE. (22546)
- Buttons: fix invalid property value for margin-right. (22211)
- CustomSelectControl:
- Fix Drag and Drop in Safari by upgrading Reakit. (22960)
- Font size picker reset button: make it visible in all languages. (22896)
- Components: ToolbarButton use forwardRef. (22970)
- Remove aria-label from iframe resizers. (22868)
- LinkControl: avoid showing "Recently updated" when there are no recently updated Pages from the API. (22856)
- CopyHandler: Fix unintended Copy override when copying from input or textarea elements. (22793)
- Customizer complementary area should not include the block areas. (22756)
- Icons: Fix package references. (22702)
- Fix missing parentheses in usePrevious hook. (22608)
- Fix presets in themes that use the default color & gradient palettes. (22526)
- Fix dark menus in canvas, not in top toolbar. (22516)
Performance
- Remove ifBlockEditSelected internal higher-order component. (22905)
- Remove withBlockEditContext internal higher-order component. (22942)
Documentation
- Handbook
- Fix links for dynamic blocks page. (22945)
- theme.json specification: document link color feature (22929) and features integration. (22622)
- Block Registration: document use of innerBlocks in example property. (22633)
- Initial documentation for architecture decisions. (22751)
- Reusable blocks: initial improvement to documentation. (21843)
- Default to ESNext syntax in MetaBox & Block tutorials. (22748, 22973)
- Block Tutorial: fixed typo in the wp_register_script function. (22755)
- JSDoc comments:
- Contributor docs:
- Env:
- Improve e2e-test README. (22661, 22654)
- Move BlockDropZone react hook and update documentation. (22619)
- Update PULL_REQUEST_TEMPLATE.md to include PR documentation nudge. (22681)
Code Quality
- Refactor some components to use hooks:
- Polish ImageSizeControl. (22917)
- Latest Posts Block: add key to category select box. (22904)
- Rename the navigation mode BlockBreadcrumb component to BlockSelectionButton. (22882)
- Extract inserter state into reusable hooks. (22710)
- Replace function expressions with named function or arrow expression. (22647)
- Remove unused isDraggable prop from BlockList. (22615)
- Remove form control resets and include the styles in the components. (22596)
- Project Management Automation: reorganize folder structure. (22574)
- Dependency Extraction Webpack Plugin: add types. (22498)
- Blocks: Avoid separate host matching constant for embeds. (13755)
Breaking Change
- Scripts: Remove legacy env command. (22953)
- ESLint Plugin/Scripts: Update ESLint and related deps to 7.1.0. (22771)
Build Tooling
- Env package:
- Add support for interactive run commands (like bash). (22611)
- Ensure correct port setting on related wp-config params. (22559)
- Update Source type to WPSource. (22785)
- Fix ssh-auth nodegit + better snap pack detection. (22649)
- Correct multisite support. (22613)
- Update copy-dir dependency to version 1.3.0. (22682)
- Create Block:
- Scripts:
- Release tool: warn about open issues in milestone before starting release. (22764)
- Changelog tool: Enhance entry normalizations. (22601)
- Performance tool: fixes to run across branches. (22676)
Various
- Use Card instead of Panel for the block editor. (22827)
- Revert add selectionStart and selectionEnd to transientEdits. (22933)
- BlockEditor: fix readme syntax. (22809)
- Trigger additional widget setup actions. (22807)
- Align navigator icon and buttons to top. (22790)
- Set default selection to the root navigation block. (22737)
- end-to-end tests:
- CODEOWNERS updates. (22725)
- Add data-handle to all script tags in the admin. (22721)
- Add onDeleteBlock to the extra data to re-render when it has changes. (22716)
- Add support for page=1 and perPage=-1 to getMergedItemIds. (22707)
- Replace three experimental flags (ellipsis menu w/ min level, navigator slots) with just __experimentalFeatures. (22670)
- Add require headers to plugin and readme (php 5.6). (22669)
- Update package-lock.json so that CI tests pass. (22667)
- Framework: Upgrade to wp-prettier@2.x. (22610)
- Remove the multi-block type check to make __experimentalConvert more useful. (22577)
- Mousetrap: Update to latest stable version. (22548)