Skip to content

Commit ccf6a14

Browse files
Merge changes published in the Gutenberg plugin "release/21.3" branch
1 parent 35e2694 commit ccf6a14

723 files changed

Lines changed: 17060 additions & 3531 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
/packages/base-styles
9494
/packages/icons
9595
/packages/primitives
96+
/packages/dataviews @oandregal
9697

9798
# Utilities
9899
/packages/a11y
Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
name: Gutenberg Release
3+
title: "Gutenberg {VERSION_NUMBER} release checklist"
34
about: A checklist for the Gutenberg plugin release process
45
labels: Gutenberg Plugin, [Type] Project Management
56
---
67

78
This issue is to provide visibility on the progress of the release process of Gutenberg VERSION_NUMBER and to centralize any conversations about it. The ultimate goal of this issue is to keep the reference of the steps, resources, work, and conversations about this release so it can be helpful for the next contributors releasing a new Gutenberg version.
89

9-
- Gutenberg version to release: VERSION_NUMBER ([milestone](ADD_LINK))
10+
- Gutenberg version to release: {VERSION_NUMBER} ([milestone](https://github.com/WordPress/gutenberg/milestone/{MILESTONE_ID}?closed=1))
1011
- Release Manager (a.k.a. Release Lead):
11-
- Release Date VERSION_NUMBER RC: ADD DATE
12-
- Release Date VERSION_NUMBER: ADD DATE
13-
- Previous version change log (as a reference): [15.3](https://github.com/WordPress/gutenberg/releases/tag/v15.3.0)
12+
- Release Date {VERSION_NUMBER} RC: {ADD DATE}
13+
- Release Date {VERSION_NUMBER}: {ADD DATE}
14+
- Previous version change log (as a reference): [{PREVIOUS_VERSION_NUMBER}](https://github.com/WordPress/gutenberg/releases/tag/{PREVIOUS_TAG_NAME})
1415

1516
## Resources
1617

@@ -21,33 +22,34 @@ This issue is to provide visibility on the progress of the release process of Gu
2122

2223
## Checklist
2324

24-
### RC Day - {Weekday, Month, Date}
25+
### RC Day - {WEEKDAY}, {MONTH}, {DATE}
2526

2627
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the RC release process
27-
- [ ] Organize and Label PRs on the relevant milestone
28-
- [ ] Start the release process by triggering the `rc` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-workflow)
29-
- [ ] [Update the created Draft Release accordingly](https://developer.wordpress.org/block-editor/contributors/code/release/#view-the-release-draft)
30-
- [ ] [Curate the changelog](https://developer.wordpress.org/block-editor/contributors/code/release/#1-curating-the-changelog) before publishing
31-
- [ ] Publish Release
28+
- [ ] [Organize and Label PRs](https://developer.wordpress.org/block-editor/contributors/code/release/#organizing-and-labeling-milestone-prs) on the relevant milestone
29+
- [ ] Start the release process by triggering the `rc` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-the-release-workflow)
30+
- [ ] [Update the created Draft Release accordingly](https://developer.wordpress.org/block-editor/contributors/code/release/#viewing-the-release-draft)
31+
- [ ] [Curate the changelog](https://developer.wordpress.org/block-editor/contributors/code/release/#curating-the-release-changelog) before publishing
32+
- [ ] [Publish Release](https://developer.wordpress.org/block-editor/contributors/code/release/#publishing-the-release)
3233
- [ ] Announce in `#core-editor` channel that RC1 has been released and is ready for testing
3334
- [ ] Ping any other relevant channels announcing that the RC is available
3435
- [ ] Create Draft of Release post on Make Core blog _(initial draft in [Google doc](https://docs.google.com/document/d/1D-MTOCmL9eMlP9TDTXqlzuKVOg_ghCPm9_whHFViqMk/edit))_
3536

3637
### Between RC and Release
3738

38-
- [ ] Post a reminder in #core-editor for backporting PRs to RC (~Label Backport to Gutenberg RC)
39+
- [ ] Post a reminder in `#core-editor` for backporting PRs to RC (~Label `Backport to Gutenberg RC`)
3940
- [ ] If there are any PRs marked as [Backport to RC](https://github.com/WordPress/gutenberg/pulls?q=is%3Apr+label%3A%22Backport+to+Gutenberg+RC%22+is%3Aclosed), run the [cherry-pick command to apply them](https://developer.wordpress.org/block-editor/contributors/code/release/auto-cherry-picking/#how-can-i-use-it-for-a-gutenberg-plugin-release) to the release branch. **This needs to be run locally**
4041
- [ ] [Draft Release Post Highlights and Change Log](https://docs.google.com/document/d/1D-MTOCmL9eMlP9TDTXqlzuKVOg_ghCPm9_whHFViqMk/edit)
41-
- [ ] Get assets from [Design Team](https://make.wordpress.org/design/) for the post
42+
- [ ] Get assets from [Design Team](https://make.wordpress.org/design/) for the post if required
4243
- [ ] Reach out to Highlight Authors to draft sections (if necessary)
4344

4445
### Release Day - {Weekday, Month, Date}
4546

4647
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the release process
47-
- [ ] Start the release process by triggering the `stable` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-workflow)
48+
- [ ] Start the release process by triggering the `stable` [workflow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-the-release-workflow)
4849
- [ ] Update the created Draft Release accordingly. Typically by copy/pasting the last RC release notes and add any changes/updates as needed.
49-
- [ ] Publish Release
50+
- [ ] [Publish Release](https://developer.wordpress.org/block-editor/contributors/code/release/#publishing-the-release)
5051
- [ ] Trigger the update to the plugin directory. _(Get approval from a member of [Gutenberg Release team](https://github.com/orgs/WordPress/teams/gutenberg-release/members) if necessary)_
5152
- [ ] Announce in `#core-editor` channel that the plugin has been released
5253
- [ ] Reach out to other contributors to help get the post reviewed
53-
- [ ] Publish Release post on Make Core blog
54+
- [ ] [Publish Release post](https://developer.wordpress.org/block-editor/contributors/code/release/#publishing-the-release-post) on Make Core blog
55+
- [ ] Post in the `#core-editor` channel [requesting a volunteer for the next Gutenberg release](https://developer.wordpress.org/block-editor/contributors/code/release/#call-for-volunteer-for-the-next-release).

.github/workflows/performance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ jobs:
7676
- name: Compare performance with base branch
7777
if: github.event_name == 'push'
7878
# The base hash used here need to be a commit that is compatible with the current WP version
79-
# The current one is 7f6a627a028f6c5013dc97df316e04e8fc39a4ef and it needs to be updated every WP major release.
79+
# The current one is 1b8efa77d39f68fb3d963ea02ce6ea6a8201d521 and it needs to be updated every WP major release.
8080
# It is used as a base comparison point to avoid fluctuation in the performance metrics.
8181
# See: https://developer.wordpress.org/block-editor/explanations/architecture/performance/#update-the-reference-commit.
8282
run: |
8383
WP_VERSION="$(awk -F ': ' '/^Tested up to/{print $2}' readme.txt)"
8484
IFS=. read -ra WP_VERSION_ARRAY <<< "$WP_VERSION"
8585
WP_MAJOR="${WP_VERSION_ARRAY[0]}.${WP_VERSION_ARRAY[1]}"
86-
./bin/plugin/cli.js perf "$GITHUB_SHA" 7f6a627a028f6c5013dc97df316e04e8fc39a4ef --tests-branch "$GITHUB_SHA" --wp-version "$WP_MAJOR"
86+
./bin/plugin/cli.js perf "$GITHUB_SHA" 1b8efa77d39f68fb3d963ea02ce6ea6a8201d521 --tests-branch "$GITHUB_SHA" --wp-version "$WP_MAJOR"
8787
8888
- name: Compare performance with custom branches
8989
if: github.event_name == 'workflow_dispatch'
@@ -109,7 +109,7 @@ jobs:
109109
CODEHEALTH_PROJECT_TOKEN: ${{ secrets.CODEHEALTH_PROJECT_TOKEN }}
110110
run: |
111111
COMMITTED_AT="$(git show -s "$GITHUB_SHA" --format="%cI")"
112-
./bin/log-performance-results.js "$CODEHEALTH_PROJECT_TOKEN" trunk "$GITHUB_SHA" 7f6a627a028f6c5013dc97df316e04e8fc39a4ef "$COMMITTED_AT"
112+
./bin/log-performance-results.js "$CODEHEALTH_PROJECT_TOKEN" trunk "$GITHUB_SHA" 1b8efa77d39f68fb3d963ea02ce6ea6a8201d521 "$COMMITTED_AT"
113113
114114
- name: Archive debug artifacts (screenshots, HTML snapshots)
115115
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ test/gutenberg-test-themes/twentytwentyone
5353
test/gutenberg-test-themes/twentytwentythree
5454
test/gutenberg-test-themes/twentytwentyfour
5555
packages/react-native-editor/src/setup-local.js
56+
57+
# Files related to applying patches
58+
*.rej
59+
*.orig

backport-changelog/6.9/9268.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
https://github.com/WordPress/wordpress-develop/pull/9268
2+
3+
* https://github.com/WordPress/gutenberg/pull/70676

changelog.txt

Lines changed: 155 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,163 @@
11
== Changelog ==
22

3-
= 21.1.0-rc.1 =
4-
3+
= 21.2.0 =
54

65
## Changelog
76

8-
### Features
7+
### Enhancements
8+
9+
- DataViews: Introduce `perPageSizes` to control the available sizes of the items per page. ([70604](https://github.com/WordPress/gutenberg/pull/70604))
10+
- ESLint: Enforce stricter translator comment placeholder matching. ([70458](https://github.com/WordPress/gutenberg/pull/70458))
11+
- Format Library: Improve inline image replacement workflow. ([70598](https://github.com/WordPress/gutenberg/pull/70598))
12+
- I18N: Use `@tannin/sprintf`. ([70434](https://github.com/WordPress/gutenberg/pull/70434))
13+
14+
#### Block Library
15+
- Gallery: Refactor "Settings" panel of Gallery block to use `ToolsPanel` instead of `PanelBody`. ([67904](https://github.com/WordPress/gutenberg/pull/67904))
16+
- Navigation Link: Add "Open in new tab" toggle to navigation block sidebar. ([67262](https://github.com/WordPress/gutenberg/pull/67262))
17+
- Site Logo: Refactor the media panel to use ToolsPanel. ([70599](https://github.com/WordPress/gutenberg/pull/70599))
18+
19+
#### Icons
20+
- Update circle icons to have a unified footprint. ([70581](https://github.com/WordPress/gutenberg/pull/70581))
21+
- Update icons: Help, PlusCircle, Typography. ([70299](https://github.com/WordPress/gutenberg/pull/70299))
22+
23+
#### Block Editor
24+
- Use consistent sizing for the block locking modal. ([70593](https://github.com/WordPress/gutenberg/pull/70593))
25+
26+
#### Post Editor
27+
- Editor: Allow replacing the 'PostLockedModal' component. ([70586](https://github.com/WordPress/gutenberg/pull/70586))
28+
29+
#### Components
30+
- Add `DateCalendar` and `DateRangeCalendar` components. ([70578](https://github.com/WordPress/gutenberg/pull/70578))
31+
32+
#### DataViews
33+
- More fields, controls and operators. ([70567](https://github.com/WordPress/gutenberg/pull/70567))
934

1035
#### Interactivity API
11-
- iAPI Router: Add support for new router regions with `attachTo`. ([70421](https://github.com/WordPress/gutenberg/pull/70421))
36+
- iAPI Router: Prioritize custom click event handlers when full-page navigation is enabled. ([70566](https://github.com/WordPress/gutenberg/pull/70566))
37+
38+
#### Templates API
39+
- Site Editor: Sort post types alphabetically within the `Add Template` modal. ([70562](https://github.com/WordPress/gutenberg/pull/70562))
40+
41+
42+
### Bug Fixes
43+
44+
- iAPI Router: Preserve media attribute on intial style sheets after client-side navigation (#70668)
45+
- wp-env: Fix Docker build errors with Debian Buster repositories (#70718)
46+
- Block Editor: Avoid unbound requests in inserter selectors (#66817)
47+
#### Block Library
48+
- Cover: Fixed resetAll to return image resolution to default value. ([70608](https://github.com/WordPress/gutenberg/pull/70608))
49+
- Featured Image: Fixed resetAll to return image resolution to default value. ([70514](https://github.com/WordPress/gutenberg/pull/70514))
50+
- Fix submenu border visibility in Navigation block. ([70520](https://github.com/WordPress/gutenberg/pull/70520))
51+
- Image Block: Preserve line breaks in media caption. ([70476](https://github.com/WordPress/gutenberg/pull/70476))
52+
- RSS Block: Decode HTML entities in feed titles before display. ([70491](https://github.com/WordPress/gutenberg/pull/70491))
53+
54+
#### Icons
55+
- Fix plusCircleFilled size. ([70650](https://github.com/WordPress/gutenberg/pull/70650))
56+
57+
#### DataViews
58+
- Correct padding for empty-state elements when <DataViews> is in a <Card>. ([70638](https://github.com/WordPress/gutenberg/pull/70638))
59+
60+
#### Components
61+
- Remove the extra font-size override for the select control on medium layouts. ([70619](https://github.com/WordPress/gutenberg/pull/70619))
62+
63+
#### Style Book
64+
- Enable support for showing individual block variations. ([70448](https://github.com/WordPress/gutenberg/pull/70448))
65+
66+
67+
### Accessibility
68+
69+
#### Components
70+
- `FormTokenField`: Fix focus lost on tab when `__experimentalExpandOnFocus` is set. ([70591](https://github.com/WordPress/gutenberg/pull/70591))
71+
72+
73+
### Performance
74+
75+
- usePostActions: Avoid fetching all templates (unbound request). ([70535](https://github.com/WordPress/gutenberg/pull/70535))
76+
77+
#### Block Library
78+
- Post Author: Optimize and improve user control queries. ([70510](https://github.com/WordPress/gutenberg/pull/70510))
79+
80+
81+
### Documentation
82+
83+
- Add `isPostAutosavingLocked` example to doc block. ([70640](https://github.com/WordPress/gutenberg/pull/70640))
84+
- Docs: Update Locking interface example image. ([70590](https://github.com/WordPress/gutenberg/pull/70590))
85+
- Media Upload: Correct wrapper reference in docstring. ([70651](https://github.com/WordPress/gutenberg/pull/70651))
86+
- RawHTML: Clarify the wrapper 'div' element behavior. ([70527](https://github.com/WordPress/gutenberg/pull/70527))
87+
- ServerSideRender: Remove the 'POST' method shim example. ([70577](https://github.com/WordPress/gutenberg/pull/70577))
88+
- Update nested-blocks-inner-blocks.md. ([70587](https://github.com/WordPress/gutenberg/pull/70587))
89+
- Updated support for MS Word Images. ([70564](https://github.com/WordPress/gutenberg/pull/70564))
90+
91+
92+
### Code Quality
1293

94+
- I18n: Use more descriptive type arguments in i18n package. ([70606](https://github.com/WordPress/gutenberg/pull/70606))
95+
- ServerSideRender: Remove unnecessary props for default loading placeholder. ([70576](https://github.com/WordPress/gutenberg/pull/70576))
96+
- ServerSideRender: Use data hooks instead of HoC. ([70529](https://github.com/WordPress/gutenberg/pull/70529))
97+
98+
#### Block Editor
99+
- Background panel: Remove unused props. ([70573](https://github.com/WordPress/gutenberg/pull/70573))
100+
- Background panel: Remove unused style. ([70556](https://github.com/WordPress/gutenberg/pull/70556))
101+
102+
#### Block Library
103+
- List Block: Remove unused __unstableMultilineWrapperTags field from block.json. ([70209](https://github.com/WordPress/gutenberg/pull/70209))
104+
105+
#### Components
106+
- Fix Floating UI packages dependencies. ([70553](https://github.com/WordPress/gutenberg/pull/70553))
107+
108+
109+
### Tools
110+
111+
#### Testing
112+
- CodeVitals: Use a different SHA for the base branch. ([70565](https://github.com/WordPress/gutenberg/pull/70565))
113+
- Fix unit test for flaky filterSortAndPaginate function. ([70582](https://github.com/WordPress/gutenberg/pull/70582))
114+
- e2e: Re-enable skipped end-to-end tests related to the settings REST API. ([70551](https://github.com/WordPress/gutenberg/pull/70551))
115+
116+
117+
## First-time contributors
118+
119+
The following PRs were merged by first-time contributors:
120+
121+
- @Adi-ty: e2e: Re-enable skipped end-to-end tests related to the settings REST API. ([70551](https://github.com/WordPress/gutenberg/pull/70551))
122+
- @chihsuan: Components: Add `DateCalendar` and `DateRangeCalendar` components. ([70578](https://github.com/WordPress/gutenberg/pull/70578))
123+
- @coderGtm: ([70482](https://github.com/WordPress/gutenberg/pull/70482))
124+
- @mecskyverse: Updated support for MS Word Images. ([70564](https://github.com/WordPress/gutenberg/pull/70564))
125+
- @R1shabh-Gupta: Fix submenu border visibility in Navigation block. ([70520](https://github.com/WordPress/gutenberg/pull/70520))
126+
- @USERSATOSHI: ESLint: Enforce stricter translator comment placeholder matching. ([70458](https://github.com/WordPress/gutenberg/pull/70458))
127+
128+
129+
## Contributors
130+
131+
The following contributors merged PRs in this release:
132+
133+
@Adi-ty @arthur791004 @BugReportOnWeb @chihsuan @coderGtm @DAreRodz @ellatrix @himanshupathak95 @Infinite-Null @jameskoster @jasmussen @Lovor01 @Mamaduka @mecskyverse @p-jackson @R1shabh-Gupta @sejas @shimotmk @sirreal @Sukhendu2002 @swissspidy @t-hamano @USERSATOSHI @yogeshbhutkar @youknowriad
134+
135+
136+
137+
138+
= 21.1.1 =
139+
140+
141+
## Changelog
142+
143+
### Bug Fixes
144+
145+
#### Media
146+
- Media library modal: Fix plugin incompatibilities with MediaUpload filter. ([70648](https://github.com/WordPress/gutenberg/pull/70648))
147+
148+
149+
150+
151+
## Contributors
152+
153+
The following contributors merged PRs in this release:
154+
155+
@talldan
156+
157+
158+
= 21.1.0 =
159+
160+
## Changelog
13161

14162
### Enhancements
15163

@@ -25,6 +173,7 @@
25173
- [ Experimental Form ]: Add example block previews. ([70436](https://github.com/WordPress/gutenberg/pull/70436))
26174

27175
#### Interactivity API
176+
- iAPI Router: Add support for new router regions with `attachTo`. ([70421](https://github.com/WordPress/gutenberg/pull/70421))
28177
- iAPI Router: Support new styles and script modules on client-side navigation. ([70353](https://github.com/WordPress/gutenberg/pull/70353))
29178
- iAPI: Export `NavigateOptions` and `PrefetchOptions` types. ([70315](https://github.com/WordPress/gutenberg/pull/70315))
30179
- iAPI: Introduce `AsyncAction` and `TypeYield` type helpers. ([70422](https://github.com/WordPress/gutenberg/pull/70422))
@@ -161,6 +310,8 @@ The following contributors merged PRs in this release:
161310
@alejandrogonzalvo @BugReportOnWeb @DAreRodz @dd32 @ellatrix @himanshupathak95 @iamsandeepdahiya @im3dabasia @Infinite-Null @jsnajdr @karthikeya-io @kushagra-goyal-14 @Maikuolan @Mamaduka @Mayank-Tripathi32 @NidhiDhandhukiya74 @peterwilsoncc @ramonjd @Rishit30G @SainathPoojary @SantosGuillamot @shimotmk @shrivastavanolo @t-hamano @talldan @USERSATOSHI @vk17-starlord @Vrishabhsk @westonruter @yashjawale @yogeshbhutkar
162311

163312

313+
314+
164315
= 21.0.0 =
165316

166317
## Changelog

docs/assets/Locking interface.png

-763 KB
Loading

0 commit comments

Comments
 (0)