github WordPress/gutenberg v10.4.0-rc.1
10.4.0 RC1

latest releases: @wordpress/widgets@3.28.9, @wordpress/scripts@27.2.6, @wordpress/reusable-blocks@4.28.9...
pre-release3 years ago

Enhancements

  • Block Editor: Use proper insertion point for drop. (29933)
  • Block Library:
    • Archives: Ensure frontend/editor parity. (30141)
    • Buttons: Improve spacing between custom-sized butons by using the column-gap property. (29165)
    • Latest Comments:
      • Remove editor styles. (30134)
      • Remove list padding and margin. (29402)
    • Post Date: Add option to make it a link. (30499)
    • Post Excerpt: Fix toolbar for post excerpt warning. (30280)
    • Post Title: Fix "'length' of undefined" error. (30208)
    • Preformatted block: Add color controls. (28396)
    • Query: Use a WordPress loop for the query block. (30405)
    • Quote: Ensure frontend/editor parity. (30190)
    • Reset wp admin styles for hr. (30235)
    • RichText:
      • Add min width to show caret for empty inline container. (30224)
      • Always show placholder on focus. (30393)
    • Search: Add border radius support using skip serialization feature. (30227)
    • Separator: Ensure frontend/editor parity. (30255)
    • Site Logo:
      • Delete sitelogo option when custom logo does not exist or was removed. (30427)
      • Style polishing. (30526)
    • Template Part: Add padding support to template parts. (29779)
    • Update placeholder text across blocks. (30404)
  • General Interaface:
    • Add site icon and name to the publish flow. (30231)
    • Darker canvas color. (30282)
    • Update the save button label. (30439)
  • Icons:
    • Polish media & text icons. (30239)
    • Update "close small" icon so that its shape matches the "add" icon dimensionally. (30014)
    • Update site-logo block icon. (30211)
  • Inserter: Clarify that when the Inserter is open clicking the + button in the top bar will close it again. (29759)
  • Make the default padding match the browser's default padding. (30277)
  • Writing Flow: Shorter writing prompt. (29611)

Bug Fixes

  • Block Editor: Show only the allowed patterns from top level blocks. (30300)
  • Block Library:
    • Buttons:
      • Revert column-gap property for spacing between custom-sized buttons. (30449)
      • Prevent overlapping button blocks in the frontend. (30253)
    • Columns: prevent having a width > 100%. (30229)
    • Cover: Add 'object-position' to allowed inline style attributes list. (30243)
    • Fix fullwide regression. (30520)
    • Gallery: Set 'addToGallery' prop to false when images don't have IDs. (30122)
    • Image: Manually update resizable box state when we don't have dimenssions. (29919)
    • Query:
      • Fix undo trap during creation. (30203)
      • Pagination Numbers: Print nothing if content is empty. (30554)
    • RichText: Fix arrow navigation around emoji. (30206)
    • Search block: Fix alignment issues. (30444)
  • Block List: Fix mover position. (30242)
  • Code Editor: Revert save editors value on change (#27717). (30524)
  • Editor:
    • Avoid focus attempt on a non-existent post title in code editor. (29922)
    • Use getAuthors for 'showCombobox' check. (30218)
  • Gutenberg Plugin: Ensure that plugin does not error with older versions of WordPress. (30230)
  • Inner blocks: Memoize allowedBlocks to prevent needlessly updating settings. (30311)
  • Server side renderer: Fix errors in template part editor context. (29246)
  • Writing Flow:
    • Fix copy pasting non textual blocks. (30225)
    • Fix horizontal caret placing for empty editable with placeholder. (30463)
    • Fix multi-selection copying in Safari. (30202)

Experiments

  • Block Patterns: Remove scope from Query patterns and introduce blockTypes. (30471)
  • Customizer
    • Add customize widgets inserter. (29549)
    • Add Legacy Widget block. (30321)
    • Fix adding blocks in the widgets customizer. (30221)
  • Full-Site Editing:
    • Add allowedMimeTypes to site editor settings to fix media upload behaviour and error state. (30436)
    • Fix empty block templates output string. (30145)
    • Load block-editor scripts & styles. (30448)
    • Revert custom templates to their original theme-provided files. (28141)
    • Switch to proper settings tab based on the selection. (30387)
  • Global Styles:
    • Add padding server-side block support. (30332)
    • Use "Custom Styles" title to signal there are global styles changes in the saving panel of the site editor. (30521)
  • List View:
    • Update list view icon size and spacing. (30455)
    • Update the hover, focus, select colors. (30303)
  • Navigation Editor and Block
    • Apply mover tweaks to navigation and widgets. (30284)
    • Add src/navigation-link/index to side effect whitelist. (30200)
    • Add post format variation to navigation link block. (30403)
    • Avoid creating a new array/object on every render. (30374)
    • De-emphasize "Link" block. (30172)
    • Fix arrow inheritance, polish. (30287)
    • Fix hardcoded color in navigation submenu icon. (30385)
    • Fix Navigation Link block constantly updating its inner block list settings. (30274)
    • Fix navigation link block dragging error. (30219)
    • Fix snackbar list component blocking clicks to UI it overlaps. (30381)
    • Flip orientation of submenus that are towards the right of the viewport. (30342)
    • Indicate when a menu is deleted and show the menu switcher afterwards. (29201)
    • Make the navigation placeholder clearer. (30281)
    • Polish navigation menu submenus. (30335)
    • Replace arrow with chevron. (30180)
    • Save theme location on button click. (30340)
    • Use same default implementation of __experimentalFetchLinkSuggestions in post, site, navigation, widget editor. (29993)
  • Widgets Editor
    • Add manage with live preview link. (29839)
    • Handle when $instance is empty and use str_replace instead of sprintf in the Widget block. (30217)
    • Iterate on Legacy Widget block. (29960)

Documentation

  • docgen:
    • Components: Add types to Draggable. (29792)
    • Export all types from api-fetch. (30539)
    • Fix arrow functions and TS index module support. (30028)
  • Handbook:
    • Add description for templateParts in theme json. (30118)
    • Add instructions for finding attributes for use in templates. (30258)
    • Added a practical example of adding a component to the sidebar. (30379)
    • Clarify what is meant by "block wrapper". (30315)
    • Fix broken links to typescript documentation. (30188)
    • Fix code snippet for disabling the block directory. (30365)
    • Fix formatting. (30309)
    • Fix typos in block-controls-toolbar-and-sidebar.md. (30513)
    • Rename, changed URL Link. (30483)
    • Rich Text: Add section for disabling specific format types. (29383)
    • Updated documentation to reflect the output created currently by npx @wordpress/create-block gutenpride. (30353)
    • Update feature deprecation guide. (30220)
  • Packages:
    • Api-fetch: Fix example code for apiFetch middlewares. (30534)
    • Block supports: Fix typos in layout supports comment. (30537)
    • Block Editor: Fix block-editor typo. (30401)
    • Components:
      • Remove references to __experimental* in the DateTimePicker component documentation. (29322)
      • Update CustomSelectControl component README.md. (29854)

Code Quality

  • Block Library: Fix Post Excerpt warnings for RichText in inline containers. (30498)
  • Components: Simplify ScrollLock, adding types. (29634)
  • DOM:
    • Add types to clean-node-list. (30412)
    • Add types progressively to dom modules. (30103)
    • Add types to phrasing-content. (30102)
  • Gutenberg Plugin:
    • Prettify YAML scripts. (30409)
    • Remove deprecations planned for 10.3 release. (30417)
    • Update the objectFitPolyfill vendor library. (30507)
  • PHP Coding Standards fixes. (30346)
  • Public API: Remove small APIs deprecated in WordPress 5.2. (30283)

Tools

  • Add /packages/stylelint-config to CODEOWNERS. (30264)
  • Build: Ensure non-JS changes are processed in the watch mode. (30343)
  • Testing:
    • Added end-to-end tests for navigation menu name editor. (29774)
    • GHA workflow improvements when setting up NodeJS. (29078)
    • Include NodeJS version in the cache key. (30512)
    • Remove button from forbidden elements. (30223)
    • Remove cache restore-keys. (30510)
    • Skip flaky end-to-end tests. (30344)

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.