Skip to content

Commit 7d74f8d

Browse files
Merge changes published in the Gutenberg plugin "release/20.6" branch
1 parent 7247697 commit 7d74f8d

File tree

108 files changed

+1123
-517
lines changed

Some content is hidden

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

108 files changed

+1123
-517
lines changed

.github/setup-node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Use desired version of Node.js
13-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
13+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1414
with:
1515
node-version-file: '.nvmrc'
1616
node-version: ${{ inputs.node-version }}

.github/workflows/build-plugin-zip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
175175

176176
- name: Use desired version of Node.js
177-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
177+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
178178
with:
179179
node-version-file: '.nvmrc'
180180
check-latest: true
@@ -336,7 +336,7 @@ jobs:
336336
git config user.email [email protected]
337337
338338
- name: Setup Node.js
339-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
339+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
340340
with:
341341
node-version-file: 'main/.nvmrc'
342342
registry-url: 'https://registry.npmjs.org'

.github/workflows/bundle-size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
4444

4545
- name: Use desired version of Node.js
46-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
46+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
4747
with:
4848
node-version-file: '.nvmrc'
4949
check-latest: true

.github/workflows/publish-npm-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ jobs:
6767
6868
- name: Setup Node.js
6969
if: ${{ github.event.inputs.release_type != 'wp' }}
70-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
70+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
7171
with:
7272
node-version-file: 'cli/.nvmrc'
7373
registry-url: 'https://registry.npmjs.org'
7474
check-latest: true
7575

7676
- name: Setup Node.js (for WP major version)
7777
if: ${{ github.event.inputs.release_type == 'wp' && github.event.inputs.wp_version }}
78-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
78+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
7979
with:
8080
node-version-file: 'publish/.nvmrc'
8181
registry-url: 'https://registry.npmjs.org'

.github/workflows/static-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
2828

2929
- name: Use desired version of Node.js
30-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
30+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
3131
with:
3232
node-version-file: '.nvmrc'
3333
check-latest: true

backport-changelog/6.8/8475.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
https://github.com/WordPress/wordpress-develop/pull/8475
22

33
* https://github.com/WordPress/gutenberg/pull/69514
4+
* https://github.com/WordPress/gutenberg/pull/69535

changelog.txt

Lines changed: 146 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,149 @@
11
== Changelog ==
22

3-
= 20.5.0-rc.1 =
3+
= 20.6.0-rc.1 =
44

55

6+
## Changelog
7+
8+
### Enhancements
9+
10+
#### Block Library
11+
- Feature: Adding support for more granular controls over the ToC block. ([69063](https://github.com/WordPress/gutenberg/pull/69063))
12+
- Navigation Block: Add transparency slider for submenu background. ([69379](https://github.com/WordPress/gutenberg/pull/69379))
13+
- Query Total: Add interactivity.clientNavigation block support. ([69661](https://github.com/WordPress/gutenberg/pull/69661))
14+
- RSS Block: Add option to open links in new tab/window and control rel attributes. ([69641](https://github.com/WordPress/gutenberg/pull/69641))
15+
16+
#### Block Editor
17+
- Add keyboard shortcut (`cmd(ctrl)+option(alt)+v`) to paste styles. ([69196](https://github.com/WordPress/gutenberg/pull/69196))
18+
- BlockPatternsExplorer: Hide scrollbar from sidebar if not scrollable. ([69706](https://github.com/WordPress/gutenberg/pull/69706))
19+
20+
#### Post Editor
21+
- Editor: Revert new default rendering mode for Pages. ([69680](https://github.com/WordPress/gutenberg/pull/69680))
22+
23+
24+
### Bug Fixes
25+
26+
- BlockBreadcrumb: Wrap text node in span tag. ([69605](https://github.com/WordPress/gutenberg/pull/69605))
27+
- Fix Media & Text block preview alignment on larger devices. ([67097](https://github.com/WordPress/gutenberg/pull/67097))
28+
- Format Library: Ensure inline image with updates persist after removing the 'width'. ([69683](https://github.com/WordPress/gutenberg/pull/69683))
29+
- Include blocks manifest build process in Webpack configuration to fix `create-block` bug with missing blocks manifest file. ([69578](https://github.com/WordPress/gutenberg/pull/69578))
30+
31+
#### Block Library
32+
- Featured Image Block: Prevent default action on image click to fix linking to post. ([69716](https://github.com/WordPress/gutenberg/pull/69716))
33+
- Fix Category List Block: Add optional chaining to taxonomy name. ([69703](https://github.com/WordPress/gutenberg/pull/69703))
34+
- Fix(embed-block): Only call `setAttributes()` when attrs change. ([68141](https://github.com/WordPress/gutenberg/pull/68141))
35+
- Fix: Correct 'Displaying 1 – 0 of 0' issue when no results are found. ([69666](https://github.com/WordPress/gutenberg/pull/69666))
36+
- Image block: Omit max width observer element in galleries. ([69601](https://github.com/WordPress/gutenberg/pull/69601))
37+
- PostCommentsForm: Fix submit button width regression. ([69651](https://github.com/WordPress/gutenberg/pull/69651))
38+
39+
#### Components
40+
- ComboboxControl: Replace `undefined` variable usage with `color-mix` for disabled selection. ([69621](https://github.com/WordPress/gutenberg/pull/69621))
41+
- CustomSelectControl: Use dynamic fill color for `check` icon. ([69626](https://github.com/WordPress/gutenberg/pull/69626))
42+
- Fix autocomple UI flicker when deleting trigger prefix. ([69562](https://github.com/WordPress/gutenberg/pull/69562))
43+
- Update `NumberControl` stepping to match HTML number input stepping. ([34566](https://github.com/WordPress/gutenberg/pull/34566))
44+
45+
#### Block Editor
46+
- LinkControl: Fix visually Duplicative label and placeholder. ([69620](https://github.com/WordPress/gutenberg/pull/69620))
47+
- `PatternsExplorerModal`: Fix empty patterns in starter content category. ([69629](https://github.com/WordPress/gutenberg/pull/69629))
48+
49+
#### Post Editor
50+
- Post Template Panel: Render `create-new-template-modal` over `post-template-panel`. ([69713](https://github.com/WordPress/gutenberg/pull/69713))
51+
52+
#### Global Styles
53+
- Site Editor: Make the text "Custom Styles" translatable. ([69677](https://github.com/WordPress/gutenberg/pull/69677))
54+
55+
#### Site Editor
56+
- Set `IFRAME_REQUEST` constant for classic theme site preview. ([69535](https://github.com/WordPress/gutenberg/pull/69535))
57+
58+
#### Document Settings
59+
- PostStatus: Prevent form submission from refreshing the page. ([69526](https://github.com/WordPress/gutenberg/pull/69526))
60+
61+
62+
### Accessibility
63+
64+
#### Document Settings
65+
- Post Template Panel: Preserve parent modal when closing template creation dialog. ([69724](https://github.com/WordPress/gutenberg/pull/69724))
66+
67+
#### Block Library
68+
- Site Title: Prevent saving and rendering a value made of only spaces. ([69628](https://github.com/WordPress/gutenberg/pull/69628))
69+
70+
#### Block Editor
71+
- Fix shift+tab from post title. ([69520](https://github.com/WordPress/gutenberg/pull/69520))
72+
73+
#### Components
74+
- Global Styles: Prevent Unwanted ItemGroup List Rendering in Border Panel. ([68633](https://github.com/WordPress/gutenberg/pull/68633))
75+
76+
#### DataViews
77+
- Display Checkbox by default in dataviews. ([67874](https://github.com/WordPress/gutenberg/pull/67874))
78+
79+
80+
### Performance
81+
82+
#### Block Library
83+
- Image: Don't subscribe to current post changes. ([69630](https://github.com/WordPress/gutenberg/pull/69630))
84+
- Navigation Link: Don't check validity when block editing is disabled. ([69627](https://github.com/WordPress/gutenberg/pull/69627))
85+
- Navigation Link: Improve performance by only requesting entities when selected. ([69633](https://github.com/WordPress/gutenberg/pull/69633))
86+
- Navigation Link: Optimize 'getBlockParentsByBlockName' selector call. ([69631](https://github.com/WordPress/gutenberg/pull/69631))
87+
88+
89+
### Documentation
90+
91+
- Developer Documentation: Update `VS Code` settings in the contribution guide. ([69670](https://github.com/WordPress/gutenberg/pull/69670))
92+
- Editor: Clarify icon prop behavior in README. ([69672](https://github.com/WordPress/gutenberg/pull/69672))
93+
- Fix: Missing comma in DataView documentation example. ([69721](https://github.com/WordPress/gutenberg/pull/69721))
94+
- Modify the AnglePickerControl example code. ([69673](https://github.com/WordPress/gutenberg/pull/69673))
95+
- Modify the RangeControl example code. ([69591](https://github.com/WordPress/gutenberg/pull/69591))
96+
- Reference `splitTask` from interactivity package in documentation. ([69602](https://github.com/WordPress/gutenberg/pull/69602))
97+
- Storybook: Update ToolbarItem and ToolbarDropdownMenu exports. ([69618](https://github.com/WordPress/gutenberg/pull/69618))
98+
- Update the list of Gutenberg versions in WordPress versions. ([69700](https://github.com/WordPress/gutenberg/pull/69700))
99+
- scripts: Fix broken changelog link. ([69654](https://github.com/WordPress/gutenberg/pull/69654))
100+
101+
102+
### Code Quality
103+
104+
#### Components
105+
- Component: Extract `getNodeText` to its own file and add unit tests. ([69135](https://github.com/WordPress/gutenberg/pull/69135))
106+
- Fixed broken className test for `NumberControl`. ([69540](https://github.com/WordPress/gutenberg/pull/69540))
107+
108+
#### Post Editor
109+
- `PreviewDropdown`: There's no need to unlock the 'getRenderingMode' selector. ([69682](https://github.com/WordPress/gutenberg/pull/69682))
110+
111+
#### Font Library
112+
- FontLibraryModal: Remove temporary margin-bottom override. ([69674](https://github.com/WordPress/gutenberg/pull/69674))
113+
114+
#### Site Editor
115+
- Update old URLs to new path-based URLs. ([69585](https://github.com/WordPress/gutenberg/pull/69585))
116+
117+
118+
### Tools
119+
120+
#### Testing
121+
- Fix end-to-end and performance tests. ([69690](https://github.com/WordPress/gutenberg/pull/69690))
122+
- Fix flaky Typewriter end-to-end test. ([69623](https://github.com/WordPress/gutenberg/pull/69623))
123+
- Refactor 'Template hierarchy' end-to-end tests. ([69692](https://github.com/WordPress/gutenberg/pull/69692))
124+
- Upgrade Playwright to v1.51.1. ([69622](https://github.com/WordPress/gutenberg/pull/69622))
125+
- e2e: Fix taxomomies test. ([69723](https://github.com/WordPress/gutenberg/pull/69723))
126+
127+
#### Build Tooling
128+
- Fix Tests: Update `browserslist` and `caniuse-lite` to latest versions. ([69669](https://github.com/WordPress/gutenberg/pull/69669))
129+
130+
## First-time contributors
131+
132+
The following PRs were merged by first-time contributors:
133+
134+
- @gmovr: Feature: Adding support for more granular controls over the ToC block. ([69063](https://github.com/WordPress/gutenberg/pull/69063))
135+
- @im3dabasia: Fix Media & Text block preview alignment on larger devices. ([67097](https://github.com/WordPress/gutenberg/pull/67097))
136+
137+
138+
## Contributors
139+
140+
The following contributors merged PRs in this release:
141+
142+
@bph @chrisbellboy @dhruvikpatel18 @felixarntz @gmovr @himanshupathak95 @im3dabasia @Infinite-Null @karthick-murugan @Mamaduka @Mayank-Tripathi32 @Rishit30G @SainathPoojary @shimotmk @Sourav61 @StevenDufresne @stokesman @t-hamano @westonruter @yogeshbhutkar
143+
144+
145+
= 20.5.0 =
146+
6147
## Changelog
7148

8149
### Enhancements
@@ -122,7 +263,7 @@
122263

123264
### Code Quality
124265

125-
- Alignment note with Wordpress report 62426. ([69519](https://github.com/WordPress/gutenberg/pull/69519))
266+
- Alignment note with WordPress report 62426. ([69519](https://github.com/WordPress/gutenberg/pull/69519))
126267
- Core Data: Update '__unstableBase' entity types. ([69556](https://github.com/WordPress/gutenberg/pull/69556))
127268

128269
#### Block Library
@@ -154,7 +295,7 @@ The following PRs were merged by first-time contributors:
154295
- @bschneidewind: Site Title: Fix logic for 'aria-current' attribute. ([68909](https://github.com/WordPress/gutenberg/pull/68909))
155296
- @dontfeedthecode: Docs/update reference to JS build setup 404 in scripts README, fix absolute links. ([69495](https://github.com/WordPress/gutenberg/pull/69495))
156297
- @sabbir1991: Removed `color.__experimentalDuotone` from core blocks. ([58241](https://github.com/WordPress/gutenberg/pull/58241))
157-
- @SirLouen: Alignment note with Wordpress report 62426. ([69519](https://github.com/WordPress/gutenberg/pull/69519))
298+
- @SirLouen: Alignment note with WordPress report 62426. ([69519](https://github.com/WordPress/gutenberg/pull/69519))
158299

159300

160301
## Contributors
@@ -164,6 +305,8 @@ The following contributors merged PRs in this release:
164305
@afercia @Anuj-Rathore24 @bschneidewind @carolinan @cbravobernal @DAreRodz @dhruvikpatel18 @dontfeedthecode @felixarntz @HILAYTRIVEDI @himanshupathak95 @im3dabasia @Infinite-Null @Mamaduka @sabbir1991 @SainathPoojary @shail-mehta @shimotmk @SirLouen @stokesman @t-hamano @yogeshbhutkar
165306

166307

308+
309+
167310
= 20.0.4 =
168311

169312
## Changelog

docs/contributors/code/getting-started-with-code-contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ With the extension installed, ESLint will use the [.eslintrc.js](https://github.
221221

222222
```json
223223
"editor.codeActionsOnSave": {
224-
"source.fixAll.eslint": true
224+
"source.fixAll.eslint": "explicit"
225225
},
226226
```
227227

docs/contributors/versions-in-wordpress.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ If anything looks incorrect here, please bring it up in #core-editor in [WordPre
66

77
| Gutenberg Versions | WordPress Version |
88
| ------------------ | ----------------- |
9+
| 19.4-20.4 | 6.8 |
10+
| 18.6-19.3 | 6.7.2 |
911
| 18.6-19.3 | 6.7.1 |
1012
| 18.6-19.3 | 6.7 |
1113
| 17.8-18.5 | 6.6.2 |

docs/reference-guides/core-blocks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ Display the total number of results in a query. ([Source](https://github.com/Wor
784784
- **Name:** core/query-total
785785
- **Category:** theme
786786
- **Ancestor:** core/query
787-
- **Supports:** align (full, wide), color (background, gradients, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
787+
- **Supports:** align (full, wide), color (background, gradients, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
788788
- **Attributes:** displayType
789789

790790
## Quote
@@ -812,7 +812,7 @@ Display entries from any RSS or Atom feed. ([Source](https://github.com/WordPres
812812
- **Name:** core/rss
813813
- **Category:** widgets
814814
- **Supports:** align, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), ~~html~~
815-
- **Attributes:** blockLayout, columns, displayAuthor, displayDate, displayExcerpt, excerptLength, feedURL, itemsToShow
815+
- **Attributes:** blockLayout, columns, displayAuthor, displayDate, displayExcerpt, excerptLength, feedURL, itemsToShow, openInNewTab, rel
816816

817817
## Search
818818

@@ -914,7 +914,7 @@ Summarize your post with a list of headings. Add HTML anchors to Heading blocks
914914
- **Experimental:** true
915915
- **Category:** design
916916
- **Supports:** color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
917-
- **Attributes:** headings, onlyIncludeCurrentPage
917+
- **Attributes:** headings, maxLevel, onlyIncludeCurrentPage
918918

919919
## Tag Cloud
920920

0 commit comments

Comments
 (0)