|
1 | 1 | == Changelog == |
2 | 2 |
|
| 3 | += 21.6.0-rc.1 = |
| 4 | + |
| 5 | + |
| 6 | +## Changelog |
| 7 | + |
| 8 | +### Enhancements |
| 9 | + |
| 10 | +- Add support for precision type placeholders to translator comments eslint. ([71145](https://github.com/WordPress/gutenberg/pull/71145)) |
| 11 | +- Core Commands: Add `Dashboard` option to return to dashboard. ([71261](https://github.com/WordPress/gutenberg/pull/71261)) |
| 12 | +- Core Data: Add 'supportsPagination' to all appropriate entities. ([71302](https://github.com/WordPress/gutenberg/pull/71302)) |
| 13 | +- Core Data: Forward resolvers for pagination selectors. ([71304](https://github.com/WordPress/gutenberg/pull/71304)) |
| 14 | +- Core Data: Include pagination meta while receiving intermediate results. ([71401](https://github.com/WordPress/gutenberg/pull/71401)) |
| 15 | +- Create Block: Add lifecycle script execution support. ([71072](https://github.com/WordPress/gutenberg/pull/71072)) |
| 16 | +- Deps: Bump `framer-motion` to `v11.15.0`. ([71442](https://github.com/WordPress/gutenberg/pull/71442)) |
| 17 | +- Display names for Context providers. ([71208](https://github.com/WordPress/gutenberg/pull/71208)) |
| 18 | +- Move `Site Editor` command from `@wordpress/editor` package to `@wordpress/core-commands`. ([71262](https://github.com/WordPress/gutenberg/pull/71262)) |
| 19 | + |
| 20 | +#### DataViews |
| 21 | +- DataForm: Add description support for the combined fields and show the description in the Card layout. ([71380](https://github.com/WordPress/gutenberg/pull/71380)) |
| 22 | +- DataForm: Streamline validation behavior. ([71345](https://github.com/WordPress/gutenberg/pull/71345)) |
| 23 | +- Revert "DataForm: Streamline validation behavior". ([71359](https://github.com/WordPress/gutenberg/pull/71359)) |
| 24 | +- Support hiding the title in Grid layout, with actions available on hover. ([71369](https://github.com/WordPress/gutenberg/pull/71369)) |
| 25 | +- Support the "Minimal UI" story by using `DataViews.Footer`. ([71276](https://github.com/WordPress/gutenberg/pull/71276)) |
| 26 | + |
| 27 | +#### Block Library |
| 28 | +- Accordion Panel: Remove unnecessary wrapper div and simplify save. ([71454](https://github.com/WordPress/gutenberg/pull/71454)) |
| 29 | +- Accordion: Add an "Add" button. ([71388](https://github.com/WordPress/gutenberg/pull/71388)) |
| 30 | +- Query Loop Block: Fix broken placeholder. ([70840](https://github.com/WordPress/gutenberg/pull/70840)) |
| 31 | + |
| 32 | +#### Offline |
| 33 | +- api-fetch: Check navigator.onLine to improve failure notices. ([71438](https://github.com/WordPress/gutenberg/pull/71438)) |
| 34 | + |
| 35 | +#### Meta Boxes |
| 36 | +- Edit Post: Check for meta box container before adding constraints. ([71423](https://github.com/WordPress/gutenberg/pull/71423)) |
| 37 | + |
| 38 | +#### Commands |
| 39 | +- feat: Added keyword support & added basic keywords for post/page. ([70624](https://github.com/WordPress/gutenberg/pull/70624)) |
| 40 | + |
| 41 | + |
| 42 | +### New APIs |
| 43 | + |
| 44 | +#### Global Styles |
| 45 | +- Add support for select or dropdown elements. ([70379](https://github.com/WordPress/gutenberg/pull/70379)) |
| 46 | + |
| 47 | + |
| 48 | +### Bug Fixes |
| 49 | + |
| 50 | +- Add permission checks to Command Palette commands. ([71267](https://github.com/WordPress/gutenberg/pull/71267)) |
| 51 | +- Components: Fix Tab font size when used outside WP. ([71346](https://github.com/WordPress/gutenberg/pull/71346)) |
| 52 | +- Core Data: Fix error in 'getEntityRecordsTotalPages' selector. ([71303](https://github.com/WordPress/gutenberg/pull/71303)) |
| 53 | +- Scripts: Do not access `window` global. ([71348](https://github.com/WordPress/gutenberg/pull/71348)) |
| 54 | +- wp-scripts: Remove `clean-webpack-plugin` dependency. ([71080](https://github.com/WordPress/gutenberg/pull/71080)) |
| 55 | + |
| 56 | +#### Block Library |
| 57 | +- Accordion Header: Fix RTL toggle button layout. ([71480](https://github.com/WordPress/gutenberg/pull/71480)) |
| 58 | +- Fix issue of css affecting the nested accordion icon. ([71445](https://github.com/WordPress/gutenberg/pull/71445)) |
| 59 | +- Fix timezone in Date block. ([71430](https://github.com/WordPress/gutenberg/pull/71430)) |
| 60 | +- Fix: Randomization in Gallery Block doesn't work when Lightbox is enabled. ([71408](https://github.com/WordPress/gutenberg/pull/71408)) |
| 61 | +- Group Block variation:Remove variation text color. ([71429](https://github.com/WordPress/gutenberg/pull/71429)) |
| 62 | +- Properly apply styles and classes to the experimental form block. ([55755](https://github.com/WordPress/gutenberg/pull/55755)) |
| 63 | +- Template Part: Display icons correctly when in placeholder state. ([71327](https://github.com/WordPress/gutenberg/pull/71327)) |
| 64 | +- fix: Prevent accordion toggle button overflow at full width. ([71446](https://github.com/WordPress/gutenberg/pull/71446)) |
| 65 | +- fix: Prevent scrollbars on accordion header and toggle. ([71484](https://github.com/WordPress/gutenberg/pull/71484)) |
| 66 | + |
| 67 | +#### Write mode |
| 68 | +- Allow adding "content" role blocks to containers that also have a "content" role in write mode. ([71232](https://github.com/WordPress/gutenberg/pull/71232)) |
| 69 | +- Audio and Video: Hide caption controls in contentOnly mode. ([71368](https://github.com/WordPress/gutenberg/pull/71368)) |
| 70 | +- Hide 'Add block' control in Link UI when Navigation Link block is in contentOnly mode. ([71213](https://github.com/WordPress/gutenberg/pull/71213)) |
| 71 | +- Image: Don't allow convert to cover controls in contentOnly mode. ([71329](https://github.com/WordPress/gutenberg/pull/71329)) |
| 72 | + |
| 73 | +#### Post Editor |
| 74 | +- Edit Post: Fix misplaced icon on back button. ([71406](https://github.com/WordPress/gutenberg/pull/71406)) |
| 75 | +- Editor: Fix theme stylesheet injection in 'useAvailablePatterns'. ([71332](https://github.com/WordPress/gutenberg/pull/71332)) |
| 76 | + |
| 77 | +#### DataViews |
| 78 | +- Fix grid padding values on mobile viewports. ([71455](https://github.com/WordPress/gutenberg/pull/71455)) |
| 79 | + |
| 80 | +#### Block Editor |
| 81 | +- Inserter: Fix `InserterListbox` rendering for React 19. ([71410](https://github.com/WordPress/gutenberg/pull/71410)) |
| 82 | + |
| 83 | +#### Style Book |
| 84 | +- Accordion Content, Header, Panel: Remove example field. ([71407](https://github.com/WordPress/gutenberg/pull/71407)) |
| 85 | + |
| 86 | +#### Zoom Out |
| 87 | +- Fix Zoom out should be disabled when Show Template is toggled off. ([71361](https://github.com/WordPress/gutenberg/pull/71361)) |
| 88 | + |
| 89 | +#### Components |
| 90 | +- ControlWithError: Show validating state when transitioning from error state. ([71260](https://github.com/WordPress/gutenberg/pull/71260)) |
| 91 | + |
| 92 | +#### Interactivity API |
| 93 | +- iAPI: Make state getters to be updated asynchronously with `store()`. ([70974](https://github.com/WordPress/gutenberg/pull/70974)) |
| 94 | + |
| 95 | + |
| 96 | +### Performance |
| 97 | + |
| 98 | +- Add wp-env SPX profiler option. ([70693](https://github.com/WordPress/gutenberg/pull/70693)) |
| 99 | + |
| 100 | +#### Post Editor |
| 101 | +- Editor: Improve the 'Design' sidebar panel performance. ([71333](https://github.com/WordPress/gutenberg/pull/71333)) |
| 102 | + |
| 103 | + |
| 104 | +### Documentation |
| 105 | + |
| 106 | +- Core Data: Improve 'registry.batch' documentation. ([71325](https://github.com/WordPress/gutenberg/pull/71325)) |
| 107 | +- DataForm: Better story for validation. ([71298](https://github.com/WordPress/gutenberg/pull/71298)) |
| 108 | +- DataViews: Fix `defaultLayouts` documentation error. ([71334](https://github.com/WordPress/gutenberg/pull/71334)) |
| 109 | +- Field Types: Update storybook. ([71440](https://github.com/WordPress/gutenberg/pull/71440)) |
| 110 | +- Hooks: Document 'hookName' and 'namespace' parameters. ([71288](https://github.com/WordPress/gutenberg/pull/71288)) |
| 111 | +- Storybook: Set `DateCalendar` and `DateRangeCalendar` components as private. ([71453](https://github.com/WordPress/gutenberg/pull/71453)) |
| 112 | + |
| 113 | + |
| 114 | +### Code Quality |
| 115 | + |
| 116 | +- A11y: Remove redundant styles. ([65409](https://github.com/WordPress/gutenberg/pull/65409)) |
| 117 | +- Command Palette: Enqueue assets globally. ([71264](https://github.com/WordPress/gutenberg/pull/71264)) |
| 118 | +- Convert api-fetch package to TypeScript. ([67669](https://github.com/WordPress/gutenberg/pull/67669)) |
| 119 | +- Convert date package to TypeScript. ([67665](https://github.com/WordPress/gutenberg/pull/67665)) |
| 120 | +- Core Data: Remove unused reducers. ([71305](https://github.com/WordPress/gutenberg/pull/71305)) |
| 121 | +- Fix: Add JSON_HEX_TAG flag to wp_json_encode in script tags. ([71280](https://github.com/WordPress/gutenberg/pull/71280)) |
| 122 | +- Interface: Remove leftover comment. ([71331](https://github.com/WordPress/gutenberg/pull/71331)) |
| 123 | +- Types: Update to be compatible with React 19. ([71374](https://github.com/WordPress/gutenberg/pull/71374)) |
| 124 | +- api-fetch: Clean up error handling. ([71458](https://github.com/WordPress/gutenberg/pull/71458)) |
| 125 | +- api-fetch: Cleanup and improve unit tests. ([71439](https://github.com/WordPress/gutenberg/pull/71439)) |
| 126 | +- core-data: Use Object.fromEntries instead of reduce when generating entities reducer. ([36296](https://github.com/WordPress/gutenberg/pull/36296)) |
| 127 | + |
| 128 | +#### Block Editor |
| 129 | +- Fold `uniqueByBlock` into `options` object. ([71279](https://github.com/WordPress/gutenberg/pull/71279)) |
| 130 | +- Remove duplicate 'InsertionPointOpenRef' context definition. ([71465](https://github.com/WordPress/gutenberg/pull/71465)) |
| 131 | + |
| 132 | +#### Block Library |
| 133 | +- Image block: Remove unused code. ([71292](https://github.com/WordPress/gutenberg/pull/71292)) |
| 134 | +- refactor: Remove unnecessary fields from accordion block.json files. ([71441](https://github.com/WordPress/gutenberg/pull/71441)) |
| 135 | + |
| 136 | +#### Post Editor |
| 137 | +- Update types of getCurrentPostId. ([71347](https://github.com/WordPress/gutenberg/pull/71347)) |
| 138 | + |
| 139 | +#### Global Styles |
| 140 | +- Remove unecessary useEffect from ScreenStyleVariations. ([71344](https://github.com/WordPress/gutenberg/pull/71344)) |
| 141 | + |
| 142 | + |
| 143 | +### Tools |
| 144 | + |
| 145 | +#### Testing |
| 146 | +- Avoid using `*-latest` for runner images. ([71201](https://github.com/WordPress/gutenberg/pull/71201)) |
| 147 | +- Fix failing command center end-to-end tests. ([71293](https://github.com/WordPress/gutenberg/pull/71293)) |
| 148 | +- GitHub Actions: Try to fix storybook smoke tests. ([71284](https://github.com/WordPress/gutenberg/pull/71284)) |
| 149 | +- Upgrade Playwright to v1.55. ([71285](https://github.com/WordPress/gutenberg/pull/71285)) |
| 150 | + |
| 151 | +#### Build Tooling |
| 152 | +- Fix PHP unit testing jobs to not include version. ([71396](https://github.com/WordPress/gutenberg/pull/71396)) |
| 153 | +- Release Workflow: Add github.ref validation. ([71404](https://github.com/WordPress/gutenberg/pull/71404)) |
| 154 | + |
| 155 | + |
| 156 | +## First-time contributors |
| 157 | + |
| 158 | +The following PRs were merged by first-time contributors: |
| 159 | + |
| 160 | +- @levinbaria: Fix issue of css affecting the nested accordion icon. ([71445](https://github.com/WordPress/gutenberg/pull/71445)) |
| 161 | + |
| 162 | + |
| 163 | +## Contributors |
| 164 | + |
| 165 | +The following contributors merged PRs in this release: |
| 166 | + |
| 167 | +@Adi-ty @andrewserong @aristath @DAreRodz @desrosj @dinhtungdu @getdave @himanshupathak95 @im3dabasia @jsnajdr @juanfra @kmanijak @lalitkumawat1m @levinbaria @MaggieCabrera @Mamaduka @manzoorwanijk @Mayank-Tripathi32 @mcsf @mikachan @mirka @nerrad @oandregal @R1shabh-Gupta @ramonjd @shimotmk @sirreal @swissspidy @t-hamano @talldan @tellthemachines @tyxla @USERSATOSHI @vipul0425 @westonruter @youknowriad |
| 168 | + |
| 169 | + |
3 | 170 | = 21.5.0 = |
4 | 171 |
|
5 | 172 | ## Changelog |
|
0 commit comments