Repository navigation
build: update GutenbergKit to 0.20.0 - #26365
Merged
Merged
Conversation
1 task done
dcalhoun
force-pushed
the
build/update-gutenbergkit-0.20.0-alpha.3
branch
from
November 11, 2026 15:15
0a19d80 to
61ecf84
Compare
dcalhoun
marked this pull request as ready for review
November 11, 2026 17:30
crazytonyli
requested changes
Nov 12, 2026
crazytonyli
left a comment
Contributor
There was a problem hiding this comment.
See p1794464183408399-slack-C08UN8YN6KW
crazytonyli
approved these changes
Nov 12, 2026
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
force-pushed
the
build/update-gutenbergkit-0.20.0-alpha.3
branch
from
November 17, 2026 01:06
61ecf84 to
9c3b804
Compare
dcalhoun
force-pushed
the
build/update-gutenbergkit-0.20.0-alpha.3
branch
from
November 17, 2026 21:33
9c3b804 to
f8c1475
Compare
1 task done
…rgkit-0.20.0-alpha.3 # Conflicts: # Modules/Package.resolved
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
gbk-upload:URL scheme, and GutenbergKit uploads it to the site (fix: recover media uploads that fail server-side post-processing GutenbergKit#594). Previously the web view uploaded directly. Uploaded bytes are unchanged; large files no longer need to fit in memory.fetchand XHR requests are relayed natively over agbk-rest:URL scheme (fix: recover media uploads that fail server-side post-processing GutenbergKit#594, feat: send XMLHttpRequest requests through the REST relay GutenbergKit#849, fix: send the Blob and FormData bodies of synchronous relayed XMLHttpRequests GutenbergKit#852, feat: report the upload progress of relayed XMLHttpRequests GutenbergKit#855). Every request takes this path, with or without Lockdown Mode. The Lockdown Mode warning sheet is gone (refactor(ios)!: remove the Lockdown Mode warning sheet GutenbergKit#903).Authorizationheader only to the site, its API root, and hosts the app names (fix!: send the Authorization header only to the site and the hosts the app names GutenbergKit#757). The app names none, matching build: update GutenbergKit to v0.20.0 WordPress-Android#23541, so WordPress.com sites send it only to the site andpublic-api.wordpress.com.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
EditorViewController. With site credentials, GutenbergKit's own client delivers every upload over the scheme. Without them, the page uploads through the REST relay, which holds the file in memory.file://page loses its CORS exemption, so before this release even core's REST requests failed. The relay was added in feat(ios)!: move media uploads and REST requests onto URL schemes GutenbergKit#747, which landed on trunk squashed into fix: recover media uploads that fail server-side post-processing GutenbergKit#594.*.wp.comand*.files.wordpress.comfor WordPress.com sites. Android's testing found nothing that needs the token there: the web view's own requests never carry it, and the native asset download succeeds without it.lockdownMode*cases were removed fromEditorLocalizableString, so their app translations are removed too.What I ran
EditorConfigurationTests,EditorConfigurationPluginsTests,PostGBKEditorViewControllerTests:Test run with 28 tests in 3 suites passedJetpack 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
🤖 Generated with Claude Code