Releases: WordPress/gutenberg
7.0.0 RC1
Features
- Add a new Navigation block (previously available as an experiment)
- Highlight menu items without defined URL.
- Prevent error in Firefox when removing the block.
- Remove background color from the Navigation block and rely on the Group block.
- Remove the background shadow for the submenus dropdown.
- Rename "Navigation Menu Item" block to "Link".
- Remove unnecessary color attributes.
- Allow addition CSS classes.
- Drop the “menu” suffix from the block name.
- Escape special characters in the frontend.
- Remove from experimental features.
- Add style variations.
Enhancements
- Use gradient classnames instead of inline styles for the Cover block.
- Inserter: Add keyboard shortcut styling to "/" in the default tip.
- Restore the caret position properly on undo.
- Add keywords to improve the discoverability of the Audio block.
- Show video preview on Cover block inspector panel.
Bug Fixes
- Fix hidden nested images in the content column.
- Fix double border issue in the keyboard shortcuts modal.
- Fix off-centered publish button.
- Fix error when isRTL config is not provided in the block editor settings.
- Fix full width Table block mobile regression.
- A11y: Add a screen reader text label for the Search block.
- Fix text patterns undo after mouse move.
- Fix block drag and drop for the contributor role.
- Update the link when switching the image used in the Image block.
- Fix php error triggered when gutenberg_register_packages_scripts is run more than once.
- Fix special characters escaping for the post title.
- Fix JavaScript errors triggered when selectors are called before the editor being initialized.
- Fix BaseControl component label when no id is passed.
- Preserve whitespace when converting blocks Preformatted and Paragraph blocks.
- Fix multiple paste issues creating unnecessary empty spaces.
New APIs
- Add a new Card component to @wordpress/components.
- Add label support for the URLInput component.
- Support the isMatch option for the shorcode transforms.
Experiments
- Block Content areas:
- Add Post Title and Post Content blocks.
- Add template parts CPT and the theme resolution logic.
- Widgets Screen:
- Refactor the legacy widgets block to support all blocks.
- Fix widget areas margins.
- Add isRTL setting.
- APIs
- useColors hook: Enhance the contrast checking API and provide access to the color value.
- Introduce createInterpolateElement to allow translation of complex strings with HTML content.
- A11y: Refactor the accessibility behavior of the Toolbar component.
- Social Links:
- Capitalize LinkedIn and GitHub properly.
- Fix frontend styling.
Documentation
- Add a Backward Compatibility policy document.
- Clarify the npm packages release documentation.
- Add documentation for the @wordpress/env wp-env.json config file.
- Typos and tweaks: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20.
Various
- Refactor the RichText component: Remove the inner Editable component.
- Integrate the Gutenberg Playground into Storybook.
- Increase WordPress minimum supported by the plugin to 5.2.0.
- Refactor the Paragraph block edit function as a functional component.
- Refactor the Cover block edit function as a functional component.
- Add new components to Storybook.
- RadioControl component.
- TabPanel component.
- Popover component.
- BaseControl component.
- Tip component.
- Include WordPress eslint plugin in React eslint ruleset in @wordpress/eslint-plugin.
- Block PRs on mobile unit test failures in Travis.
- Polish the PostSchedule popover styling.
- Fix the API documentation generation tool when spaces are used in folder names.
- Add missing @babel/runtime dependency to the @wordpress/jest-puppeteer-axe.
- Refactor the Layout component to separate the UI from the content.
- Align Dropdown and DropdownMenu components styling.
- Remove max-width style from the Image block.
- Remove the CollegeHumor embed block.
- Add unit tests:
- Ensure consecutive edits to the same attribute are considered persistent.
- Test the core-data undo reducer.
6.9.0
Features
- Support changing the image title attribute in the Image block.
Bugs
- Fix invalid Pullquote blocks when setting a color from the palette presets.
- Fix the columns left/right full-width margins.
- Prevent fast consecutive updates from triggering blocks reset.
- Fix block movers for floated blocks.
- Fix Radio buttons styling in meta boxes.
- Fix the default image sizes used for featured images displayed in the editor.
- Prevent the unsaved changes warning from popping-up when deleting posts.
- Revert img and iframe styles to block editor container scope.
- Block Merge: guard for undefined attribute definition.
Enhancements
- Inserter: Immediately insert block when only one block type is allowed.
- Update the list of the default available gradients.
- Disable indent/outdent buttons when necessary in the List block.
New APIs
- Add theme support API to define custom gradients presets.
- Mark the AsyncMode data module API as stable.
- Mark the mediaUpload @wordpress/block-editor setting as stable.
- Add a wpenv.json config file support for @wordpress/env.
Various
- Refactor the way HTML is escaped by the RichText component.
- Refactor and simplify the block margins CSS in the editor.
- Use HTTPS git clone in the Gutenberg release tool for more stability.
- Update ExternalLink, BaseControl and FormTokenField components to use the VisuallyHidden component for the screen reader text.
- Add several components to Storybook:
- Refactor the block-directory search to insert as an Inserter plugin.
- Improve the experimental useColors React hook.
- Upgrade Puppeteer to the last version.
- Update to the last version of npm-package-json-lint.
- i18n: Fix string concatenation in the Verse block example and add
translators
string. - Change Detection: Add an e2e test case for post trashing.
- Fix the e2e tests watch command.
Experimental
- Block Content Areas:
- Support loading block templates from themes.
- Navigation block:
- Add default frontend styles for the Navigation block.
- Use RichText for navigation menu item instead of TextControl.
- Add block navigator to the inspector panel.
- Use an SVG icon for the color selector.
- Add a new API for horizontal movers and use it for the navigation block.
- Add a new Link creation and edition UI and use it for the navigation block.
- Add an appender to the block navigator.
- Add a block placeholder.
- Various fixes and refactorings: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
- Add ResponsiveBlockControl component.
- Add initial API for block patterns.
Documentation
6.9.0 RC1
Features
- Support changing the image title attribute in the Image block.
Bugs
- Fix invalid Pullquote blocks when setting a color from the palette presets.
- Fix the columns left/right full-width margins.
- Prevent fast consecutive updates from triggering blocks reset.
- Fix block movers for floated blocks.
- Fix Radio buttons styling in meta boxes.
- Fix the default image sizes used for featured images displayed in the editor.
- Prevent the unsaved changes warning from popping-up when deleting posts.
- Revert img and iframe styles to block editor container scope.
- Block Merge: guard for undefined attribute definition.
Enhancements
- Inserter: Immediately insert block when only one block type is allowed.
- Update the list of the default available gradients.
- Disable indent/outdent buttons when necessary in the List block.
New APIs
- Add theme support API to define custom gradients presets.
- Mark the AsyncMode data module API as stable.
- Mark the mediaUpload @wordpress/block-editor setting as stable.
- Add a wpenv.json config file support for @wordpress/env.
Various
- Refactor the way HTML is escaped by the RichText component.
- Refactor and simplify the block margins CSS in the editor.
- Use HTTPS git clone in the Gutenberg release tool for more stability.
- Update ExternalLink, BaseControl and FormTokenField components to use the VisuallyHidden component for the screen reader text.
- Add several components to Storybook:
- Refactor the block-directory search to insert as an Inserter plugin.
- Improve the experimental useColors React hook.
- Upgrade Puppeteer to the last version.
- Update to the last version of npm-package-json-lint.
- i18n: Fix string concatenation in the Verse block example and add
translators
string. - Change Detection: Add an e2e test case for post trashing.
- Fix the e2e tests watch command.
Experimental
- Block Content Areas:
- Support loading block templates from themes.
- Navigation block:
- Add default frontend styles for the Navigation block.
- Use RichText for navigation menu item instead of TextControl.
- Add block navigator to the inspector panel.
- Use an SVG icon for the color selector.
- Add a new API for horizontal movers and use it for the navigation block.
- Add a new Link creation and edition UI and use it for the navigation block.
- Add an appender to the block navigator.
- Add a block placeholder.
- Various fixes and refactorings: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
- Add ResponsiveBlockControl component.
- Add initial API for block patterns.
Documentation
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.