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

Merge main back into fork #13

Merged
merged 256 commits into from
Jun 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
7e855e3
Env: Fix undefined `Source` type lint/type error (#22785)
sirreal Jun 1, 2020
52e423d
Align navigator widgets (icon, options) to top (#22790)
adamziel Jun 1, 2020
281464a
RNMobile: merge 1.29.0 release to master (#22768)
mchowning Jun 1, 2020
9b6fee5
[block-editor] fix readme syntax (#22809)
ljharb Jun 1, 2020
8f892e6
E2E Tests: Specify icon for block context test blocks (#22811)
aduth Jun 1, 2020
87fdc2c
Add Rich image editing capabilities to Gutenberg (#21024)
ajlende Jun 2, 2020
7518908
Fix JSDoc for __experimentalAddAnnotation (#22794)
ocean90 Jun 2, 2020
bf6ca54
Add icons for image tools, other, and update list icons (#22593)
jasmussen Jun 2, 2020
2116931
REST API: Update default values for fields in the block type schema (…
gziolo Jun 2, 2020
016a531
Dependency Extraction Webpack Plugin: Add types (#22498)
sirreal Jun 2, 2020
d09cbf9
[Navigation screen] Retain block IDs on save (#22739)
adamziel Jun 2, 2020
b79352e
[RNMobile] Fix displaying blocks with HTML anchor (#22604)
ceyhun Jun 2, 2020
89e3431
Blocks: Update default block categories (#19279)
aduth Jun 2, 2020
4ad2ed4
Enhancement: added ability to filter latest posts by author and to di…
pstonier Jun 2, 2020
9c4d9a5
Remove Andrew's codeowner notifications
aduth Jun 2, 2020
77fb18e
Trigger additional widget setup actions (#22807)
jorgefilipecosta Jun 2, 2020
ab878d5
Separate concerns in useNavigationBlocks (#22825)
adamziel Jun 2, 2020
df4bf4a
Take block data for Global Styles from block.json (#22698)
nosolosw Jun 3, 2020
eab88a7
Disable the navigator toolbar button on the experimental navigation s…
adamziel Jun 3, 2020
5eafc79
Update: Remove static defaults from complementary areas active area (…
jorgefilipecosta Jun 3, 2020
9a6e19b
Use Panel for navigation structure on small screens only (#22828)
adamziel Jun 3, 2020
c71126d
adds default text for appender (#22293)
draganescu Jun 3, 2020
ecbcae6
Cover: Add Padding Styles (#21492)
Jun 3, 2020
ee2905e
Block Navigator: Use default block appender (#22590)
noisysocks Jun 3, 2020
6e38764
Block Directory: Add list of installed blocks to pre-publish sidebar …
ryelle Jun 3, 2020
34aca74
[RNMobile] Support Theme Colors and Gradients (#22197)
chipsnyder Jun 3, 2020
6fd5b93
Add new package `@wordpress/lazy-import` for lazily installed package…
aduth Jun 3, 2020
655475a
Edit Site: Refactor business logic into store. (#22844)
epiqueras Jun 3, 2020
94f665e
wp-env: correct multisite support (#22613)
noahtallen Jun 4, 2020
338e253
Blocks: Skip null values returned from the server during registration…
gziolo Jun 4, 2020
ac64aca
Create Block: Integrate CSS import in JS with esnext template (#22727)
gziolo Jun 4, 2020
15a8f21
Add data-handle to all script tags in the admin. (#22721)
spacedmonkey Jun 4, 2020
aaccb9f
Rename BlockBreadcrumb to BlockSelectionButton (#22882)
talldan Jun 4, 2020
d6668b5
Compose: Bump react-resize-aware dependency to 3.0.1 (#22868)
aduth Jun 4, 2020
bee8d1a
Warn about open issues in milestone before starting release (#22764)
aduth Jun 4, 2020
8efd443
Meta Box Tutorial: Default to ESNext (#22748)
mkaz Jun 4, 2020
19fb4ae
Add transforms between the core widgets that have equivalent blocks (…
jorgefilipecosta Jun 4, 2020
b2ec648
Blocks: Avoid separate host matching constant for embeds (#13755)
aduth Jun 4, 2020
2f1a8e7
Image Block: add caption field to placeholder (#22295)
ellatrix Jun 4, 2020
ea9c463
Scripts: Split webpack loader rules for CSS and Sass files (#22786)
ocean90 Jun 4, 2020
a34d51b
CopyHandler: Fix unintended Copy override when copying from input or …
mcsf Jun 4, 2020
2320c04
ESLint Plugin/Scripts: Update ESLint and related deps to 7.1.0 (#22771)
ocean90 Jun 4, 2020
fc28252
Use Card instead of Panel for the block editor (#22827)
adamziel Jun 4, 2020
41e1051
Implement roving tabindex on the Image block (#22696)
diegohaz Jun 4, 2020
6bdb6fc
Fix: Legacy Widgets: Widgets with special chars on classname did not …
jorgefilipecosta Jun 4, 2020
394a21b
Refactor ImageSizeControl to functional components. (#22899)
torounit Jun 4, 2020
a623758
Fix font size picker reset button (#22896)
Soean Jun 4, 2020
32af450
Env: Remove unused options.hasTests param from JSDoc (#22911)
ocean90 Jun 4, 2020
d7ef8f1
Format library: Remove unused options.text param from JSDoc for creat…
ocean90 Jun 5, 2020
1490989
LinkControl - avoid showing "Recently updated" when there are no rece…
getdave Jun 5, 2020
8b949bf
Add link color picking in global styles (#22722)
jorgefilipecosta Jun 5, 2020
07b35e1
Fix items to have default cursor style (#22926)
getdave Jun 5, 2020
d4e2d90
add key to category select box. (#22904)
torounit Jun 5, 2020
e724276
Refactor BlockCompare block to use React hooks (#22909)
truchot Jun 5, 2020
5340282
Fix Custom select control component dropdown arrow spacing (#22925)
getdave Jun 5, 2020
6a90f56
Docs: Extend details about features integration with `theme.json` (#2…
gziolo Jun 5, 2020
23ef20f
Adds a heading to the block inserters tips (#22863) (#22898)
gaambo Jun 5, 2020
6622dd1
Add semantic headings to block inserter groups #22859 (#22903)
gaambo Jun 5, 2020
3e52a4d
Refactor FormFileUpload to use React hooks (#22894)
youknowriad Jun 5, 2020
1d0eecb
useSelect for block-title . (#22910)
torounit Jun 5, 2020
bf67748
Refactor AudioEdit block to use React hooks (#22901)
truchot Jun 5, 2020
15d2edd
Polish ImageSizeControl. (#22917)
ZebulanStanphill Jun 5, 2020
1f790bc
Clean up block padding rules for group block children (#22746)
kjellr Jun 5, 2020
68f62ad
revert - add selectionStart and selectionEnd to transientEdits (#22933)
dratwas Jun 5, 2020
7390563
Remove ifBlockEditSelected internal higher-order component (#22905)
aduth Jun 5, 2020
4bfcda9
Use React hooks for TabPanel component (#22906)
pkvillanueva Jun 5, 2020
0ab323a
Edit Site: Avoid dirtying un-customized templates on first load. (#22…
epiqueras Jun 5, 2020
5262790
Site Title Block: Add alignment and tag level support (#22843)
apeatling Jun 5, 2020
1969888
Remove jorgefilipecosta codeowner notifications
jorgefilipecosta Jun 5, 2020
a698810
initial improvement of reusable blocks documentation (#21843)
skorasaurus Jun 5, 2020
495ff0e
Try: removing the multi-block type check to make __experimentalConver…
gwwar Jun 5, 2020
bb93ee1
Allow unsupported blocks to be edited on mobile
etoledom Jun 5, 2020
e599435
Update triage to include release instructions (#22335)
annezazu Jun 5, 2020
a925928
Add mechanism to render complementary areas on edit site (#21430)
jorgefilipecosta Jun 5, 2020
710373b
Update block fixture README to use shorter friendlier version of comm…
talldan Jun 5, 2020
64c06cd
Make ToolbarButton API consistent (#22961)
diegohaz Jun 6, 2020
6874e51
Fix: Latest posts - display Author (#22937)
Soean Jun 6, 2020
4a945b0
Blocks: Add missing param docs for BlockContentProvider and registerB…
ocean90 Jun 6, 2020
a610923
Add caption split at end to all caption blocks (#22934)
ellatrix Jun 6, 2020
4dd2059
E2E Test Utils: Add missing param docs for createNewPost() (#22948)
ocean90 Jun 6, 2020
a9d2c1f
Edit Post: Add missing param docs for PluginBlockSettingsMenuItem and…
ocean90 Jun 6, 2020
ed80299
Interface: Add missing param docs for singleEnableItems() and multipl…
ocean90 Jun 6, 2020
dbb8cdb
Docs: Fix links for dynamic blocks page (#22945)
mkaz Jun 6, 2020
cce4eb9
Move ESNext to default view (#22973)
mkaz Jun 6, 2020
37c0a41
Core Data: Add missing param doc for saveEntityRecord() (#22966)
ocean90 Jun 6, 2020
defc1f1
Components: Add missing @param docs (#22971)
ocean90 Jun 6, 2020
4a94950
Upgrade Reakit (#22960)
diegohaz Jun 6, 2020
dac6b18
Block Editor: Update createBlockCompleter for @param rules (#22975)
mkaz Jun 6, 2020
c409b71
Block Editor: JSDoc warnings fix (#22976)
mkaz Jun 6, 2020
acc611f
Create Block: Enhancements for the upcoming npm release (#22978)
gziolo Jun 7, 2020
c96792a
Docs: Add code examples section (#22974)
mkaz Jun 7, 2020
ec79363
Scripts: Remove legacy env scripts and packages. (#22953)
epiqueras Jun 7, 2020
263aa2e
Fix readme (#22980)
Soean Jun 7, 2020
ba0e55c
Block Editor: Add missing @param docs (#22981)
mkaz Jun 7, 2020
858553e
Block Library: Add missing @param docs (#22982)
mkaz Jun 7, 2020
86c4a16
Update the block directory state to store the installing status per b…
StevenDufresne Jun 8, 2020
76a006b
Document link color (#22929)
nosolosw Jun 8, 2020
1a6fb1e
Block Editor: Remove internal withBlockEditContext (#22942)
aduth Jun 8, 2020
8521063
Fix Block Navigation Settings Menu keyboard navigation in Navigation …
talldan Jun 8, 2020
edbd8ae
Components: ToolbarButton use forwardRef. (#22970)
torounit Jun 8, 2020
7d1963f
Image: Add rich image editing option to experiments page (#22870)
ajlende Jun 8, 2020
bc51ec1
Bootstrap the architecture documentation (#22751)
youknowriad Jun 8, 2020
8a6171f
Fix dark menus in canvas, not in top toolbar (#22516)
jasmussen Jun 8, 2020
47cba86
Bump plugin version to 8.3.0-rc.1
oandregal Jun 8, 2020
05509fe
Implement roving tabindex on the header toolbar (#22354)
diegohaz Jun 8, 2020
2822c99
Add missing parenthesis (#22994)
nosolosw Jun 8, 2020
8c14843
Add block transform to transform preformatted block into code block. …
ocean90 Jun 8, 2020
2f3ea7b
Image: Update Rich Image Icons (#22819)
ajlende Jun 8, 2020
d58f258
Post Title Block: Add alignment and heading level support (#22872)
apeatling Jun 8, 2020
206c5f1
Image: Consolidate crop ratios (#22817)
ajlende Jun 8, 2020
6a63eb2
Image editing: use hooks (#23008)
ellatrix Jun 8, 2020
46b4161
Update post author block functionality and visual parity (#22877)
Addison-Stavlo Jun 8, 2020
1497b52
RNMobile - Insert a new Paragraph block when pressing Enter on end of…
SergioEstevao Jun 8, 2020
8ac2826
Image edit: avoid re-render on select (#23009)
ellatrix Jun 8, 2020
1f4645f
Show movers next to block switcher (#22673)
jasmussen Jun 9, 2020
5f1bf3e
Edit Site: Fix template lookup (#22954)
ockham Jun 9, 2020
e0b1d1d
Remove Gutenberg plugin's deprected APIs for version 8.3.0 (#23001)
youknowriad Jun 9, 2020
a139d70
Set ref correctly on inner blocks (#23016)
talldan Jun 9, 2020
c9bffda
Block: remove animation component so it is just a hook (#22936)
ellatrix Jun 9, 2020
aa46f40
Add style rule once (#23025)
nosolosw Jun 9, 2020
670d800
Edit Site: Fetch template parts in Template Switcher from REST API (#…
ockham Jun 9, 2020
1aff047
Better readme for the edit-navigation package (#23018)
adamziel Jun 9, 2020
47f4796
[Navigation screen] Only show appender for the currently selected blo…
adamziel Jun 9, 2020
f9d22b3
Enable multi select block attribute controls (#22470)
ellatrix Jun 9, 2020
a921fb3
Revert "Image Block: add caption field to placeholder (#22295)" (#23027)
ellatrix Jun 9, 2020
c53d36b
Handbook: update release docs (#23002)
nosolosw Jun 9, 2020
848b493
Edit Site: Add theme exporter. (#22922)
epiqueras Jun 9, 2020
2e92999
Remove navigator from the inspector (#23022)
adamziel Jun 10, 2020
2e814da
Cover Padding: Fix reset + hook namespace + Visualize on hover (#23041)
Jun 10, 2020
4e0a8e7
MediaReplaceFlow: improve error customization (#22995)
retrofox Jun 10, 2020
e9e3027
Image editing: use snackbar notifications (#23029)
ellatrix Jun 10, 2020
cd9bceb
Enable custom classnames on `<CustomSelectControl>` options (#23045)
getdave Jun 10, 2020
1337bb3
MediaPlaceholder: add onFilesPreUpload property (#23003)
retrofox Jun 10, 2020
c16dde2
package-lock.json: Update (#23052)
ockham Jun 10, 2020
d478d7c
Visual improvements to the block navigator (#22796)
adamziel Jun 10, 2020
355abf8
Edit Site: Fix Template Part Auto-draft creation (#23050)
ockham Jun 10, 2020
7567111
Navigation block - enable creation from existing WP Menus (#18869)
getdave Jun 10, 2020
f6e4673
Make link color control opt-in (#23049)
nosolosw Jun 10, 2020
c711a16
Fix use of gradient hooks (#23058)
SergioEstevao Jun 10, 2020
26363cf
Add plugins endpoints (#22454)
TimothyBJacobs Jun 10, 2020
2e9db83
Replacing the hardcoded value with variables, and ensuring the popove…
shaunandrews Jun 11, 2020
7887eb3
Fix undefined ref when attempting to move group blocks (#23084)
talldan Jun 11, 2020
1b62a97
Bump plugin version to 8.3.0
oandregal Jun 11, 2020
a63375c
remove padding inheritance on lists in editor-styles (#23080)
oxyc Jun 11, 2020
a0112fd
Block Directory: Uninstall unused block types (#22918)
ryelle Jun 11, 2020
2e639e4
Fix Typography panel rendering from style hooks (#22605)
Jun 11, 2020
44f4054
Block: move align wrapper out of Block element (#23089)
ellatrix Jun 11, 2020
992fe3b
Image block: split huge component (#23093)
ellatrix Jun 11, 2020
683e41d
Use a period at the end. (#23097)
Soean Jun 11, 2020
1fd4ed3
Image Edit: REST API Code Cleanup (#23037)
ajlende Jun 11, 2020
0a2ab46
remove child space in Tooltip. (#23019)
torounit Jun 11, 2020
e0453df
Simplify useImageSizes (#23091)
ellatrix Jun 11, 2020
7075e3a
Select Tool: Show block borders on `:hover` while using the Select to…
shaunandrews Jun 11, 2020
7bdf8d3
Remove volumes and networks in wp-env destroy (#23101)
noahtallen Jun 11, 2020
8dca7e9
Bug fix "Cannot read property 'end' of undefined" on babel-plugin-mak…
miya0001 Jun 12, 2020
f5efc30
Block API: Extend `register_block_type_from_metadata` to handle asset…
gziolo Jun 12, 2020
c8c2542
Image editing: move to image block (#23053)
ellatrix Jun 12, 2020
c0d5301
Try: Reduced inserter hover delay. (#23046)
jasmussen Jun 12, 2020
0d96318
Add i18n (#23099)
Soean Jun 12, 2020
d99dc47
Build: Replace "release" with "build" in script for building a packag…
ocean90 Jun 12, 2020
84df4bd
Consolidate disparate "copy block" actions (#23088)
ntsekouras Jun 12, 2020
46ff909
Use deny/allow list terminology (#23120)
nosolosw Jun 12, 2020
80841ef
Docs: Move ESNext as default code example (#23117)
mkaz Jun 12, 2020
830651a
Add check theme support is an array before indexing (#23104)
mkaz Jun 12, 2020
b30b0d4
Fix updateSlot missing from default SlotFillContext (#23108)
diegohaz Jun 13, 2020
5b38d71
Enqueue assets for rendered blocks only (#22754)
aduth Jun 13, 2020
f15b91c
RichText: rewrite with hooks (#23132)
ellatrix Jun 14, 2020
5ed6b58
Extract and refactor placeholder from navigation block edit function …
talldan Jun 15, 2020
567b159
Scripts: Fix style.css handling in the build and start commands (#23127)
gziolo Jun 15, 2020
6d1c6ef
Scripts: Clean up the build folder via clean-webpack-plugin (#23135)
ocean90 Jun 15, 2020
7a5562e
Scripts: Update stylelint dependencies to latest versions (#23114)
ocean90 Jun 15, 2020
1a6f316
Update changelog files
oandregal Jun 15, 2020
12ebd7c
chore(release): publish
oandregal Jun 15, 2020
85b37af
Scripts: Remove temporary workaround in ESLint config (#22915)
ocean90 Jun 15, 2020
aa838ec
uses the correct saving function to save menus (#23157)
draganescu Jun 15, 2020
9b8132d
Refactor ToggleControl to use functional component (#23116)
sc81 Jun 15, 2020
b950684
[RNMobile] Fix issues with gradients on Button Block and resetting th…
chipsnyder Jun 15, 2020
60ef323
Update wording: Images size => Image size in the gallery block view (…
enejb Jun 15, 2020
334ed49
Fix: Improve JSDoc comment in ESNext template in edit.js file (#23164)
gziolo Jun 15, 2020
dc83d63
Handbook: udpate docs for package release (#23162)
nosolosw Jun 15, 2020
9124907
Block Directory: Fix installing blocks (#23096)
TimothyBJacobs Jun 15, 2020
bca2518
Color Palette: Remove useless useCallback hook for color picker rende…
costasovo Jun 15, 2020
93d523b
Update changelog for @wordpress/scripts
gziolo Jun 15, 2020
db1c89b
chore(release): publish
gziolo Jun 15, 2020
b83f948
Packages: Add "gutenberg" to the list of keywords in package.json (#2…
gziolo Jun 15, 2020
23433a6
Add context property mapping to block registration (#23180)
noahtallen Jun 16, 2020
97e354d
Remove z-index from placeholder fieldset (#23152)
tellthemachines Jun 16, 2020
02490a4
Packages: Fix the changelong updater for initial npm release (#23166)
gziolo Jun 16, 2020
7f858e0
Navigation: Improve flow when creating from menu (#23187)
noisysocks Jun 16, 2020
aad6af7
Change Create Menu UI to use a Card instead of Panel (#23150)
talldan Jun 16, 2020
558b3a7
Scripts: Update changelog to remove unleased entries to Unreleased se…
ocean90 Jun 16, 2020
4a15a7e
ESLint plugin: Allow ESLint 7.x as peer dependency (#23190)
ocean90 Jun 16, 2020
78ea4fd
Create Block: Fix errors reported by CSS linter in ESNext template (#…
gziolo Jun 16, 2020
3f65d98
Fix plus. (#22704)
jasmussen Jun 16, 2020
5a9fa09
Polish: Unify subheadings style. (#23192)
jasmussen Jun 16, 2020
45593c3
Fix pixel shift for toggles. (#23191)
jasmussen Jun 16, 2020
4543363
Remove asterisk icon (#22855)
jasmussen Jun 16, 2020
988d3a0
Update the theme colors to rely on CSS variables (#23048)
youknowriad Jun 16, 2020
cb10e2d
Make the inserter scrolling and behavior adapt to the content changes…
youknowriad Jun 16, 2020
c663493
Refactor column block to use hooks (#23143)
oxyc Jun 16, 2020
8258f40
Refactor Media & Text to use functional components (#23102)
oxyc Jun 16, 2020
bd46c6f
FSE: Move initial template fetch to client (#23186)
noahtallen Jun 16, 2020
140a5e9
RichText: attempt to fix RTL e2e tests (#23203)
ellatrix Jun 16, 2020
c0ea950
Add template part previews to placeholder block (#22760)
Addison-Stavlo Jun 16, 2020
7433677
use var (#23221)
Addison-Stavlo Jun 16, 2020
c996134
Send contentInfo information when updating HTML. (#23115)
SergioEstevao Jun 16, 2020
d6c5c5b
Change MenuLocationsEditor to use a card instead of a panel (#23151)
talldan Jun 17, 2020
cd07005
Change select parent button styles (#23230)
ntsekouras Jun 17, 2020
7531814
Adapt the block switcher styles to the new Popover component (#23232)
youknowriad Jun 17, 2020
ca98385
[RNMobile] Add radial gradient infrastructure (#22493)
lukewalczak Jun 17, 2020
e4343d7
Support drag and drop in horizontal block lists and improve drop zone…
talldan Jun 17, 2020
81819c2
Testing: Add verification for Create Block to Continues Integration (…
gziolo Jun 17, 2020
df649c1
[Gutenberg Mobile] Add External Link support to React Native (#23090)
enejb Jun 17, 2020
29647c8
Implement roving tabindex on grouped blocks toolbars (#23216)
diegohaz Jun 17, 2020
f932b9a
Card: Enhance CardHeader and CardFooter with Flex (#22916)
Jun 17, 2020
1894d4b
Fix/plugin document setting panel name (#22763)
Jun 17, 2020
9c256e3
Upgrade Reakit to version 1.1.0 (#23236)
diegohaz Jun 17, 2020
a561cac
E2E Tests: Try to improve heading custom color stability (#23260)
noisysocks Jun 18, 2020
8828d9c
Block Library: Fix React does not recognize isSelected prop in Comple…
torounit Jun 18, 2020
e1a6a78
Inserter: Fix handling of child blocks (#23231)
noisysocks Jun 18, 2020
ef0704b
Remove/tweak dark light variables (#23229)
jasmussen Jun 18, 2020
9936625
[ Navigation Block ] Renamed navigation link title to Link (#23163)
draganescu Jun 18, 2020
69acbcf
Make the block grouping test more stable (#23266)
youknowriad Jun 18, 2020
8e185c9
Image editing: fix image size on crop (#23173)
ellatrix Jun 18, 2020
ad34192
Use correct package for importing useState in BoxControl examples (#2…
ocean90 Jun 18, 2020
7733aea
Button Component - remove isLarge prop (#23239)
rmorse Jun 18, 2020
f0628c7
Fix/navigation block dark style appender (#23165)
draganescu Jun 18, 2020
4ec8d4f
Fix block parent selector style (#23250)
diegohaz Jun 18, 2020
75176cd
Implement roving tabindex on the Embed block toolbar (#23278)
diegohaz Jun 18, 2020
0f55499
Implement roving tabindex on the Custom HTML block toolbar (#23277)
diegohaz Jun 18, 2020
095e9b1
Fix plus radius. (#23240)
jasmussen Jun 18, 2020
881b7f2
Fix template part switching instability (#23282)
youknowriad Jun 18, 2020
9f44f9f
Initialize the content size used in Popover computation (#23279)
youknowriad Jun 18, 2020
6b26cab
Rename architecture index to readme (#23242)
mkaz Jun 18, 2020
8335c7c
Implement roving tabindex on the table block toolbar (#23252)
diegohaz Jun 18, 2020
cbef072
Custom select control: don't announce external value changes (#22815)
tellthemachines Jun 18, 2020
09487c7
RichText: Add missing param docs for getActiveFormats() (#23160)
kishanjasani Jun 19, 2020
ca30617
Avoid overriding popover content padding (#23270)
youknowriad Jun 19, 2020
64b3ed3
[RNMobile][FIX] Columns block renders more than two columns in a row …
dratwas Jun 19, 2020
9a988cf
call isMultiSelecting and is NavigationMode selectors where needed (#…
youknowriad Jun 19, 2020
c33a5a5
Add context properties to block types REST endpoint (#22686)
aduth Jun 19, 2020
6f9217d
Update theme-support.md (#23310)
itsjusteileen Jun 19, 2020
d10ce4c
Use useLayoutEffect to compute the popover position (#23312)
youknowriad Jun 19, 2020
4b9fc09
[Navigation screen] Separate block navigator focus from the editor fo…
adamziel Jun 19, 2020
ad7eea3
Refactor header toolbar items to use @wordpress/data hooks (#23315)
diegohaz Jun 19, 2020
6359adc
Update modularity.md (#23322)
lukestramasonder Jun 19, 2020
b831891
Add auto-drafting for theme supplied template parts. (#23254)
Addison-Stavlo Jun 19, 2020
5e0b80a
Fix am / pm i18n's bug (#22963)
miminari Jun 20, 2020
9fae92f
Memoize useSelect callbacks on the header toolbar items (#23337)
diegohaz Jun 20, 2020
aaa0b32
Fix useBlockSync race condition (#23292)
youknowriad Jun 20, 2020
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ module.exports = {
'Avoid truthy checks on length property rendering, as zero length is rendered verbatim.',
},
],
// Temporarily converted to warning until all errors are resolved.
// See https://github.com/WordPress/gutenberg/pull/22771 for the eslint-plugin-jsdoc update.
'jsdoc/check-param-names': 'warn',
'jsdoc/require-param': 'warn',
},
overrides: [
{
Expand Down
48 changes: 24 additions & 24 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
/packages/core-data @youknowriad @nerrad
/packages/data @youknowriad @nerrad @coderkevin
/packages/redux-routine @youknowriad @nerrad
/packages/data-controls @nerrad @aduth
/packages/data-controls @nerrad

# Blocks
/packages/block-library @Soean @ajitbohra @jorgefilipecosta @talldan
/packages/block-library @Soean @ajitbohra @talldan
/packages/block-library/src/gallery @mkevins @pinarol
/packages/block-library/src/social-links @mkaz
/packages/block-library/src/social-link @mkaz

# Editor
/packages/annotations @atimmer @ellatrix
/packages/autop @aduth
/packages/autop
/packages/block-editor @youknowriad @ellatrix
/packages/block-serialization-spec-parser @dmsnell
/packages/block-serialization-default-parser @dmsnell
/packages/blocks @youknowriad @ellatrix @aduth
/packages/blocks @youknowriad @ellatrix
/packages/edit-post
/packages/editor
/packages/list-reusable-blocks @youknowriad
Expand Down Expand Up @@ -63,35 +63,35 @@
/packages/postcss-themes @youknowriad @ntwb @nerrad @ajitbohra
/packages/scripts @gziolo @ntwb @nerrad @ajitbohra
/packages/dependency-extraction-webpack-plugin @gziolo
/packages/prettier-config @ntwb @gziolo @aduth
/packages/prettier-config @ntwb @gziolo

# UI Components
/packages/components @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta @chrisvanpatten
/packages/compose @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta
/packages/element @youknowriad @ajitbohra @jaymanpandya @jorgefilipecosta
/packages/notices @ajitbohra @jaymanpandya @jorgefilipecosta
/packages/nux @ajitbohra @jaymanpandya @jorgefilipecosta
/packages/viewport @ajitbohra @jaymanpandya @jorgefilipecosta
/packages/components @youknowriad @ajitbohra @jaymanpandya @chrisvanpatten
/packages/compose @youknowriad @ajitbohra @jaymanpandya
/packages/element @youknowriad @ajitbohra @jaymanpandya
/packages/notices @ajitbohra @jaymanpandya
/packages/nux @ajitbohra @jaymanpandya
/packages/viewport @ajitbohra @jaymanpandya
/packages/base-styles
/packages/icons
/packages/primitives

# Utilities
/packages/a11y @youknowriad @aduth
/packages/blob @aduth
/packages/a11y @youknowriad
/packages/blob
/packages/date
/packages/deprecated @youknowriad @aduth
/packages/deprecated @youknowriad
/packages/dom @ellatrix
/packages/dom-ready @aduth
/packages/dom-ready
/packages/escape-html
/packages/html-entities
/packages/i18n @swissspidy
/packages/is-shallow-equal @aduth
/packages/is-shallow-equal
/packages/keycodes @talldan @ellatrix
/packages/priority-queue @youknowriad @aduth
/packages/token-list @aduth
/packages/url @talldan @aduth
/packages/wordcount @aduth
/packages/priority-queue @youknowriad
/packages/token-list
/packages/url @talldan
/packages/wordcount
/packages/warning
/packages/keyboard-shortcuts

Expand All @@ -100,13 +100,13 @@
/packages/plugins @gziolo @adamsilverstein

# Rich Text
/packages/format-library @ellatrix @jorgefilipecosta @daniloercoli @sergioestevao @etoledom
/packages/rich-text @ellatrix @jorgefilipecosta @daniloercoli @sergioestevao @etoledom
/packages/block-editor/src/components/rich-text @ellatrix @jorgefilipecosta @daniloercoli @sergioestevao @etoledom
/packages/format-library @ellatrix @daniloercoli @sergioestevao @etoledom
/packages/rich-text @ellatrix @daniloercoli @sergioestevao @etoledom
/packages/block-editor/src/components/rich-text @ellatrix @daniloercoli @sergioestevao @etoledom

# Project Management
/.github @youknowriad @mapk @karmatosed
/packages/project-management-automation @aduth
/packages/project-management-automation

# wp-env
/packages/env @epiqueras @noahtallen
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create Block

on:
push:
paths:
- 'packages/**'
- '!packages/**/test/**'
- '!packages/**/*.md'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install, build, format and lint
run: |
npm ci
npm run test:create-block
env:
CI: true
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ install:
- npm run build
- |
if [[ "$INSTALL_WORDPRESS" = "true" ]]; then
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php" } }' > .wp-env.override.json
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php", "WP_TESTS_EMAIL": "admin@example.org", "WP_TESTS_TITLE": "Test Blog" } }' > .wp-env.override.json
chmod -R 767 ./ # TODO: Possibly integrate in wp-env
npm run wp-env start
fi
- |
Expand Down Expand Up @@ -128,15 +129,12 @@ jobs:
- npm run test-unit:native -- --ci --maxWorkers=2 --cacheDirectory="$HOME/.jest-cache"

- name: PHP unit tests
env: WP_ENV_TESTS_PORT=8887 WP_ENV_PORT=8886 # TODO: Remove tests port when scripts/env is replaced with wp-env.
script:
- chmod -R 767 ./build
- npm run test-php && npm run test-unit-php-multisite

- name: PHP unit tests (PHP 5.6)
env: LOCAL_PHP=5.6-fpm WP_ENV_TESTS_PORT=8887 WP_ENV_PORT=8886 # TODO: Remove tests port when scripts/env is replaced with wp-env.
env: LOCAL_PHP=5.6-fpm
script:
- chmod -R 767 ./build
- npm run test-php && npm run test-unit-php-multisite

- name: E2E tests (Admin) (1/4)
Expand Down
2 changes: 1 addition & 1 deletion bin/build-plugin-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ warning () {
echo -e "\n${YELLOW_BOLD}$1${COLOR_RESET}\n"
}

status "💃 Time to release Gutenberg 🕺"
status "💃 Time to build the Gutenberg plugin ZIP file 🕺"

if [ -z "$NO_CHECKS" ]; then
# Make sure there are no changes in the working tree. Release builds should be
Expand Down
1 change: 0 additions & 1 deletion bin/packages/build-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const babel = require( '@babel/core' );
const makeDir = require( 'make-dir' );
const sass = require( 'node-sass' );
const postcss = require( 'postcss' );

/**
* Internal dependencies
*/
Expand Down
108 changes: 24 additions & 84 deletions bin/plugin/commands/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@
*/
const { groupBy, escapeRegExp, uniq } = require( 'lodash' );
const Octokit = require( '@octokit/rest' );
const { sprintf } = require( 'sprintf-js' );
const semver = require( 'semver' );

/**
* Internal dependencies
*/
const { getNextMajorVersion } = require( '../lib/version' );
const {
getMilestoneByTitle,
getIssuesByMilestone,
} = require( '../lib/milestone' );
const { log, formats } = require( '../lib/logger' );
const config = require( '../config' );
// @ts-ignore
Expand Down Expand Up @@ -98,22 +104,6 @@ const REWORD_TERMS = {
docs: 'documentation',
};

/**
* Given a SemVer-formatted version string, returns an assumed milestone title
* associated with that version.
*
* @see https://semver.org/
*
* @param {string} version Version string.
*
* @return {string} Milestone title.
*/
function getMilestone( version ) {
const [ major, minor ] = version.split( '.' );

return `Gutenberg ${ major }.${ minor }`;
}

/**
* Returns type candidates based on given issue label names.
*
Expand Down Expand Up @@ -346,72 +336,6 @@ function getEntry( issue ) {
: `- ${ title } ([${ issue.number }](${ issue.html_url }))`;
}

/**
* Returns a promise resolving to a milestone by a given title, if exists.
*
* @param {GitHub} octokit Initialized Octokit REST client.
* @param {string} owner Repository owner.
* @param {string} repo Repository name.
* @param {string} title Milestone title.
*
* @return {Promise<OktokitIssuesListMilestonesForRepoResponseItem|void>} Promise resolving to milestone, if exists.
*/
async function getMilestoneByTitle( octokit, owner, repo, title ) {
const options = octokit.issues.listMilestonesForRepo.endpoint.merge( {
owner,
repo,
} );

/**
* @type {AsyncIterableIterator<import('@octokit/rest').Response<import('@octokit/rest').IssuesListMilestonesForRepoResponse>>}
*/
const responses = octokit.paginate.iterator( options );

for await ( const response of responses ) {
const milestones = response.data;
for ( const milestone of milestones ) {
if ( milestone.title === title ) {
return milestone;
}
}
}
}

/**
* Returns a promise resolving to pull requests by a given milestone ID.
*
* @param {GitHub} octokit Initialized Octokit REST client.
* @param {string} owner Repository owner.
* @param {string} repo Repository name.
* @param {number} milestone Milestone ID.
*
* @return {Promise<IssuesListForRepoResponseItem[]>} Promise resolving to pull
* requests for the given
* milestone.
*/
async function getPullRequestsByMilestone( octokit, owner, repo, milestone ) {
const options = octokit.issues.listForRepo.endpoint.merge( {
owner,
repo,
milestone,
state: 'closed',
} );

/**
* @type {AsyncIterableIterator<import('@octokit/rest').Response<import('@octokit/rest').IssuesListForRepoResponse>>}
*/
const responses = octokit.paginate.iterator( options );

const pulls = [];

for await ( const response of responses ) {
const issues = response.data;
pulls.push( ...issues.filter( ( issue ) => issue.pull_request ) );
}

return pulls;
}

/**
* Returns a promise resolving to an array of pull requests associated with the
* changelog settings object.
Expand All @@ -438,7 +362,14 @@ async function fetchAllPullRequests( octokit, settings ) {
}

const { number } = milestone;
return getPullRequestsByMilestone( octokit, owner, repo, number );
const issues = await getIssuesByMilestone(
octokit,
owner,
repo,
number,
'closed'
);
return issues.filter( ( issue ) => issue.pull_request );
}

/**
Expand Down Expand Up @@ -516,7 +447,16 @@ async function getReleaseChangelog( options ) {
token: options.token,
milestone:
options.milestone === undefined
? getMilestone( getNextMajorVersion( manifest.version ) )
? // Disable reason: valid-sprintf applies to `@wordpress/i18n` where
// strings are expected to need to be extracted, and thus variables are
// not allowed. This string will not need to be extracted.
// eslint-disable-next-line @wordpress/valid-sprintf
sprintf( config.versionMilestoneFormat, {
...config,
...semver.parse(
getNextMajorVersion( manifest.version )
),
} )
: options.milestone,
} );
}
Expand Down
3 changes: 2 additions & 1 deletion bin/plugin/commands/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ async function updatePackageChangelogs(
// A version bump required. Found new changelog section.
if (
versionBump !== 'minor' &&
lineNormalized.startsWith( '### ' )
( lineNormalized.startsWith( '### ' ) ||
lineNormalized.startsWith( '- initial release' ) )
) {
versionBump = minimumVersionBump;
}
Expand Down
Loading