Releases: WordPress/gutenberg
Releases · WordPress/gutenberg
4.9.0
Changelog
Performance
- Implement an async rendering mode for the data module updates.
- Avoid rerendering the block components when selecting a block.
- Improve the performance of isEditorEmptyPost selector (13% typing performance improvement).
- Data Module: Avoid persisting unchanged values.
- Update withSelect to use type-optimized isShallowEqual.
- Move data selection to event handlers (called only when necessary).
- Improve the initial rendering time by optimizing the withFilters Higher-order component.
Bug Fixes
- Fix RichText toolbar when using multiline=”li”.
- Correct the margin of the block icons in the inserter.
- Fix ampersand in post tags causing editor crash.
- Remove alignundefined class from gallery block edit markup.
- Disable the button to open the publish sidebar if locked.
- Correct the default margin for buttons with icons.
- Keep the date floating when for posts with "pending" status.
- Fix using the EXIF title when uploading images.
- Fix font size picker on mobile.
- Fix z-index of the Reusable Block Inserter button.
- Fix autop behavior when a text is followed by a div.
- Fix warning when returning null from a data module generator.
- Announce the screen reader messages in the correct order in Safari.
- Check Post Type support in the options modal.
Enhancements
- Support customizing the table background colors.
- Support underlining text using the keyboard shortcut ctrl+U.
- Apply the editor styles to the HTML Block Preview.
- Improve the color swatch selection indicator.
- Improve scrolling behavior in Fullscreen Mode in Edge.
- Remove deprecated embed providers.
- Refactor the alignements support in the Cover Block and the Categories Block.
- Code quality improvement to getBlockContentSchema
- Internationalize the excerpt documentation link.
- Improve pasting of quotes with citations.
- A11y
- Add a tooltip to the block list appender.
- Improve the color contrast of the inserter shortcuts.
- Remove the label from the Warning component’s menu.
- Add an option to overwrite the block in the Warning component.
Extensibility
- Support custom fetch handlers for wp.apiFetch.
- Support additional data passed to the mediaUpload utility.
- Add filter for the preview interstitial markup.
- Avoid appending empty query string in wp.url.addQueryArgs.
- Dispatch heartbeat events as hook actions to avoid the jQuery dependency.
- Support adding classnames to the plugins sidebar panels.
- Add a className to the parent page selector.
Documentation
- Add tutorials for
- Creating sidebar plugins.
- Using the Format API.
- Creating meta blocks.
- Reorganize the tutorials page.
- Improve the UI component documentation:
- The ButtonGroup component.
- The IconButton component.
- The SelectControl component.
- The TextareaControl component.
- The TabPanel component.
- The Toolbar component.
- The FormToggle component.
- Update the Gutenberg Release and the Repository Management docs.
- Add new section on scoping JS code.
- Use Block Editor instead of Gutenberg in the docs.
- Mention the Advanced Controls Panel in the design guidelines.
- Clarify the unregisterBlockStyle documentation.
- Clarify the difference between the button block and the button component.
- Scope JavaScript ES5 code example.
- Fix incorrect code example.
- Clarify the deprecated APIs.
- Fix typos 1 2 3 4 5 6 7.
Chore
- Improve CI build times.
- Extract error messages from console logging in E2E tests.
- Reorganization of the E2E tests setup and expose it as npm packages.
- Add aXe accessibility E2E tests support.
- Add E2E tests for the excerpt meta box plugin.
Mobile
- Fix the Image Size implementation.
- Fix scrolling long text content.
4.9.0 Release Candidate
Performance
- Implement an async rendering mode for the data module updates.
- Avoid rerendering the block components when selecting a block.
- Improve the performance of isEditorEmptyPost selector (13% typing performance improvement).
- Data Module: Avoid persisting unchanged values.
- Update withSelect to use type-optimized isShallowEqual.
- Move data selection to event handlers (called only when necessary).
- Improve the initial rendering time by optimizing the withFilters Higher-order component.
Bug Fixes
- Fix RichText toolbar when using multiline=”li”.
- Correct the margin of the block icons in the inserter.
- Fix ampersand in post tags causing editor crash.
- Remove alignundefined class from gallery block edit markup.
- Disable the button to open the publish sidebar if locked.
- Correct the default margin for buttons with icons.
- Keep the date floating when for posts with "pending" status.
- Fix using the EXIF title when uploading images.
- Fix font size picker on mobile.
- Fix z-index of the Reusable Block Inserter button.
- Fix autop behavior when a text is followed by a div.
- Fix warning when returning null from a data module generator.
- Announce the screen reader messages in the correct order in Safari.
- Check Post Type support in the options modal.
Enhancements
- Support customizing the table background colors.
- Support underlining text using the keyboard shortcut ctrl+U.
- Apply the editor styles to the HTML Block Preview.
- Improve the color swatch selection indicator.
- Improve scrolling behavior in Fullscreen Mode in Edge.
- Remove deprecated embed providers.
- Refactor the alignements support in the Cover Block and the Categories Block.
- Code quality improvement to getBlockContentSchema
- Internationalize the excerpt documentation link.
- Improve pasting of quotes with citations.
- A11y
- Add a tooltip to the block list appender.
- Improve the color contrast of the inserter shortcuts.
- Remove the label from the Warning component’s menu.
- Add an option to overwrite the block in the Warning component.
Extensibility
- Support custom fetch handlers for wp.apiFetch.
- Support additional data passed to the mediaUpload utility.
- Add filter for the preview interstitial markup.
- Avoid appending empty query string in wp.url.addQueryArgs.
- Dispatch heartbeat events as hook actions to avoid the jQuery dependency.
- Support adding classnames to the plugins sidebar panels.
- Add a className to the parent page selector.
Documentation
- Add tutorials for
- Creating sidebar plugins.
- Using the Format API.
- Creating meta blocks.
- Reorganize the tutorials page.
- Improve the UI component documentation:
- The ButtonGroup component.
- The IconButton component.
- The SelectControl component.
- The TextareaControl component.
- The TabPanel component.
- The Toolbar component.
- The FormToggle component.
- Update the Gutenberg Release and the Repository Management docs.
- Add new section on scoping JS code.
- Use Block Editor instead of Gutenberg in the docs.
- Mention the Advanced Controls Panel in the design guidelines.
- Clarify the unregisterBlockStyle documentation.
- Clarify the difference between the button block and the button component.
- Scope JavaScript ES5 code example.
- Fix incorrect code example.
- Clarify the deprecated APIs.
- Fix typos 1 2 3 4 5 6 7.
Chore
- Improve CI build times.
- Extract error messages from console logging in E2E tests.
- Reorganization of the E2E tests setup and expose it as npm packages.
- Add aXe accessibility E2E tests support.
- Add E2E tests for the excerpt meta box plugin.
Mobile
- Fix the Image Size implementation.
- Fix scrolling long text content.
🚩4.8.0
Performance
- Improve page initialization time by optimizing the addHook function and the viewport state initialization.
- Improve typing performance by splitting the state tree.
- Optimize partial application of runSelector.
- Move selector calls to the event handles to avoid useless component rerenders.
- Render DropZone children only when dragging elements over it.
- Initialize variables only when needed.
Enhancements
- Add error messages to the image block on upload failures.
- Merge similar i18n strings.
- Disable clipboard button in file block during upload.
- Persist alignment when transforming a gallery to an image and vice-versa.
- Copy enhancement to the embed block help text.
- Improve the scrolling of the WordPress navigation menu.
Bug Fixes
- Fix RTL support for the DatePicker component.
- Change the header level in the BlockCompare component.
- Show all the taxonomies in the sidebar.
- Fix the latest posts date className.
- Fix the “align center” button in Latest Posts block in the backend.
- Fix block height when DropCap is used.
- Fix converting caption shortcode with link.
- Fix edge case in addQueryArgs function.
- Don’t return the permalink if the CPT is not publicly viewable.
- Fix error when saving non public CPTs.
- Properly disable the Publish button when saving is disabled.
Various
- Show a message in the browser’s console when in Quirks Mode.
- Improvements to the @wordpress/scripts package: A new a check-engines command, a lint-style command and an update to lint-js.
Documentation
- Add a getting started with JavaScript tutorial.
- Document the blocks’ setup states in the design guidelines.
- Add content to Contributors index page.
- Improve the components documentation:
- The MenuItem component.
- The RadioControl component.
- The ServerSideRender component.
- Organise the documentation assets in a dedicated folder.
- Clarify immutability of the block attributes.
- Fix the metabox back compat code example.
- Fix incorrect data module example.
- Improve the plugin release docs.
- Remove useless property from the colors code example.
- Improve the contributing documentation.
- Fix npm README links.
- Update the design resources link.
- Typo fixes.
Chore
- Run e2e tests with popular plugins enabled.
- Add new e2e tests:
- The permalink panel.
- The categories panel.
- Blocks with meta attributes.
- Update node-sass to fix Node 11 support.
- Move the dev dependencies to the root package.json.
- Improve the Pull Request Template.
- More logs to the CI jobs.
- Code style fixes and expand the phpcs coverage.
- Disable fragile e2e tests.
- Avoid PHP notices when running the e2e tests in debug mode.
Mobile
- Make a simple version of DefaultBlockAppender.
- Stop using classname-to-style autotransform in react native.
- Fix SVG styles.
- Implement Enter press to add a default block.
- Hide keyboard when non textual block is selected.
- Fix undo/redo on new blocks.
- Pass the blockType prop to RNAztecView.
- Expose unregisterBlockType.
4.8.0 Release Candidate
Performance
- Improve page initialization time by optimizing the addHook function and the viewport state initialization.
- Improve typing performance by splitting the state tree.
- Optimize partial application of runSelector.
- Move selector calls to the event handles to avoid useless component rerenders.
- Render DropZone children only when dragging elements over it.
- Initialize variables only when needed.
Enhancements
- Add error messages to the image block on upload failures.
- Merge similar i18n strings.
- Disable clipboard button in file block during upload.
- Persist alignment when transforming a gallery to an image and vice-versa.
- Copy enhancement to the embed block help text.
- Improve the scrolling of the WordPress navigation menu.
Bug Fixes
- Fix RTL support for the DatePicker component.
- Change the header level in the BlockCompare component.
- Show all the taxonomies in the sidebar.
- Fix the latest posts date className.
- Fix the “align center” button in Latest Posts block in the backend.
- Fix block height when DropCap is used.
- Fix converting caption shortcode with link.
- Fix edge case in addQueryArgs function.
- Don’t return the permalink if the CPT is not publicly viewable.
- Fix error when saving non public CPTs.
- Properly disable the Publish button when saving is disabled.
Various
- Show a message in the browser’s console when in Quirks Mode.
- Improvements to the @wordpress/scripts package: A new a check-engines command, a lint-style command and an update to lint-js.
Documentation
- Add a getting started with JavaScript tutorial.
- Document the blocks’ setup states in the design guidelines.
- Add content to Contributors index page.
- Improve the components documentation:
- The MenuItem component.
- The RadioControl component.
- The ServerSideRender component.
- Organise the documentation assets in a dedicated folder.
- Clarify immutability of the block attributes.
- Fix the metabox back compat code example.
- Fix incorrect data module example.
- Improve the plugin release docs.
- Remove useless property from the colors code example.
- Improve the contributing documentation.
- Fix npm README links.
- Update the design resources link.
- Typo fixes.
Chore
- Run e2e tests with popular plugins enabled.
- Add new e2e tests:
- The permalink panel.
- The categories panel.
- Blocks with meta attributes.
- Update node-sass to fix Node 11 support.
- Move the dev dependencies to the root package.json.
- Improve the Pull Request Template.
- More logs to the CI jobs.
- Code style fixes and expand the phpcs coverage.
- Disable fragile e2e tests.
- Avoid PHP notices when running the e2e tests in debug mode.
Mobile
- Make a simple version of DefaultBlockAppender.
- Stop using classname-to-style autotransform in react native.
- Fix SVG styles.
- Implement Enter press to add a default block.
- Hide keyboard when non textual block is selected.
- Fix undo/redo on new blocks.
- Pass the blockType prop to RNAztecView.
- Expose unregisterBlockType.
4.7.1
Changelog
- Fix
editor.BlockListBlock
filter regression caught using the ACF pro beta plugin
4.7.0
Changelog (Same as RC)
Performance improvements
- Optimize isViewportMatch
- Performance: BlockListAppender: 1.7x increase on key press
- Date: Optimize the usage of moment-timezone to save some kilobytes
- RichText: selectionChange: bind on focus, unbind on blur
- RichText: only replace range and nodes if different
- Cache createBlock call in isUnmodifiedDefaultBlock
- Edit Post: Select blocks only once multiple verified
- RichText: Do not run valueToEditableHTML on every render
- RichText: Reuse DOM document across calls to createEmpty
- Only initialise TinyMCE once per instance
- Optimize the insertion point component
- Avoid rerending the current block if the previous block change
- Avoid getBlock in block-list/block
- Pass the registry argument to withDispatch to allow selectors to be used
Bug fixes
- Annotations: Apply annotation className as string
- RichText: Ensure instance is selected before setting back selection
- Meta Boxes: Don’t hide disabled meta boxes by modifying DOM
- Fix: Problems on Media & Text block resizing; Load wp-block-library styles before wp-edit-blocks
- When a post is saved, check for tinymce and save any editors.
- Fix: Undoing Image Selection from Media Library in Image Block breaks it
- Add an end-to-end test for the HTML block
- Fix regression when copying or cutting content in the editor
- Fix issue where default appender has icons overlaying the text
- Set document title for preview loading interstitial
- Fix: Upload permissions error on end-to-end inline tokens test
- Ensure classic block caret is in correct position after blur
- Fix tab navigation sometimes skipping block UI
- Improve font size picker accessibility: Use a menuitemradio role and better labels
- Don’t show trashed reusable blocks in the editor or frontend
- Rename functions, removing gutenberg_ prefix
- Add block switcher end-to-end tests
- Allow links in plugin group in the editor more menu
- Introduce searching of block categories from slash inserter
- Convert HTML formatting whitespace to spaces
- Label link format with selected text, not full text
- Ensure permalink panel is only displayed when a permalink is allowed
- Allow the user to convert unembeddable URLs to links and try embedding again
- Improve the top bar tools interaction and consistency
- Fix overflowing content in the facebook embed preview screen
- Add an action to set a category icon and correct block categories documentation
- Fix: pasting a tag that is part of a transform and not matched ignores the content.
- Packages: Extract Eslint config package
- Add end-to-end test to catch revert of title during a preview after saving a draft
- Avoid react warnings when merging two adjacent paragraphs
- Avoid PHP notice in the recent comments block
4.7.0 Release Candidate 🏎
Changelog
Performance improvements
- Optimize isViewportMatch
- Performance: BlockListAppender: 1.7x increase on key press
- Date: Optimize the usage of moment-timezone to save some kilobytes
- RichText: selectionChange: bind on focus, unbind on blur
- RichText: only replace range and nodes if different
- Cache createBlock call in isUnmodifiedDefaultBlock
- Edit Post: Select blocks only once multiple verified
- RichText: Do not run valueToEditableHTML on every render
- RichText: Reuse DOM document across calls to createEmpty
- Only initialise TinyMCE once per instance
- Optimize the insertion point component
- Avoid rerending the current block if the previous block change
- Avoid getBlock in block-list/block
- Pass the registry argument to withDispatch to allow selectors to be used
Bug fixes
- Annotations: Apply annotation className as string
- RichText: Ensure instance is selected before setting back selection
- Meta Boxes: Don’t hide disabled meta boxes by modifying DOM
- Fix: Problems on Media & Text block resizing; Load wp-block-library styles before wp-edit-blocks
- When a post is saved, check for tinymce and save any editors.
- Fix: Undoing Image Selection from Media Library in Image Block breaks it
- Add an end-to-end test for the HTML block
- Fix regression when copying or cutting content in the editor
- Fix issue where default appender has icons overlaying the text
- Set document title for preview loading interstitial
- Fix: Upload permissions error on end-to-end inline tokens test
- Ensure classic block caret is in correct position after blur
- Fix tab navigation sometimes skipping block UI
- Improve font size picker accessibility: Use a menuitemradio role and better labels
- Don’t show trashed reusable blocks in the editor or frontend
- Rename functions, removing gutenberg_ prefix
- Add block switcher end-to-end tests
- Allow links in plugin group in the editor more menu
- Introduce searching of block categories from slash inserter
- Convert HTML formatting whitespace to spaces
- Label link format with selected text, not full text
- Ensure permalink panel is only displayed when a permalink is allowed
- Allow the user to convert unembeddable URLs to links and try embedding again
- Improve the top bar tools interaction and consistency
- Fix overflowing content in the facebook embed preview screen
- Add an action to set a category icon and correct block categories documentation
- Fix: pasting a tag that is part of a transform and not matched ignores the content.
- Packages: Extract Eslint config package
- Add end-to-end test to catch revert of title during a preview after saving a draft
4.6.1
Changelog
- Parser: Make attribute parsing possessive (Fix High CPU usage).
4.6.0
Changelog
- Fix issue with drag-and-drop in columns.
- Fix TinyMCE list plugin registration.
- Fix IE11 flexbox alignment when min-width is set.
- Fix IE11 focus loss after TinyMCE init. Add IE check.
- Fix getSelectedBlockClientId selector.
- Fix issue where unregistering a block type would cause blocks that convert to it to break.
- Fix Classic block not showing galleries on a grid.
- Fix visual issues with Button block text wrap.
- Fix modals in Edge.
- Fix Categories block filter effect on the front-end.
- Fix an issue where the block toolbar would cause an image to jump downwards when the wide or full - alignments were activated.
- Apply IE11 input fix only when mounting TinyMCE.
- Improve block preview styling.
- Make the Image Link URL field readonly.
- Disable HTML edit from Media & Text block.
- Avoid loading theme editor styles if not existing (RTL languages).
- Improve scoping of nested paragraph right-padding CSS rule.
- Add e2e tests for the format API.
- Merge similar text strings for i18n.
- Move editor specific styles from style.scss to editor.scss in Cover block.
- Simplify sidebar tabs aria-labels.
- Remove onSplit from RichText docs.
- Remove textdomain from the block library.
- Avoid rendering AdminNotices compatibility component.
- Avoid changing default wpautop priority.
- Change @Package names to WordPress.
- Update published packages changelogs.
4.5.1
= Latest =
- Raw Handling: fix consecutive lists with one item
- Avoid showing draft revert message on autosaves
- Honor the Disable Visual Editor setting in the Gutenberg editor page
- Docs: Fix dead links in CONTRIBUTING.md
- Fix undefined index warnings in Latest Comments & Latest Posts
- Add
react-native
module property to html-entities package.json - RichText: List: Sync DOM after editor command
- Fix RichText infinte rerendering
- Fix keycodes package missing i18n dependencies