What’s new in Gutenberg? (20th November)

4.5 / WordPress 5.0 (RC) 🐮

This is the 45th releaseRelease A release is the distribution of the final version of an application. A software release may be either public or private and generally constitutes the initial or new generation of a new or upgraded application. A release is preceded by the distribution of alpha and then beta versions of the software. of the pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party, matching the first 5.0 RC feature set.

  • In order to be able to use srcset and sizes on the front end, wp-image-### CSSCSS Cascading Style Sheets. class has been added to the media and text block.
  • Add minimal multi-selection block panel to replace “Coming Soon” message. It shows word and blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. count for the selection.
  • Exclude reusable blocks from the global block count in Document Outline.
  • Upgrade adminadmin (and super admin) notices to use Notices module at runtime. It attempts to seamlessly upgrade notices output via an admin_notices or all_admin_notices action server-side.
  • Adjust the prefix transforms so that they only execute when they match text right at the caret so that they are undoable. Also makes it faster by checking if the previous character is a space.
  • Add ability to specify a different default editor font per locale.
  • Add link rel and link class settings to Image block inspector.
  • Transform an Image and Audio block to an Embed block if the URL matches an embed.
  • Respect the “Disable Visual Editor” setting per user.
  • Makemake A collection of P2 blogs at make.wordpress.org, which are the home to a number of contributor groups, including core development (make/core, formerly "wpdevel"), the UI working group (make/ui), translators (make/polyglots), the theme reviewers (make/themes), resources for plugin authors (make/plugins), and the accessibility working group (make/accessibility). it easy to access image IDs server-side on the Gallery block.
  • Recursively step through edits to track individually changed post metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. in Block API. This prevents saving the default value for each registered meta when only one of them is changed.
  • Perform a complete draft save on preview.
  • Save all meta-boxes when clicking the preview button. Set preview URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org only after saving is complete.
  • Disable hover interaction on mobile to improve scrolling.
  • Update the displayed permalink when the slug is cleared.
  • When converting to blocks, place unhandled HTML within an HTML block.
  • Ensure content that cannot be handled in quotes is preserved within an HTML block.
  • Localize the DateTimePicker Component.

Bug Fixes

  • Fixes the behavior of link validation including properly handling URL fragments, validating forward slashes in HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. URLs, more strictness to match getProtocol, addressing false positives in E2E tests.
  • Fix issue where existing reusable blocks on a post would not render if the user was an author or a contributor. This happens because requests to fetch a single block or post are blocked when ?context=edit is passed and the current user is not an editor.
  • Make sure the media library collection is refreshed when a user uploads media outside of the Media Library workflow (i.e. file drops, file uploads, etc).
  • Update the editor reducer so that RESET_BLOCKS will only remove blocks that are actually in the post.
  • It used to be possible to add a reusable block inside the same reusable block in the UIUI User interface, e.g. someone could create a column block inside another column block. Now it is not.
  • Deleting after certain types of selection was causing the caret to appear in the wrong place, now that it fixed, along with unexpected behavior of Ctrl+A after other kinds of selection, and the associated E2E tests updated.
  • Remove permalink-based features from non-public CPTs.
  • Address various issues with post locking modal.
  • Fix issue with duplicating blocks and undo on Top Toolbar mode.
  • Visual fix of margin on icons that are not dashicons in placeholders.
  • Visual fix for centre-aligned text on coverblocks.
  • Visual fix for embeds that are wider than the mobile breakpoint, cropping them to fit within the screen.
  • Adds MediaUploadCheck before some MediaUpload components where it was not being checked in time, creating a confusing experience for users in the “contributor” role.
  • Fix undefined variable warning in gutenberg.php.
  • Add missing stringifier and iterator in TokenList component.
  • Address i18n issue in MultiSelectionInspector.
  • Fix small visual regression with button variation preview.
  • Fix interaction regressionregression A software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A "3.6 regression" would be a bug in 3.6 that worked as intended in 3.5. with Sibling Inserter.
  • Fix issue with the Privacy Policy help notice.
  • Fix post visibility popover not appearing on mobile.
  • Fix issue with toolbar in IE11.
  • Fix small gap in style variation button.
  • Fix popovers position in RTL languages.
  • Fix double border issue with disabled toggle control.
  • Fix the TinyMCE init array.
  • RichText content that comes from headings content attribute should use the RichText.Content instead of rendering it directly.

AccessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)

  • Makes the escape key consistently exit the inline link popover – previously this could behave unexpectedly depending on focus.
  • Improve accessibility of permalink sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. panel using external link component.
  • Display selected block outlines on Top Toolbar mode.

Performance

Other Changes

Testing

Documentation

Mobile Apps

Deprecations removed with this version.

  • Current PRs for review: 23 in 4.6 Milestone.
  • Open issues in 5.0 RC: 0 (-61)
  • Open issues in 5.0.0: 18 (+4)
  • Open issues in 5.0.1: 18 (+11)
  • Open issues in 5.0.x (fast follow): 87 (+19)
  • Current betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process.Beta 5, 15th November.
  • Current plugin: 4.5, released today.
  • Next release: 5.0 RC, to be released today.

#gutenberg-new