Skip to content

Releases: WordPress/gutenberg

3.9.0 (Release Candidate) 🏗

14 Sep 16:25
f1384e9
Compare
Choose a tag to compare
Pre-release
  • 🏗 Add support for creating reusable blocks out of multi-selected groups of blocks not just individual blocks. This means the ability to easily save templates out of an existing set of blocks.
  • 🚀 Add support for importing and exporting reusable blocks (using a JSON file transport). Note that locality of resources can be a problem if importing on a separate WordPress site.
  • 🔍 Allow to visually show differences between conversion options when a block is detected as invalid.
  • Add a clear drag handle next to the block arrow controls to drag and move a block. Also further polishes the drag and drop experience.
  • Instrument collapsible groups for the block toolbar. It allows to display groups of options as a dropdown and reduce the length and imposition of the toolbar as a whole.
  • Allow conversion from Cover Image to Image and back, using caption if it exists as the main text.
  • Move the reusable block UI options to the top of the block or block group.
  • Focus the title when loading the editor if it’s empty.
  • Adjust margin rules for nested blocks.
  • Preserve aspect ratio on embedded content at different alignments and widths.
  • Unselect blocks and disable inserter when switching to Code Editor.
  • Add new default block icon (used when no icon is defined).
  • Avoid showing stacked icon group on parent blocks if all of its children are meant to be hidden from the inserter.
  • Add dark editor style support.
  • Add a figure wrapper to Pullquote block.
  • Add needed attributes to kses allowed tags for the Gallery block.
  • Improve visual display of Classic block toolbar.
  • Adjust unified block toolbar padding at medium breakpoints.
  • Better align the close, chevrons, and ellipsis icons in the sidebar panel.
  • Improve cropping of galleries in IE11.
  • Adjust gallery caption flex alignment.
  • Include Caption Styles in Video Block.
  • Update RichText usage to avoid inline elements.
  • Add shortcut aria label for unreadable shortcuts.
  • Avoid triggering invalid block mechanisms on empty HTML content.
  • Rename the Speaker block to Speaker Deck.
  • Disable inserter on Column block and avoid showing stacked icon on columns.
  • Send post_id to the REST API in the ServerSideRender component within the editor. This ensures the global $post object is set properly.
  • Use pseudo element to prevent inspector tab width from changing when selected.
  • Apply consistent spacing on the post visibility menu.
  • Fix notice styling regression.
  • Fix ability to select small table cells.
  • Fix issue with drag and drop in Chrome when the document has iframes.
  • Fix HTML validation issues.
  • Fix margin style regression with block appender.
  • Fix link source for outreach/articles.
  • Fix Archives block alignment and issue with custom classes.
  • Fix error when a taxonomy has no attached post type.
  • Fix invalid block scrim overflowing toolbar on mobile.
  • Fix block settings menu appearance in non wp-admin contexts.
  • Fix incorrect unlink shortcut.
  • Fix placeholder text contrast.
  • Fix issue with shortcut inserter on invalid paragraphs.
  • Fix camelCase and cross-component class name.
  • Fix qs dependency typo.
  • Pluralize “kind” to fix typo.
  • Remove isButton prop.
  • Remove wrapper div from Categories block.
  • Remove prop-type-like check in Popover component.
  • Remove unnecessary duplicated class from Embed placeholder.
  • Flatten BlockListLayout into base BlockList.
  • Add isEmptyElement utility function under wp.Element.
  • Use HTML Document for finding iframe in embed previews.
  • Add wp-polyfill as central polyfill.
  • Update docke-compose setup order to create MySQL container before WordPress container.
  • Improve comments in transforms object of Quote block.
  • Do not assume that singular form in _n() is used just for single item.
  • Update examples for components to look according to guidelines.
  • Update release docs to include process for RC.
  • Add simplified block grammar spec to the handbook.
  • Add lint rule for path on Lodash property functions.
  • Add user for cli image in docker-compose.
  • Show lint errors when there are lint problems.
  • Minor updates and improvements to documents and code references.
  • Improve docs build to consider memoized selectors.
  • Add Heading toolbar for changing heading sizes.
  • Save level to heading block attributes for parsing.
  • Add onEnter callback and function placeholder to RichText implementation.
  • Add Image block placeholder.
  • Avoid propagating eventCount to components.
  • Parser: Output freeform content before void blocks.
  • Fix export block as JSON in IE11 and Firefox.

3.8.0 📺

12 Sep 14:47
Compare
Choose a tag to compare
  • Add Full Screen mode. 📺
  • Add UI for bulk managing reusable blocks.
  • Implement a more sophisticated Editor Styles mechanism. 🖍 It allows themes to register editor styles for blocks by targeting the blocks themselves without having to fight CSS specificity, and without having to know the internal DOM structure for the editor.
  • Move the block settings menu to the block toolbar, further consolidating the UI elements.
  • Switch to a new hand-coded default block parser implementation and expand documentation.
    • Implemented in both PHP and JS.
    • Brings great performance improvements in both time and memory.
    • Makes server-side parsing in PHP viable for accessing blocks as a tree.
  • Use flex-box to render the block inserter layout to address different issues with spacing.
  • Show a warning when a disallowed filetype is dropped on a MediaUpload.
  • Show "no archives to show" message on Archives Block.
  • Add AccessibleSVG component and use consistently for block icons.
  • Improve Classic editor and Cloudflare notification modals.
  • Refactor Draggable component to decouple the drag handle from the DOM node being dragged.
  • Move video caption styles to style.scss.
  • Treat Verse lines consistently on the front-end.
  • Make sure all available taxonomies are loaded in the editor.
  • Improve empty elements filters in Slot implementation.
  • Fix case with PostTextEditor where intended state value is not always reflected in the rendered textarea when empty.
  • Fix background clashing with some themes in Separator alternative styles.
  • Fix case where hasSelectedInnerBlock did not account for multi-selected innerBlocks. This caused an edge case in Spotlight mode where multiple blocks selected inside a column would appear unfocused.
  • Fix regression with margins around image captions.
  • Fix issue with author select overflowing on IE11.
  • Fix the publish panel top position in FullScreen mode.
  • Fix radio button alignment in post visibility menu.
  • Fix issues with centering of images.
  • Fix BlockIcon usage in embed placeholder when resource cannot be previewed.
  • Fix font size regression in PostTitle.
  • Fix codetabs block in extensibility documentation.
  • Fix import source of RangeControl in Readme file.
  • Fix broken link in documentation inside element/README.md.
  • Deprecate usage of RichText provider component.
  • Deprecate getI18n, dcnpgettext.
  • Remove deprecated selectors from docs.
  • Revert shortcut change in block-deletion e2e test.
  • Pin fetch polyfill to 3.0 UMD distributable to resolve an issue where it was no longer usable in IE11.
  • Ensure Gutenberg repository is clean after install.
  • Include block serialization default parser in plugin.
  • Change how required built-ins are polyfilled with Babel 7.

3.8.0 Release Candidate 📺

06 Sep 21:07
Compare
Choose a tag to compare
Pre-release

Changelog

  • Add Full Screen mode. 📺
  • Add UI for bulk managing reusable blocks.
  • Implement a more sophisticated Editor Styles mechanism. 🖍 It allows themes to register editor styles for blocks by targeting the blocks themselves without having to fight CSS specificity, and without having to know the internal DOM structure for the editor.
  • Move the block settings menu to the block toolbar, further consolidating the UI elements.
  • Introduce new hand-coded implementation of spec parser and expand documentation.
  • Use flexbox to render the block inserter layout to address different issues with spacing.
  • Show a warning when a disallowed filetype is dropped on a MediaUpload.
  • Show “no archives to show” message on Archives Block.
  • Add AccessibleSVG component and use consistently for block icons.
  • Improve Classic editor and Cloudflare notification modals.
  • Refactor Draggable component to decouple the drag handle from the DOM node being dragged.
  • Move video caption styles to style.scss.
  • Treat Verse lines consistently on the front-end.
  • Make sure all available taxonomies are loaded in the editor.
  • Improve empty elements filters in Slot implementation.
  • Fix case with PostTextEditor where intended state value is not always reflected in the rendered textarea when empty.
  • Fix background clashing with some themes in Separator alternative styles.
  • Fix case where hasSelectedInnerBlock did not account for multi-selected innerBlocks. This caused an edge case in Spotlight mode where multiple blocks selected inside a column would appear unfocused.
  • Fix regression with margins around image captions.
  • Fix issue with author select overflowing on IE11.
  • Fix radio button alignment in post visibility menu.
  • Fix issues with centering of images.
  • Fix BlockIcon usage in embed placeholder when resource cannot be previewed.
  • Fix font size regression in PostTitle.
  • Fix codetabs block in extensibility documentation.
  • Fix import source of RangeControl in Readme file.
  • Fix broken link in documentation inside element/README.md.
  • Deprecate usage of RichText provider component.
  • Deprecate getI18n, dcnpgettext.
  • Remove deprecated selectors from docs.
  • Revert shortcut change in block-deletion e2e test.
  • Ensure Gutenberg repository is clean after install.
  • Change how required built-ins are polyfilled with Babel 7.

3.5 🥥

15 Aug 01:54
b66cc66
Compare
Choose a tag to compare
Read more

3.4 🎟

31 Jul 12:17
b38844f
Compare
Choose a tag to compare
  • Add the Inline Blocks API.
  • Rename Shared Blocks to Reusable Blocks.
  • Add a Modal component.
  • Add a REST API Search controller.
  • Add a warning in the classic editor when attempting to edit a post that contains blocks.
  • Add ability for themes to configure font sizes.
  • Add RTL CSS to all packages.
  • Add an edit button to embed blocks.
  • Remove all wp.api usage from the editor package.
  • Add error handling for file block drag-and-drop.
  • Add registerBlockStyleVariation, for registering block style variations.
  • Add a border between panels in the block sidebar.
  • Add a editor.PostFeaturedImage.imageSize filter for the Featured Image.
  • Create a video block when dropping a video on an insertion point.
  • Expose a custom class name hook for mobile.
  • Add a React Native entrypoint for mobile.
  • Only disable wpautop on the main classic editor instance.
  • Retain the id attribute when converting heading tags to heading blocks.
  • Retain target="_blank" on links in converted paragraphs.
  • Improve the handling of imported shortcode blocks.
  • Replace the File block’s filename editor with a RichText.
  • Tweak the block warning style.
  • Add a max-height to the table of contents.
  • Remove the inset shadow from the table of contents.
  • Fix the tag placeholder text for long translations.
  • Fix the table of contents sometimes causing JavaScript errors.
  • Fix the link suggestion dropdown not allowing the first suggestion to be selected by keyboard.
  • Make tooltips persist when hovering them.
  • Add missing aria-labels to the audio and video block UIs.
  • Add an icon and accessibility text to links that open in a new tab.
  • Fixed shared blocks adding unnecessary rewrite rules.
  • Fix a regression in the colour picker width.
  • Fix the colour picker focus border being off-centre.
  • Combine ColorPalettes into a single panel for Button and Paragraph blocks.
  • Fix the ColorIndicator style import.
  • Fix auto-linking a URL pasted on top of another URL.
  • Add persistent store support to the data module.
  • Fix the Latest Comments block using admin imports.
  • Fix a warning when adding an image block.
  • Fix the classic block toolbar alignment.
  • Fix a warning in the block menu.
  • Change all blocks to use supports: align, instead of the align attribute.
  • Improve the ContrastChecker logic for large font sizes.
  • Update the is-shallow-equal package to use ES5 code.
  • Deprecate getMimeTypesArray, mediaUpload, and preloadImage.
  • Deprecate wideAlign in favour of alignWide.
  • Document Node version switching in the testing documentation.
  • Document examples of the registerBlockType hook.
  • Document an example of the block transforms property.
  • Document Gutenberg’s camelCase coding style.
  • Improved all of the package descriptions.
  • Update coding standards to allow double quoted strings to avoid escaping single quotes.
  • Standardise the package descriptions and titles.
  • Extract the editor package.
  • Isolate and reset e2e tests every run.
  • Improve test configuration and mocking strategy.
  • Fix test coverage configuration.
  • Fix the block icons e2e tests.
  • Bump the Puppeteer version.
  • Use simpler jest.fn() mocks for api-fetch calls in unit tests.

3.3.0

20 Jul 16:31
Compare
Choose a tag to compare
3.3.0 Pre-release
Pre-release

Changelog

  • Add new Archives block for displaying site archives.
  • Add new Latest Comments block to widgets category.
  • Add “Convert to blocks” option in HTML block.
  • Correct caret placement when merging to inline boundary.
  • Move block switcher from header to multi-block toolbar for multiselection.
  • Add video block attributes for Autoplay, Controls, Loop, Muted.
  • Remove HTML beautification and preserve whitespace on save.
  • Formalize RichText children value abstraction.
  • Allow transformation of image block to file block and vice-versa.
  • Support preload attribute for Audio Block.
  • Avoid popover refresh on Tip mount.
  • Introduce “registry” concept to the Data Module.
  • Convert successive shortcodes properly.
  • Hide “Convert to Shared Block” button on Classic blocks.
  • Update spacing in pre-publish panel titles.
  • Use do_blocks to render core blocks content.
  • Remove restoreContentAndSplit in RichText.
  • Hide insertion point when it is not possible to insert the default block.
  • Refactor block converters to share common UI functionality.
  • Replace the apiRequest module with api-fetch module.
  • Add audio/video settings title to settings panel.
  • Normalize the behavior of BlockListBlock’s “Enter” key handling to insert the default block.
  • Rename baseUrl entities property as baseURL in entities.
  • Rename UrlInput component as URLInput.
  • Give File block a low files transform priority.
  • Make tooltips persist when hovering them.
  • Optimise design of heading line heights.
  • Add a filter(‘editor.FeaturedImage’) for the FeaturedImage component.
  • Fix vertical arrow navigation skips in writing flow.
  • Fix incorrect polyfill script handles.
  • Fix template example so that it is correct.
  • Fix exception error when saving a new shared block.
  • Fix getInserterItems caching bug and add new test case.
  • Fix issue with spacer block resizing and sibling inserter.
  • Fix files configuration entry in package.json for wordpress/babel-preset-default.
  • Fix config and regenerate updated docs.
  • Fix dependency mistake in api-fetch.
  • Fix metaboxes save request (parse: false).
  • Fix issue with name field not being focused when a shared block is created.
  • Fix box sizing for pseudo elements.
  • Fix an error which occurs when assigning the URL of a Button block.
  • Improve usage and documentation of the landmark region labels.
  • Substitute the remaining uses of unfiltered_html capability and withAPIData.
  • Remove the “Extended Settings” meta box wrapper.
  • Remove NewBlock event handling from RichText.
  • Remove legacy context API child context from Block API.
  • Remove Text Columns block from insertion menus in preparation for Try outreach.
  • Remove unused autocompleter backcompat case.
  • Change label in Cover Image block for background opacity.
  • Change the text label on Image block from “Source Type” to “Image Size”.
  • Backup and restore global $post when preloading API data.
  • Move packages repository into Gutenberg with its history.
  • Enhance the deprecated module to log a message only once per session.
  • Switch tests away from using enzyme (enzyme.shallow, enzyme.mount, etc).
  • Unblock tests from being skipped.
  • Add basic test for shortcode transformation.
  • Add e2e test for block icons.
  • Add e2e tests for the NUX tips.
  • Add e2e tests for shared blocks.
  • Remove data-test attribute from UrlInputButton output.
  • Deprecate id prop in favor of clientId.
  • Rename MediaPlaceholder onSelectUrl prop as onSelectURL.
  • Remove unnecessary default prop from test.
  • Point the package entry to src directly for native mobile.
  • Use clearer filenames for saved vendor scripts.
  • Update local install instructions and add add more verbose instructions when node versions don’t match.
  • Reorder package.json devDependencies alphabetically.
  • Coding Guidelines: Prescribe specific camelCasing behaviors.
  • Regenerate docs using docs:build command.
  • Add documentation for ALLOWED_BLOCKS in Columns.
  • Add link to support forum in plugin menu.
  • Deprecate buildTermTree function in utilities.
  • Deprecate property source in Block API.
  • Deprecate uid in favor of clientId.
  • Deprecate grouped inner blocks layouts.
  • Improve eslint checks for deep imports.
  • Improve IntelliSense support when using VS Code.
  • Move the components module partially to the packages folder.
  • Add the blocks module to the packages folder.
  • Add wp-deprecated dependency to wp-element.
  • Add @babel/runtime as a dependency to wordpress/components.
  • Add @babel/runtime as a dependency for packages.
  • Add a new compose package.
  • Extract entities package.
  • Extract viewport package.
  • Extract @wordpress/nux package.
  • Create new spec-parser package.
  • Update Dashicons to latest build.
  • Update test for babel-preset-default.
  • Update code to work with Babel 7.
  • Update package-lock.json with eslint-scope version 3.7.3.
  • Update node-sass.

Fix Permalink editor and sibling block inserter

28 Jun 14:42
09f681d
Compare
Choose a tag to compare

This bugfix release fixes two issues in 3.1.0:

  • Fix permalink editor not appearing. (#7467)
  • Fix sibling block inserter not working in Firefox and Safari. (#7508)

v1.0.0: Merge pull request #2589 from WordPress/update/1.0.0

29 Aug 17:34
Compare
Choose a tag to compare

If you're trying to run this, it requires WP 4.8 or WP 4.9