|
1 | 1 | == Changelog == |
2 | 2 |
|
| 3 | += 21.8.0-rc.1 = |
| 4 | + |
| 5 | +## Changelog |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +#### Block Editor |
| 10 | +- Section block multi-selection: Disable transforms and inspector controls. ([71708](https://github.com/WordPress/gutenberg/pull/71708)) |
| 11 | + |
| 12 | + |
| 13 | +### Enhancements |
| 14 | + |
| 15 | +- Add Discussion Field with tracksback and comment status agreagetd on Post/Page Quick Edit. ([71949](https://github.com/WordPress/gutenberg/pull/71949)) |
| 16 | +- Block Comment: Display message when there is no related block. ([71968](https://github.com/WordPress/gutenberg/pull/71968)) |
| 17 | +- Block Comment: Improve comment thread outline. ([71961](https://github.com/WordPress/gutenberg/pull/71961)) |
| 18 | +- Block Comment: Improve related block highlighting. ([71932](https://github.com/WordPress/gutenberg/pull/71932)) |
| 19 | +- Block Commenting: Add block-comments as a new post type support. ([71682](https://github.com/WordPress/gutenberg/pull/71682)) |
| 20 | +- Block Commenting: Change date format depending on comment date. ([71835](https://github.com/WordPress/gutenberg/pull/71835)) |
| 21 | +- Block Commenting: Show date or human-readable time diff code. ([71667](https://github.com/WordPress/gutenberg/pull/71667)) |
| 22 | +- Block Comments: Apply border color to avatar. ([71917](https://github.com/WordPress/gutenberg/pull/71917)) |
| 23 | +- Block Comments: Highlight the related block. ([71308](https://github.com/WordPress/gutenberg/pull/71308)) |
| 24 | +- Block Comments: Match the comment form UI to the design. ([71898](https://github.com/WordPress/gutenberg/pull/71898)) |
| 25 | +- Block Comments: Match the show more replies button UI to the design. ([71884](https://github.com/WordPress/gutenberg/pull/71884)) |
| 26 | +- Block Comments: Simplify action callbacks. ([71892](https://github.com/WordPress/gutenberg/pull/71892)) |
| 27 | +- Block Comments: Update 'Actions' menu design. ([71877](https://github.com/WordPress/gutenberg/pull/71877)) |
| 28 | +- Block Comments: Update editing flow. ([71889](https://github.com/WordPress/gutenberg/pull/71889)) |
| 29 | +- DataViews: Expose FiltersToggled subcomponent. ([71907](https://github.com/WordPress/gutenberg/pull/71907)) |
| 30 | +- Fields package: Add Storybook examples. ([71864](https://github.com/WordPress/gutenberg/pull/71864)) |
| 31 | +- Improve comments panel close icon label. ([71701](https://github.com/WordPress/gutenberg/pull/71701)) |
| 32 | +- Post Editor: Add the back button animation similar to the site editor. ([71929](https://github.com/WordPress/gutenberg/pull/71929)) |
| 33 | + |
| 34 | +#### Block Library |
| 35 | +- Accordion Blocks: Organize block supports. ([71823](https://github.com/WordPress/gutenberg/pull/71823)) |
| 36 | +- Accordion Header: Add content role to title attribute. ([71762](https://github.com/WordPress/gutenberg/pull/71762)) |
| 37 | +- Accordion Header: Remove textAlignment and textAlign. ([71875](https://github.com/WordPress/gutenberg/pull/71875)) |
| 38 | +- Accordion Header: Use withoutInteractiveFormatting instead of hardcoded formats. ([71745](https://github.com/WordPress/gutenberg/pull/71745)) |
| 39 | +- Accordion: Add example block preview. ([71365](https://github.com/WordPress/gutenberg/pull/71365)) |
| 40 | +- Accordion: Rename block names. ([71978](https://github.com/WordPress/gutenberg/pull/71978)) |
| 41 | +- Add paragraph level option to post type label block. ([71947](https://github.com/WordPress/gutenberg/pull/71947)) |
| 42 | +- Enhance Term Description Block with Context Support. ([71525](https://github.com/WordPress/gutenberg/pull/71525)) |
| 43 | +- Terms Query inspector controls revamp + add subterms option. ([71633](https://github.com/WordPress/gutenberg/pull/71633)) |
| 44 | +- Time To Read: Add a range option. ([71606](https://github.com/WordPress/gutenberg/pull/71606)) |
| 45 | +- Time To Read: Add a word count option. ([71841](https://github.com/WordPress/gutenberg/pull/71841)) |
| 46 | +- Time To Read: Make display as range the default, and allow older blocks to migrate to this setting. ([71842](https://github.com/WordPress/gutenberg/pull/71842)) |
| 47 | +- Time to Read: Replace toggles with block variations. ([71897](https://github.com/WordPress/gutenberg/pull/71897)) |
| 48 | + |
| 49 | +#### DataViews |
| 50 | +- Add `number` field. ([71797](https://github.com/WordPress/gutenberg/pull/71797)) |
| 51 | +- Add support for elements validation in DataForm's array fields. ([71194](https://github.com/WordPress/gutenberg/pull/71194)) |
| 52 | +- Export DataViewsPicker from dataviews package. ([71836](https://github.com/WordPress/gutenberg/pull/71836)) |
| 53 | +- Prevent hiding the last visible field. ([71625](https://github.com/WordPress/gutenberg/pull/71625)) |
| 54 | + |
| 55 | +#### Block Editor |
| 56 | +- Add configurable timeout parameter to flashBlock. ([71752](https://github.com/WordPress/gutenberg/pull/71752)) |
| 57 | +- Link Control: Update button text from Save to Apply. ([72005](https://github.com/WordPress/gutenberg/pull/72005)) |
| 58 | + |
| 59 | +#### Global Styles |
| 60 | +- Add reset button to BackgroundControlsPanel. ([71928](https://github.com/WordPress/gutenberg/pull/71928)) |
| 61 | +- Site Editor: Make less prominent Addtional CSS UI. ([71550](https://github.com/WordPress/gutenberg/pull/71550)) |
| 62 | + |
| 63 | +#### Block bindings |
| 64 | +- Communicate supported block attributes from server side. ([71820](https://github.com/WordPress/gutenberg/pull/71820)) |
| 65 | + |
| 66 | +#### Write mode |
| 67 | +- Try adding content roles to navigation blocks. ([71747](https://github.com/WordPress/gutenberg/pull/71747)) |
| 68 | + |
| 69 | +#### Components |
| 70 | +- Textarea Component: Add default resize vertical rule. ([71736](https://github.com/WordPress/gutenberg/pull/71736)) |
| 71 | + |
| 72 | +#### Post Editor |
| 73 | +- PostTypeSupportCheck: Handle support keys sub-features. ([71723](https://github.com/WordPress/gutenberg/pull/71723)) |
| 74 | + |
| 75 | +#### Patterns |
| 76 | +- Block Inspector: Add content tab for section blocks. ([71714](https://github.com/WordPress/gutenberg/pull/71714)) |
| 77 | + |
| 78 | +#### Icons |
| 79 | +- Add gift Icon. ([71705](https://github.com/WordPress/gutenberg/pull/71705)) |
| 80 | + |
| 81 | +#### Interactivity API |
| 82 | +- iAPI Router: Update router regions inside elements with `data-wp-interactive`. ([71635](https://github.com/WordPress/gutenberg/pull/71635)) |
| 83 | + |
| 84 | +#### Meta Boxes |
| 85 | +- Add ability to toggle meta box pane open and closed. ([71623](https://github.com/WordPress/gutenberg/pull/71623)) |
| 86 | + |
| 87 | + |
| 88 | +### New APIs |
| 89 | + |
| 90 | +#### Block API |
| 91 | +- Add block visibility control support and UI. ([71203](https://github.com/WordPress/gutenberg/pull/71203)) |
| 92 | + |
| 93 | + |
| 94 | +### Bug Fixes |
| 95 | + |
| 96 | +- Add decodeEntities for CollabSideBarContent errors. ([71909](https://github.com/WordPress/gutenberg/pull/71909)) |
| 97 | +- Block Comment: Make blockCommentId as part of the metadata. ([71921](https://github.com/WordPress/gutenberg/pull/71921)) |
| 98 | +- Block Commenting: Don't show unpinnable sidebar on mobile viewports. ([71834](https://github.com/WordPress/gutenberg/pull/71834)) |
| 99 | +- Block Comments: Fix canceling the form for a selected block. ([71862](https://github.com/WordPress/gutenberg/pull/71862)) |
| 100 | +- Block Comments: Fix translation comments to say participants in toolbar indicator. ([71890](https://github.com/WordPress/gutenberg/pull/71890)) |
| 101 | +- Consistently show (no title) as a fallback for pages and templates with empty titles. ([71945](https://github.com/WordPress/gutenberg/pull/71945)) |
| 102 | +- Filter comment clause based on current query. ([71712](https://github.com/WordPress/gutenberg/pull/71712)) |
| 103 | +- Fix comment counts with filter. ([71874](https://github.com/WordPress/gutenberg/pull/71874)) |
| 104 | +- Template activation: Don't set site option on edit. ([71811](https://github.com/WordPress/gutenberg/pull/71811)) |
| 105 | +- Template activation: Fix saveEntityRecord with theme ID. ([71798](https://github.com/WordPress/gutenberg/pull/71798)) |
| 106 | + |
| 107 | +#### Block Library |
| 108 | +- Accordion Block: Hide "Add" button when multiple blocks are selected. ([71750](https://github.com/WordPress/gutenberg/pull/71750)) |
| 109 | +- Accordion Header: Fix toggle icon position in the editor. ([71859](https://github.com/WordPress/gutenberg/pull/71859)) |
| 110 | +- Accordion Header: Skip serialization correctly. ([71804](https://github.com/WordPress/gutenberg/pull/71804)) |
| 111 | +- Accordion Panel: Add role=region. ([71902](https://github.com/WordPress/gutenberg/pull/71902)) |
| 112 | +- Accordion Panel: Fixes block visibility when the panel is collapsed. ([71866](https://github.com/WordPress/gutenberg/pull/71866)) |
| 113 | +- Fix Navigation Block default link consistency across all insertion methods. ([71899](https://github.com/WordPress/gutenberg/pull/71899)) |
| 114 | +- Fix accordion gradient background. ([71802](https://github.com/WordPress/gutenberg/pull/71802)) |
| 115 | +- Fixes Accordion block width issue when applying padding. ([71809](https://github.com/WordPress/gutenberg/pull/71809)) |
| 116 | +- Post Author Block: Add default avatar fallback for editor display outside postId context. ([71775](https://github.com/WordPress/gutenberg/pull/71775)) |
| 117 | +- Table of Contents: Add aria label to the nav element. ([71586](https://github.com/WordPress/gutenberg/pull/71586)) |
| 118 | +- Terms Query: Fix console errors. ([71795](https://github.com/WordPress/gutenberg/pull/71795)) |
| 119 | +- Time to Read: Change word count character based on word count type. ([71920](https://github.com/WordPress/gutenberg/pull/71920)) |
| 120 | +- fix: Hide accordion icon position setting when show icon is disabled. ([71748](https://github.com/WordPress/gutenberg/pull/71748)) |
| 121 | + |
| 122 | +#### Patterns |
| 123 | +- Fix incorrect block editing mode assigned in some cases. ([71970](https://github.com/WordPress/gutenberg/pull/71970)) |
| 124 | +- contentOnly unsynced patterns experiment: Ensure a tab is selected when clicking Edit contents. ([71987](https://github.com/WordPress/gutenberg/pull/71987)) |
| 125 | + |
| 126 | +#### DataViews |
| 127 | +- DataViewsPicker Grid layout: Support hiding the title. ([71865](https://github.com/WordPress/gutenberg/pull/71865)) |
| 128 | +- Fix: Exclude non-hideable fields from the Properties list in the view configuration. ([71729](https://github.com/WordPress/gutenberg/pull/71729)) |
| 129 | + |
| 130 | +#### Site Editor |
| 131 | +- Fix creating templates for posts with long slugs. ([71838](https://github.com/WordPress/gutenberg/pull/71838)) |
| 132 | +- Fix the PHP warning for the URL query. ([71753](https://github.com/WordPress/gutenberg/pull/71753)) |
| 133 | + |
| 134 | +#### Write mode |
| 135 | +- Accordion Block: Hide Add button in write mode. ([71941](https://github.com/WordPress/gutenberg/pull/71941)) |
| 136 | + |
| 137 | +#### Interactivity API |
| 138 | +- iAPI: Fix nested `data-wp-each` directives using the same items key. ([71870](https://github.com/WordPress/gutenberg/pull/71870)) |
| 139 | + |
| 140 | +#### Block bindings |
| 141 | +- Fix pattern override bug, editing was allowed on non enabled overrides blocks. ([71813](https://github.com/WordPress/gutenberg/pull/71813)) |
| 142 | + |
| 143 | +#### Components |
| 144 | +- Button: Fix incorrect padding with text and right icon. ([71464](https://github.com/WordPress/gutenberg/pull/71464)) |
| 145 | + |
| 146 | + |
| 147 | +### Accessibility |
| 148 | + |
| 149 | +- Block Comments: Improve input labels. ([71843](https://github.com/WordPress/gutenberg/pull/71843)) |
| 150 | +- Block Comments: Make comment thread focusable and improve keyboard navigation. ([71883](https://github.com/WordPress/gutenberg/pull/71883)) |
| 151 | + |
| 152 | +#### Block Library |
| 153 | +- Accordion Block: Add additional keypress handlers for navigation. ([71786](https://github.com/WordPress/gutenberg/pull/71786)) |
| 154 | +- Accordion: Remove label from Add button. ([71756](https://github.com/WordPress/gutenberg/pull/71756)) |
| 155 | +- Added default focus and hover states to accordion header. ([71937](https://github.com/WordPress/gutenberg/pull/71937)) |
| 156 | +- Fix: Add aria-hidden to accordion toggle icon. ([71783](https://github.com/WordPress/gutenberg/pull/71783)) |
| 157 | +- Update: Accordion heading level synchronization. ([71895](https://github.com/WordPress/gutenberg/pull/71895)) |
| 158 | + |
| 159 | + |
| 160 | +### Performance |
| 161 | + |
| 162 | +- Block Comments: New 'useBlockComments' hook and perf improvements. ([71869](https://github.com/WordPress/gutenberg/pull/71869)) |
| 163 | + |
| 164 | + |
| 165 | +### Experiments |
| 166 | + |
| 167 | +#### Block API |
| 168 | +- Allow registering PHP-only blocks. ([71794](https://github.com/WordPress/gutenberg/pull/71794)) |
| 169 | + |
| 170 | + |
| 171 | +### Documentation |
| 172 | + |
| 173 | +- DataForm: Update visibility example in storybook. ([71771](https://github.com/WordPress/gutenberg/pull/71771)) |
| 174 | +- Docs: Use `gutenberg` instead of `Gutenberg` in package name. ([71790](https://github.com/WordPress/gutenberg/pull/71790)) |
| 175 | +- Fix examples with elements in field type story. ([71971](https://github.com/WordPress/gutenberg/pull/71971)) |
| 176 | +- Update validation story to cover number field type. ([71980](https://github.com/WordPress/gutenberg/pull/71980)) |
| 177 | + |
| 178 | + |
| 179 | +### Code Quality |
| 180 | + |
| 181 | +- Backport changelog: Update for 9702 (to 9949). ([71849](https://github.com/WordPress/gutenberg/pull/71849)) |
| 182 | +- Block Comments: Unfold custom styles. ([71766](https://github.com/WordPress/gutenberg/pull/71766)) |
| 183 | +- Create an `AGENTS.md` file. ([71796](https://github.com/WordPress/gutenberg/pull/71796)) |
| 184 | +- JSON Schema: Update block.json apiVersion to 3. ([71852](https://github.com/WordPress/gutenberg/pull/71852)) |
| 185 | +- Refactor block-inspector: Improve maintainability and readability. ([71608](https://github.com/WordPress/gutenberg/pull/71608)) |
| 186 | + |
| 187 | +#### Block Library |
| 188 | +- Accordion Block: Simplify script module enqueueing. ([71742](https://github.com/WordPress/gutenberg/pull/71742)) |
| 189 | +- Accordion Blocks: Standardize CSS class names. ([71785](https://github.com/WordPress/gutenberg/pull/71785)) |
| 190 | +- Accordion Header: Don't use flex-direction:Reverse. ([71737](https://github.com/WordPress/gutenberg/pull/71737)) |
| 191 | +- Accordion Header: Remove hardcoded inline styles and unused CSS class. ([71731](https://github.com/WordPress/gutenberg/pull/71731)) |
| 192 | +- Comments: Fix potential PHP warning. ([71860](https://github.com/WordPress/gutenberg/pull/71860)) |
| 193 | +- Extract shared Controls component for Navigation Link and Submenu blocks. ([71994](https://github.com/WordPress/gutenberg/pull/71994)) |
| 194 | +- Navigation Block: Use path for all navigation toogle icons. ([71829](https://github.com/WordPress/gutenberg/pull/71829)) |
| 195 | +- Post Date: Combine 'core-data' store selectors. ([71846](https://github.com/WordPress/gutenberg/pull/71846)) |
| 196 | +- Social Icon: Removed extra spaces in color styles. ([71900](https://github.com/WordPress/gutenberg/pull/71900)) |
| 197 | +- Time to Read: Simplify edit function. ([71965](https://github.com/WordPress/gutenberg/pull/71965)) |
| 198 | + |
| 199 | +#### Block Variations |
| 200 | +- Group block: Simplify variations' isActive fields. ([63100](https://github.com/WordPress/gutenberg/pull/63100)) |
| 201 | + |
| 202 | + |
| 203 | +### Tools |
| 204 | + |
| 205 | +#### Testing |
| 206 | +- Block Comments: Add general end-to-end test coverage. ([71844](https://github.com/WordPress/gutenberg/pull/71844)) |
| 207 | + |
| 208 | + |
| 209 | +## First-time contributors |
| 210 | + |
| 211 | +The following PRs were merged by first-time contributors: |
| 212 | + |
| 213 | +- @Drivingralle: Navigation Block: Use path for all navigation toogle icons. ([71829](https://github.com/WordPress/gutenberg/pull/71829)) |
| 214 | +- @epeicher: Button: Fix incorrect padding with text and right icon. ([71464](https://github.com/WordPress/gutenberg/pull/71464)) |
| 215 | +- @ritoban23: Accordion Blocks: Organize block supports. ([71823](https://github.com/WordPress/gutenberg/pull/71823)) |
| 216 | +- @theaminuli: Post Author Block: Add default avatar fallback for editor display outside postId context. ([71775](https://github.com/WordPress/gutenberg/pull/71775)) |
| 217 | +- @Utsav-Ladani: Add paragraph level option to post type label block. ([71947](https://github.com/WordPress/gutenberg/pull/71947)) |
| 218 | + |
| 219 | + |
| 220 | +## Contributors |
| 221 | + |
| 222 | +The following contributors merged PRs in this release: |
| 223 | + |
| 224 | +@aaronrobertshaw @adamsilverstein @Adi-ty @andrewserong @cbravobernal @DAreRodz @dinhtungdu @Drivingralle @elazzabi @ellatrix @epeicher @getdave @himanshupathak95 @jorgefilipecosta @jsnajdr @juanfra @karthick-murugan @kmanijak @levinbaria @MaggieCabrera @Mamaduka @mikachan @n2erjo00 @nani-samireddy @nerrad @ntsekouras @oandregal @ockham @peterwilsoncc @priethor @R1shabh-Gupta @ramonjd @ritoban23 @scruffian @shail-mehta @shimotmk @sirreal @stokesman @sunyatasattva @t-hamano @talldan @tellthemachines @theaminuli @theminaldiwan @Utsav-Ladani @yashjawale @youknowriad |
| 225 | + |
| 226 | + |
3 | 227 | = 21.7.0 = |
4 | 228 |
|
5 | 229 | ## Changelog |
|
0 commit comments