Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] trunk from WordPress:trunk #183

Open
wants to merge 182 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
3c1bbcc
Update text description of the "Contain text cursor inside block" pre…
karthick-murugan Jan 23, 2025
654bace
Inline Commenting: Change the PHP compat directory (#68846)
Mamaduka Jan 23, 2025
a97b3df
Editor: Standardize reduced motion handling using media queries (#68424)
himanshupathak95 Jan 24, 2025
f14a977
Comments Pagination: Add example
Infinite-Null Jan 24, 2025
a411f33
Style Book: Disable the device preview button in the header (#68841)
Mamaduka Jan 24, 2025
2eaed20
e2e:fix WP Editor Meta Boxes test (#68872)
t-hamano Jan 24, 2025
d516b23
Components: Remove unnecessary `Tooltip` component from linked `butto…
im3dabasia Jan 24, 2025
3f87733
Changed Inline Documentation Order (#68879)
shail-mehta Jan 25, 2025
f073488
Fixed Incorrect Text Position issue in Dataviews (#68767)
shail-mehta Jan 25, 2025
868135f
Used https in wordpress.org url (#68883)
shail-mehta Jan 27, 2025
b984ec9
Navigation Submenu Block: Add example preview (#68378)
himanshupathak95 Jan 27, 2025
ad937ab
fix: setcookie() $value must be string in Gutenberg_HTTP_Signaling_Se…
justlevine Jan 27, 2025
a32e879
Editor: children prop to accept `ReactNode` (#68839)
im3dabasia Jan 27, 2025
271ec7b
fix: remove invalid param from wp_register_style() in gutenberg_enque…
justlevine Jan 27, 2025
ad2a39d
fix: invalid `_doing_it_wrong()` for `experimental-link-color` (#68408)
justlevine Jan 27, 2025
ca7573c
Bump the github-actions group with 2 updates (#68899)
dependabot[bot] Jan 27, 2025
55de826
Navigation Submenu: classname trailing spaces (#68880)
shimotmk Jan 27, 2025
c8a8df3
Fix Duplicate Entries for 19.7.0 in changelog.txt (#68836)
im3dabasia Jan 27, 2025
2abe6fa
Improve grid visualizer resize observation (#68842)
stokesman Jan 27, 2025
0a26fe6
Use the term menu instead of navigation in nav elements labels. (#68683)
afercia Jan 28, 2025
183f671
Block Editor: Fix 'isBlockVisibleInTheInserter' selector helper perfo…
Mamaduka Jan 28, 2025
bf32d27
Spacer Block: Fix broken editing history due to effect (#68869)
yogeshbhutkar Jan 28, 2025
73b8e2c
Block Editor: Add documentation for SpacingSizesControl component (#6…
Infinite-Null Jan 29, 2025
35ba7ef
Editor: Improve conditions for displaying new page assembler (#68852)
Mamaduka Jan 29, 2025
6beab84
Navigation Link: Improve accessibility by removing non-interactive to…
himanshupathak95 Jan 29, 2025
41deebd
Docs: Update links to HTTPS (#68888)
SainathPoojary Jan 29, 2025
ed64574
Details block: Add placeholder attribute (#68917)
shimotmk Jan 29, 2025
682e4c7
Spacer: Show simple control if less than two preset spacing sizes (#6…
stokesman Jan 29, 2025
1a7f015
Bump plugin version to 20.2.0-rc.1
gutenbergplugin Jan 29, 2025
0d791e6
Update Changelog for 20.2.0-rc.1
gutenbergplugin Jan 29, 2025
2bbf453
Update changelog files
gutenbergplugin Jan 29, 2025
f15e12f
chore(release): publish
gutenbergplugin Jan 29, 2025
266c11b
PR Template: Suggest linking the issue (#68924)
Mamaduka Jan 29, 2025
4aad5e3
iAPI Router: Fix CSS rule order in some constructed style sheets (#68…
DAreRodz Jan 29, 2025
22bbc80
iAPI Router: Add missing changelog entry (#68945)
DAreRodz Jan 29, 2025
80348e7
Block popover: fix scrolling over (#68075)
ellatrix Jan 30, 2025
87b37b5
Code Quality: Delete unused function from PHP Sync Issue generation s…
t-hamano Jan 30, 2025
047fdac
Navigation Link Block: Use SCSS variable for underline color styling …
himanshupathak95 Jan 30, 2025
a2b6d39
Categories: Add Color Support (#68686)
shail-mehta Jan 30, 2025
09c8278
npm scripts: use `node -p` instead of `echo` (#68946)
t-hamano Jan 31, 2025
eab1a3b
Quality: Remove unused props and styles from SidebarNavigationScreen …
t-hamano Jan 31, 2025
055f881
Block Editor: Display root appender when default block is disabled (#…
Mamaduka Jan 31, 2025
bfe6dd8
Fix: Additional CSS button not working after back navigation (#68954)
Infinite-Null Jan 31, 2025
abd963b
Block Hooks: Fix truncation of post content (#68926)
ockham Jan 31, 2025
4f5270a
Edit Site: Fix Fields package private APIs error (#68964)
Mamaduka Jan 31, 2025
8b837f7
[Block Editor]: A11y - Add and Update missing reduce-motion mixing (#…
Mayank-Tripathi32 Jan 31, 2025
4dadd50
Performance: Improve StyleBook resize responsiveness for Classic Them…
t-hamano Jan 31, 2025
d9fa3ac
RSS: Border & Spacing support (#66411)
benazeer-ben Jan 31, 2025
2dd6aa1
Regenerate block fixtures (#68982)
t-hamano Jan 31, 2025
f2ea441
Site Editor: Use temporary redirects for deprecated URLs. (#68971)
peterwilsoncc Feb 1, 2025
24fad40
Changed Inline Document Order (#68992)
shail-mehta Feb 1, 2025
c9b2569
Add optional chain to sizes indexing of media details in edit-site (#…
grgar Feb 2, 2025
36690dc
Inserter: Remove block default icon from no results message (#68693)
SainathPoojary Feb 3, 2025
0feca71
Social Links: Remove redundant reduce-motion mixin (#69000)
himanshupathak95 Feb 3, 2025
be0e151
Editor: Display error message when loading current post fails (#68999)
Mamaduka Feb 3, 2025
1495560
Block Editor: Fix regression for root appender logic (#68994)
Mamaduka Feb 3, 2025
ebbe466
Archives: Add Color Support (#68685)
shail-mehta Feb 3, 2025
693e315
Shadow Panel: Add reset button (#68981)
yogeshbhutkar Feb 3, 2025
ae20971
Disable hover animation on preview frame for classic themes (#68976)
singhakanshu00 Feb 3, 2025
51d5372
Block support: Preserve aria-label value in comment delimiter (#69002)
t-hamano Feb 4, 2025
edbd360
Added discord in social links. (#68848)
Gulamdastgir-Momin Feb 4, 2025
06379a3
Query Block: Fix 'parents' argument validation (#68983)
Mamaduka Feb 4, 2025
2670a56
REST API: Add support for the 'ignore_sticky_posts' argument (#68970)
Mamaduka Feb 4, 2025
af2915f
Featured Image block: Use resolution tool component (#68471)
akasunil Feb 4, 2025
b0e328f
chore(release): publish
gutenbergplugin Feb 5, 2025
589e763
ComboboxControl: Add an `isLoading` prop to show a loading spinner (#…
adamsilverstein Feb 5, 2025
4aa8c13
Add missing list role to the list of blocks in the global Styles. (#6…
afercia Feb 5, 2025
3e4c376
Inserter: Remove unused no-results-icon styles (#69018)
SainathPoojary Feb 5, 2025
fa5a02e
E2E: Add regression test for spacer block in themes without spacing u…
himanshupathak95 Feb 5, 2025
0ee04b1
Fix: Missing 'No blocks found.' message for block search in editor (…
Rishit30G Feb 5, 2025
3612e98
Bump plugin version to 20.2.0
gutenbergplugin Feb 5, 2025
e992acf
Update Changelog for 20.2.0
gutenbergplugin Feb 5, 2025
e41b9f6
Bump undici from 5.28.4 to 5.28.5 (#68816)
dependabot[bot] Feb 5, 2025
30dc889
Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /platform-docs (#68…
dependabot[bot] Feb 5, 2025
1405851
Remove block icon from InstalledBlocksPrePublishPanel. (#69046)
afercia Feb 5, 2025
d9d138a
Bump cross-spawn from 7.0.3 to 7.0.6 in /platform-docs (#68811)
dependabot[bot] Feb 5, 2025
3f0a805
Refactor font variant components to use useId for checkbox IDs (#69050)
torounit Feb 5, 2025
8b64cb1
Fix installing svn during deploys (#69047)
joemcgill Feb 6, 2025
d01a09e
Fix: Prevent Errors in Header Processing and Encode URLs Properly (#6…
Juzar10 Feb 6, 2025
269ebe6
Relocate changelog file for WP#6910 to 6.9 backports (#69068)
Mamaduka Feb 6, 2025
484ace3
wp-env: Add lifecycleScripts to the schema (#68724)
srtfisher Feb 6, 2025
145eeca
Update Changelog for 20.0.1
gutenbergplugin Feb 6, 2025
d3b8943
Fix the background, arrowUpLeft, keyboardReturn and square icons. (#6…
afercia Feb 6, 2025
9b90569
Social Links: Fix appender size in non-iframe editor (#68215)
t-hamano Feb 6, 2025
96b12e5
Quick Inserter: Restore pattern search and insertion (#69028)
Mamaduka Feb 6, 2025
e850c68
Editor: Add loading state to the 'PostAuthorCombobox' component (#68991)
adamsilverstein Feb 6, 2025
c9ee64a
Exclude Iterator helpers from polyfills (#69070)
Mamaduka Feb 7, 2025
194462f
Editor: Don't use selector shortcuts for the taxonomy queries (#68998)
Mamaduka Feb 7, 2025
d7e8549
Disable Clear button if there's no shadow. (#69092)
shimotmk Feb 7, 2025
1777430
Duotone Settings: Add `reset` button and improve toggle rendering in …
yogeshbhutkar Feb 7, 2025
594a4d8
Added Missing Global Documentation (#69104)
shail-mehta Feb 10, 2025
aa89fdc
Editor: Optimize 'PostAuthorCheck' component data selection (#69105)
Mamaduka Feb 10, 2025
530c61a
Query block: Add option to ignore sticky posts behavior (#69057)
Mamaduka Feb 10, 2025
1a0b2fc
e2e: Fix "add new" selector (#69111)
t-hamano Feb 10, 2025
2c8b482
Remove `react-native` dependabot group. (#69118)
desrosj Feb 10, 2025
c8cf3b9
Further adjust dependabot. (#69122)
desrosj Feb 10, 2025
0479a08
Enabled Full height in Additional CSS (#68993)
shail-mehta Feb 11, 2025
e8afdae
Site Editor: Use the same editor component for all routes (#69093)
t-hamano Feb 11, 2025
9b387c8
Fixed: Empty Pattern Overlap in Pattern Title in Dataviews Table Layo…
shail-mehta Feb 11, 2025
aaa5aee
Update keyboard shortcuts to use `primaryShift+backspace` for block d…
yogeshbhutkar Feb 11, 2025
ceb88fa
Editor: Add loading state to the 'PageAttributesParent' component (#6…
Mamaduka Feb 11, 2025
6e42fc3
Try with no versions. (#69144)
desrosj Feb 11, 2025
4cc312b
Monitor workflow files in non-default locations. (#69148)
desrosj Feb 11, 2025
2988195
Bump the github-actions group across 1 directory with 3 updates (#69149)
dependabot[bot] Feb 11, 2025
dc40184
Writing Flow: restore early return for no block selection in tab nav …
Mayank-Tripathi32 Feb 11, 2025
fe2195e
Core Data: add type for term entity (#69151)
swissspidy Feb 11, 2025
0740acc
Fix: Site Editor should display a 404 message (#69009)
carolinan Feb 12, 2025
a507759
Rename `aspect` to `ratio` to carry the `defaultAspect` (#69085)
yogeshbhutkar Feb 12, 2025
9182d59
Font Size Picker: Remove Custom option from FontSizePickerSelect drop…
himanshupathak95 Feb 12, 2025
b1df541
Bump plugin version to 20.3.0-rc.1
gutenbergplugin Feb 12, 2025
397e562
Update Changelog for 20.3.0-rc.1
gutenbergplugin Feb 12, 2025
c66d637
fix: Adds margin 0 to social link anchor in editor to remove extra ma…
singhakanshu00 Feb 12, 2025
c7aae2f
Update changelog files
gutenbergplugin Feb 12, 2025
13c08d4
chore(release): publish
gutenbergplugin Feb 12, 2025
43f1d78
ESLint: Add rule to prevent usage of the word 'sidebar' in translatab…
im3dabasia Feb 12, 2025
8baa9f5
Fix typo in global styles developer documentation (#69168)
alexchrysovergis Feb 12, 2025
e9bb574
Editor: Conditionally enable the new default rendering mode for Pages…
Mamaduka Feb 13, 2025
9ea69df
ESLint: Improve lint regex for preventing "toggle" word usage in tran…
im3dabasia Feb 13, 2025
322899e
Plugin: Fix typo for 'ignore_sticky_posts' REST API support (#69171)
Mamaduka Feb 13, 2025
ad5c6c1
NumberControl: Fix invalid HTML attributes for infinite bounds (#69033)
Infinite-Null Feb 13, 2025
2b5e253
Improve the EntitiesSavedStates modal dialog design and labeling (#67…
afercia Feb 13, 2025
26ba1a3
Site Hub: Navigate correctly in mobile view (#69157)
t-hamano Feb 13, 2025
4c6306b
Fix Syntax Issue in Documentation (#69166)
shail-mehta Feb 13, 2025
3df54ec
Block Hooks: Fix duplicated insertion in Post Content (#69142)
ockham Feb 14, 2025
a34e9c4
Site editor: fix back link from “Navigation” items in mobile web (#69…
stokesman Feb 14, 2025
1976565
Media Utils: Restrict file uploads with `multiple` prop in `uploadMed…
yogeshbhutkar Feb 15, 2025
388d664
BorderControl: always show Reset button (#69066)
shimotmk Feb 15, 2025
ac992f7
Added missing double quote in number control (#69207)
shail-mehta Feb 17, 2025
31d48d7
Performance Tests: Update method for creating sample content (#69210)
Mamaduka Feb 17, 2025
590af0a
Editor: Add an extra check before enabling the new default rendering …
Mamaduka Feb 17, 2025
8783607
65454-Update-block-registration (#65455)
jonathanbossenger Feb 17, 2025
6b60dba
Update template-related messages to improve clarity for custom post t…
snehapatil2001 Feb 17, 2025
ffe84c3
Components: Fix typo for notice color in readme (#69204)
andreawetzel Feb 17, 2025
eeb0d1b
Improve display of error returned from the REST API when an unsupport…
adamsilverstein Feb 17, 2025
abeb109
Media Utils: Add tests for new error behavior (#69215)
swissspidy Feb 17, 2025
ed4df79
Post Template Panel: Display popover on the left side of the sidebar …
t-hamano Feb 17, 2025
ce2a651
E2E Tests: Add Block Hooks Test Coverage (#69044)
ockham Feb 17, 2025
bdef8a7
Generate built CSS file containing the admin color theme CSS custom p…
fabiankaegy Feb 17, 2025
7fbba99
iAPI Router: Revert "Handle styles assets on region-based navigation"…
DAreRodz Feb 17, 2025
b7d0886
Bump preactjs/compressed-size-action (#69202)
dependabot[bot] Feb 17, 2025
ef94f5f
REST API: Adds the site reading options to the index (#69106)
Mamaduka Feb 18, 2025
c031b36
Editor: Avoid a 'flash' when rendering in 'template-locked' mode (#69…
Mamaduka Feb 18, 2025
c0f3cd9
Editor: Restore starter content modal (#69081)
Mamaduka Feb 18, 2025
22f3a5f
Inserter: Hide drag-and-drop help text on mobile devices when preview…
yogeshbhutkar Feb 18, 2025
6049b77
Bump plugin version to 20.3.0-rc.2
gutenbergplugin Feb 18, 2025
5c6e216
Update Changelog for 20.3.0-rc.2
gutenbergplugin Feb 18, 2025
9d1a2ce
Fix preloading e2e test (#69228)
Mamaduka Feb 18, 2025
d3a9586
Cover: Fix placeholder color options keyboard accessibility (#68662)
afercia Feb 18, 2025
1ede510
Fix CSS classes for the post editor iframe body. (#68481)
afercia Feb 18, 2025
c856964
Docs: Add Documentation for Adding Block Variations Using get_block_t…
Sukhendu2002 Feb 18, 2025
90ee09a
Make navigation block wavy underline more visible on dark backgrounds…
afercia Feb 19, 2025
f017b64
Bump plugin version to 20.3.0
gutenbergplugin Feb 19, 2025
4ad117c
Site Editor: show pattern category step in navigation for mobile (#69…
t-hamano Feb 19, 2025
099b3a3
Added Missing Global Documentation in Query Total Block (#69233)
shail-mehta Feb 19, 2025
3639ac4
Update Changelog for 20.3.0
gutenbergplugin Feb 19, 2025
8df9b70
Notice: Fix text contrast for dark mode (#69226)
t-hamano Feb 19, 2025
8c0db8e
Block Hooks: Enable first/last child insertion next to Classic block …
ockham Feb 19, 2025
67a07a7
Update Changelog for 20.0.2
gutenbergplugin Feb 19, 2025
1756bac
Core Data: Allow 'null' as raw attribute value (#69257)
Mamaduka Feb 20, 2025
0f7193c
Enhance 404 message styling (#69234)
Infinite-Null Feb 20, 2025
c300edf
Introduce `withSyncEvent` action wrapper utility and proxy `event` ob…
felixarntz Feb 20, 2025
afd4d37
Post Comments Count: Add Border Support (#68223)
shail-mehta Feb 21, 2025
563c891
docs: correction in plugin-sidebar-0.md (#69268)
kellymears Feb 21, 2025
b6bb01a
Allow :focus-visible pseudo-selector to be set in theme.json (#68521)
huubl Feb 21, 2025
7afecbf
Update javascript-in-the-block-editor.md - fix link (#62431)
juanmaguitar Feb 22, 2025
c3151e8
Dataviews: Fix alignment issue of "Title" column header (#68840)
im3dabasia Feb 23, 2025
cca7615
Video Block: Disable autoplay when video is not muted (#69232)
Rishit30G Feb 23, 2025
b06588e
Post formats: Make title and description human readable (#69275)
carolinan Feb 24, 2025
74a2ba4
TextControl: Fix text direction for URL and email fields in block edi…
im3dabasia Feb 24, 2025
d181ce4
Editor: Use a stable array ref as fallback value in 'BlockVisibility'…
Mamaduka Feb 24, 2025
77da6c2
Added php.net/date links (#69280)
shail-mehta Feb 25, 2025
3e6ddf9
Block support: Add server-side processing for ariaLabel (#69096)
t-hamano Feb 25, 2025
e532b74
Format Library: Prevent the text and color picker from overlapping (#…
shimotmk Feb 25, 2025
9a495f8
Test: Add e2e test for 404 page (#69272)
Infinite-Null Feb 25, 2025
db71531
Swap fullscreen mode snackbar notice message. (#69305)
afercia Feb 25, 2025
ac34493
Template Part block: Guard against `get_block_file_template` returnin…
ockham Feb 25, 2025
e757d1d
Update Changelog for 20.0.3
gutenbergplugin Feb 25, 2025
7a4b5aa
Url: Fix addQueryArgs and removeQueryArg on URLs with fragments (#69313)
davilera Feb 26, 2025
c283695
Editor: Persist user's 'Show Template' preference (#69286)
Mamaduka Feb 26, 2025
b532402
Post Navigation Link: Enable all non-interactive formats (#69325)
shimotmk Feb 26, 2025
fc40147
Bump the github-actions group across 2 directories with 3 updates (#6…
dependabot[bot] Feb 26, 2025
5c38661
Adding missing center alignment style for pullquote (#68121)
benazeer-ben Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,15 @@ const restrictedSyntax = [
},
{
selector:
'CallExpression[callee.name=/^(__|_x|_n|_nx)$/] > Literal[value=/^toggle\\b/i]',
'CallExpression[callee.name=/^(__|_x|_n|_nx)$/] > Literal[value=/toggle\\b/i]',
message: "Avoid using the verb 'Toggle' in translatable strings",
},
{
selector:
'CallExpression[callee.name=/^(__|_x|_n|_nx)$/] > Literal[value=/(?<![-\\w])sidebar(?![-\\w])/i]',
message:
"Avoid using the word 'sidebar' in translatable strings. Consider using 'panel' instead.",
},
];

/** `no-restricted-syntax` rules for components. */
Expand Down
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
https://github.com/WordPress/gutenberg/blob/trunk/CONTRIBUTING.md -->

## What?
<!-- Link this PR to its associated issue with an appropriate keyword: Closes, See, Follow up to, etc. -->
Closes <!-- #ISSUE-NUMBER or URL -->

<!-- In a few words, what is the PR actually doing? -->

## Why?
Expand Down
18 changes: 8 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,21 @@ version: 2
updates:
# Check for updates to GitHub Actions.
- package-ecosystem: 'github-actions'
directory: '/'
directories:
- '.github/workflows'
- '.github/setup-node'
schedule:
interval: 'daily'
open-pull-requests-limit: 10
labels:
- 'GitHub Actions'
- '[Type] Build Tooling'
ignore:
- dependency-name: 'actions/setup-java'
- dependency-name: 'gradle/*'
- dependency-name: 'reactivecircus/*'
- dependency-name: 'ruby/setup-ruby'
groups:
github-actions:
patterns:
- '*'
exclude-patterns:
- 'actions/setup-java'
- 'gradle/*'
- 'reactivecircus/*'
react-native:
patterns:
- 'actions/setup-java'
- 'gradle/*'
- 'reactivecircus/*'
6 changes: 3 additions & 3 deletions .github/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: 'composite'
steps:
- name: Use desired version of Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
node-version: ${{ inputs.node-version }}
Expand All @@ -25,7 +25,7 @@ runs:

- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: '**/node_modules'
key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ steps.node-version.outputs.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}
Expand All @@ -36,7 +36,7 @@ runs:
npm ci
shell: bash
- name: Upload npm logs as an artifact on failure
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
if: failure()
with:
name: npm-logs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
check-latest: true
Expand Down Expand Up @@ -273,12 +273,12 @@ jobs:
run: echo "version=$(echo $VERSION | cut -d / -f 3 | sed 's/-rc./ RC/' )" >> $GITHUB_OUTPUT

- name: Download Plugin Zip Artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
with:
name: gutenberg-plugin

- name: Download Release Notes Artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
with:
name: release-notes

Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
git config user.email [email protected]

- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: 'main/.nvmrc'
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
check-latest: true
cache: npm

- uses: preactjs/compressed-size-action@6fa0e7ca017120c754863b31123c5ee2860fd434 # v2.7.0
- uses: preactjs/compressed-size-action@946a292cd35bd1088e0d7eb92b69d1a8d5b5d76a # v2.8.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/**/*.min.js,build/**/*.css,build-module/**/*.min.js}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/end2end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- uses: actions/[email protected].8
- uses: actions/[email protected].9
# Don't fail the job if there isn't any flaky tests report.
continue-on-error: true
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ jobs:

- name: Setup Node.js
if: ${{ github.event.inputs.release_type != 'wp' }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: 'cli/.nvmrc'
registry-url: 'https://registry.npmjs.org'
check-latest: true

- name: Setup Node.js (for WP major version)
if: ${{ github.event.inputs.release_type == 'wp' && github.event.inputs.wp_version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: 'publish/.nvmrc'
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/setup-node

- name: Restore tests setup cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: |
~/.appium
Expand All @@ -53,7 +53,7 @@ jobs:
# AVD cache disabled as it caused emulator termination to hang indefinitely.
# https://github.com/ReactiveCircus/android-emulator-runner/issues/385
# - name: AVD cache
# uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
# uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
# id: avd-cache
# with:
# path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0
- uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
with:
# `.ruby-version` file location
working-directory: packages/react-native-editor/ios
Expand All @@ -43,7 +43,7 @@ jobs:
uses: ./.github/setup-node

- name: Restore tests setup cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: |
~/.appium
Expand All @@ -56,15 +56,15 @@ jobs:
run: find package-lock.json packages/react-native-editor/ios packages/react-native-aztec/ios packages/react-native-bridge/ios -type f -print0 | sort -z | xargs -0 shasum | tee ios-checksums.txt

- name: Restore build cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: |
packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app
packages/react-native-editor/ios/build/WDA
key: ${{ runner.os }}-ios-build-${{ matrix.xcode }}-${{ matrix.device }}-${{ hashFiles('ios-checksums.txt') }}

- name: Restore pods cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: |
packages/react-native-editor/ios/Pods
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version-file: '.nvmrc'
check-latest: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")

- name: Download built JavaScript assets
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
with:
name: build-assets

Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT

- name: Cache PHPCS scan cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: .cache/phpcs.json
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/upload-release-to-plugin-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
steps:
- name: Install Subversion
run: |
apt-get update -y && apt-get install -y subversion
sudo apt-get update -y && sudo apt-get install -y subversion

- name: Check out Gutenberg trunk from WP.org plugin repo
run: |
Expand All @@ -195,7 +195,7 @@ jobs:
sed -i "s/$STABLE_TAG_PLACEHOLDER/Stable tag: $VERSION/g" ./trunk/readme.txt

- name: Download Changelog Artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
with:
name: changelog trunk
path: trunk
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
steps:
- name: Install Subversion
run: |
apt-get update -y && apt-get install -y subversion
sudo apt-get update -y && sudo apt-get install -y subversion

- name: Download and unzip Gutenberg plugin asset into tags folder
env:
Expand All @@ -246,7 +246,7 @@ jobs:
sed -i "s/$STABLE_TAG_PLACEHOLDER/Stable tag: $VERSION/g" "$VERSION/readme.txt"

- name: Download Changelog Artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
with:
name: changelog trunk
path: ${{ github.event.release.name }}
Expand Down
3 changes: 0 additions & 3 deletions backport-changelog/6.8/7488.md

This file was deleted.

3 changes: 0 additions & 3 deletions backport-changelog/6.8/7498.md

This file was deleted.

2 changes: 2 additions & 0 deletions backport-changelog/6.8/7903.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
https://github.com/WordPress/wordpress-develop/pull/7903

* https://github.com/WordPress/gutenberg/pull/67199
* https://github.com/WordPress/gutenberg/pull/68971

2 changes: 2 additions & 0 deletions backport-changelog/6.8/8123.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ https://github.com/WordPress/wordpress-develop/pull/8123

* https://github.com/WordPress/gutenberg/pull/68549
* https://github.com/WordPress/gutenberg/pull/68745
* https://github.com/WordPress/gutenberg/pull/69160
* https://github.com/WordPress/gutenberg/pull/69209
5 changes: 5 additions & 0 deletions backport-changelog/6.8/8212.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
https://github.com/WordPress/wordpress-develop/pull/8212

* https://github.com/WordPress/gutenberg/pull/68926
* https://github.com/WordPress/gutenberg/pull/69142
* https://github.com/WordPress/gutenberg/pull/69241
3 changes: 3 additions & 0 deletions backport-changelog/6.8/8228.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/8228

* https://github.com/WordPress/gutenberg/pull/68970
3 changes: 3 additions & 0 deletions backport-changelog/6.8/8245.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/8245

* https://github.com/WordPress/gutenberg/pull/68983
3 changes: 3 additions & 0 deletions backport-changelog/6.8/8261.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/8261

* https://github.com/WordPress/gutenberg/pull/68521
3 changes: 3 additions & 0 deletions backport-changelog/6.8/8265.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/8265

* https://github.com/WordPress/gutenberg/pull/69057
3 changes: 3 additions & 0 deletions backport-changelog/6.8/8274.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/8274

* https://github.com/WordPress/gutenberg/pull/69096
3 changes: 3 additions & 0 deletions backport-changelog/6.8/8345.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/8345

* https://github.com/WordPress/gutenberg/pull/69106
File renamed without changes.
11 changes: 0 additions & 11 deletions bin/generate-php-sync-issue.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,6 @@ async function main() {
fs.writeFileSync( nodePath.join( __dirname, 'issueContent.md' ), content );
}

/**
* Checks if the first date is after the second date.
*
* @param {string} date1 - The first date.
* @param {string} date2 - The second date.
* @return {boolean} - Returns true if the first date is after the second date, false otherwise.
*/
function isAfter( date1, date2 ) {
return new Date( date1 ) > new Date( date2 );
}

function validateDate( sinceArg ) {
const sinceDate = new Date( sinceArg );
const maxPreviousDate = new Date();
Expand Down
Loading