Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
6.2.0 RC1
Enhancements
- Introduce Link Target support in Button block.
- Limit the maximum height of the HTML block.
- Show the preview button on mobile viewports.
- Remove nested block restrictions from the Cover and Media & Text blocks.
- A11y: Improving and standardize the block styles focus and active states.
- Always collapse block alignment toolbars.
Bug Fixes
- Fix using the Classic block in nested contexts.
- Fix lost nested blocks if the container block is missing.
- Fix pasting content into nested blocks.
- Fix race condition in the block moving animation causing blocks to overlap.
- A11y: Make the Table block accessible at high zoom levels.
- A11y: Change the font size picker markup to use select.
- A11y: Match the primary button disabled state to Core's color contrast.
- Fix the z-index of the block toolbars for blocks following wide aligned blocks.
- Hide the columns count control when the columns block placeholder is shown.
- Prevent the block movers from disappearing on middle breakpoints for full/wide blocks.
- Slimmer top/bottom spacing inside notices shown outside the editor canvas.
- Fix converting video shortcode into video blocks when file type sources are used.
- Localize the read more link in the latest posts block.
- Fix issue with inconsistent nesting appender.
- Fix styling of IconButton used in ButtonGroup components.
- Remove Change Permalinks button when permalink is not editable.
- Fix aspect ratio typo and recalculate padding in embed block.
- Ensure hour/minute fields are always shown left to right in RTL languages.
- Refactor the empty line padding in the RichText component. This fixes padding issues in the list block in Firefox.
- Improve the stability of the RichText placeholder.
- Add custom placeholder support for the button block.
- Show the image size labels on the block-based widget screen.
Documentation
- Clarify the block title and description conventions.
- Add RichText component documentation to the Block Editor Handbook.
- Improve the repository triage docs.
- Adds documentation for the PluginDocumentSettingPanel SlotFill.
- Tweaks and typos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 , 13, 14.
Divers
- Add a simple API to register block style variations on the server.
- Allow alternative blocks to be used to handle Grouping interactions.
- Fix Travis instability by waiting for MySQL availability before install the plugin.
- Continue the generic RichText component refactoring.
- Remove the usage of the editor store from the block editor module.
- Update the MilestoneIt Github action to read the plugin version from master.
- Refactor the post meta block attributes to use a generic custom sources mechanism.
- Expose position prop in DotTip component.
- Avoid docker containers automatic restart.
- Bump Lodash dependencies to 4.17.14.
- Fix the build command on Windows environments.
- Add allowedFormats and withoutInteractiveFormats props to the RichText component to control the available formats per RichText.
- Remove inappropriate executable permissions from core-data package files.
- ESLint Plugin: Exempt React hooks from no-unused-vars-before-return.
- Use React Portal based slots for the block toolbar.
- Use combineReducers utility from the data module instead of redux.
- Support hideLabelFromVision prop in all control components.
- Adds missing babel-jest and core-js dependencies to the scripts package.
Mobile
- Tapping on an empty editor area creates a new paragraph block.
- Fix video uploads when the connection is lost and restored.
- Track unsupported block list.
- Insert new block below the post title if the post title is selected.
- Run the mobile tests in the Gutenberg CI server.
- Replace use of deprecated componentWillReceiveProps in ImageEdit.
- Show placeholder when adding block from the post title.
- Blur post title any time another block is selected.
- Inserting block from the post title replaces empty blocks.
- Update Video caption placeholder color to match other placeholder text styles.
- Move the post title selection state to the store.
6.1.1
Bug Fixes
- Prevent automatic conversion of widgets to blocks when using the customizer.
- Fix missing block properties on block registration filters used for the deprecated versions.
6.1.0
Enhancements
- Introduce motion/animation when reordering/adding/removing blocks.
- Improve the Image block link settings and move it to the block toolbar.
- Use a snackbar notice when clicking “Copy all content”.
- Show REST API error messages as notices.
- Clarify the wording of the view link in the Permalink panel.
- Hide the “Copy all content” button if the post is empty.
- Hide the ungroup action when there are no inner blocks.
- Use admin schemes dependent focus state for primary buttons.
- Add support for the table cells scope attribute when pasting.
Experiments
- Introduce a new Customizer Panel to edit block-based widget areas.
- Add the block inspector to the widgets screen.
- Add a global inserter to the widgets screen.
Bug Fixes
- Show the pre-publish panel for contributors.
- Fix the save in progress state of the Publish/Update Button.
- Fix adding/removing columns from the table block when using header/footer sections.
- Fix Image block not preserving custom dimensions when opening the media library.
- Resize Image blocks properly when changing the width from the inspector.
- Fix php error that can potentially be triggered by gutenberg_is_block_editor.
- Fix error when using the “tag” block attribute source type.
- Fix chrome rendering bug happening when resizing images.
- Fix the data-block style selector to avoid affecting third-party components.
- Allow the columns layout options to wrap on small screens.
- Fix isShallowEqual edge case when the second argument is undefined.
- Prevent the disabled block switcher icon from becoming unreadable.
- Fix Group Block deprecation and any deprecation relying on hooks.
- A11y:
- Make the top toolbar wrap at high zoom levels.
- Fix the sticky notices at high zoom levels.
Performance
- Improve the performance of the i18n Tannin library.
- Track the block parent in the state to optimize hierarchy selectors.
- Add a cache key tracked in state to optimize the getBlock selector.
Documentation
- Document the plugin release tool.
- Document the use-cases of the dynamic blocks.
- Tweaks and typos: 1, 2, 3, 4, 5, 6.
Various
- Introduce a PluginDocumentSettingPanel slot to allow third-party plugins to add panels to the document sidebar tab.
- Deploy the playground automatically to Github Pages. https://wordpress.github.io/gutenberg/
- Extract a generic RichText component to the @wordpress/rich-text package.
- Refactor the editor initialization to rely on a component.
- Remove unused internal asType utility.
- Fix react-no-unsafe-timeout ESlint rule when using variable assignment.
- Add support for watching block.json files when running “npm run dev”.
- Remove: experimental status from blockEditor.transformStyles.
- Upgrade PHPCS composer dependencies and use strict comparisons to align with the PHPCS guidelines.
- Fix a small console warning when running performance tests.
Mobile
- Correct the position of the block insertion indicator.
- Unify Editor and Layout components with the web component hierarchy.
6.1.0 RC1
Enhancements
- Introduce motion/animation when reordering/adding/removing blocks.
- Improve the Image block link settings and move it to the block toolbar.
- Use a snackbar notice when clicking “Copy all content”.
- Show REST API error messages as notices.
- Clarify the wording of the view link in the Permalink panel.
- Hide the “Copy all content” button if the post is empty.
- Hide the ungroup action when there are no inner blocks.
- Use admin schemes dependent focus state for primary buttons.
- Add support for the table cells scope attribute when pasting.
Experiments
- Introduce a new Customizer Panel to edit block-based widget areas.
- Add the block inspector to the widgets screen.
- Add a global inserter to the widgets screen.
Bug Fixes
- Show the pre-publish panel for contributors.
- Fix the save in progress state of the Publish/Update Button.
- Fix adding/removing columns from the table block when using header/footer sections.
- Fix Image block not preserving custom dimensions when opening the media library.
- Resize Image blocks properly when changing the width from the inspector.
- Fix php error that can potentially be triggered by gutenberg_is_block_editor.
- Fix error when using the “tag” block attribute source type.
- Fix chrome rendering bug happening when resizing images.
- Fix the data-block style selector to avoid affecting third-party components.
- Allow the columns layout options to wrap on small screens.
- Fix isShallowEqual edge case when the second argument is undefined.
- Prevent the disabled block switcher icon from becoming unreadable.
- Fix Group Block deprecation and any deprecation relying on hooks.
- A11y:
- Make the top toolbar wrap at high zoom levels.
- Fix the sticky notices at high zoom levels.
Performance
- Improve the performance of the i18n Tannin library.
- Track the block parent in the state to optimize hierarchy selectors.
- Add a cache key tracked in state to optimize the getBlock selector.
Documentation
- Document the plugin release tool.
- Document the use-cases of the dynamic blocks.
- Tweaks and typos: 1, 2, 3, 4, 5, 6.
Various
- Introduce a PluginDocumentSettingPanel slot to allow third-party plugins to add panels to the document sidebar tab.
- Deploy the playground automatically to Github Pages. https://wordpress.github.io/gutenberg/
- Extract a generic RichText component to the @wordpress/rich-text package.
- Refactor the editor initialization to rely on a component.
- Remove unused internal asType utility.
- Fix react-no-unsafe-timeout ESlint rule when using variable assignment.
- Add support for watching block.json files when running “npm run dev”.
- Remove: experimental status from blockEditor.transformStyles.
- Upgrade PHPCS composer dependencies and use strict comparisons to align with the PHPCS guidelines.
- Fix a small console warning when running performance tests.
Mobile
- Correct the position of the block insertion indicator.
- Unify Editor and Layout components with the web component hierarchy.
6.0.0
Features
- Support choosing a pre-defined layout for the Columns block.
Enhancements
- Add Snackbar notices support to the widgets screen.
- Add an inner container to the Group block to simplify theme styling.
- Avoid stacking successive MediaPlaceholder errors.
- Adjust the DatePicker margins.
- Update the Tag Cloud block copy when no terms are found.
- Add descriptive text and a link to documentation in embed blocks.
- Improve placeholder text phrasing for media blocks.
- Use classnames for the text alignments in the heading block.
- Make the inserter category icons grayscale.
- A11y: Make the modal overlay scrim darker.
Bug Fixes
- Fix warning messages triggered by the Group block icons.
- Fix horizontal scrollbar on full-wide blocks with nesting.
- A11y:
- Re-enable the menu item hover state on small screens.
- Correct text zoom issue in the Content Structure popover.
- Fix the Popovers position in the widgets screen.
- Fix the behavior of the block toolbars in the widgets screen.
- Fix the editor in IE11 (use the CJS version of react-spring).
- Fix formatting of the validation error messages in the console.
- Fix breakage when the CPT doesn’t support title.
Various
- Document and simplify the multi-entrypoints support in the @wordpress/scripts package.
- Create sub-registry automatically when using EditorProvider.
- Use classnames utility instead of concatenating classnames in the TabPanel component.
- Remove the default value for the required onRequestClose prop in the Modal component.
- Remove the editor package dependency from the media blocks.
- Fix the playground build script.
- Fix the Github action assigning milestones.
- Fix naming conventions for function containing CLI keyword.
- Fix the Travis build artifacts job to use a full npm install while building.
- Make Calendar block resilient to the editor module not being present.
- Ensure the Snackbar component is only used with a single action button.
- Remove SlotFillProvider and DropZoneProvider from the BlockEditorProvider.
- Add the initial version of the Block Registration RFC.
- Add popoverProps prop to the Dropdown component.
- Update Image Block's image classes with dimensions.
- Support registering custom grouping blocks.
- Fix h1 heading typo so h1 is same size as title.
- Remove the custom class support from the legacy widget block.
Documentation
- Prefer register_post_meta over register_meta.
- Add mention of Figma to the design contributing docs.
- Add supported attribute types for the Blocks API.
- Enhance the Annotations API documentation.
- Tweaks and typos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.
Mobile
- Fix multiline Image block captions in iOS.
- Avoid unnecessary div elements in the content of Quote blocks.
- Update the default colors used in the RichText component.
- Fix pasting text on Post Title.
- Unify the web and mobile components hierarchy:
- Add native component HTMLTextInput.
- Update the video player to open the URL by browser on Android.
- Re-enable the Video block on Android.
6.0.0 RC1
Features
- Support choosing a pre-defined layout for the Columns block.
Enhancements
- Add Snackbar notices support to the widgets screen.
- Add an inner container to the Group block to simplify theme styling.
- Avoid stacking successive MediaPlaceholder errors.
- Adjust the DatePicker margins.
- Update the Tag Cloud block copy when no terms are found.
- Add descriptive text and a link to documentation in embed blocks.
- Improve placeholder text phrasing for media blocks.
- Use classnames for the text alignments in the heading block.
- Make the inserter category icons grayscale.
- A11y: Make the modal overlay scrim darker.
Bug Fixes
- Fix warning messages triggered by the Group block icons.
- Fix horizontal scrollbar on full-wide blocks with nesting.
- A11y:
- Re-enable the menu item hover state on small screens.
- Correct text zoom issue in the Content Structure popover.
- Fix the Popovers position in the widgets screen.
- Fix the behavior of the block toolbars in the widgets screen.
- Fix the editor in IE11 (use the CJS version of react-spring).
- Fix formatting of the validation error messages in the console.
- Fix breakage when the CPT doesn’t support title.
Various
- Document and simplify the multi-entrypoints support in the @wordpress/scripts package.
- Create sub-registry automatically when using EditorProvider.
- Use classnames utility instead of concatenating classnames in the TabPanel component.
- Remove the default value for the required onRequestClose prop in the Modal component.
- Remove the editor package dependency from the media blocks.
- Fix the playground build script.
- Fix the Github action assigning milestones.
- Fix naming conventions for function containing CLI keyword.
- Fix the Travis build artifacts job to use a full npm install while building.
- Make Calendar block resilient to the editor module not being present.
- Ensure the Snackbar component is only used with a single action button.
- Remove SlotFillProvider and DropZoneProvider from the BlockEditorProvider.
- Add the initial version of the Block Registration RFC.
- Add popoverProps prop to the Dropdown component.
- Update Image Block's image classes with dimensions.
- Support registering custom grouping blocks.
- Fix h1 heading typo so h1 is same size as title.
- Remove the custom class support from the legacy widget block.
Documentation
- Prefer register_post_meta over register_meta.
- Add mention of Figma to the design contributing docs.
- Add supported attribute types for the Blocks API.
- Enhance the Annotations API documentation.
- Tweaks and typos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.
Mobile
- Fix multiline Image block captions in iOS.
- Avoid unnecessary div elements in the content of Quote blocks.
- Update the default colors used in the RichText component.
- Fix pasting text on Post Title.
- Unify the web and mobile components hierarchy:
- Add native component HTMLTextInput.
- Update the video player to open the URL by browser on Android.
- Re-enable the Video block on Android.
5.9.2
Bug Fixes
- Fix Regression for blocks using InnerBlocks.Content from the editor package (support forwardRef components in the block serializer).
5.9.1
Bug Fixes
- Fix the issue where statics for deprecated components were not hoisted
5.9.0
Features
- Allow grouping/ungrouping blocks using the Group block.
Enhancements
- Improve the selection of inner blocks: Clickthrough selection.
- Introduce the snackbar notices and use them for the save success notices.
- Use consistent colors in the different menus items.
- Consolidate the different dropdown menus to use the DropdownMenu component.
- Expand the prefered-reduced-motion support to all the animations.
- Add a subtle animation to the snackbar notices and provide new React hooks for media queries.
- Redesign the Table block placeholder.
- Always show the side inserter on the last empty paragraph block.
- Widgets Screen:
- Add the in progress state to the save button.
- Add the RichText Format Library.
- Improve the Group and Ungroup icons.
- The Spacer block clears all the previous floated blocks.
Bug Fixes
- Focus the Button block’s input upon creation.
- Prevent Embed block crashes when used inside locked containers.
- Properly center the default appender placeholder.
- Correct default appender icon transition jump in Safari.
- Only apply appender margins when the appender is inside of a block.
- Avoid loading reusable blocks editor styles in the frontend.
- Correct position of the "Remove Featured Image" button on small screens.
- Allow the legacy widget block to render core widgets.
- A11y:
- Fix wrong tab order in the data picker component.
- Remove the access keyboard shortcuts from the Format Library.
- Bail early in createUpgradedEmbedBlock for invalid block types.
- Fix DateTimePicker styles when used outside the WordPress context.
- Prevent the Spacer block from being deselected when resized.
- Remove the word breaking from the Media & Text block.
- Keep the seconds value untouched when editing dates using the DateTimePicker component.
- Fix tooltips styles specificity.
- Fix php errors happening when calling get_current_screen.
Various
- Introduce useSelect and useDispatch hooks to the data module.
- Adding embedded performance tests to the repository.
- Support the full plugin release process in the automated release tool.
- Speed up the packages build tool script and the Gutenberg plugin build config.
- Extract media upload logic part into a new @wordpress/media-utils package.
- Introduce Milestone-It Github Action to auto-assign milestones to merged PRs.
- Move the transformStyles function to the block-editor package to use in the widgets screen.
- Allow plugin authors to override the default anchor attribute definition.
- Add overlayColor classname to cover blocks editor markup.
- Skip downloading chromium when building the plugin zip.
- Add an e2e test to check the heading colors feature.
- Lint the ESlint config file (meta).
- Fix i18n ESlint rules and use them in the Gutenberg setup.
- Fix error in the plugin release tool when switching branches.
- Remove unused stylesheet file.
- Improve the setup of the WordPress packages package.json files.
- Remove the use of popular plugins in e2e tests.
- Ignore linting files located in build folders by default.
- Add default file patterns for the lint command of @wordpress/scripts.
- Extract the ServerSideRender component to an independent package.
- Refactor the HoverArea component as a React Hook instead.
- Remove useless dependency from the @wordpress/edit-post package.
- Deprecate components/selectors and actions moved to the editor package.
- Update browserslist dependency.
Documentation
- Document the remaining APIs of the data module.
- Add an ESNext example to the i18n docs.
- Fix inline docs and add tests for color utils.
- Document missing MenuItem prop.
- Typos and tweaks: 1, 2, 3, 4, 5, 6, 7, 8, 9.
Mobile
- Fix caret position when splitting text blocks.
- Fix the initial value of the “Open in New Tab” toggle.
- Fix Video block crash on drawing on Android.
- Fix caret position after inline paste.
- Focus the RichText component on block mount.
- Port KeyboardAvoidingView, KeyboardAwareFlatList and ReadableContentView to the @wordpress/components package.
- Fix press of Enter on post title.
- Move the native unit tests to the Gutenberg repository.
- Improve the styling of the Quote block.
- Share RichText line separator logic between web and native implementations.
- Fix Video block showing a black background when upload is in progress or upload has failed.
- Allow passing a style prop to the Icon component.
- Enable sound on the Video block.
- Start playback immediately after video goes full screen.
- Fix mobile quotes insertion and removal of empty lines.
- Move unselected block accessibility handling to block-holder.
- Make the More block ready-only.
- Fix crash when deleting all content of RichText based block.
- Fix for extra BR tag on Title field on Android.
- Open Video, Quote and More blocks to public.
5.9.0 RC1
Features
- Allow grouping/ungrouping blocks using the Group block.
Enhancements
- Improve the selection of inner blocks: Clickthrough selection.
- Introduce the snackbar notices and use them for the save success notices.
- Use consistent colors in the different menus items.
- Consolidate the different dropdown menus to use the DropdownMenu component.
- Expand the prefered-reduced-motion support to all the animations.
- Add a subtle animation to the snackbar notices and provide new React hooks for media queries.
- Redesign the Table block placeholder.
- Always show the side inserter on the last empty paragraph block.
- Widgets Screen:
- Add the in progress state to the save button.
- Add the RichText Format Library.
- Improve the Group and Ungroup icons.
- The Spacer block clears all the previous floated blocks.
Bug Fixes
- Focus the Button block’s input upon creation.
- Prevent Embed block crashes when used inside locked containers.
- Properly center the default appender placeholder.
- Correct default appender icon transition jump in Safari.
- Only apply appender margins when the appender is inside of a block.
- Avoid loading reusable blocks editor styles in the frontend.
- Correct position of the "Remove Featured Image" button on small screens.
- Allow the legacy widget block to render core widgets.
- A11y:
- Fix wrong tab order in the data picker component.
- Remove the access keyboard shortcuts from the Format Library.
- Bail early in createUpgradedEmbedBlock for invalid block types.
- Fix DateTimePicker styles when used outside the WordPress context.
- Prevent the Spacer block from being deselected when resized.
- Remove the word breaking from the Media & Text block.
- Keep the seconds value untouched when editing dates using the DateTimePicker component.
- Fix tooltips styles specificity.
- Fix php errors happening when calling get_current_screen.
Various
- Introduce useSelect and useDispatch hooks to the data module.
- Adding embedded performance tests to the repository.
- Support the full plugin release process in the automated release tool.
- Speed up the packages build tool script and the Gutenberg plugin build config.
- Extract media upload logic part into a new @wordpress/media-utils package.
- Introduce Milestone-It Github Action to auto-assign milestones to merged PRs.
- Move the transformStyles function to the block-editor package to use in the widgets screen.
- Allow plugin authors to override the default anchor attribute definition.
- Add overlayColor classname to cover blocks editor markup.
- Skip downloading chromium when building the plugin zip.
- Add an e2e test to check the heading colors feature.
- Lint the ESlint config file (meta).
- Fix i18n ESlint rules and use them in the Gutenberg setup.
- Fix error in the plugin release tool when switching branches.
- Remove unused stylesheet file.
- Improve the setup of the WordPress packages package.json files.
- Remove the use of popular plugins in e2e tests.
- Ignore linting files located in build folders by default.
- Add default file patterns for the lint command of @wordpress/scripts.
- Extract the ServerSideRender component to an independent package.
- Refactor the HoverArea component as a React Hook instead.
- Remove useless dependency from the @wordpress/edit-post package.
- Deprecate components/selectors and actions moved to the editor package.
- Update browserslist dependency.
Documentation
- Document the remaining APIs of the data module.
- Add an ESNext example to the i18n docs.
- Fix inline docs and add tests for color utils.
- Document missing MenuItem prop.
- Typos and tweaks: 1, 2, 3, 4, 5, 6, 7, 8, 9.
Mobile
- Fix caret position when splitting text blocks.
- Fix the initial value of the “Open in New Tab” toggle.
- Fix Video block crash on drawing on Android.
- Fix caret position after inline paste.
- Focus the RichText component on block mount.
- Port KeyboardAvoidingView, KeyboardAwareFlatList and ReadableContentView to the @wordpress/components package.
- Fix press of Enter on post title.
- Move the native unit tests to the Gutenberg repository.
- Improve the styling of the Quote block.
- Share RichText line separator logic between web and native implementations.
- Fix Video block showing a black background when upload is in progress or upload has failed.
- Allow passing a style prop to the Icon component.
- Enable sound on the Video block.
- Start playback immediately after video goes full screen.
- Fix mobile quotes insertion and removal of empty lines.
- Move unselected block accessibility handling to block-holder.
- Make the More block ready-only.
- Fix crash when deleting all content of RichText based block.
- Fix for extra BR tag on Title field on Android.
- Open Video, Quote and More blocks to public.