Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
635 commits
Select commit Hold shift + click to select a range
984494f
Remove duplicate content and update links. (#58358)
ndiego Jan 29, 2024
3deece0
Restructure the faqs. (#58351)
ndiego Jan 29, 2024
58354c3
Aspect ratio: remove support on the Group block for now (#58414)
andrewserong Jan 29, 2024
fa802d1
Core checks that the init hook is complete before trying to use the g…
ramonjd Jan 29, 2024
375b6ee
Add spacing between input controls with custom values (#58410)
Jan 30, 2024
a265123
Widget Editor: Don't disable the Save button (#58365)
t-hamano Jan 30, 2024
6804e72
Site Editor: Hide export button if non-block-based theme (#58346)
t-hamano Jan 30, 2024
2719637
Site Editor: Prevent classic theme from accessing global style menu (…
t-hamano Jan 30, 2024
8895a51
Block Styles: Fix block style variation selector generation (#58051)
aaronrobertshaw Jan 30, 2024
00d5f46
Update edit.js (#58419)
ramonjd Jan 30, 2024
a3a55bb
Components: replace `TabPanel` with `Tabs` in the editor Document Ove…
chad1008 Jan 30, 2024
3fc9c5e
Block editor: optimise getGlobalBlockCount/getClientIdsWithDescendant…
ellatrix Jan 30, 2024
7ddc2af
Fix fonts modal dialog buttons accessibility. (#58309)
afercia Jan 30, 2024
62027aa
Fix font library modal dialog translatable strings (#58256)
afercia Jan 30, 2024
bce8a43
Add context for the All translatable string and enforce l10n best pra…
afercia Jan 30, 2024
a2f6512
Block Hooks API: Update doc block for block_core_navigation_insert_ho…
tjcafferkey Jan 30, 2024
69f00ae
Update pattern block copy in light of pattern overrides (#58231)
talldan Jan 30, 2024
40ec1e3
Use str_contains in Layout support as per Core version (#58251)
getdave Jan 30, 2024
040f9c1
Add a timezone offset value for display purposes (#56682)
afercia Jan 30, 2024
b99251a
core-data: Memoize getEntitiesConfig selector (#58393)
tyxla Jan 30, 2024
0124e7e
DataViews: in patterns page, show sync status filter by default (#58367)
oandregal Jan 30, 2024
90e9bc9
[RNMobile] Upgrade React Native to version 0.71.15 (#57667)
fluiddot Jan 30, 2024
8345d2b
[RNMobile] Address Android E2E tests failure by setting fixed version…
fluiddot Jan 30, 2024
48f225d
Block Bindings: Adapt block bindings to wordpress code latest changes…
SantosGuillamot Jan 30, 2024
e6e0516
Update list item layout (#58397)
jameskoster Jan 30, 2024
7934adc
ConfirmDialog: Add `__next40pxDefaultSize` to buttons (#58421)
t-hamano Jan 30, 2024
6a84d8f
Fix permalink input field text overflow ellipsis for Firefox (#57310)
afercia Jan 30, 2024
2b608f9
Social Icons: update Patreon icon (#56951)
jeherve Jan 30, 2024
c564ece
Font Library: Fix focus loss when update/install button is pressed (#…
t-hamano Jan 30, 2024
161b2e4
Font Library: Update font collection json schema (#58413)
matiasbenedetto Jan 30, 2024
3eb68c2
Fix missing data in email submissions (#55691)
aristath Jan 30, 2024
aa7d06f
Block Bindings: Change `core/pattern-attributes` source for `core/pat…
SantosGuillamot Jan 30, 2024
4853ce5
remove unused component and css (#58449)
matiasbenedetto Jan 30, 2024
df8142a
Editor: Use hooks instead of HoCs in the post-taxonomies components (…
Mamaduka Jan 30, 2024
f145f08
Home Link: Render Home text if there is no attribute label present (#…
tjcafferkey Jan 30, 2024
0ea66b0
Add missing reference to PHP documentation in lib dir (#58453)
getdave Jan 30, 2024
6fab9e3
Update Changelog for 17.5.3
gutenbergplugin Jan 30, 2024
6e8d515
Revert "Add defaultFontSizes option to theme.json (#56661)" (#58456)
cbravobernal Jan 30, 2024
f4f0b0c
Disables saving react root view from parent (#58266)
antonis Jan 30, 2024
775eed2
Adding `constrainTabbing` prop to `useDialog` hook (#57962)
Jan 30, 2024
8c80c0e
CheckboxControl: Add custom label example to Storybook (#58438)
mirka Jan 30, 2024
fcd0990
Bump plugin version to 17.6.0-rc.3
gutenbergplugin Jan 30, 2024
aa4f136
Update Changelog for 17.6.0-rc.3
gutenbergplugin Jan 30, 2024
54fc929
Tweak FocalPointPicker inspector controls (#58448)
Jan 30, 2024
82e22bf
This commit merges the 6.4 and 6.5 compat changes for gutenberg_updat…
ramonjd Jan 31, 2024
702826e
Patterns" Update the bindings attribs of blocks added during experime…
glendaviesnz Jan 31, 2024
a341439
Avoid running pattern overrides migration in core (#58487)
talldan Jan 31, 2024
6e34635
Update changelog files
gutenbergplugin Jan 31, 2024
1d995de
chore(release): publish
gutenbergplugin Jan 31, 2024
05eb127
Revert "Use a patch format and support `linkTarget` of `core/button` …
talldan Jan 31, 2024
46fec08
Block editor: Image link update active status when lightbox is enable…
cbravobernal Jan 31, 2024
eab51ec
Fix url escaping for array parameters in Navigation links (#58068)
draganescu Jan 31, 2024
cd1baa0
avoid mutating fontface data (#58473)
matiasbenedetto Jan 31, 2024
7fd9023
Forbid using certain functions and classes
anton-vlasenko Jan 31, 2024
30b3000
Move Nav Link PHPUnit tests to blocks directory (#58460)
getdave Jan 31, 2024
b8d31f2
fix use old template panel if user doesn’t have access to view templa…
fabiankaegy Jan 31, 2024
c7cf2f7
Avoid using early returns to prevent classname duplication (#58500)
youknowriad Jan 31, 2024
765f470
Fix: refactor pre publish panel to use function component instead of …
fabiankaegy Jan 31, 2024
91d5778
Block API: Add `viewStyle` property support to `block.json` (#55492)
gaambo Jan 31, 2024
cba248c
Unmemoize block selector (#58355)
ellatrix Jan 31, 2024
16323ea
Data views: Update 'Rows per page' view option label to account for G…
jameskoster Jan 31, 2024
57607b0
Fix flaky test (#58516)
DAreRodz Jan 31, 2024
552c76f
Font Collections: update registration function signature and add cach…
creativecoder Jan 31, 2024
e7a06cc
Add: Selection and bulk actions to grid view. (#58144)
jorgefilipecosta Jan 31, 2024
209c8ce
Site editor: avoid double post content parse (alternative) (#58146)
ellatrix Jan 31, 2024
6828b65
getBlockSettings: avoid memoized selector with clientId (#58405)
ellatrix Jan 31, 2024
ceb3c1c
Improve translators comments. (#58488)
afercia Jan 31, 2024
7b77931
[RNMobile] Update Image component to avoid flicker when updating the …
derekblank Jan 31, 2024
3153d19
Bump plugin version to 17.6.0
gutenbergplugin Jan 31, 2024
686c674
Update Changelog for 17.6.0
gutenbergplugin Jan 31, 2024
b718580
Global styles revisions: update text color contrast (#58340)
ramonjd Jan 31, 2024
f2d2a81
Font size: Allow for custom font size handling (#58422)
ramonjd Jan 31, 2024
24a2cb7
Flash editable block outlines instead of always showing them (#58159)
noisysocks Jan 31, 2024
b5a3126
Drag and drop: Allow dropping within template parts (#58423)
andrewserong Feb 1, 2024
fb54774
List View: Fix error when switching between template preview modes (#…
andrewserong Feb 1, 2024
c4d1034
DataViews: add primary filter API (#58427)
oandregal Feb 1, 2024
23bdd66
Data views: Fix double scrollbar in grid layout (#58536)
t-hamano Feb 1, 2024
a006a4b
Update versions-in-wordpress.md (#58545)
benniledl Feb 1, 2024
ece4d7d
Enable dynamic import transform for React Native tests (#58546)
jsnajdr Feb 1, 2024
afa8b5c
Font Library: Use Button's API to disable footer buttons (#58529)
t-hamano Feb 1, 2024
0e75767
Writing flow: don't prepare for multi selection when dragging inwards…
ellatrix Feb 1, 2024
180ae59
Block Library: Rename variation build methods (#58538)
Mamaduka Feb 1, 2024
73a6abc
Components: Allow limiting the number of maximum visible Snackbars (#…
Mamaduka Feb 1, 2024
c3358a5
Block editor: reduce appender sync! subscriptions (#58556)
ellatrix Feb 1, 2024
e056237
RichTextData: use a private property (#58557)
jsnajdr Feb 1, 2024
2a6b7c1
Block Switcher: Don't use the 'useBlockDisplayInformation' hook (#58562)
Mamaduka Feb 1, 2024
726c5c6
Ensure deleteAllUsers does not delete current user (#58320)
WunderBart Feb 1, 2024
89a15cc
Script Modules API: Add import map polyfill (#58263)
cbravobernal Feb 1, 2024
eae9748
Fix: remove mention of weekly meeting from first time contributor PR …
fabiankaegy Feb 1, 2024
8443592
Components: Tabs: Improve Controlled Mode Focus Handling (#57696)
chad1008 Feb 1, 2024
91450bd
Add Props Bot workflow. (#58576)
desrosj Feb 1, 2024
6d75b0f
Font Library: simplify font collection schema (#58574)
matiasbenedetto Feb 1, 2024
4177183
[Font Library] Update PHPUnit tests per Core coding standards and pra…
hellofromtonya Feb 1, 2024
51b732c
Font Library modal: Try to improve checkbox labelling (#58339)
mikachan Feb 2, 2024
b859f54
Font Library: Show 'Add fonts' button when there are no fonts install…
noisysocks Feb 2, 2024
b21b88d
Mobile Release v1.112.0 (#58540)
derekblank Feb 2, 2024
f8af4bd
List View: unmemo recursive getEnabledClientIdsTree (#58525)
ellatrix Feb 2, 2024
ef346a6
Components: Update the Snackbar warning message (#58591)
Mamaduka Feb 2, 2024
ea4def7
MediaReplaceFlow: restore popover width (#58597)
t-hamano Feb 2, 2024
141c728
Implement Tabs in widget editor settings (#57886)
chad1008 Feb 2, 2024
cc7ac02
Query pagination: replace parent with ancestor (#58602)
carolinan Feb 2, 2024
cabd2ed
Fix font library unit tests nit-picks (#58612)
anton-vlasenko Feb 2, 2024
4076bb1
Components: Fix the Snackbar auto-dismissal timers (#58604)
Mamaduka Feb 2, 2024
6cd0cba
Navigation: Fix performance regression (#58513)
scruffian Feb 2, 2024
9bc6a57
Update the fallback block list to avoid a PHP Warning (#58588)
dd32 Feb 2, 2024
e44172e
Move Fonts Library to compat dir for 6.5 (#58608)
getdave Feb 2, 2024
3ebf741
Inner blocks: don't re-render list when controlled blocks change (#58…
ellatrix Feb 2, 2024
87689b3
Refine when Props Bot runs (#58616)
desrosj Feb 2, 2024
22bbacb
Implementing `useCompositeState` with Ariakit (#57304)
Feb 2, 2024
486b2db
Set post editor sidebar tabs to manual activation (#58041)
chad1008 Feb 2, 2024
04bb9e8
Minor copy edits and turned one line into a callout. (#58614)
ndiego Feb 2, 2024
fd68223
Interactivity Router: Move ARIA live region and loading bar to the In…
DAreRodz Feb 2, 2024
d801d77
Remove slug from collection schema to accommodate the changes on the …
matiasbenedetto Feb 2, 2024
c4eb224
Backport theme.json tests from Core (#58476)
ajlende Feb 2, 2024
c09deec
Bump the github-actions group with 7 updates (#58312)
dependabot[bot] Feb 2, 2024
709e6da
Docs: Update the Getting Started readme in the Block Editor Handbook …
ndiego Feb 2, 2024
8903b70
Bump the react-native group with 3 updates (#58501)
dependabot[bot] Feb 2, 2024
5f740d2
Removing Reakit `Composite` implementation (#58620)
Feb 2, 2024
b550b13
Tabs: delay `activeId` updates until focus can be properly detected (…
chad1008 Feb 2, 2024
eb05364
More refinements to Props Bot run conditions. (#58617)
desrosj Feb 2, 2024
0ec7554
Font Collections: lazy load json configuration for better performance…
creativecoder Feb 2, 2024
cd227e1
Update list formatting and descriptions. (#58630)
ndiego Feb 2, 2024
c939f7d
Show borders for disabled secondary buttons. (#58606)
jasmussen Feb 2, 2024
05d5475
Font Library: Add sanitize from schema util (#58571)
matiasbenedetto Feb 2, 2024
edb8779
Editor: Limit visible Snackbars from the consumers (#58598)
Mamaduka Feb 2, 2024
0b1de17
Update to rename reusable blocks (#58633)
annezazu Feb 2, 2024
15a5a88
Implement `Tabs` in site-editor settings (#56959)
chad1008 Feb 2, 2024
4a153d7
Block Bindings: Add block bindings e2e tests (#58550)
SantosGuillamot Feb 2, 2024
51f59e6
Button: Add focusable disabled variant to vizreg Storybook (#58634)
mirka Feb 2, 2024
f6e9fcc
Interactivity API: Add `block supports` for `clientNavigation` and `i…
cbravobernal Feb 2, 2024
5206fb5
Docs: Formatting and copy edits for the File structure of a block gui…
ndiego Feb 2, 2024
38fbc7f
Update Font Library REST API code to align with Core standards (#58619)
getdave Feb 2, 2024
408c118
Update Font Library non-REST API code to align with Core standards (#…
getdave Feb 2, 2024
f38eb42
Fix flaky test of data-wp-on-window directive (#58642)
luisherranz Feb 3, 2024
19b2bf9
Interactivity Router: Fix initial page cache (#58496)
DAreRodz Feb 4, 2024
096d518
Interactivity API: Server Directive Processor for `data-wp-each` (#58…
luisherranz Feb 4, 2024
8d14357
Template editing: update fullscreen WP back functionality (#58534)
ramonjd Feb 5, 2024
4de62d7
Drag and drop: Allow dragging from inserter or desktop to template pa…
andrewserong Feb 5, 2024
023916c
Pattern: Use the '__experimentalLabel' method to get a title (#58646)
Mamaduka Feb 5, 2024
2f44afa
Pattern overrides: Update overrides attribute data structure and rena…
talldan Feb 5, 2024
57f67dc
Try: Fix lightbox URL popover position. (#58600)
jasmussen Feb 5, 2024
d2d6c71
Shadow: Update shadow support to allow explicit skipping of serializa…
madhusudhand Feb 5, 2024
2337198
Block editor: settings may be undefined (#58658)
ellatrix Feb 5, 2024
b942f10
Font Library: sanitize font collection data (#58636)
matiasbenedetto Feb 5, 2024
09b6744
Font Library REST API: sanitize font family and font face settings (#…
creativecoder Feb 5, 2024
7a6f458
Font Collections: standardizes docblock comments (#58654)
creativecoder Feb 5, 2024
da8d9e9
Font Library: Change referenced tab name on Google Fonts confirmation…
ironprogrammer Feb 5, 2024
1d99311
DataViews: Make it possible to toggle Author field in templates and t…
ntsekouras Feb 5, 2024
aa07ca0
Font Library: Fix font preview vertical alignment and respect reduce …
afercia Feb 5, 2024
7bf1ab3
ImageURLInputUI: fix focus loss when settings are changed (#58647)
t-hamano Feb 5, 2024
714e88c
Fix flaky test (#58668)
cbravobernal Feb 5, 2024
528d2b7
Move getAllowedMimeTypes to FontUtils (#58667)
youknowriad Feb 5, 2024
b1c7ec2
Font Library: Refactor as a singleton (#58669)
youknowriad Feb 5, 2024
2c7cfbe
Bump plugin version to 17.6.1
gutenbergplugin Feb 5, 2024
995a1eb
Update Changelog for 17.6.1
gutenbergplugin Feb 5, 2024
2cc3c3f
Docs: Copy edits and list formatting for main Block Editor Handbook r…
ndiego Feb 5, 2024
280084e
Removing Reakit as a dependency (#58631)
Feb 5, 2024
066f877
Reduce label and adjust capitalization of image upload control (#58677)
Feb 5, 2024
73773e1
Change cover block "Media settings" label to "Settings" (#58463)
Feb 5, 2024
89d8483
Tweak Media & Text inspector controls (#58447)
Feb 5, 2024
1ca0b86
Docs: Fix list formatting and some grammar in the Entities explanatio…
ndiego Feb 5, 2024
9353540
Removed extra parenthesis from document (#58662)
krupal-panchal Feb 5, 2024
4a16dd2
Docs: Copy and formatting edits for the "Static or Dynamic rendering"…
ndiego Feb 5, 2024
331532c
Escape as Select/Edit mode Toggle (#58637)
jeryj Feb 5, 2024
a10d303
Add shadow support for column, columns and image (#57982)
vcanales Feb 5, 2024
9cf0fc0
Docs: Copy and formatting edits for the "Working with Javascript for …
ndiego Feb 5, 2024
ae193eb
Selection: maintain correct selection after drag-selecting outside bl…
ellatrix Feb 5, 2024
a432f66
Don't move focus within the toolbar if it is already focused (#58570)
jeryj Feb 5, 2024
8174ba1
Add missing PanelBody title for the columns block inspector (#58452)
Feb 5, 2024
f294dd2
Organize gallery controls (#58407)
Feb 5, 2024
9da8121
useOnBlockDrop: Fix TypeError via array coercion (#58686)
mcsf Feb 5, 2024
0f2f287
Font Library Address Outstanding Feedback from WP 6.4 review (#58675)
getdave Feb 5, 2024
f113f8e
Bump plugin version to 17.6.2
gutenbergplugin Feb 5, 2024
4cb9fd7
Update Changelog for 17.6.2
gutenbergplugin Feb 5, 2024
fd98f90
Font Library: address feedback from wordpress-develop#6027 (#58691)
creativecoder Feb 5, 2024
8598549
CustomSelect: disable `virtualFocus` to fix issue for screenreaders (…
brookewp Feb 5, 2024
69a82ac
Docs: Copy and formatting edits for the "The block in the Editor" gui…
ndiego Feb 5, 2024
7629b70
Update "focus mode" to consistently use the Document Bar's Back butto…
noisysocks Feb 6, 2024
4ea4431
Add default restoration of UI when exiting distraction free mode (#58…
draganescu Feb 6, 2024
8afe850
fix: innerBlocks schema description in block.json (#58649)
shreyash3087 Feb 6, 2024
be54043
Migrate remaining 'pattern block' e2e tests to Playwright (#58486)
Mamaduka Feb 6, 2024
d8104f0
useOnBlockDrop: Fix the Gallery block check (#58711)
Mamaduka Feb 6, 2024
15644c0
Global styles: update return values from getGlobalStylesChanges() (#5…
ramonjd Feb 6, 2024
77878ea
Fix image link preset suggestions arrow key navigation (#58615)
ntsekouras Feb 6, 2024
28b78b5
Support button's link settings for Pattern Overrides (#58587)
kevin940726 Feb 6, 2024
8765884
Block Bindings: Add tests for the frontend and polish the existing on…
SantosGuillamot Feb 6, 2024
a7742b8
DataViews: remove test artifact (status filter was set as primary) (#…
oandregal Feb 6, 2024
769b1e7
Block Bindings: Backport block bindings refactor from WordPress core …
SantosGuillamot Feb 6, 2024
519824a
CustomSelect: add tests for new features (#58583)
brookewp Feb 6, 2024
1fb5110
Fix nested pattern overrides and disable editing inner pattern (#58541)
kevin940726 Feb 6, 2024
8d94c3b
Try: Remove shadow preset overflow. (#58663)
jasmussen Feb 6, 2024
ad5e2b1
Fix: Dataviews selection on patterns grid view. (#58726)
jorgefilipecosta Feb 6, 2024
6d97038
AnglePickerControl: Hard deprecate bottom margin (#58700)
mirka Feb 6, 2024
7d75052
SearchControl: Add unit tests (#58693)
mirka Feb 6, 2024
42be4bd
CustomGradientPicker: Hard deprecate outer margins (#58699)
mirka Feb 6, 2024
04b5a80
Docs: Copy and formatting edits for the "Markup representation of a b…
ndiego Feb 6, 2024
3fb2976
GradientPicker: Hard deprecate outer margins (#58701)
mirka Feb 6, 2024
7705c03
Use toBeDisabled instead of aria-disabled check (#58694)
jeryj Feb 6, 2024
2078ac4
FontSizePicker: Hard deprecate bottom margin (#58702)
mirka Feb 6, 2024
1761179
Migrate remaining 'inserting blocks' e2e tests to Playwright (#58108)
Mamaduka Feb 6, 2024
b501797
update fonts collection url for Gutenberg 17.7 (#58746)
matiasbenedetto Feb 6, 2024
1c26a17
Improve SiteIcon display and transition (#58472)
Feb 6, 2024
8995b66
HTML API: Backport updates from Core
dmsnell Jan 23, 2024
99d0653
Background image support: Try adding background position controls (#5…
andrewserong Feb 6, 2024
2bd811a
Font Library: remove tests from classes that were already merged in c…
matiasbenedetto Feb 6, 2024
5907e03
Lock all interactive block stores (#58722)
DAreRodz Feb 6, 2024
ad645f4
Bump plugin version to 17.6.3
gutenbergplugin Feb 7, 2024
bb0d9bb
Font Library: return null if a font collection is not registered (#58…
matiasbenedetto Feb 7, 2024
7076174
Update Changelog for 17.6.3
gutenbergplugin Feb 7, 2024
e467dc3
Font Library: code style and code quality feedback from core 6.5 revi…
matiasbenedetto Feb 7, 2024
e600d3d
Editor: Ensure the current author is included in the dropdown (#58716)
Mamaduka Feb 7, 2024
3657ee1
Editor: Don't hide authors' Combobox if the current author is missing…
Mamaduka Feb 7, 2024
d0b9e7a
Move Shadow controls to Border panel (#58466)
vcanales Feb 7, 2024
c9568e2
Site Editor: Only show 'Back' button when user came from an editor ca…
noisysocks Feb 7, 2024
0d2f5e9
Add a control per block to reset pattern overrides (#57907)
kevin940726 Feb 7, 2024
c8ddc57
Add the block name to the pattern content data (#58715)
talldan Feb 7, 2024
7472c0d
Link UI: polish lightbox pieces. (#58666)
jasmussen Feb 7, 2024
9edf886
Editor Settings: Rename the getPostLinkProps setting (#58416)
glendaviesnz Feb 7, 2024
cda700c
Interactivity API: Support setting a namespace using a string in `dat…
luisherranz Feb 7, 2024
5b28829
Interactivity API - Blocks: Move interactivity registration to render…
cbravobernal Feb 7, 2024
5b4286a
Site Editor: Break long URLs in page sidebar (#58763)
t-hamano Feb 7, 2024
30b4349
DataViews: update search input placeholder (#58742)
jameskoster Feb 7, 2024
68b9cc8
Try: Make gallery randomization work when nested (#58733)
t-hamano Feb 7, 2024
8f8c4d7
Interactivity API: Fix state intialization for asynchronous private s…
DAreRodz Feb 7, 2024
180b57a
Editor: Reuse data query in the post author components (#58760)
Mamaduka Feb 7, 2024
6d28c46
Interactivity API: Remove non default suffix data wp context processi…
cbravobernal Feb 7, 2024
345a938
Update workflows to use gradle/actions/setup-gradle (#58628) (#58713)
shreyash3087 Feb 7, 2024
8227f64
Add outline to template preview (#58738)
jameskoster Feb 7, 2024
87c5697
InputBase: Add `isBorderless` prop (#58750)
mirka Feb 7, 2024
f5d3cbf
Font Library: Do not register the google fonts collection if already …
youknowriad Feb 7, 2024
1d25308
Switch to viewScriptModule (#58211)
sirreal Feb 7, 2024
21f0fc0
Bump plugin version to 17.6.4
gutenbergplugin Feb 7, 2024
fc6d877
Revert "Bump plugin version to 17.6.4"
youknowriad Feb 7, 2024
49fc83c
Bump plugin version to 17.6.4
gutenbergplugin Feb 7, 2024
15fa78d
Update Changelog for 17.6.4
gutenbergplugin Feb 7, 2024
eeffb21
Update spacing around title in grid layout (#58739)
jameskoster Feb 7, 2024
10ee33b
Tweak revisions panel for improved scanning (#58751)
Feb 7, 2024
1bdb445
Blocks: Add handling for block.json viewScriptModule (#58731)
sirreal Feb 7, 2024
23b4c79
Scripts: Add viewScriptModule block.json support (#58203)
sirreal Feb 7, 2024
27dc690
Remove tests from font library rest controllers already mergedd into …
matiasbenedetto Feb 7, 2024
de2a8a7
Dependency Extraction Webpack Plugin: Fix script module import field …
sirreal Feb 7, 2024
5e683b7
Scripts: Detect block.json changes from modules build (#57927)
sirreal Feb 7, 2024
bc3f367
LinkControl - use consistent labels, remove additional settings, and …
Feb 7, 2024
9bb75b3
Components: Remove deprecation warnings for `__next36pxDefaultSize` (…
mirka Feb 7, 2024
adf0b85
Add: Delete bulk action to patterns. (#58747)
jorgefilipecosta Feb 7, 2024
5357418
added label attribute
colinduwe Jan 5, 2024
5843370
corrected spaces for tabs
colinduwe Jan 8, 2024
e56dfad
saving experiment. not finished.
colinduwe Feb 7, 2024
b144b17
updated block to allow richtext label
colinduwe Feb 7, 2024
d091cae
merge conflicts resolved from upstream
colinduwe Feb 7, 2024
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
  •  
  •  
  •  
31 changes: 26 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ const restrictedImports = [
name: 'lodash',
message: 'Please use native functionality instead.',
},
{
name: 'reakit',
message:
'Please use Reakit API through `@wordpress/components` instead.',
},
{
name: '@ariakit/react',
message:
Expand Down Expand Up @@ -357,6 +352,26 @@ module.exports = {
'jsdoc/require-param': 'off',
},
},
{
files: [ 'packages/components/src/**' ],
excludedFiles: [ 'packages/components/src/utils/colors-values.js' ],
rules: {
'no-restricted-syntax': [
'error',
{
selector: 'Literal[value=/--wp-admin-theme-/]',
message:
'--wp-admin-theme-* variables do not support component theming. Use variables from the COLORS object in packages/components/src/utils/colors-values.js instead.',
},
{
selector:
'TemplateElement[value.cooked=/--wp-admin-theme-/]',
message:
'--wp-admin-theme-* variables do not support component theming. Use variables from the COLORS object in packages/components/src/utils/colors-values.js instead.',
},
],
},
},
{
files: [ 'packages/components/src/**' ],
excludedFiles: [ 'packages/components/src/**/@(test|stories)/**' ],
Expand Down Expand Up @@ -386,5 +401,11 @@ module.exports = {
],
},
},
{
files: [ 'packages/interactivity*/src/**' ],
rules: {
'react/react-in-jsx-scope': 'error',
},
},
],
};
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
/packages/report-flaky-tests @kevin940726

# wp-env
/packages/env @noahtallen @ObliviousHarmony @t-hamano
/packages/env @ObliviousHarmony @t-hamano

# PHP
/lib @spacedmonkey
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 @@ -183,7 +183,7 @@ jobs:
NO_CHECKS: 'true'

- name: Upload artifact
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
with:
name: gutenberg-plugin
path: ./gutenberg.zip
Expand All @@ -206,7 +206,7 @@ jobs:

- name: Upload release notes artifact
if: ${{ needs.bump-version.outputs.new_version }}
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
with:
name: release-notes
path: ./release-notes.txt
Expand Down Expand Up @@ -270,12 +270,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@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
name: gutenberg-plugin

- name: Download Release Notes Artifact
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
name: release-notes

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/end2end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
npx wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache"

- name: Archive debug artifacts (screenshots, HTML snapshots)
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: failures-artifacts
path: artifacts
if-no-files-found: ignore

- name: Archive flaky tests report
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: flaky-tests-report
Expand Down Expand Up @@ -92,15 +92,15 @@ jobs:
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:e2e:playwright -- --shard=${{ matrix.part }}/${{ matrix.totalParts }}

- name: Archive debug artifacts (screenshots, traces)
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: failures-artifacts
path: artifacts/test-results
if-no-files-found: ignore

- name: Archive flaky tests report
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: flaky-tests-report
Expand All @@ -120,7 +120,7 @@ jobs:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- uses: actions/download-artifact@v4.1.0
- uses: actions/download-artifact@v4.1.1
id: download_artifact
# Don't fail the job if there isn't any flaky tests report.
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enforce-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
mode: exactly
count: 1
labels: '[Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core'
labels: '[Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Technical Prototype, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core'
add_comment: true
message: "**Warning: Type of PR label mismatch**\n\n To merge this PR, it requires {{ errorString }} {{ count }} label indicating the type of PR. Other labels are optional and not being checked here. \n- **Type-related labels to choose from**: {{ provided }}.\n- **Labels found**: {{ applied }}.\n\nRead more about [Type labels in Gutenberg](https://github.com/WordPress/gutenberg/labels?q=type). Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task."
exit_type: failure
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/wrapper-validation-action@v2
4 changes: 2 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:

- name: Archive performance results
if: success()
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
with:
name: performance-results
path: ${{ env.WP_ARTIFACTS_PATH }}/*.performance-results*.json
Expand All @@ -100,7 +100,7 @@ jobs:
./bin/log-performance-results.js $CODEHEALTH_PROJECT_TOKEN trunk $GITHUB_SHA b61dde2e5ec29d98801e623de968bfb286c5be3f $COMMITTED_AT

- name: Archive debug artifacts (screenshots, HTML snapshots)
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: failure()
with:
name: failures-artifacts
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/php-changes-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Get changed PHP files
id: changed-files-php
uses: tj-actions/changed-files@716b1e13042866565e00e85fd4ec490e186c4a2f # v41.0.1
uses: tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 # v42.0.2
with:
files: |
*.{php}
Expand All @@ -38,7 +38,7 @@ jobs:
echo "formatted_change_list=$formatted_change_list" >> $GITHUB_OUTPUT

- name: Find Comment
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: find-comment
with:
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -47,7 +47,7 @@ jobs:

- name: Create comment
if: steps.find-comment.outputs.comment-id == '' && steps.changed-files-php.outputs.any_changed == 'true'
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Expand All @@ -67,7 +67,7 @@ jobs:

- name: Update comment
if: steps.find-comment.outputs.comment-id != '' && steps.changed-files-php.outputs.any_changed == 'true'
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -89,7 +89,7 @@ jobs:

- name: Update comment
if: steps.find-comment.outputs.comment-id != '' && steps.changed-files-php.outputs.any_changed != 'true'
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down
88 changes: 88 additions & 0 deletions .github/workflows/props-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Props Bot

on:
# This event runs anytime a PR is (re)opened, updated, marked ready for review, or labeled.
# GitHub does not allow filtering the `labeled` event by a specific label.
# However, the logic below will short-circuit the workflow when the `props-bot` label is not the one being added.
# Note: The pull_request_target event is used instead of pull_request because this workflow needs permission to comment
# on the pull request. Because this event grants extra permissions to `GITHUB_TOKEN`, any code changes within the PR
# should be considered untrusted. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/.
pull_request_target:
types:
- opened
- synchronize
- reopened
- labeled
- ready_for_review
# This event runs anytime a comment is added or deleted.
# You cannot filter this event for PR comments only.
# However, the logic below does short-circuit the workflow for issues.
issue_comment:
type:
- created
# This event will run everytime a new PR review is initially submitted.
pull_request_review:
types:
- submitted
# This event runs anytime a PR review comment is created or deleted.
pull_request_review_comment:
types:
- created

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ contains( fromJSON( '["pull_request_target", "pull_request_review", "pull_request_review_comment"]' ), github.event_name ) && github.head_ref || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:
# Compiles a list of props for a pull request.
#
# Performs the following steps:
# - Collects a list of contributor props and leaves a comment.
# - Removes the props-bot label, if necessary.
props-bot:
name: Generate a list of props
runs-on: ubuntu-latest
permissions:
# The action needs permission `write` permission for PRs in order to add a comment.
pull-requests: write
contents: read
timeout-minutes: 20
# The job will run when pull requests are open, ready for review and:
#
# - A comment is added to the pull request.
# - A review is created or commented on.
# - The pull request is opened, synchronized, marked ready for review, or reopened.
# - The `props-bot` label is added to the pull request.
if: |
(
github.event_name == 'issue_comment' && github.event.issue.pull_request ||
contains( fromJSON( '["pull_request_review", "pull_request_review_comment"]' ), github.event_name ) ||
github.event_name == 'pull_request_target' && github.event.action != 'labeled' ||
'props-bot' == github.event.label.name
) &&
( ! github.event.pull_request.draft && github.event.pull_request.state == 'open' || ! github.event.issue.draft && github.event.issue.state == 'open' )

steps:
- name: Gather a list of contributors
uses: WordPress/props-bot-action@trunk

- name: Remove the props-bot label
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: ${{ github.event.action == 'labeled' && 'props-bot' == github.event.label.name }}
with:
retries: 2
retry-exempt-status-codes: 418
script: |
github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: '${{ github.event.number }}',
name: 'props-bot'
});
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
check-latest: true

- name: Cache NPM packages
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: ./.github/setup-node

- name: Restore tests setup cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: |
~/.appium
Expand All @@ -47,10 +47,10 @@ jobs:
run: npm run native test:e2e:setup

- name: Gradle cache
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2 # v2.11.1
uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0

- name: AVD cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: avd-cache
with:
path: |
Expand All @@ -60,7 +60,7 @@ jobs:

- name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@99a4aac18b4df9b3af66c4a1f04c1f23fa10c270 # v2.29.0
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
Expand All @@ -71,7 +71,7 @@ jobs:
script: echo "Generated AVD snapshot for caching."

- name: Run tests
uses: reactivecircus/android-emulator-runner@99a4aac18b4df9b3af66c4a1f04c1f23fa10c270 # v2.29.0
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
Expand All @@ -81,13 +81,13 @@ jobs:
profile: Nexus 6
script: npm run native test:e2e:android:local ${{ matrix.native-test-name }}

- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: android-screen-recordings
path: packages/react-native-editor/android-screen-recordings

- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: appium-logs
Expand Down
Loading