github WordPress/gutenberg v10.1.0
10.1.0

latest releases: v19.7.0-rc.2, v19.6.2, v19.7.0-rc.1...
3 years ago

Features

  • Use a modal for the reusable blocks creation flow. (29040)
  • Normalize Image's block toolbar. (29205)
  • Add Items Justification to Social Links. (28980)

Enhancements

  • Improve the sorting algorithm while searching parent pages. (29143)
  • Buttons: Add space-between justification controls. (29160)
  • Avoid focusing blocks when inserting them into the canvas. (28191)
  • Create Block: Use register_block_type_from_metadata to register blocks on the server. (28883)
  • Greatly improve dragging performance of the focal point picker. (28676)
  • Improve block search input's accessible name and placeholder. (28393)

New APIs

  • Extend updateBlockAttributes to provide for different attribute changes for each block in the clientIds array. (29099)

Bug Fixes

  • Fix Slash Inserter position. (29288)

  • Fix issue with invisible reset template hover state. (28912)

  • InputControl: Fix labelPosition rendering with new ui/flex component. (29226)

  • Button sizing style fix. (29208)

  • Create Block: Fix the background color in esnext template. (29223)

  • Add border-collapse to default block styles in Table block. (27628)

  • Navigation Block:

    • Fix Navigation Links when post type is not Page or Post. (28892)
    • Fix inline style inheritance. (28868)
    • Fix PHP notice shown when rendering a navigation link block. (28999)
  • Fix is-hovered event listener. (28715)

  • Fix function call in justify toolbar. (28955)

  • Fix footer icon color. (29199)

  • Show page titles special characters in the parent page selector. (29104)

  • Edit Post: Automatically connect a menu item with the pinnable sidebar plugin. (29081)

  • Make Modal component use the aria.labelledby prop. (29020)

  • Fix admin menu scroll on editor page. (28959)

  • Prioritize core blocks in the inserter. (28945)

  • Make the __experimentalCaptureToolbars option work reliably. (28905)

  • Ensure sticky tabs are in front of their panel’s descendants. (28562)

  • Navigation Component: Increase color and padding specificity. (28619)

  • Add note to indicate why priority queue callbacks may be undefined. (28337)

  • Keep initial formatting on paste for Preformatted and Verse components. (27781)

  • Rich text: Keep block ID on split. (28505)

  • Fix cursor on rich text blocks when outline mode is active. (29106)

Experiments

  • Improve loading method for block styles. (28358)
  • Do not use __experimentalSelector to check the panel title. (29264)
  • Update documentation for social links & theme.json. (29294)
  • Navigation Screen:
    • Add block deselection when clicking canvas background. (28876)
    • Improve experience for user creating their first menu. (28767)
    • Fix positioning of nested submenus. (28934)
  • Full Site Editing:
    • Use a modal for the template part creation flow. (29108)
    • Add an 'area' term for Template Parts. (28410)
    • Add content menu items preview in Navigation. (29225)
    • Replace locate_template method. (28942)
    • Site Editor:
      • Inject theme attribute into template parts too. (29080)
      • Organise semantic template parts. (29030)
      • Show contextual icon in the Inspector's template tab. (29195)
      • Add template tab to sidebar. (28633)
  • Global Styles:
    • Support skipping serialization in the color hook (block supports mechanism). (29142)
    • Fix invalid font-family list. (28960)
  • Widgets:
    • Use textarea for editing block widgets. (24899)
    • Set container classname dynamically depending on Widget block. (26375)
    • Add Widgets REST API changes from Core-51460. (29242)
  • UI Components:
    • Add Surface Component. (28596)
    • Add Elevation Component. (28593)
    • Add FormGroup + ControlLabel components. (28568)
    • Add spinner. (29146)
    • Rename ui files to match simpler scheme. (28948)
    • Add hooks based Scrollable component wrapper. (28979)
    • Add createComponent unit tests. (28949)
    • Add hooks based VisuallyHidden. (28887)
    • Add ControlGroup. (28982)
    • Add Portal. (28981)
    • Update documentation (README + inline docs). (29128)
    • Update color-picker snapshot tests to use diff matching. (28925)
  • Bugs:
    • Fix Site Logo Styles. (29227)
    • Template Part: Fallback to missing state if slug or theme is invalid. (29041)
    • Site Editor:
      • Fix misalignment with navigation toggle and header. (29093)
      • Fix navigation editor block selection clearing. (29293)
      • Fix navigate to link error. (29239)
      • Fix position and style of "Dashboard" link. (29034)
      • Fix end-to-end test errors introduced by template sidebar. (28950)
    • Widgets:
      • Fix widgets preview URL typo. (29062)
      • Fix php error in the widget screen. (29137)
      • Fix legacy widgets not previewing and widgets saving issue. (29111)
      • Fix server rendered widget not previewing. (29197)

Documentation

  • Add accessibility testing instructions. (28947)
  • Updates to Outreach Page. (28929)
  • Update Create a Block tutorial to use block.json. (29027)
  • Expose Block Directory references in the handbook. (29025)
  • Update "key concepts". (28973)
  • Remove Font style, weight, decoration, and transform presets from the theme.json documentation. (29200)
  • Combobox Control: Update API doc. (28787)
  • Add block variations to FAQ. (29154, 29170)
  • Add templates and global styles to key concepts. (29071)
  • Update block metadata section to promote PHP API. (29023)
  • Fix the header links, add link to user documentation. (28857)

Code Quality

  • Replace store name literals in block-library. (28975)

  • Fix typos in PHP comments. (29198)

  • Format TS files according to coding styles. (29064)

  • WP_Theme_JSON_Resolver: Update translate terminology. (28944)

  • Improve code readability by not passing variables by reference. (28943)

  • Convert navigation link to use hooks and context. (28996)

  • Block props: Avoid memo (block mode). (29139)

  • Reduce memoized context:

  • Use ref callback:

    • Iframe, selection clearer, typing observer. (29114)
    • Canvas click redirect & typewriter hooks. (29105)
    • Clipboard handler. (29090)
    • Hover hook. (29089)
    • useBlockProps. (28917)
    • Block nodes. (29153)

Tools

  • Add support for native TypeScript. (28879)

  • Limit the npm version to be 6. (29204)

  • Run CI jobs on wp prefix branches. (29194)

  • Eslint plugin: Add suggestions to "data-no-store-string-literals" rule. (28974)

  • Update codeowners. (29280)

  • Scripts:

    • Coerce live reload port to integer. (29196)
    • Add Python 2.0 to other OSS licenses in license checker. (28968)
  • Create Block: Fix issue with processing unrelated engines. (29066)

  • Fix spacing in new contributor welcome message. (28958)

  • Add react-i18n package with i18n React bindings. (28465)

  • babel-plugin-makepot: Don't transpile the package code. (28911)

  • docgen:

    • Don't transpile the package code. (28910)
    • Replace doctrine with comment-parser. (28615)
  • wp-env:

    • Use Simple Git instead of NodeGit. (28848)
    • Fix issue where mappings sources were not downloaded. (28930)
  • Changelog script: More fine-grained Changelogs for patch releases. (28424)

  • End 2 End Tests:

    • end-to-end Tests: Add gallery caption coverage. (29127)
    • Add basic block preview coverage for inserter. (29117)
    • Make navigation editor end-to-end tests more robust. (28936)
  • Testing: Add snapshot-diff. (28897)

Various

  • Add a custom post type icon. (29232)
  • Update text color icon. (29212)
  • Blocks: Map block type definitions that use PHP naming convention for keys. (28953)
  • Safe access to window/document when in node context:

Don't miss a new gutenberg release

NewReleases is sending notifications on new releases.