Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
5682b92
Page view: Add link field control
gigitux Sep 10, 2024
98c65ea
Drag and Drop: When dragging a mix of video, audio, and image blocks,…
andrewserong Sep 11, 2024
da8f874
Disallow setting grid block rows/columns to zero (#65217)
talldan Sep 11, 2024
ec58c51
Image: Adds the block controls for uploading image. (#64320)
vipul0425 Sep 11, 2024
6a60081
Fix resizing to max width in classic themes (#64819)
kevin940726 Sep 11, 2024
2f939a7
Fix image block crash (#65222)
t-hamano Sep 11, 2024
e820a6c
Merge branch 'add/@wordpress-fields' of github.com:gigitux/gutenberg …
gigitux Sep 11, 2024
20ca80f
DatePicker: better hover/focus styles (#65117)
ciampo Sep 11, 2024
5daa582
Navigator Screen: warn if path doesn't follow a URL-like scheme (#65231)
ciampo Sep 11, 2024
3d5dacd
Populate block context with inherited post type from template slug (#…
SantosGuillamot Sep 11, 2024
b276647
Remove Warning and add notice for Navigation (#63921)
AKSHAT2802 Sep 11, 2024
f8a19eb
Build: Prepare build for more script modules (#65064)
sirreal Sep 11, 2024
30def0b
Merge branch 'add/@wordpress-fields' of github.com:gigitux/gutenberg …
gigitux Sep 11, 2024
0855668
move slug field control to @wordpress/fields package
gigitux Sep 11, 2024
0c0e605
Add @wordpress/fields package (#65230)
gigitux Sep 11, 2024
e1ad8c2
Improve Tabs indicator animation and related utils (#64926)
DaniGuardiola Sep 11, 2024
f1aa523
Fix Content Only Toolbar icon focus style (#64940)
jeryj Sep 11, 2024
a15a93d
Remove colons from control labels (#65205)
mirka Sep 11, 2024
8a7df39
Fix: Moving the last page item to the the trash causes a crash. (#65236)
jorgefilipecosta Sep 11, 2024
8a74d31
Normalize block inspector controls spacing (#64526)
mirka Sep 11, 2024
d5ab90a
Bump plugin version to 19.2.0
gutenbergplugin Sep 11, 2024
e9d31c2
Update Changelog for 19.2.0
gutenbergplugin Sep 11, 2024
f073eb1
Add the spacing for horizontal and vertical for block gap on buttons …
hbhalodia Sep 12, 2024
f1403c4
Plugin: Remove 'function_exists' checks for methods with 'gutenberg' …
Mamaduka Sep 12, 2024
d649865
Scripts: Update stylelint dependency and the default config (#64828)
mikeybinns Sep 12, 2024
0e671a2
Show top level sections in List View in Zoom Out mode (#65202)
getdave Sep 12, 2024
394288f
Add __next40pxDefaultSize for files in editor 4 (#65140)
AKSHAT2802 Sep 12, 2024
a76c475
Close inserter on exiting Zoom Out to edit (#65194)
getdave Sep 12, 2024
1a60dff
Make `wordpress/fields` a private package (#65269)
oandregal Sep 12, 2024
9bdfebf
Build Plugin: Simplify and improve zip contents (#65232)
sirreal Sep 12, 2024
bc60075
Merge branch 'trunk' of github.com:WordPress/gutenberg into add/link-…
gigitux Sep 12, 2024
f88e629
A11y: Add Script Module (#65101)
sirreal Sep 12, 2024
92661e7
Build Tooling: Correctly generate PHP files for server-side rendering…
t-hamano Sep 12, 2024
297e9ca
Form Input: Don't use `flex-direction: row-reverse` for checkbox fiel…
t-hamano Sep 12, 2024
33bdcbc
Remove babel from script-modules build (#65279)
sirreal Sep 12, 2024
3368298
Switch from UglifyJS to Terser to build the polyfill script (#65278)
jsnajdr Sep 12, 2024
0cbc7be
Fix typo in Slot Fills documentation (#65275)
greenworld Sep 12, 2024
a18d831
Add props for buttons in editor 2 (#65083)
AKSHAT2802 Sep 12, 2024
4c31695
Update: Remove unused css selectors. (#65276)
jorgefilipecosta Sep 12, 2024
67fe7b0
Add Zoom Out toggle to editor header when experiment enabled (#65183)
getdave Sep 12, 2024
eba5eb7
Block Bindings: Try gap 0 on attribute items. (#65277)
cbravobernal Sep 12, 2024
d329bfb
[Fields] Migrate store and actions from editor package to fields pack…
gigitux Sep 12, 2024
fb4ba26
Align popover alt variant styling with block toolbar (#65263)
jameskoster Sep 12, 2024
6d32f4f
BoxControl: Fix critical error when null value is passed (#65287)
t-hamano Sep 12, 2024
a895274
Add props for buttons in editor 1 (#65068)
AKSHAT2802 Sep 12, 2024
1664022
Grid: In RTL languages, the resize handles point in the opposite dire…
rohitmathur-7 Sep 13, 2024
632d8d6
Spacing control: Replace sides dropdwon with link button (#65193)
madhusudhand Sep 13, 2024
33e2fad
Styleling config: Fix stylelint config missing files for npm (#65313)
mikeybinns Sep 13, 2024
dfc28b0
Patterns: Change deprecated social icons for standard in e2e (#65312)
cbravobernal Sep 13, 2024
12660ca
DataViews: improve UX of bundled views for Pages (#65295)
oandregal Sep 13, 2024
b0abc74
Split content view with meta boxes (#64351)
stokesman Sep 13, 2024
9e88d86
Update minimum required version in PHP. (#65301)
peterwilsoncc Sep 13, 2024
257d26a
DimensionsPanel: Apply 40px default size to UI when no spacing preset…
t-hamano Sep 13, 2024
8a815ee
DataViews: Use Dropdown for views config dialog (#65314)
ntsekouras Sep 13, 2024
e102033
Block Editor: Use static access for selector in 'useZoomOutModeExit' …
Mamaduka Sep 13, 2024
1df91fb
Add: Typography styling support to the navigation submenu block. (#65…
jorgefilipecosta Sep 13, 2024
b10ca39
Editor: Use hooks instead of HoC in `BlockManager` (#65349)
t-hamano Sep 14, 2024
9f79666
Global Styles: refactor site background controls and move site global…
ramonjd Sep 16, 2024
45d33f0
Query loop / Post template: Enable post format filter (#64167)
carolinan Sep 16, 2024
ea0ea78
Put Replace in own group to give it borders (#64849)
jeryj Sep 16, 2024
d9e3075
Pass the comments query paged arg to functions (#63698)
SantosGuillamot Sep 16, 2024
38e74db
Add JSDoc block for getSectionRootClientId in block editor package (#…
colorful-tones Sep 16, 2024
4ca78cd
Fix Tabs styling in Font Library modal (#65330)
mirka Sep 16, 2024
c80fc61
Fix: Button: Replace remaining 40px default size violation [Edit Site…
hbhalodia Sep 16, 2024
edd4148
Convert EmbedPreview component to functional component (#51325)
louwie17 Sep 16, 2024
e2d7722
Update Card radius (#65053)
jameskoster Sep 16, 2024
2ac16e0
Docs: Update the content of the API version 3 section in the Block AP…
t-hamano Sep 16, 2024
c0e3ad8
Bump the react-native group across 1 directory with 2 updates (#65321)
dependabot[bot] Sep 16, 2024
788bb9e
DocumentBar: replace icon with post type label (#65170)
creativecoder Sep 17, 2024
46d898e
Global Styles: Update REST controller override method and backport ch…
Mamaduka Sep 17, 2024
d32a5b6
BoxControl: Add lint rule for 40px size prop usage (#65341)
mirka Sep 17, 2024
5b037d7
ButtonGroup: Fix story to show what the component does (#65336)
mirka Sep 17, 2024
1a23ed6
Image cropping: skip making an API request if there are no changes to…
andrewserong Sep 17, 2024
f82bc32
Add __next40pxDefaultSize for files in editor 3 (#65139)
AKSHAT2802 Sep 17, 2024
3a2f74f
Rename edit-post__fade-in-animation and unify keyframe definitions (#…
ciampo Sep 17, 2024
524516d
Add __next40pxDefaultSize for edit-widgets files (#65367)
dhruvang21 Sep 17, 2024
d95c35d
Merge branch 'trunk' of github.com:WordPress/gutenberg into add/link-…
gigitux Sep 17, 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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ module.exports = {
},
],
'no-restricted-syntax': [ 'error', ...restrictedSyntax ],
'jsdoc/check-tag-names': [
'error',
{
definedTags: [ 'jest-environment' ],
},
],
},
overrides: [
{
Expand Down Expand Up @@ -315,6 +321,7 @@ module.exports = {
...[
'BorderBoxControl',
'BorderControl',
'BoxControl',
'ComboboxControl',
'CustomSelectControl',
'DimensionControl',
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ jobs:
- uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c # v2.6.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/**/*.min.js,build/**/*.css}'
pattern: '{build/**/*.min.js,build/**/*.css,build-module/**/*.min.js}'
clean-script: 'distclean'
4 changes: 2 additions & 2 deletions .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Use desired version of Java
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0
with:
distribution: 'corretto'
java-version: '17'
Expand All @@ -47,7 +47,7 @@ jobs:
run: npm run native test:e2e:setup

- name: Gradle cache
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0

- name: AVD cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand Down
6 changes: 3 additions & 3 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@wordpress/stylelint-config/scss",
"extends": "@wordpress/stylelint-config/scss-stylistic",
"rules": {
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
Expand All @@ -21,7 +21,7 @@
}
],
"font-weight-notation": null,
"max-line-length": null,
"@stylistic/max-line-length": null,
"no-descending-specificity": null,
"property-disallowed-list": [
[ "order" ],
Expand All @@ -34,7 +34,7 @@
"value-keyword-case": null,
"scss/operator-no-unspaced": null,
"scss/selector-no-redundant-nesting-selector": null,
"scss/at-import-partial-extension": null,
"scss/load-partial-extension": null,
"scss/no-global-function-names": null,
"scss/comment-no-empty": null,
"scss/at-extend-no-missing-placeholder": null,
Expand Down
3 changes: 3 additions & 0 deletions backport-changelog/6.7/7314.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/7314

* https://github.com/WordPress/gutenberg/pull/64167
18 changes: 4 additions & 14 deletions bin/build-plugin-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,16 @@ npm run build
php bin/generate-gutenberg-php.php > gutenberg.tmp.php
mv gutenberg.tmp.php gutenberg.php

build_files=$(
ls build/*/*.{js,js.map,css,asset.php} \
build/block-library/blocks/*.php \
build/block-library/blocks/*/block.json \
build/block-library/blocks/*/*.{js,js.map,css,asset.php} \
build/edit-widgets/blocks/*/block.json \
build/widgets/blocks/*.php \
build/widgets/blocks/*/block.json \
build/style-engine/*.php \
)


# Generate the plugin zip file.
status "Creating archive... 🎁"
zip -r gutenberg.zip \
zip --recurse-paths --no-dir-entries \
gutenberg.zip \
gutenberg.php \
lib \
packages/block-serialization-default-parser/*.php \
post-content.php \
$build_files \
build \
build-module \
readme.txt \
changelog.txt \
README.md
Expand Down
19 changes: 16 additions & 3 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
== Changelog ==

= 19.2.0-rc.1 =

= 19.2.0 =

## Changelog

Expand Down Expand Up @@ -40,6 +39,12 @@
- Rely on `Text` component instead of `Truncate` in bindings panel. ([65007](https://github.com/WordPress/gutenberg/pull/65007))
- Remove `getPlaceholder` API and rely on `key` argument or source label. ([64910](https://github.com/WordPress/gutenberg/pull/64910))

#### Data Views
- Add: Reorder control at the field level on the new view configuration UI. ([64381](https://github.com/WordPress/gutenberg/pull/64381))
- Dataviews Filter search widget: Do not use Composite store. ([64985](https://github.com/WordPress/gutenberg/pull/64985))
- Dataviews list view: Do not use Composite store. ([64987](https://github.com/WordPress/gutenberg/pull/64987))
- Move bulk actions menu to the Footer, consolidate with floating toolbar and total items display. ([64268](https://github.com/WordPress/gutenberg/pull/64268))

#### Block Editor
- Add 'Reset' option to MediaReplaceFlow component. ([64826](https://github.com/WordPress/gutenberg/pull/64826))
- Block Patterns List: Do not use Composite store. ([64983](https://github.com/WordPress/gutenberg/pull/64983))
Expand Down Expand Up @@ -106,12 +111,14 @@

- Add safeguard to `mediaUploadMiddleware`. ([64843](https://github.com/WordPress/gutenberg/pull/64843))
- Allow multi-select on iOS Safari/touch devices. ([63671](https://github.com/WordPress/gutenberg/pull/63671))
- Core Data: Fix the 'query._fields' property check inside 'getEntityRecord' resolver. ([65079](https://github.com/WordPress/gutenberg/pull/65079))
- Fix Modify content-locked menu item not showing if the block is not selected. ([61605](https://github.com/WordPress/gutenberg/pull/61605))
- Fix editor error in Safari due to availability of checkVisibility method. ([65069](https://github.com/WordPress/gutenberg/pull/65069))
- Fix: Pagination arrows are pointing in the wrong direction in RTL languages. ([64962](https://github.com/WordPress/gutenberg/pull/64962))
- Footnotes: Only replace attribute if footnotes were detected. ([63935](https://github.com/WordPress/gutenberg/pull/63935))
- Paste: Fix image paste from Google Forms. ([64502](https://github.com/WordPress/gutenberg/pull/64502))
- Revert Focus pattern inserter search when activating zoom out inserter. ([64748](https://github.com/WordPress/gutenberg/pull/64748))
- Try: Update block warnings. ([64997](https://github.com/WordPress/gutenberg/pull/64997))

#### Block Library
- De-duplicate block toolbar icons for patterns. ([65054](https://github.com/WordPress/gutenberg/pull/65054))
Expand Down Expand Up @@ -175,6 +182,9 @@
#### Site Editor
- DataViews: Fix pattern title direction in RTL languages. ([64967](https://github.com/WordPress/gutenberg/pull/64967))

#### Typography
- Site Title, Post Title: Fix typography for blocks with `a` children. ([64911](https://github.com/WordPress/gutenberg/pull/64911))

#### NUX
- Fix visibility of the template Welcome Guide in the Site Editor. ([64789](https://github.com/WordPress/gutenberg/pull/64789))

Expand Down Expand Up @@ -223,6 +233,9 @@
- Add 'OPTIONS /page' to preloaded paths. ([64890](https://github.com/WordPress/gutenberg/pull/64890))
- Editor: Don't use selector shortcuts for the Site data. ([64884](https://github.com/WordPress/gutenberg/pull/64884))

#### Interactivity API
- Prevent calling `proxifyContext` with context proxies inside `wp-context`. ([65090](https://github.com/WordPress/gutenberg/pull/65090))

#### Block Library
- Media & Text: Don't use background-image. ([64981](https://github.com/WordPress/gutenberg/pull/64981))

Expand Down Expand Up @@ -353,7 +366,7 @@ The following PRs were merged by first-time contributors:

The following contributors merged PRs in this release:

@aaronrobertshaw @afercia @akasunil @Aljullu @andrewserong @atachibana @benoitchantre @carolinan @cbravobernal @ciampo @DAreRodz @dcalhoun @desrosj @dsas @ellatrix @fullofcaffeine @getdave @gziolo @Imran92 @imrraaj @jacobcassidy @jameskoster @jasmussen @jawadmalikdev @jeryj @jorgefilipecosta @jsnajdr @juanmaguitar @kevin940726 @lezama @Mamaduka @matiasbenedetto @mirka @noisysocks @ntsekouras @oandregal @ockham @ramonjd @richtabor @rithik56 @rohitmathur-7 @ryanwelcher @SantosGuillamot @scruffian @sgomes @shail-mehta @spacedmonkey @stokesman @swissspidy @t-hamano @talldan @tjcafferkey @tyxla
@aaronrobertshaw @afercia @akasunil @Aljullu @andrewserong @atachibana @benoitchantre @carolinan @cbravobernal @ciampo @DAreRodz @dcalhoun @desrosj @dsas @ellatrix @fullofcaffeine @getdave @gziolo @Imran92 @imrraaj @jacobcassidy @jameskoster @jasmussen @jawadmalikdev @jeryj @jorgefilipecosta @jsnajdr @juanmaguitar @kevin940726 @lezama @Mamaduka @matiasbenedetto @mirka @noisysocks @ntsekouras @oandregal @ockham @rafaelgallani @ramonjd @richtabor @rithik56 @rohitmathur-7 @ryanwelcher @SantosGuillamot @scruffian @sgomes @shail-mehta @spacedmonkey @stokesman @swissspidy @t-hamano @talldan @tjcafferkey @tyxla


= 19.1.0 =
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/block-api/block-api-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This document lists the changes made between the different API versions.

## Version 3 (>= WordPress 6.3)
- The post editor will be iframed if all registered blocks have a Block API version 3 or higher and the editor has no classic meta boxes below the blocks. Adding version 3 support means that the block should work inside an iframe, though the block may still be rendered outside the iframe if not all blocks support version 3.
- The post editor will be iframed if all registered blocks have a Block API version 3 or higher. Adding version 3 support means that the block should work inside an iframe, though the block may still be rendered outside the iframe if not all blocks support version 3.

## Version 2 (>= WordPress 5.6)

Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/block-api/block-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function Edit( props ) {
return (
<div>
<TextControl
label={ __( 'Record ID:' ) }
label={ __( 'Record ID' ) }
value={ recordId }
onChange={ ( val ) =>
setAttributes( { recordId: Number( val ) } )
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ Add a submenu to your navigation. ([Source](https://github.com/WordPress/gutenbe
- **Name:** core/navigation-submenu
- **Category:** design
- **Parent:** core/navigation
- **Supports:** interactivity (clientNavigation), ~~html~~, ~~reusable~~
- **Supports:** interactivity (clientNavigation), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:** description, id, isTopLevelItem, kind, label, opensInNewTab, rel, title, type, url

## Page Break
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/slotfills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ import { __ } from '@wordpress/i18n';
*/
const SiteEditorDocumentSettingPanel = () => {
// Retrieve information about the current post type.
const { isViewable } = useSelect( ( select ) => {
const isViewable = useSelect( ( select ) => {
const postTypeName = select( editorStore ).getCurrentPostType();
const postTypeObject = select( coreStore ).getPostType( postTypeName );

Expand Down
8 changes: 5 additions & 3 deletions gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
* Requires at least: 6.5
* Requires PHP: 7.2
* Version: 19.2.0-rc.1
* Version: 19.2.0
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand All @@ -15,6 +15,8 @@
### BEGIN AUTO-GENERATED DEFINES
defined( 'GUTENBERG_DEVELOPMENT_MODE' ) or define( 'GUTENBERG_DEVELOPMENT_MODE', true );
### END AUTO-GENERATED DEFINES
defined( 'GUTENBERG_MINIMUM_WP_VERSION' ) or define( 'GUTENBERG_MINIMUM_WP_VERSION', '6.5' );


gutenberg_pre_init();

Expand All @@ -26,7 +28,7 @@
function gutenberg_wordpress_version_notice() {
echo '<div class="error"><p>';
/* translators: %s: Minimum required version */
printf( __( 'Gutenberg requires WordPress %s or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ), '5.9' );
printf( __( 'Gutenberg requires WordPress %s or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ), GUTENBERG_MINIMUM_WP_VERSION );
echo '</p></div>';

deactivate_plugins( array( 'gutenberg/gutenberg.php' ) );
Expand Down Expand Up @@ -67,7 +69,7 @@ function gutenberg_pre_init() {
// Compare against major release versions (X.Y) rather than minor (X.Y.Z)
// unless a minor release is the actual minimum requirement. WordPress reports
// X.Y for its major releases.
if ( version_compare( $version, '5.9', '<' ) ) {
if ( version_compare( $version, GUTENBERG_MINIMUM_WP_VERSION, '<' ) ) {
add_action( 'admin_notices', 'gutenberg_wordpress_version_notice' );
return;
}
Expand Down
Loading