diff --git a/changelog.txt b/changelog.txt index 87da9dabf10c9..17053a3091ad7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,179 @@ == Changelog == += 7.2.0-rc.1 = + +### New Features + +- Add a new Buttons block. [#17352](https://github.com/wordpress/gutenberg/pull/17352) +- Support adding links to Media & Text block image. [#18139](https://github.com/wordpress/gutenberg/pull/18139) +- Navigation block: Support changing the font size. [#19127](https://github.com/wordpress/gutenberg/pull/19127) +- Gallery block: Add images size selector. [#18581](https://github.com/wordpress/gutenberg/pull/18581) + +### Enhancements + +- Improve the block inserter search algorithm. [#19122](https://github.com/wordpress/gutenberg/pull/19122) +- Improve the block placeholders design and responsiveness. [#18745](https://github.com/wordpress/gutenberg/pull/18745) +- Navigation mode: Auto-enable when tabbing to the block list with an existing block selection. [#19238](https://github.com/wordpress/gutenberg/pull/19238) [#19298](https://github.com/wordpress/gutenberg/pull/19298) +- Use tabs for gradient and color. [#19133](https://github.com/wordpress/gutenberg/pull/19133) +- Add "download" keyword to the File block. [#18995](https://github.com/wordpress/gutenberg/pull/18995) +- Add "poem" keyword to the Verse block. [#19355](https://github.com/wordpress/gutenberg/pull/19355) +- Convert to blocks: + - preserve text alignment. [#19097](https://github.com/wordpress/gutenberg/pull/19097) + - Skip shortcode if not on its own line. [#19059](https://github.com/wordpress/gutenberg/pull/19059) +- Writing flow: Improve tabbing for Edit mode. [#19235](https://github.com/wordpress/gutenberg/pull/19235) +- Use Popover for the block toolbar. [#18779](https://github.com/wordpress/gutenberg/pull/18779) +- Improve the block multi-selection styles. [#19094](https://github.com/wordpress/gutenberg/pull/19094) [#19121](https://github.com/wordpress/gutenberg/pull/19121) +- Support reduced-motion for Social Links transitions. [#18750](https://github.com/wordpress/gutenberg/pull/18750) +- Use the default cursor for Select Tool [#19157](https://github.com/wordpress/gutenberg/pull/19157) +- Round position attributes on cover focal point save. [#19183](https://github.com/wordpress/gutenberg/pull/19183) +- Remove block inserter shortcuts. [#19045](https://github.com/wordpress/gutenberg/pull/19045) +- Navigation block: + - Clarify the placeholder label. [#19105](https://github.com/wordpress/gutenberg/pull/19105) + - Removes the reusable block option from the items. [#19250](https://github.com/wordpress/gutenberg/pull/19250) + - Sub-items white background adjustment. [#18976](https://github.com/wordpress/gutenberg/pull/18976) +- Adjustments to the welcome guide. [#19195](https://github.com/wordpress/gutenberg/pull/19195) +- Audio block: Don't render an empty audio tag. [#18850](https://github.com/wordpress/gutenberg/pull/18850) +- Make validation of block html tags and attributes case insensitive [#19207](https://github.com/wordpress/gutenberg/pull/19207) +- Block examples: concatenate strings and add translators notes. [#19048](https://github.com/wordpress/gutenberg/pull/19048) +- Show the trash button as a link. [#19131](https://github.com/wordpress/gutenberg/pull/19131) +- Removed the bottom-margin for the RadioControl component. [#19340](https://github.com/wordpress/gutenberg/pull/19340) +- Copy: + - Capitalize "Manager" in Block Manager. [#19375](https://github.com/wordpress/gutenberg/pull/19375) + - Expand on sentence case usage. [#18758](https://github.com/wordpress/gutenberg/pull/18758) [#19377](https://github.com/wordpress/gutenberg/pull/19377) + - Update the copy of the Experiments page [#18233](https://github.com/wordpress/gutenberg/pull/18233) + - Removes title case from alignments for text and image. [#18757](https://github.com/wordpress/gutenberg/pull/18757) + - Unify not capitalizing the heading for each of the attributes. [#19374](https://github.com/wordpress/gutenberg/pull/19374) + - Updates description of the navigation block. [#19098](https://github.com/wordpress/gutenberg/pull/19098) + +### Performance: + +- Remove the BlockAsyncRenderProvider and render parents asynchronously [#19343](https://github.com/wordpress/gutenberg/pull/19343) + +### Bugs: + +- A11y: + - Make text alignment items radio menu items. [#19233](https://github.com/wordpress/gutenberg/pull/19233) + - Add group role to the block wrapper element. [#19213](https://github.com/wordpress/gutenberg/pull/19213) + - Prevent tabbing to the block drag handle. [#19211](https://github.com/wordpress/gutenberg/pull/19211) + - Add a label attribute to the Social Icons block. [#18651](https://github.com/wordpress/gutenberg/pull/18651) + - Improve Welcome guide and modal component. [#19261](https://github.com/wordpress/gutenberg/pull/19261) [#19290](https://github.com/wordpress/gutenberg/pull/19290) +- Pasting: + - Content that results in a new block shouldn't be treated as inline content. [#19084](https://github.com/wordpress/gutenberg/pull/19084) + - Preserve inline images. [#19064](https://github.com/wordpress/gutenberg/pull/19064) + - Remove trailing br elements. [#19035](https://github.com/wordpress/gutenberg/pull/19035) + - Remove windows paste markers. [#19040](https://github.com/wordpress/gutenberg/pull/19040) + - Strip HTML formatting space for inline text. [#19043](https://github.com/wordpress/gutenberg/pull/19043) + - Apply active formats when pasting inline. [#14815](https://github.com/wordpress/gutenberg/pull/14815) +- Rich Text: + - Fix applying a format across 2 other formats. [#19053](https://github.com/wordpress/gutenberg/pull/19053) + - Fix using composed characters on Safari. [#19171](https://github.com/wordpress/gutenberg/pull/19171) +- Fix block navigation using the up arrow key. [#19135](https://github.com/wordpress/gutenberg/pull/19135) +- Fix Welcome Guide modal display for Internet Explorer. [#19201](https://github.com/wordpress/gutenberg/pull/19201) +- Fix Gallery block crashing on the contributor role. [#19060](https://github.com/wordpress/gutenberg/pull/19060) +- Only show available image sizes for Image and Gallery blocks. [#19301](https://github.com/wordpress/gutenberg/pull/19301) +- Remove the circle mask style from the Image block, and add a "rounded" style instead. [#19028](https://github.com/wordpress/gutenberg/pull/19028) +- Fix the Jest Preset Default package: Update preset file extension for inclusion in NPM deployments. [#19306](https://github.com/wordpress/gutenberg/pull/19306) +- Fix the Base Styles package: Import colors into variables. [#19159](https://github.com/wordpress/gutenberg/pull/19159) +- Limit the Next Page (Page Break) block to root level only. [#18260](https://github.com/wordpress/gutenberg/pull/18260) +- Navigation mode: fix reverse tabbing to the post title. [#19305](https://github.com/wordpress/gutenberg/pull/19305) +- Reposition Popovers on click. [#19268](https://github.com/wordpress/gutenberg/pull/19268) +- Fix RangeControl initialPosition prop to accept 0 as a value. [#18611](https://github.com/wordpress/gutenberg/pull/18611) [#19202](https://github.com/wordpress/gutenberg/pull/19202) +- CustomSelectControl: Use items width instead of 100%. [#19150](https://github.com/wordpress/gutenberg/pull/19150) +- Verse block: fix white space. [#19173](https://github.com/wordpress/gutenberg/pull/19173) +- Add missing i18n to the Latest Posts block settings strings [#19032](https://github.com/wordpress/gutenberg/pull/19032) +- Fix ColorPicker alpha value normalization. [#18991](https://github.com/wordpress/gutenberg/pull/18991) +- Fix Post title encoding. [#19187](https://github.com/wordpress/gutenberg/pull/19187) +- Fix dates alignments in the picker. [#19294](https://github.com/wordpress/gutenberg/pull/19294) +- Media Replace Flow: Don't show the URL option unless there is a handler. [#19063](https://github.com/wordpress/gutenberg/pull/19063) +- Popover: don't render fallback anchor if anchorRef is defined. [#19308](https://github.com/wordpress/gutenberg/pull/19308) +- Fix cursor position when splitting blocks with IME keyboard. [#19055](https://github.com/wordpress/gutenberg/pull/19055) +- URLInput: Avoid showing the suggestions loader when disabled. [#18979](https://github.com/wordpress/gutenberg/pull/18979) +- Translate block example strings. [#18162](https://github.com/wordpress/gutenberg/pull/18162) +- Writing flow: simplify & fix tabbing out of block. [#19312](https://github.com/wordpress/gutenberg/pull/19312) + +### New APIs: + +- Button component: + - Support the icon prop and use a consistent button height. [#19193](https://github.com/wordpress/gutenberg/pull/19193) [#19366](https://github.com/wordpress/gutenberg/pull/19366) [#19123](https://github.com/wordpress/gutenberg/pull/19123) [#19058](https://github.com/wordpress/gutenberg/pull/19058) + - Deprecate IconButton and replace its usage with Button. [#19299](https://github.com/wordpress/gutenberg/pull/19299) [#19241](https://github.com/wordpress/gutenberg/pull/19241) + - Support isPressed prop in Button and SVG components. [#17748](https://github.com/wordpress/gutenberg/pull/17748) +- New the @wordpress/keyboard-shortcuts package: + - Add the package. [#19100](https://github.com/wordpress/gutenberg/pull/19100) + - Optimize useShortcut performance. [#19341](https://github.com/wordpress/gutenberg/pull/19341) + - Refactor KeyboardShortcuts component to rely on useKeyboardShortcut hook. [#19325](https://github.com/wordpress/gutenberg/pull/19325) + - Refactor existing editor shortcuts to rely on the package. [#19320](https://github.com/wordpress/gutenberg/pull/19320) [#19327](https://github.com/wordpress/gutenberg/pull/19327) [#19332](https://github.com/wordpress/gutenberg/pull/19332) [#19318](https://github.com/wordpress/gutenberg/pull/19318) [#19334](https://github.com/wordpress/gutenberg/pull/19334) [#19385](https://github.com/wordpress/gutenberg/pull/19385) [#19395](https://github.com/wordpress/gutenberg/pull/19395) +- New React hook: useInstanceId. [#19091](https://github.com/wordpress/gutenberg/pull/19091) +- Support running arbitrary commands on the @wordpress/env containers and use it for linting and server registered fixtures. [#18986](https://github.com/wordpress/gutenberg/pull/18986) +- Font Size Picker: Add default size [#18273](https://github.com/wordpress/gutenberg/pull/18273) + + +### Experiments + +- Full Site Editing: + - Add package with barebones site editor screen. [#19054](https://github.com/wordpress/gutenberg/pull/19054) + - Add Multi-Entity Saving flow. [#18029](https://github.com/wordpress/gutenberg/pull/18029) [#19155](https://github.com/wordpress/gutenberg/pull/19155) +- Widgets screen & customizer: + - Fix Customiser block editor crash. [#19023](https://github.com/wordpress/gutenberg/pull/19023) + - Fix Drag & Drop not working on the widgets screen. [#19029](https://github.com/wordpress/gutenberg/pull/19029) +- Allow parent Block to consume child Block's toolbar. [#18440](https://github.com/wordpress/gutenberg/pull/18440) +- Allow disabling the Block UI. [#18173](https://github.com/wordpress/gutenberg/pull/18173) +- Block Directory: + - Update the regular expression that determines whether the plugin is using an img URL or an icon slug. [#19316](https://github.com/wordpress/gutenberg/pull/19316) + - Use the block's title for alt text on block directory plugin items. [#19263](https://github.com/wordpress/gutenberg/pull/19263) + +### Documentation + +- Add types documention: + - @wordpress/a11y [#19096](https://github.com/wordpress/gutenberg/pull/19096) + - @wordpress/blob [#19092](https://github.com/wordpress/gutenberg/pull/19092) + - @wordpress/dom-ready [#19089](https://github.com/wordpress/gutenberg/pull/19089) + - @wordpress/is-shallow-equal [#19090](https://github.com/wordpress/gutenberg/pull/19090) + - @wordpress/priority-queue [#18997](https://github.com/wordpress/gutenberg/pull/18997) + - @wordpress/i18n [#19099](https://github.com/wordpress/gutenberg/pull/19099) +- Document the CustomSelectControl component. [#19026](https://github.com/wordpress/gutenberg/pull/19026) +- Document the WritingFlow component. [#19314](https://github.com/wordpress/gutenberg/pull/19314) +- Link to the User Support Documentation. [#19361](https://github.com/wordpress/gutenberg/pull/19361) +- Add more documentation for @wordpress/env. [#19194](https://github.com/wordpress/gutenberg/pull/19194) +- Add nested block / InnerBlocks tutorial. [#17559](https://github.com/wordpress/gutenberg/pull/17559) +- Add Developer Tools setup in Getting Started. [#19074](https://github.com/wordpress/gutenberg/pull/19074) +- Use ESNext as default code example format. [#17873](https://github.com/wordpress/gutenberg/pull/17873) +- Add standalone npm package release docs [#19381](https://github.com/wordpress/gutenberg/pull/19381) +- Typos and tweaks: [#19280](https://github.com/wordpress/gutenberg/pull/19280) [#19236](https://github.com/wordpress/gutenberg/pull/19236) [#19376](https://github.com/wordpress/gutenberg/pull/19376) [#19146](https://github.com/wordpress/gutenberg/pull/19146) [#19022](https://github.com/wordpress/gutenberg/pull/19022) [#19005](https://github.com/wordpress/gutenberg/pull/19005) [#18423](https://github.com/wordpress/gutenberg/pull/18423) [#19347](https://github.com/wordpress/gutenberg/pull/19347) + + +### Various + +- Block Editor: Remove legacy "editor-" class name compatibility. [#19050](https://github.com/wordpress/gutenberg/pull/19050)(https://github.com/wordpress/gutenberg/pull/19046) +- Block Editor: Test ContrastChecker notices by string comparison. [#19169](https://github.com/wordpress/gutenberg/pull/19169) +- Fix useColors crashes on storybook. [#19046] +- Data: Remove unused forceRender argument [#19206](https://github.com/wordpress/gutenberg/pull/19206) +- Define useSelect dependencies properly. [#19044](https://github.com/wordpress/gutenberg/pull/19044) +- Deprecate @wordpress/nux package. [#18981](https://github.com/wordpress/gutenberg/pull/18981) +- E2E Test Utils: Remove empty, unused KeyboardMode file. [#19166](https://github.com/wordpress/gutenberg/pull/19166) +- Popover: remove buffer options [#19283](https://github.com/wordpress/gutenberg/pull/19283) +- Refactor the MediaReplaceFlow component to use Dropdown. [#19126](https://github.com/wordpress/gutenberg/pull/19126) +- Remove unused is-hovered class from the block wrapper. [#19390](https://github.com/wordpress/gutenberg/pull/19390) +- RichText: + - Rewrite withFilters with hooks. [#19117](https://github.com/wordpress/gutenberg/pull/19117) + - split out boundary style calculation. [#19319](https://github.com/wordpress/gutenberg/pull/19319) +- WritingFlow: rewrite with hooks. [#19393](https://github.com/wordpress/gutenberg/pull/19393) +- Project management: Add prepublish packages command for npm releases. [#19214](https://github.com/wordpress/gutenberg/pull/19214) +- Remove unused blocks-font-size classname. [#19208](https://github.com/wordpress/gutenberg/pull/19208) +- Add a pre-commit hook to check whether API docs are updated. [#18820](https://github.com/wordpress/gutenberg/pull/18820) +- Add mechanism to set a width on withViewportMatch. [#17085](https://github.com/wordpress/gutenberg/pull/17085) +- Add minimum and maximum values to the Gallery columns attribute. [#16314](https://github.com/wordpress/gutenberg/pull/16314) +- Include demo block templates in build ZIP. [#19072](https://github.com/wordpress/gutenberg/pull/19072) +- Fix CSS Coding Standards issue. [#19272](https://github.com/wordpress/gutenberg/pull/19272) +- Resolve WordPress package type imports. [#18927](https://github.com/wordpress/gutenberg/pull/18927) +- Add e2e tests: + - Splitting and merging text. [#19049](https://github.com/wordpress/gutenberg/pull/19049) + - InnerBlocks renderAppender. [#14996](https://github.com/wordpress/gutenberg/pull/14996) + - Navigation block. [#19189](https://github.com/wordpress/gutenberg/pull/19189) + - Validate embed rendering before proceeding to next [#19042](https://github.com/wordpress/gutenberg/pull/19042) +- Add unit tests to the useViewportMatch and useMediaQuery React hooks. [#19019](https://github.com/wordpress/gutenberg/pull/19019) + + + = 7.1.0 = ### Features diff --git a/gutenberg.php b/gutenberg.php index c60878369bb7f..e9068e55e4058 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -3,7 +3,7 @@ * Plugin Name: Gutenberg * Plugin URI: https://github.com/WordPress/gutenberg * Description: Printing since 1440. This is the development plugin for the new block editor in core. - * Version: 7.1.0 + * Version: 7.2.0-rc.1 * Author: Gutenberg Team * Text Domain: gutenberg * diff --git a/package-lock.json b/package-lock.json index 7c22548a1bfa1..196ceaeebf6aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gutenberg", - "version": "7.1.0", + "version": "7.2.0-rc.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2b5fce99c856b..50dbbd03709d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gutenberg", - "version": "7.1.0", + "version": "7.2.0-rc.1", "private": true, "description": "A new WordPress editor experience.", "author": "The WordPress Contributors", diff --git a/readme.txt b/readme.txt index 64e42984cc271..47e95d3c11b15 100644 --- a/readme.txt +++ b/readme.txt @@ -79,132 +79,174 @@ See also