Skip to content

build: update GutenbergKit to 0.20.0 - #26365

Merged
dcalhoun merged 6 commits into
trunkfrom
build/update-gutenbergkit-0.20.0-alpha.3
Nov 19, 2026
Merged

dcalhoun merged 6 commits into
trunkfrom
build/update-gutenbergkit-0.20.0-alpha.3

Conversation

@dcalhoun

@dcalhoun dcalhoun commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Description

Updates GutenbergKit from 0.20.0-alpha.2 to 0.20.0.

Close CMM-2014. Close CMM-2155. Close CMM-2409.

This changes how the editor sends media uploads and its REST traffic:

Applying the app's Media settings to these uploads comes next, in a PR stacked on this one. It supersedes #25824.

Additional AI-generated details

What I ran

  • EditorConfigurationTests, EditorConfigurationPluginsTests, PostGBKEditorViewControllerTests: Test run with 28 tests in 3 suites passed

  • Jetpack app on iPhone simulators running iOS 27.2 and iOS 26.5, private WordPress.com Simple and Atomic sites: new and existing posts opened in the editor with no Lockdown Mode sheet, Jetpack blocks appeared in the inserter, theme styles applied, and a photo uploaded with an Image block's Upload button. Discarded the drafts.

  • Existing posts' images display on iOS 26 but not on iOS 27. TestFlight builds without this change show the same, so it predates this PR.

  • I built this change and ran the affected tests locally

Testing instructions

  1. Open a new post in the block editor on a WordPress.com site and on a self-hosted site with an application password.
  2. Add an Image block, upload a photo from the device, and verify it uploads and displays.
  3. Upload a video and a document (e.g. a PDF from Files), and verify each uploads.
  4. Select several photos at once and verify each uploads.
  5. Start a large video upload and remove its block mid-upload. Verify the editor stays usable.
  6. Verify the post saves and publishes with the uploaded media.
  7. On a private WordPress.com site, open an existing post. Verify plugin blocks (e.g. Jetpack) appear in the inserter and theme styles apply.
  8. On a device with Lockdown Mode on, open a post on a self-hosted site. Verify no Lockdown Mode sheet appears, its blocks and media load, then upload an image and verify it uploads.

🤖 Generated with Claude Code

@dcalhoun dcalhoun added this to the 27.5 milestone Nov 9, 2026
@dcalhoun dcalhoun added [Type] Task Gutenberg Editing and display of Gutenberg blocks. labels Nov 9, 2026
@dcalhoun
dcalhoun added this pull request to stack #26368 November 9, 2026 14:36
@dcalhoun
dcalhoun force-pushed the build/update-gutenbergkit-0.20.0-alpha.3 branch from 0a19d80 to 61ecf84 Compare November 11, 2026 15:15
@dcalhoun
dcalhoun marked this pull request as ready for review November 11, 2026 17:30
@dcalhoun
dcalhoun requested a review from crazytonyli November 11, 2026 17:30

@crazytonyli crazytonyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See p1794464183408399-slack-C08UN8YN6KW

dcalhoun and others added 5 commits November 16, 2026 18:24
Picks up native media uploads over the gbk-upload: scheme, the REST and
XHR relays, recovery of uploads that fail server-side post-processing,
and post type templates for new posts. Media processing comes separately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GutenbergKit 0.20.0-alpha.3 is the first version to relay the editor's requests natively, which Lockdown Mode requires.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Takes the stable release of the alpha.3 changes, plus scoped Authorization
headers, a caller token on the native schemes, per-item picker imports, and
removal of the Lockdown Mode warning sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GutenbergKit 0.20.0 reports when only some picked media fails to load or
insert. Without app strings these appear in English.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dcalhoun
dcalhoun force-pushed the build/update-gutenbergkit-0.20.0-alpha.3 branch from 61ecf84 to 9c3b804 Compare November 17, 2026 01:06
@dcalhoun dcalhoun changed the title build: update GutenbergKit to 0.20.0-alpha.3 build: update GutenbergKit to 0.20.0 Nov 17, 2026
@dcalhoun
dcalhoun force-pushed the build/update-gutenbergkit-0.20.0-alpha.3 branch from 9c3b804 to f8c1475 Compare November 17, 2026 21:33
…rgkit-0.20.0-alpha.3

# Conflicts:
#	Modules/Package.resolved
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ This PR is assigned to the milestone 27.5. This milestone is due in less than 4 days.
Please make sure to get it merged by then or assign it to a milestone with a later deadline.

Generated by 🚫 Danger

@dcalhoun
dcalhoun added this pull request to the merge queue Nov 19, 2026
Merged via the queue into trunk with commit ed87284 Nov 19, 2026
21 checks passed
@dcalhoun
dcalhoun deleted the build/update-gutenbergkit-0.20.0-alpha.3 branch November 19, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gutenberg Editing and display of Gutenberg blocks. [Type] Task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants