Releases: WordPress/gutenberg
6.8.0
Features
- Support gradients in Cover block.
- Add a breadcrumb bar to support block hierarchy selection.
Enhancements
- Cover block: change the minimum height input step size to one.
- Allow setting a display name for blocks based on their content in the BlockNavigator.
- Hide the gradients panel if an empty set of gradients is explicitly defined.
- Do not transform list items into paragraphs when deleting first list item and list is not empty.
- Replace inline styles with classnames for the gradient palette.
- Preserve list attributes (start, type and reversed) when pasting or converting HTML to blocks.
Bugs
- Clear local autosaves after successful saves.
- Fix the columns block width overflow issue when using more than two columns.
- Fix the Link Rel input not showing the saved value of the link rel attribute.
- Fix JavaScript errors triggered when using links without href in HTML mode.
- Move the default list styles to the theme editor styles.
- Fix Invalid import statement for deprecated call in the Modal component.
- Fix a small visual glitch in the Publish button.
- Prevent blank page when using the Media Modal Edit Image "back" button.
- Allow the shortcode transform to apply to all the provided shortcode aliases.
- Fix JavaScript error triggered when using arrows on an empty URLInput.
- Fix extra margins added to Gallery blocks by list editor styles.
- Fix custom button background color not reflected on reload.
- Preserve List block attributes when splitting into multiple lists.
- Fix checkbox styles when used in metaboxes.
- Make the FontSizePicker style independent from WordPress core styles.
- Fix overlapping controls in the Inline Image formatting toolbar.
- Fix strikethrough formatting when copy/pasting from Google Docs in Safari.
- Allow media upload post processing for all 5xx REST API responses.
Experiments
- Navigation block:
- Support color customization.
- Improve the Link edition UI.
- Block Content Areas:
- Implement a frontend template loader based on the wp_template CPT.
- Add a temporary UI to edit wp_template CPT posts.
- Add a Site title block.
New APIs
- Add VisuallyHidden component.
- Add @wordpress/base-styles package to share the common variables/mixins used by the WordPress packages.
- Add Platform component to allow writing platform (web, mobile) specific logic.
- Add isInvalidDate prop to DatePicker.
- @wordpress/env improvements:
- Support custom ports.
- Support using it for themes.
- Add a new experimental React hook to support colors in blocks.
- Add a new experimental DimentionControl component.
Various
- Storybook:
- Add a story for the CheckboxControl component.
- Add a story for the Dashicon component.
- Add a story for the ColorPalette component.
- Add a story for the ColorPicker component.
- Add a story for the ExternalLink component.
Add knobs to the ColorIndicator Story.
- Several other enhancements to existing stories.
- Linting fixes for Storybook config.
- Fix Lint warnings triggered by JSDoc definitions.
- Reorganize e2e tests specs into three folders: editor, experimental and plugin.
- Cleanup skipped e2e tests.
- Add a link to Storybook from the Gutenberg playground.
- Optimize the @wordpress/compose package to support tree-shaking.
- Code Quality:
- Refactor the Button block edit function to use a functional component.
- Change the name of the accumulated variables in reduce functions.
- Remove wrapper around the Table block cells.
- Fix several issues related to Node 12 becoming LTS.
- Add the Block Inspector to the Gutenberg playground.
Documentation
- Enhance the Git workflow documentation.
- Clarify block naming conventions.
- Tweaks and typos: 1, 2.
6.8.0 RC1
Features
- Support gradients in Cover block.
- Add a breadcrumb bar to support block hierarchy selection.
Enhancements
- Cover block: change the minimum height input step size to one.
- Allow setting a display name for blocks based on their content in the BlockNavigator.
- Hide the gradients panel if an empty set of gradients is explicitly defined.
- Do not transform list items into paragraphs when deleting first list item and list is not empty.
- Replace inline styles with classnames for the gradient palette.
- Preserve list attributes (start, type and reversed) when pasting or converting HTML to blocks.
Bugs
- Clear local autosaves after successful saves.
- Fix the columns block width overflow issue when using more than two columns.
- Fix the Link Rel input not showing the saved value of the link rel attribute.
- Fix JavaScript errors triggered when using links without href in HTML mode.
- Move the default list styles to the theme editor styles.
- Fix Invalid import statement for deprecated call in the Modal component.
- Fix a small visual glitch in the Publish button.
- Prevent blank page when using the Media Modal Edit Image "back" button.
- Allow the shortcode transform to apply to all the provided shortcode aliases.
- Fix JavaScript error triggered when using arrows on an empty URLInput.
- Fix extra margins added to Gallery blocks by list editor styles.
- Fix custom button background color not reflected on reload.
- Preserve List block attributes when splitting into multiple lists.
- Fix checkbox styles when used in metaboxes.
- Make the FontSizePicker style independent from WordPress core styles.
- Fix overlapping controls in the Inline Image formatting toolbar.
- Fix strikethrough formatting when copy/pasting from Google Docs in Safari.
- Allow media upload post processing for all 5xx REST API responses.
Experiments
- Navigation block:
- Support color customization.
- Improve the Link edition UI.
- Block Content Areas:
- Implement a frontend template loader based on the wp_template CPT.
- Add a temporary UI to edit wp_template CPT posts.
- Add a Site title block.
New APIs
- Add VisuallyHidden component.
- Add @wordpress/base-styles package to share the common variables/mixins used by the WordPress packages.
- Add Platform component to allow writing platform (web, mobile) specific logic.
- Add isInvalidDate prop to DatePicker.
- @wordpress/env improvements:
- Support custom ports.
- Support using it for themes.
- Add a new experimental React hook to support colors in blocks.
- Add a new experimental DimentionControl component.
Various
- Storybook:
- Add a story for the CheckboxControl component.
- Add a story for the Dashicon component.
- Add a story for the ColorPalette component.
- Add a story for the ColorPicker component.
- Add a story for the ExternalLink component.
Add knobs to the ColorIndicator Story.
- Several other enhancements to existing stories.
- Linting fixes for Storybook config.
- Fix Lint warnings triggered by JSDoc definitions.
- Reorganize e2e tests specs into three folders: editor, experimental and plugin.
- Cleanup skipped e2e tests.
- Add a link to Storybook from the Gutenberg playground.
- Optimize the @wordpress/compose package to support tree-shaking.
- Code Quality:
- Refactor the Button block edit function to use a functional component.
- Change the name of the accumulated variables in reduce functions.
- Remove wrapper around the Table block cells.
- Fix several issues related to Node 12 becoming LTS.
- Add the Block Inspector to the Gutenberg playground.
Documentation
- Enhance the Git workflow documentation.
- Clarify block naming conventions.
- Tweaks and typos: 1, 2.
6.7.0
Features
- Add gradient backgrounds support to the Button block.
Bug Fixes
- i18n : Include the plural version of the “remove block” string.
- Update dropdown menu items to match hover style in other places.
- Smoothly reposition Popovers on scroll.
- Fix margin styles for Gallery and Social links blocks.
- Fix popovers hidden on mobile.
- Ensure sidebar plugins do not get auto-closed when opened on small screens.
- Fix the design of the Checkbox component in IE11.
- Add has-text-color classname to heading block.
- Prevent figure margin reset CSS from being included in the frontend.
- Fix the scaling of the pinned plugins menu icons.
- Fix Heading and paragraph colors not applied inside the cover block.
- Close Nux tips when clicking outside the tip.
- Fix meta attribute source for post types other than post.
- Fix ”Open in New Tab” not being persisted.
- Fix redo behavior and expand test coverage.
- I18n: Fix missing translation for the “All content copied” string.
- Fix the block preview padding in themes with custom backgrounds.
- Fix merging list blocks with indented list items.
- Fix inline image controls display condition.
- Fix clicking the redirect element focuses the inserted paragraph.
- Fix editing meta attributes with multiple set to true.
- Add No Preview Available text to the inserter preview panel.
- Prevent block controls from disappearing when switching the List block type.
- Avoid trailing space at the end of a translatable string.
- Fix left aligned nested blocks.
- Fix the top margin of the RadioControl help text.
- Fix invalid HTML used in the Featured Image panel.
- Make sure that all edits after saving are considered persistent by default.
- Ensure that sidebar is closed on the first visit on small screens.
- Update the columns block example to avoid overlapping issues.
- Remove unnecessary default styles for H2 heading inside Cover blocks.
- Fix Media & Text block alignment in IE11.
- Remove unnecessary padding in the Columns block.
- Fix the Columns block height in IE11.
- Correctly update RichText value after undo.
- Prevent the snackbar link components from hiding on focus.
- Fix block toolbar position in IE11.
- Retry uploading images on failures.
Performance
- Avoid continuously reset browser selection (improve typing performance in iOS).
Enhancements
- Polish FontSize Picker design.
- Use body color for the post publish panel.
- Limit the width and height of the pinnable plugins icons.
- Add a max width to the Search block input.
Experiments
- Menu Navigation block:
- Implement initial state containing top level pages.
- Fix menu alignment.
- Fix the classname in frontend.
- Block Directory
- Change the relative time string.
- Widgets Screen
- Fix the styling of the inspector panel.
Documentation
- Fix @wordpress/data-controls examples.
- Typos and tweaks: 1, 2.
Various
- Introduce the @wordpress/env package, A zero-config, self-contained local WordPress environment for development and testing.
- Add Storybook to develop and showcase UI components:
- Add ButtonGroup component.
- Add ScrollLock component.
- Add Animate component.
- Add Icon and IconButton components.
- Add ClipboardButton component.
- Add ColorIndicator component.
- Remove RichText wrapper and use Popover for the inline toolbar.
- Improve the way the lock file handles local dependencies.
- Refactor ColorPalette by extracting its design.
- Improve E2E test reliability by consuming synchronous data and bailing on save failure.
- Replace the isDismissable prop with isDismissible in the Modal component.
- Add eslint-plugin-jest to the default @wordpress/scripts linting config.
- Update @wordpress/scripts to use the latest version of webpack for build and start commands.
- Cleanup Dashicon component.
- Update the Excerpt help link.
- Release tool: fix wrong package.json used when bumping the stable released version.
- Fix several typos in code and files.
- Update E2E tests to accommodate WP 5.3 Beta 3 changes.
- Define the “sideEffects” property for @WordPress packages.
- Add nested embed e2e test.
- I18N: Always return the translation file prefixed with
gutenberg-
. - Use wp.org CDN for images used in block preview.
6.7.0 RC1
Features
- Add gradient backgrounds support to the Button block.
Bug Fixes
-
i18n : Include the plural version of the “remove block” string. [1]
-
Update dropdown menu items to match hover style in other places. [2] [17]
-
Smoothly reposition Popovers on scroll. [3]
-
Fix margin styles for Gallery and Social links blocks. [4]
-
Fix popovers hidden on mobile. [5]
-
Ensure sidebar plugins do not get auto-closed when opened on small screens. [6]
-
Fix the design of the Checkbox component in IE11. [7]
-
Add has-text-color classname to heading block. [8]
-
Prevent figure margin reset CSS from being included in the frontend. [9]
-
Fix the scaling of the pinned plugins menu icons. [12]
-
Fix Heading and paragraph colors not applied inside the cover block. [13]
-
Close Nux tips when clicking outside the tip. [14]
-
Fix meta attribute source for post types other than post. [15]
-
Fix ”Open in New Tab” not being persisted. [16]
-
I18n: Fix missing translation for the “All content copied” string. [19]
-
Fix the block preview padding in themes with custom backgrounds. [20]
-
Fix merging list blocks with indented list items. [21]
-
Fix inline image controls display condition. [22]
-
Fix clicking the redirect element focuses the inserted paragraph. [23]
-
Fix editing meta attributes with multiple set to true. [24]
-
Add No Preview Available text to the inserter preview panel. [25]
-
Prevent block controls from disappearing when switching the List block type. [26]
-
Avoid trailing space at the end of a translatable string. [27]
-
Fix left aligned nested blocks. [28]
-
Fix the top margin of the RadioControl help text. [32]
-
Fix invalid HTML used in the Featured Image panel. [33]
-
Make sure that all edits after saving are considered persistent by default. [34]
-
Ensure that sidebar is closed on the first visit on small screens. [35]
-
Update the columns block example to avoid overlapping issues. [36]
-
Remove unnecessary default styles for H2 heading inside Cover blocks. [37]
-
Fix Media & Text block alignment in IE11. [38]
-
Remove unnecessary padding in the Columns block. [40]
-
Fix the Columns block height in IE11. [41]
-
Correctly update RichText value after undo. [42]
-
Prevent the snackbar link components from hiding on focus. [43]
-
Fix block toolbar position in IE11. [44]
Performance
- Avoid continuously reset browser selection (improve typing performance in iOS). [39]
Enhancements
-
Polish FontSize Picker design.
-
Use body color for the post publish panel.
-
Limit the width and height of the pinnable plugins icons.
-
Add a max width to the Search block input.
Experiments
-
Menu Navigation block:
-
Implement initial state containing top level pages.
-
Fix menu alignment.
-
Fix the classname in frontend.
-
Block Directory
-
Change the relative time string.
-
Widgets Screen
-
Fix the styling of the inspector panel.
Documentation
Various
-
Introduce the @wordpress/env package, A zero-config, self contained local WordPress environment for development and testing.
-
Add ButtonGroup component.
-
Add ScrollLock component.
-
Add Animate component.
-
Add Icon and IconButton components.
-
Add ClipboardButton component.
-
Add ColorIndicator component.
-
Remove RichText wrapper and use Popover for the inline toolbar.
-
Improve the way the lock file handles local dependencies.
-
Refactor ColorPalette by extracting its design.
-
Improve E2E test reliability by consuming synchronous data and bailing on save failure.
-
Replace the isDismissable prop with isDismissible in the Modal component.
-
Add eslint-plugin-jest to the default @wordpress/scripts linting config. [10]
-
Updated to the latest version of webpack for @wordpress/scripts build and start commands. [11]
-
Cleanup Dashicon component.
-
Update the Excerpt help link.
-
Release tool: fix wrong package.json used when bumping the stable released version.
-
Update E2E tests to accommodate WP 5.3 Beta 3 changes. [22]
-
Define the “sideEffects” property for @WordPress packages. [29]
-
I18N: Always return the translation file prefixed with
gutenberg-
. -
Use wp.org CDN for images used in block preview. [45]
6.6.0
Enhancements
- Turn Stack on mobile toggle on by default in the Media & Text block.
- Only show the Inserter help panel in the topbar inserter.
- Use minimum height instead of height for Cover height control label.
- Update the buttons styling to match core.
- Add preview examples for multiple core blocks.
New APIs
- Implement EntityProvider and use it to refactor the meta block attributes.
Experimental
- Introduce the wp_template custom post type to preempt the block content areas work.
- Use the entities store for the widgets screen.
Bugs
- Fix javascript error potentially triggered when using saveEntityRecord action.
- Avoid marking the post as dirty when forcing an undo level (RichText).
- Fix Post Publish Panel overlapping the user profile dropdown menu.
- Fix and align collapsing logic for Save Draft and Saved button states.
- Remove Reusable block name and description from the inserter help panel.
- Fix spacing issues in the inserter panel previews.
- Gallery block: Don't show the caption gradient overlay unless image is selected or a caption is set.
- Gallery block: Fix custom alignment layouts
- Fix dirtiness detection when server-side saving filters are used.
- Remove wrong i18n domain.
- Fix invalid block warning panel.
- Fix various issues in related to the BlockDirectory inserter.
- Cover block: Show Height control only if an image background is selected.
- Fix RichText composition input issues.
- Fix block placeholders spacing after Core inputs updates.
- Fix checkbox design (color and background) after Core updates.
- Fix radio buttons design after Core updates.
- Remove any existing subscriptions before adding a new save metaboxes sub to prevent multiple saves.
- Clear auto-draft titles on save if not changed explicitly.
- Fix block error boundary.
- Fix select elements design in the sidebar after Core updates.
- Allow using space with modifier keys at the beginning of list items.
- Fix the inputs height after Core updates.
- fix conflict between remote and local autosaves.
Performance
- Request the Image block’s metadata only if the block is selected.
- Improve the performance of the block reordering animation in Safari.
- Remove Autocomplete component wrappers.
Various
- Replace registered social links blocks if already registered in Core.
- More stable List block e2e tests.
- Add e2e tests to validate the date picker UI behavior.
- Add e2e tests to validate the local auto-save behavior.
- Mark the social links block as experimental.
- Update the e2e tests to accommodate the new theme.
- Align the version of lodash with WordPress core.
- Add phpcs rule to detect unused variables.
- Simplify Block Selection Reducer.
- Add has-background classes to pullquote and Media & Text blocks for consistency.
- Tidy up button vertical align styles.
- Update browserslist dependency.
Documentation
- Add scripts/styles dependency management documentation.
- Update docs with the example property used for Inserter previews.
- Typos and tweaks: 1, 2, 3, 4, 5.
Mobile
- Add rounded corners on media placeholder and unsupported blocks.
- Fix link editing when the cursor is at the beginning of a link.
6.6.0 RC1
Enhancements
- Turn Stack on mobile toggle on by default in the Media & Text block.
- Only show the Inserter help panel in the topbar inserter.
- Use minimum height instead of height for Cover height control label.
- Update the buttons styling to match core.
- Add preview examples for multiple core blocks.
New APIs
- Implement EntityProvider and use it to refactor the meta block attributes.
Experimental
- Introduce the wp_template custom post type to preempt the block content areas work.
- Use the entities store for the widgets screen.
Bugs
- Fix javascript error potentially triggered when using saveEntityRecord action.
- Avoid marking the post as dirty when forcing an undo level (RichText).
- Fix Post Publish Panel overlapping the user profile dropdown menu.
- Fix and align collapsing logic for Save Draft and Saved button states.
- Remove Reusable block name and description from the inserter help panel.
- Fix spacing issues in the inserter panel previews.
- Gallery block: Don't show the caption gradient overlay unless image is selected or a caption is set.
- Gallery block: Fix custom alignment layouts
- Fix dirtiness detection when server-side saving filters are used.
- Remove wrong i18n domain.
- Fix invalid block warning panel.
- Fix various issues in related to the BlockDirectory inserter.
- Cover block: Show Height control only if an image background is selected.
- Fix RichText composition input issues.
- Fix block placeholders spacing after Core inputs updates.
- Fix checkbox design (color and background) after Core updates.
- Fix radio buttons design after Core updates.
- Remove any existing subscriptions before adding a new save metaboxes sub to prevent multiple saves.
- Clear auto-draft titles on save if not changed explicitly.
- Fix block error boundary.
- Fix select elements design in the sidebar after Core updates.
- Allow using space with modifier keys at the beginning of list items.
- Fix the inputs height after Core updates.
- fix conflict between remote and local autosaves.
Performance
- Request the Image block’s metadata only if the block is selected.
- Improve the performance of the block reordering animation in Safari.
- Remove Autocomplete component wrappers.
Various
- Replace registered social links blocks if already registered in Core.
- More stable List block e2e tests.
- Add e2e tests to validate the date picker UI behavior.
- Add e2e tests to validate the local auto-save behavior.
- Mark the social links block as experimental.
- Update the e2e tests to accommodate the new theme.
- Align the version of lodash with WordPress core.
- Add phpcs rule to detect unused variables.
- Simplify Block Selection Reducer.
- Add has-background classes to pullquote and Media & Text blocks for consistency.
- Tidy up button vertical align styles.
- Update browserslist dependency.
Documentation
- Add scripts/styles dependency management documentation.
- Update docs with the example property used for Inserter previews.
- Typos and tweaks: 1, 2, 3, 4, 5.
Mobile
- Add rounded corners on media placeholder and unsupported blocks.
- Fix link editing when the cursor is at the beginning of a link.
6.5.0
Features
- Add a new Social links block.
- Support border radius changes in the Button block.
- Support adding a caption to the Gallery block.
- Support local autosaves.
Enhancements
- Disable the click-through behavior in desktop.
- Update the labels width to fit their content.
- Avoid displaying console warnings when blocks are upgraded using deprecated versions.
- Reduce the padding around the in-between block inserter.
- Improve the design of the block movers.
- Align the Gallery block image controls with the block movers design.
- Remove child blocks from the block manager.
- Remove duplicated "Enable" label from the options panel.
- Use sentence case for all tooltips.
- Remove the forced gray scale from the category icons.
- Move the alignment controls to toolbar of the Heading block.
- Use the featured image frame in the Media modal.
Bug Fixes
- Update the Post Schedule label to correctly reflect the date and time display settings.
- Clean up the block toolbar position for wide full blocks.
- Fix the cropped focus indicator in the block inserter.
- Browser incompatibilities:
- Fallback to setTimeout in RichText if no requestIdleCallback is not supported.
- Block toolbar fixes for IE11.
- Fix Backspace usage in RichText for IE11.
- Prevent clicking the next/previous month in the Post Schedule popover from closing it.
- Prevent the private posts from triggering the unsaved changes warnings after saving.
- Fix the usage of the useReducedMotion hook in Node.js context.
- A11y:
- Use darker form field borders.
- Fix the modal escape key propagation.
- Move focus back from the Modal to the More Menu when it was used to open the Modal.
- Trim leading and trailing whitespaces when inserting links.
- Prevent using the paragraph block when pasting unformatted text into RichText.
- Fix styling of classic block's block controls.
- Fix the showing/hiding logic of the Group menu item in the block settings menu.
- Fix invalid HTML nesting of buttons.
- Fix React warning when using withFocusReturn Higher-order component.
- Fix lengthy content cuts in the Cover block.
- Disable multi-selection when resizing.
- Fix the permalink UI in RTL languages.
- Fix multiple issues related to the reusable blocks editing/previewing UI.
- Remove filter that unsets auto-draft titles.
- Fix the Move to trash button redirection.
- Prevent undo/redo history cleaning on autosaves.
- Add i18n support for title Content Blocks string.
- Add missing extra classnames to the Column block.
- Fix JavaScript error triggered when using a multi-line RichText.
- Fix RichText focus related issues.
- Fix undo levels inconsistencies.
- Fix multiple post meta fields edits.
- Fix selecting custom colors in RTL languages.
Experiments
- Add one-click search and install blocks from the block directory to the inserter.
- Refactor the Navigation block to be a dynamic block.
- Add a block navigator to the Navigation block.
- Only show the customizer block based widgets if the experimental widget screen is enabled.
APIs
- Add a disableDropZone prop for MediaPlaceholder component.
- Add post autosave locking.
- PluginPrePublishPanel and PluginPostPublishPanel support icon prop and inherits from registerPlugin.
- Allow disabling the Post Status settings panel.
- Restore the keepPlaceholderOnFocus RichText prop.
Various
- Upgrade React and React DOM to 16.9.0.
- Add TypeScript JSDoc linting to the @wordpress/url package.
- Run npm audit to fix the reported vulnerabilities.
- Switch the local environment to an environment based on the Core setup.
- Set a constant namespace for module sourcemaps.
- Refactor the loading animation to rely on the Animate component.
- Code improvements to block PHP files.
- Enable the duplicate style property linting rule.
- Update Husky & Lint-staged to the latest versions.
- Restore the usage of the latest npm version in CI.
- Add ESLint as peer dependency to eslint-plugin.
- Conditionally include the block styles functionality to avoid conflicts with Core.
- Add missing deprecated setFocusedElement prop to the RichText component.
- Support generating assets in PHP format in the webpack dependency extraction plugin.
Documentation
- Update the reviews and merging documentation.
- Fix type docs for the Notices package.
- Add a link to the fixtures tests document in the Testing Overview.
- Adds documentation for the onClose prop of MediaUpload.
- Tweaks and typos: 1, 2, 3, 4, 5, 6, 7, 8.
6.5.0 RC1
Features
- Add a new Social links block.
- Support border radius changes in the Button block.
- Support adding a caption to the Gallery block.
- Support local autosaves.
Enhancements
- Disable the click-through behavior in desktop.
- Update the labels width to fit their content.
- Avoid displaying console warnings when blocks are upgraded using deprecated versions.
- Reduce the padding around the in-between block inserter.
- Improve the design of the block movers.
- Align the Gallery block image controls with the block movers design.
- Remove child blocks from the block manager.
- Remove duplicated "Enable" label from the options panel.
- Use sentence case for all tooltips.
- Remove the forced gray scale from the category icons.
- Move the alignment controls to toolbar of the Heading block.
- Use the featured image frame in the Media modal.
Bug Fixes
- Update the Post Schedule label to correctly reflect the date and time display settings.
- Clean up the block toolbar position for wide full blocks.
- Fix the cropped focus indicator in the block inserter.
- Browser incompatibilities:
- Fallback to setTimeout in RichText if no requestIdleCallback is not supported.
- Block toolbar fixes for IE11.
- Fix Backspace usage in RichText for IE11.
- Prevent clicking the next/previous month in the Post Schedule popover from closing it.
- Prevent the private posts from triggering the unsaved changes warnings after saving.
- Fix the usage of the useReducedMotion hook in Node.js context.
- A11y:
- Use darker form field borders.
- Fix the modal escape key propagation.
- Move focus back from the Modal to the More Menu when it was used to open the Modal.
- Trim leading and trailing whitespaces when inserting links.
- Prevent using the paragraph block when pasting unformatted text into RichText.
- Fix styling of classic block's block controls.
- Fix the showing/hiding logic of the Group menu item in the block settings menu.
- Fix invalid HTML nesting of buttons.
- Fix React warning when using withFocusReturn Higher-order component.
- Fix lengthy content cuts in the Cover block.
- Disable multi-selection when resizing.
- Fix the permalink UI in RTL languages.
- Fix multiple issues related to the reusable blocks editing/previewing UI.
- Remove filter that unsets auto-draft titles.
- Fix the Move to trash button redirection.
- Prevent undo/redo history cleaning on autosaves.
- Add i18n support for title Content Blocks string.
- Add missing extra classnames to the Column block.
- Fix JavaScript error triggered when using a multi-line RichText.
- Fix RichText focus related issues.
- Fix undo levels inconsistencies.
- Fix multiple post meta fields edits.
- Fix selecting custom colors in RTL languages.
Experiments
- Add one-click search and install blocks from the block directory to the inserter.
- Refactor the Navigation block to be a dynamic block.
- Add a block navigator to the Navigation block.
- Only show the customizer block based widgets if the experimental widget screen is enabled.
APIs
- Add a disableDropZone prop for MediaPlaceholder component.
- Add post autosave locking.
- PluginPrePublishPanel and PluginPostPublishPanel support icon prop and inherits from registerPlugin.
- Allow disabling the Post Status settings panel.
- Restore the keepPlaceholderOnFocus RichText prop.
Various
- Upgrade React and React DOM to 16.9.0.
- Add TypeScript JSDoc linting to the @wordpress/url package.
- Run npm audit to fix the reported vulnerabilities.
- Switch the local environment to an environment based on the Core setup.
- Set a constant namespace for module sourcemaps.
- Refactor the loading animation to rely on the Animate component.
- Code improvements to block PHP files.
- Enable the duplicate style property linting rule.
- Update Husky & Lint-staged to the latest versions.
- Restore the usage of the latest npm version in CI.
- Add ESLint as peer dependency to eslint-plugin.
- Conditionally include the block styles functionality to avoid conflicts with Core.
- Add missing deprecated setFocusedElement prop to the RichText component.
- Support generating assets in PHP format in the webpack dependency extraction plugin.
Documentation
- Update the reviews and merging documentation.
- Fix type docs for the Notices package.
- Add a link to the fixtures tests document in the Testing Overview.
- Adds documentation for the onClose prop of MediaUpload.
- Tweaks and typos: 1, 2, 3, 4, 5, 6, 7, 8.
6.4.0
Features
- Add the option to select the style that is automatically applied.
- Add the option to resize Cover Block .
- Allow directly setting a solid background color on Cover block.
- Add list start, reversed settings.
- Add a help panel to the inserter available in all blocks.
- Typewriter experience.
- Add circle-crop variation to Image block.
Enhancements
- Add overflow support inside block switcher.
- Update GitHub action exit codes.
- Core Data: return updated record in saveEntityRecord.
- Latest Posts Block: (no title) instead of (Untitled) for a post without a title.
- Remove borders around inserter items for blocks with children blocks.
- Add disabled block count in the block manager.
- Writing Flow:
Experiments
- Widgets Screen:
New APIs
- Add callbacks to ServerSideRenderer to handle failures with custom renderers.
- Add the block example API and use it for inserter and switcher previews.
- Enable an optional namespace parameter for hasAction & hasFilter .
Bug Fixes
- The duplicate button appears even if the block is not allowed.
- Double scrollbar appearing in full-screen mode.
- RichText: ignore selection changes during composition
- Missing default functions as props in BlockEditorProvider.
- Button block does not center on the editor.
- Guard block component against zombie state bug.
- Add truthy check for the Popover component onClose prop before calling it.
- Make InnerBlocks only force the template on directly set lockings.
- Check to ensure focus has intentionally left the wrapped component in withFocusOutside HOC.
- Correctly transform images with external sources into a gallery.
- Block toolbar appears above sidebar on medium viewports.
- Basecontrol name undefined triggring eslint-plugin TypeError.
- Image flickering & focus lose on resizing.
- Add get_item_schema function to WP_REST_Widget_Areas_Controller .
- Empty Classic Editor inside innerBlock fatal error.
- Changing month in post publish date closes the popover.
Various
- Update re-resizable dependency
- Use mixins in button styles instead of media queries.
- Fix performance tests with the introduction of the navigation mode
- RichText code improvements: #16905, #16962.
- Scripts:
- Improve the way test files are discovered.
- Improve recommended settings included in the package.
- Use the SCSS shared stylelint-config-wordpress config.
- Ignore the WordPress directory in stylelint.
- Fix: edit post sets some default block appender styles.
- Build: remove global install of latest npm.
- Project automation:
- Rewrite actions using JavaScript.
- Fix: Add first-time contributor label.
- Fix: Add milestone.
- Remove unused CSS from ColorPalette component.
Documentation
- Add examples for the lockPostSaving and unlockPostSavingactions.
- Add guidance for adding/proposing/suggesting new components to the wordpress/components npm package.
- Add section about updating package after new releases.
- Add ESNext examples to format API tutorial.
- Document server-side functions that allow registering block styles.
Mobile
6.4.0 RC1
Features
- Add the option to select the style that is automatically applied.
- Add the option to resize Cover Block .
- Allow directly setting a solid background color on Cover block.
- Add list start, reversed settings.
- Add a help panel to the inserter available in all blocks.
- Typewriter experience.
- Add circle-crop variation to Image block.
Enhancements
- Add overflow support inside block switcher.
- Update GitHub action exit codes.
- Core Data: return updated record in saveEntityRecord.
- Latest Posts Block: (no title) instead of (Untitled) for a post without a title.
- Remove borders around inserter items for blocks with children blocks.
- Add disabled block count in the block manager.
- Writing Flow:
Experiments
- Widgets Screen:
New APIs
- Add callbacks to ServerSideRenderer to handle failures with custom renderers.
- Add the block example API and use it for inserter and switcher previews.
- Enable an optional namespace parameter for hasAction & hasFilter .
Bug Fixes
- The duplicate button appears even if the block is not allowed.
- Double scrollbar appearing in full-screen mode.
- RichText: ignore selection changes during composition
- Missing default functions as props in BlockEditorProvider.
- Button block does not center on the editor.
- Guard block component against zombie state bug.
- Add truthy check for the Popover component onClose prop before calling it.
- Make InnerBlocks only force the template on directly set lockings.
- Check to ensure focus has intentionally left the wrapped component in withFocusOutside HOC.
- Correctly transform images with external sources into a gallery.
- Block toolbar appears above sidebar on medium viewports.
- Basecontrol name undefined triggring eslint-plugin TypeError.
- Image flickering & focus lose on resizing.
- Add get_item_schema function to WP_REST_Widget_Areas_Controller .
- Empty Classic Editor inside innerBlock fatal error.
Various
- Update re-resizable dependency
- Use mixins in button styles instead of media queries.
- Fix performance tests with the introduction of the navigation mode
- RichText code improvements: #16905, #16962.
- Scripts:
- Improve the way test files are discovered.
- Improve recommended settings included in the package.
- Use the SCSS shared stylelint-config-wordpress config.
- Ignore the WordPress directory in stylelint.
- Fix: edit post sets some default block appender styles.
- Build: remove global install of latest npm.
- Project automation:
- Rewrite actions using JavaScript.
- Fix: Add first-time contributor label.
- Fix: Add milestone.
- Remove unused CSS from ColorPalette component.
Documentation
- Add examples for the lockPostSaving and unlockPostSavingactions.
- Add guidance for adding/proposing/suggesting new components to the wordpress/components npm package.
- Add section about updating package after new releases.
- Add ESNext examples to format API tutorial.
- Document server-side functions that allow registering block styles.