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 #165

Open
wants to merge 2,941 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2941 commits
Select commit Hold shift + click to select a range
7b6e775
Fix: Site Editor Template part is missing an icon in the sidebar (#68…
dhananjaykuber Jan 15, 2025
8ba15b1
Social Links: Don't prepend URL fragments (#68655)
Mamaduka Jan 15, 2025
184f179
Duotone: Fix scrollbars displayed on Duotone Control (#67187)
yogeshbhutkar Jan 15, 2025
6940e88
Nux: Standardize reduced motion handling using media queries (#68423)
im3dabasia Jan 15, 2025
4085555
Fix flaky navigation-frontend-interactivity e2e tests (#68667)
t-hamano Jan 15, 2025
5a5455c
Editor: Update data selector in 'PostPreviewButton' (#68678)
Mamaduka Jan 15, 2025
23e0db4
Core Data: Check post-type support before requesting autosaves (#68680)
Mamaduka Jan 15, 2025
58a6ba7
Editor: New default rendering mode for editor via post type supports …
Mamaduka Jan 15, 2025
bd9336f
Bump plugin version to 20.1.0-rc.1
gutenbergplugin Jan 15, 2025
53fff37
Update Changelog for 20.1.0-rc.1
gutenbergplugin Jan 15, 2025
ffedcc1
Update changelog files
gutenbergplugin Jan 15, 2025
74986ed
chore(release): publish
gutenbergplugin Jan 15, 2025
9f7d7dc
Editor: Combine selectors in the 'Header' component (#68697)
Mamaduka Jan 16, 2025
a89831f
ESLint: Fix broken URL reference for stylelint (#68706)
im3dabasia Jan 16, 2025
ba9f079
Move html element help messages to the block library utils. (#68708)
afercia Jan 16, 2025
aa5221f
Upload Media: Fix package dependencies (#68718)
Mamaduka Jan 16, 2025
5688333
Bump ruby/setup-ruby from 1.207.0 to 1.208.0 in the github-actions gr…
dependabot[bot] Jan 16, 2025
064b879
Post Content add heading color support (#67783)
shimotmk Jan 17, 2025
4b60f9e
Fix: Add `rel="tag"` to individual anchor links in editor markup of t…
fabiankaegy Jan 17, 2025
aec60be
Search Block: Refactoring settings panel (#67907)
benazeer-ben Jan 17, 2025
ebab640
Read More Block: Refactor settings panel to use ToolsPanel (#67925)
SainathPoojary Jan 17, 2025
c2d2d69
Home Link: Enable all non-interactive formats (#68737)
shimotmk Jan 17, 2025
12709bd
Editor: Update post-type support key for new default rendering mode (…
Mamaduka Jan 17, 2025
ac316ee
Details block: add name attribute for exclusive accordion (#56971)
Soean Jan 17, 2025
a900e03
Bump ruby/setup-ruby from 1.208.0 to 1.209.0 in the github-actions gr…
dependabot[bot] Jan 17, 2025
0b1c453
Block Library: Unify block title with a strict title case (#51912)
t-hamano Jan 18, 2025
5661b57
Term List Block: Refactor settings panel to use ToolsPanel (#67955)
Sukhendu2002 Jan 18, 2025
dce84c2
Latest Comments: Refactor settings panel to use ToolsPanel (#67951)
himanshupathak95 Jan 18, 2025
64c3aff
Query Page Numbers Block: Fix reset button display state (#68759)
t-hamano Jan 18, 2025
1efe523
Post Date Block: Fix reset button display state (#68758)
t-hamano Jan 18, 2025
0586312
Search Results Title Block: Add dropdown menu props to Tools Panel co…
t-hamano Jan 18, 2025
441a7b5
Spacer: Add dropdown menu props to Tools Panel component (#68761)
t-hamano Jan 18, 2025
cb0c989
Video: fix react component warning error (#68762)
t-hamano Jan 18, 2025
63523f2
Page List Block: fix empty settings panel (#68756)
t-hamano Jan 18, 2025
bd2c328
Archives Block: Fix reset button display state (#68757)
t-hamano Jan 18, 2025
61d7b50
Embed: Remove aspect ratio classes when transforming into Paragraph (…
Mamaduka Jan 18, 2025
5c2f7ed
Updated Typo in Constants.js (#68765)
shail-mehta Jan 18, 2025
be5ce8a
Paragraph: Use CSS to hide placeholders in Zoom out mode (#68690)
Mamaduka Jan 18, 2025
39ed61d
wp-env: Add phpMyAdmin and multisite support to the documentation (#6…
t-hamano Jan 21, 2025
e68767f
Fix: Linked featured image block cannot be selected correctly (#68775)
t-hamano Jan 21, 2025
1295878
Gallery: Remove unused inline menu styles (#68776)
himanshupathak95 Jan 21, 2025
34f09ca
Position: Refactor "Position" controls panel to use `ToolsPanel` inst…
yogeshbhutkar Jan 21, 2025
5b7f7ec
Latest Post Block: Refactor settings panel to use ToolsPanel (#67956)
karthick-murugan Jan 21, 2025
05ef404
Bump the github-actions group across 1 directory with 2 updates (#68809)
dependabot[bot] Jan 21, 2025
06ee5e1
Spacer: Fix flex layout unit reset (#68815)
Mayank-Tripathi32 Jan 22, 2025
eba2d71
Add WP_ENV_MULTISITE envoriment variable. (#68792)
spacedmonkey Jan 22, 2025
35e99d4
Clean up unused utils of spacing sizes control (#68794)
stokesman Jan 22, 2025
abe10cf
Bump plugin version to 20.1.0
gutenbergplugin Jan 22, 2025
d7593ae
Update Changelog for 20.1.0
gutenbergplugin Jan 22, 2025
b771bdd
Box Control: Add Runtime Check & Conditional Types for `presets` and …
im3dabasia Jan 22, 2025
0d35e9f
Release Workflow: Install Subversion (#68837)
Mamaduka Jan 23, 2025
c093971
Block Editor: Fix block color contrast checker (#68799)
Mamaduka Jan 23, 2025
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
0ec29dd
Document outline: Show heading blocks when template-lock is enabled (…
carolinan Feb 27, 2025
a02bf96
Fields: Avoid 'useSelect' warnings in the template component (#69344)
Mamaduka Feb 27, 2025
47fdb90
InputControl: Ensure consistent placeholder color (#69334)
SainathPoojary Feb 27, 2025
df6f07d
Close patterns modal on insertion and focus on inserted pattern (#68975)
yogeshbhutkar Feb 27, 2025
38610b0
Site Editor: Fix space on the left or right of the menu in mobile vie…
t-hamano Feb 27, 2025
50d457e
Format Library: Text-color popover width to fit sidebar (#68881)
shimotmk Feb 27, 2025
d8de061
FontSizePicker: Fix FontSizePicker Storybook control type and improve…
himanshupathak95 Feb 27, 2025
079996b
Editor: Revert bulk editing support for post actions (#69341)
Mamaduka Feb 27, 2025
18a4c0d
Remove unnecessary opacity override for Firefox placeholders (#69312)
himanshupathak95 Feb 27, 2025
5e7c286
Revert "Feature: Add `navigation.isLoading` state to core/router stor…
fabiankaegy Feb 28, 2025
0d5c310
Block Action: Implement cut functionality in block actions and settin…
yogeshbhutkar Feb 28, 2025
31fb13f
Bump plugin version to 20.4.0-rc.1
gutenbergplugin Feb 28, 2025
7e094b2
Update changelog files
gutenbergplugin Feb 28, 2025
0a6f557
chore(release): publish
gutenbergplugin Feb 28, 2025
c0f518b
Update Changelog for 20.4.0-rc.1
gutenbergplugin Feb 28, 2025
d2e36e3
Image block: unwrap img element in editor (#68666)
stokesman Feb 28, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
152 changes: 120 additions & 32 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
const glob = require( 'glob' ).sync;
const { join } = require( 'path' );

/**
* Internal dependencies
*/
const { version } = require( './package' );

/**
* Regular expression string matching a SemVer string with equal major/minor to
* the current package version. Used in identifying deprecations.
*
* @type {string}
*/
const majorMinorRegExp =
version.replace( /\.\d+$/, '' ).replace( /[\\^$.*+?()[\]{}|]/g, '\\$&' ) +
'(\\.\\d+)?';

/**
* The list of patterns matching files used only for development purposes.
*
Expand Down Expand Up @@ -92,14 +77,6 @@ const restrictedSyntax = [
'ImportDeclaration[source.value=/^@wordpress\\u002F.+\\u002F/]',
message: 'Path access on WordPress dependencies is not allowed.',
},
{
selector:
'CallExpression[callee.name="deprecated"] Property[key.name="version"][value.value=/' +
majorMinorRegExp +
'/]',
message:
'Deprecated functions must be removed before releasing this version.',
},
{
selector:
'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
Expand Down Expand Up @@ -137,15 +114,26 @@ const restrictedSyntax = [
message:
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
{
selector:
'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. */
const restrictedSyntaxComponents = [
{
selector:
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="__experimentalIsFocusable"])) JSXAttribute[name.name="disabled"]',
'JSXOpeningElement[name.name="Button"]:not(:has(JSXAttribute[name.name="accessibleWhenDisabled"])) JSXAttribute[name.name="disabled"]',
message:
'`disabled` used without the `__experimentalIsFocusable` prop. Disabling a control without maintaining focusability can cause accessibility issues, by hiding their presence from screen reader users, or preventing focus from returning to a trigger element. (Ignore this error if you truly mean to disable.)',
'`disabled` used without the `accessibleWhenDisabled` prop. Disabling a control without maintaining focusability can cause accessibility issues, by hiding their presence from screen reader users, or preventing focus from returning to a trigger element. (Ignore this error if you truly mean to disable.)',
},
];

Expand All @@ -156,6 +144,7 @@ module.exports = {
'plugin:eslint-comments/recommended',
'plugin:storybook/recommended',
],
plugins: [ 'react-compiler' ],
globals: {
wp: 'off',
globalThis: 'readonly',
Expand All @@ -177,6 +166,8 @@ module.exports = {
'@wordpress/dependency-group': 'error',
'@wordpress/wp-global-usage': 'error',
'@wordpress/react-no-unsafe-timeout': 'error',
'@wordpress/i18n-hyphenated-range': 'error',
'@wordpress/i18n-no-flanking-whitespace': 'error',
'@wordpress/i18n-text-domain': [
'error',
{
Expand Down Expand Up @@ -214,6 +205,21 @@ module.exports = {
},
],
'no-restricted-syntax': [ 'error', ...restrictedSyntax ],
'jsdoc/check-tag-names': [
'error',
{
definedTags: [ 'jest-environment' ],
},
],
'react-compiler/react-compiler': [
'error',
{
environment: {
enableTreatRefLikeIdentifiersAsRefs: true,
validateRefAccessDuringRender: false,
},
},
],
},
overrides: [
{
Expand All @@ -228,6 +234,7 @@ module.exports = {
'import/no-unresolved': 'off',
'import/named': 'off',
'@wordpress/data-no-store-string-literals': 'off',
'react-compiler/react-compiler': 'off',
},
},
{
Expand Down Expand Up @@ -278,15 +285,74 @@ module.exports = {
},
},
{
files: [
// Components package.
'packages/components/src/**/*.[tj]s?(x)',
// Navigation block.
'packages/block-library/src/navigation/**/*.[tj]s?(x)',
files: [ 'packages/*/src/**/*.[tj]s?(x)' ],
excludedFiles: [
'packages/*/src/**/@(test|stories)/**',
'**/*.@(native|ios|android).js',
],
excludedFiles: [ ...developmentFiles ],
rules: {
'react-hooks/exhaustive-deps': 'error',
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
// Temporary rules until we're ready to officially deprecate the bottom margins.
...[
'BaseControl',
'CheckboxControl',
'ComboboxControl',
'DimensionControl',
'FocalPointPicker',
'RangeControl',
'SearchControl',
'SelectControl',
'TextControl',
'TextareaControl',
'ToggleControl',
'ToggleGroupControl',
'TreeSelect',
].map( ( componentName ) => ( {
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__nextHasNoMarginBottom"]))`,
message:
componentName +
' should have the `__nextHasNoMarginBottom` prop to opt-in to the new margin-free styles.',
} ) ),
// Temporary rules until we're ready to officially default to the new size.
...[
'BorderBoxControl',
'BorderControl',
'BoxControl',
'Button',
'ComboboxControl',
'CustomSelectControl',
'DimensionControl',
'FontAppearanceControl',
'FontFamilyControl',
'FontSizePicker',
'FormTokenField',
'InputControl',
'LetterSpacingControl',
'LineHeightControl',
'NumberControl',
'RangeControl',
'SelectControl',
'TextControl',
'ToggleGroupControl',
'UnitControl',
].map( ( componentName ) => ( {
// Falsy `__next40pxDefaultSize` without a non-default `size` prop.
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"][value.expression.value!=false])):not(:has(JSXAttribute[name.name="size"][value.value!="default"]))`,
message:
componentName +
' should have the `__next40pxDefaultSize` prop when using the default size.',
} ) ),
{
// Falsy `__next40pxDefaultSize` without a `render` prop.
selector:
'JSXOpeningElement[name.name="FormFileUpload"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"][value.expression.value!=false])):not(:has(JSXAttribute[name.name="render"]))',
message:
'FormFileUpload should have the `__next40pxDefaultSize` prop to opt-in to the new default size.',
},
],
},
},
{
Expand Down Expand Up @@ -397,6 +463,7 @@ module.exports = {
'no-restricted-syntax': [
'error',
...restrictedSyntax,
...restrictedSyntaxComponents,
{
selector:
':matches(Literal[value=/--wp-admin-theme-/],TemplateElement[value.cooked=/--wp-admin-theme-/])',
Expand All @@ -419,6 +486,26 @@ module.exports = {
plugins: [ 'ssr-friendly' ],
extends: [ 'plugin:ssr-friendly/recommended' ],
},
{
files: [ 'packages/components/src/**' ],
rules: {
'no-restricted-imports': [
'error',
// The `ariakit` and `framer-motion` APIs are meant to be consumed via
// the `@wordpress/components` package, hence why importing those
// dependencies should be allowed in the components package.
{
paths: restrictedImports.filter(
( { name } ) =>
! [
'@ariakit/react',
'framer-motion',
].includes( name )
),
},
],
},
},
{
files: [ 'packages/block-editor/**' ],
rules: {
Expand Down Expand Up @@ -463,6 +550,7 @@ module.exports = {
{
files: [ 'packages/interactivity*/src/**' ],
rules: {
'react-compiler/react-compiler': 'off',
'react/react-in-jsx-scope': 'error',
},
},
Expand Down
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ changelog.txt linguist-language=Markdown

# Flag docs directory as documentation for GitHub stats.
docs/** linguist-documentation

# TSConfig files use jsonc.
tsconfig*.json linguist-language=jsonc
19 changes: 8 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Documentation
/docs @ajitbohra @ryanwelcher @juanmaguitar @fabiankaegy @ndiego
/docs @ajitbohra @juanmaguitar @fabiankaegy @ndiego
/packages/interactivity/docs @juanmaguitar

# Schemas
Expand All @@ -13,12 +13,12 @@
/packages/data-controls @nerrad

# Blocks
/packages/block-library @ajitbohra
/packages/block-library/src/gallery @geriux
/packages/block-library @ajitbohra @fabiankaegy
/packages/block-library/src/gallery
/packages/block-library/src/comment-template @michalczaplinski
/packages/block-library/src/comments @michalczaplinski
/packages/block-library/src/table-of-contents @ZebulanStanphill
/packages/block-library/src/image @artemiomorales @michalczaplinski
/packages/block-library/src/image @artemiomorales

# Duotone
/lib/block-supports/duotone.php
Expand Down Expand Up @@ -119,9 +119,9 @@
/packages/plugins @gziolo @adamsilverstein

# Rich Text
/packages/format-library @ellatrix @fluiddot @dcalhoun
/packages/rich-text @ellatrix @fluiddot @dcalhoun
/packages/block-editor/src/components/rich-text @ellatrix @fluiddot @dcalhoun
/packages/format-library @ellatrix
/packages/rich-text @ellatrix
/packages/block-editor/src/components/rich-text @ellatrix

# Project Management
/.github @desrosj
Expand All @@ -138,10 +138,7 @@
/lib/compat/*/html-api @dmsnell
/lib/experimental/rest-api.php @timothybjacobs
/lib/experimental/class-wp-rest-* @timothybjacobs
/lib/experimental/class-wp-rest-block-editor-settings-controller.php @timothybjacobs @spacedmonkey @geriux

# Native
/packages/components/src/mobile/global-styles-context @geriux
/lib/experimental/class-wp-rest-block-editor-settings-controller.php @timothybjacobs @spacedmonkey

# Native (Unowned)
*.native.js
Expand Down
28 changes: 16 additions & 12 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,29 @@ body:
validations:
required: false

- type: dropdown
- type: checkboxes
id: existing
attributes:
label: Please confirm that you have searched existing issues in the repo.
description: You can do this by searching https://github.com/WordPress/gutenberg/issues and making sure the bug is not related to another plugin.
multiple: true
options:
- 'Yes'
- 'No'
validations:
required: true
- label: 'Yes'
required: true

- type: dropdown
- type: checkboxes
id: plugins
attributes:
label: Please confirm that you have tested with all plugins deactivated except Gutenberg.
multiple: true
options:
- 'Yes'
- 'No'
validations:
required: true
- label: 'Yes'
required: true

- type: checkboxes
id: themes
attributes:
label: Please confirm which theme type you used for testing.
options:
- label: 'Block'
- label: 'Classic'
- label: 'Hybrid (e.g. classic with theme.json)'
- label: 'Not sure'
9 changes: 9 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 All @@ -20,3 +23,9 @@ https://github.com/WordPress/gutenberg/blob/trunk/CONTRIBUTING.md -->
<!-- How can you test the changes by using the keyboard only? Please note, this is required for PRs that change the user interface (UI). This ensures the PR can be tested for any possible accessibility regressions. -->

## Screenshots or screencast <!-- if applicable -->

<!-- If you would like to upload screenshots, feel free to use the table below when it is useful to show the difference between before and after the change. -->

|Before|After|
|-|-|
|<!-- Before screenshot here -->|<!-- After screenshot here -->|
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/*'
Loading