Repository navigation
build: update GutenbergKit to v0.20.0 - #23541
Conversation
Moves from the v0.20.0-alpha.3 prerelease to the stable release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Project dependencies changeslist! Upgraded Dependencies
org.wordpress.gutenbergkit:android:v0.20.0, (changed from v0.20.0-alpha.3)tree +--- project :libs:editor
-| \--- org.wordpress.gutenbergkit:android:v0.20.0-alpha.3
-| +--- org.jetbrains.kotlin:kotlin-parcelize-runtime:2.4.21 (*)
-| +--- androidx.core:core-ktx:1.16.0 (*)
-| +--- androidx.appcompat:appcompat:1.8.0 (*)
-| +--- com.google.android.material:material:1.14.0 (*)
-| +--- androidx.webkit:webkit:1.16.0 (*)
-| +--- com.google.code.gson:gson:2.15.0
-| | \--- com.google.errorprone:error_prone_annotations:2.50.0
-| +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.11.0 (*)
-| +--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.12.0
-| | \--- org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.12.0
-| | +--- org.jetbrains.kotlinx:kotlinx-serialization-bom:1.12.0 (*)
-| | +--- org.jetbrains.kotlin:kotlin-stdlib:2.4.10 -> 2.4.21 (*)
-| | \--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.12.0 (*)
-| +--- org.jsoup:jsoup:1.23.2 -> 1.24.1
-| +--- com.squareup.okhttp3:okhttp:5.5.1 (*)
-| +--- com.caverock:androidsvg-aar:1.4
-| +--- androidx.compose:compose-bom:2026.06.01
-| | +--- androidx.compose.animation:animation:1.11.4 (c)
-| | +--- androidx.compose.foundation:foundation:1.11.4 (c)
-| | +--- androidx.compose.foundation:foundation-layout:1.11.4 (c)
-| | +--- androidx.compose.material:material:1.11.4 (c)
-| | +--- androidx.compose.material:material-icons-extended:1.7.8 (c)
-| | +--- androidx.compose.material3:material3:1.4.0 (c)
-| | +--- androidx.compose.material3:material3-android:1.4.0 (c)
-| | +--- androidx.compose.material3.adaptive:adaptive:1.2.0 (c)
-| | +--- androidx.compose.runtime:runtime:1.11.4 (c)
-| | +--- androidx.compose.runtime:runtime-livedata:1.11.4 (c)
-| | +--- androidx.compose.runtime:runtime-saveable:1.11.4 (c)
-| | +--- androidx.compose.ui:ui:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-graphics:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-text:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-tooling:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-tooling-preview:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-unit:1.11.4 (c)
-| | +--- androidx.compose.animation:animation-core:1.11.4 (c)
-| | +--- androidx.compose.animation:animation-android:1.11.4 (c)
-| | +--- androidx.compose.foundation:foundation-android:1.11.4 (c)
-| | +--- androidx.compose.foundation:foundation-layout-android:1.11.4 (c)
-| | +--- androidx.compose.material:material-android:1.11.4 (c)
-| | +--- androidx.compose.material:material-icons-extended-android:1.7.8 (c)
-| | +--- androidx.compose.material:material-ripple:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-util:1.11.4 (c)
-| | +--- androidx.compose.material3.adaptive:adaptive-android:1.2.0 (c)
-| | +--- androidx.compose.runtime:runtime-android:1.11.4 (c)
-| | +--- androidx.compose.runtime:runtime-saveable-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-graphics-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-text-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-tooling-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-tooling-preview-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-unit-android:1.11.4 (c)
-| | +--- androidx.compose.animation:animation-core-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-util-android:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-geometry:1.11.4 (c)
-| | +--- androidx.compose.material:material-icons-core:1.7.8 (c)
-| | +--- androidx.compose.material:material-ripple-android:1.11.4 (c)
-| | +--- androidx.compose.runtime:runtime-annotation:1.11.4 (c)
-| | +--- androidx.compose.runtime:runtime-retain:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-tooling-data:1.11.4 (c)
-| | +--- androidx.compose.ui:ui-geometry-android:1.11.4 (c)
-| | +--- androidx.compose.material:material-icons-core-android:1.7.8 (c)
-| | +--- androidx.compose.runtime:runtime-annotation-android:1.11.4 (c)
-| | +--- androidx.compose.runtime:runtime-retain-android:1.11.4 (c)
-| | \--- androidx.compose.ui:ui-tooling-data-android:1.11.4 (c)
-| +--- androidx.compose.ui:ui -> 1.11.4 (*)
-| +--- androidx.compose.material3:material3 -> 1.4.0
-| | \--- androidx.compose.material3:material3-android:1.4.0
-| | +--- androidx.activity:activity-compose:1.8.2 -> 1.10.1 (*)
-| | +--- androidx.annotation:annotation:1.8.1 -> 1.11.0 (*)
-| | +--- androidx.annotation:annotation-experimental:1.4.1 -> 1.5.1 (*)
-| | +--- androidx.collection:collection:1.4.5 -> 1.6.0 (*)
-| | +--- androidx.compose.animation:animation-core:1.8.1 -> 1.11.4 (*)
-| | +--- androidx.compose.foundation:foundation:1.8.1 -> 1.11.4
-| | | \--- androidx.compose.foundation:foundation-android:1.11.4
-| | | +--- androidx.annotation:annotation:1.8.1 -> 1.11.0 (*)
-| | | +--- androidx.annotation:annotation-experimental:1.4.1 -> 1.5.1 (*)
-| | | +--- androidx.collection:collection:1.5.0 -> 1.6.0 (*)
-| | | +--- androidx.compose.animation:animation:1.11.4 (*)
-| | | +--- androidx.compose.foundation:foundation-layout:1.11.4 (*)
-| | | +--- androidx.compose.runtime:runtime:1.11.4 (*)
-| | | +--- androidx.compose.ui:ui:1.10.0 -> 1.11.4 (*)
-| | | +--- androidx.compose.ui:ui-text:1.10.0 -> 1.11.4 (*)
-| | | +--- androidx.compose.ui:ui-util:1.10.0 -> 1.11.4 (*)
-| | | +--- androidx.core:core:1.13.1 -> 1.16.0 (*)
-| | | +--- androidx.emoji2:emoji2:1.3.0 -> 1.4.0 (*)
-| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
-| | | \--- androidx.compose.foundation:foundation-layout:1.11.4 (c)
-| | +--- androidx.compose.foundation:foundation-layout:1.8.1 -> 1.11.4 (*)
-| | +--- androidx.compose.material:material-ripple:1.8.1 -> 1.11.4
-| | | \--- androidx.compose.material:material-ripple-android:1.11.4
-| | | +--- androidx.collection:collection:1.5.0 -> 1.6.0 (*)
-| | | +--- androidx.compose.animation:animation:1.7.1 -> 1.11.4 (*)
-| | | +--- androidx.compose.foundation:foundation:1.7.1 -> 1.11.4 (*)
-| | | +--- androidx.compose.runtime:runtime:1.11.4 (*)
-| | | +--- androidx.compose.ui:ui-util:1.7.1 -> 1.11.4 (*)
-| | | \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
-| | +--- androidx.compose.runtime:runtime:1.9.0 -> 1.11.4 (*)
-| | +--- androidx.compose.ui:ui:1.8.2 -> 1.11.4 (*)
-| | +--- androidx.compose.ui:ui-text:1.8.1 -> 1.11.4 (*)
-| | +--- androidx.compose.ui:ui-util:1.8.1 -> 1.11.4 (*)
-| | +--- androidx.lifecycle:lifecycle-common-java8:2.6.1 -> 2.11.0
-| | | +--- androidx.annotation:annotation:1.8.1 -> 1.11.0 (*)
-| | | +--- androidx.lifecycle:lifecycle-common:2.11.0 (*)
-| | | +--- androidx.lifecycle:lifecycle-common:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-livedata:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-livedata-core:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-livedata-core-ktx:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-livedata-ktx:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-process:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-runtime:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-runtime-compose:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-runtime-ktx:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-service:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-viewmodel:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-viewmodel-compose:2.11.0 (c)
-| | | +--- androidx.lifecycle:lifecycle-viewmodel-ktx:2.11.0 (c)
-| | | \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.11.0 (c)
-| | +--- org.jetbrains.kotlin:kotlin-stdlib -> 2.4.21 (*)
-| | \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 -> 2.4.21 (c)
-| +--- androidx.compose.material:material-icons-extended -> 1.7.8
-| | \--- androidx.compose.material:material-icons-extended-android:1.7.8
-| | +--- androidx.compose.material:material-icons-core:1.7.8
-| | | \--- androidx.compose.material:material-icons-core-android:1.7.8
-| | | +--- androidx.compose.ui:ui:1.6.0 -> 1.11.4 (*)
-| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 -> 2.4.21 (*)
-| | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 -> 2.4.21
-| | | \--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21 (*)
-| | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 -> 2.4.21 (*)
-| +--- androidx.activity:activity-compose:1.10.1 (*)
-| \--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21 (*)
+| \--- org.wordpress.gutenbergkit:android:v0.20.0
+| +--- org.jetbrains.kotlin:kotlin-parcelize-runtime:2.4.21 (*)
+| +--- androidx.core:core-ktx:1.16.0 (*)
+| +--- androidx.appcompat:appcompat:1.8.0 (*)
+| +--- com.google.android.material:material:1.14.0 (*)
+| +--- androidx.webkit:webkit:1.16.0 (*)
+| +--- com.google.code.gson:gson:2.15.0
+| | \--- com.google.errorprone:error_prone_annotations:2.50.0
+| +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.11.0 (*)
+| +--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.12.0
+| | \--- org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.12.0
+| | +--- org.jetbrains.kotlinx:kotlinx-serialization-bom:1.12.0 (*)
+| | +--- org.jetbrains.kotlin:kotlin-stdlib:2.4.10 -> 2.4.21 (*)
+| | \--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.12.0 (*)
+| +--- org.jsoup:jsoup:1.24.1
+| +--- com.squareup.okhttp3:okhttp:5.5.1 (*)
+| +--- com.caverock:androidsvg-aar:1.4
+| +--- androidx.compose:compose-bom:2026.06.01
+| | +--- androidx.compose.animation:animation:1.11.4 (c)
+| | +--- androidx.compose.foundation:foundation:1.11.4 (c)
+| | +--- androidx.compose.foundation:foundation-layout:1.11.4 (c)
+| | +--- androidx.compose.material:material:1.11.4 (c)
+| | +--- androidx.compose.material:material-icons-extended:1.7.8 (c)
+| | +--- androidx.compose.material3:material3:1.4.0 (c)
+| | +--- androidx.compose.material3:material3-android:1.4.0 (c)
+| | +--- androidx.compose.material3.adaptive:adaptive:1.2.0 (c)
+| | +--- androidx.compose.runtime:runtime:1.11.4 (c)
+| | +--- androidx.compose.runtime:runtime-livedata:1.11.4 (c)
+| | +--- androidx.compose.runtime:runtime-saveable:1.11.4 (c)
+| | +--- androidx.compose.ui:ui:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-graphics:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-text:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-tooling:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-tooling-preview:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-unit:1.11.4 (c)
+| | +--- androidx.compose.animation:animation-core:1.11.4 (c)
+| | +--- androidx.compose.animation:animation-android:1.11.4 (c)
+| | +--- androidx.compose.foundation:foundation-android:1.11.4 (c)
+| | +--- androidx.compose.foundation:foundation-layout-android:1.11.4 (c)
+| | +--- androidx.compose.material:material-android:1.11.4 (c)
+| | +--- androidx.compose.material:material-icons-extended-android:1.7.8 (c)
+| | +--- androidx.compose.material:material-ripple:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-util:1.11.4 (c)
+| | +--- androidx.compose.material3.adaptive:adaptive-android:1.2.0 (c)
+| | +--- androidx.compose.runtime:runtime-android:1.11.4 (c)
+| | +--- androidx.compose.runtime:runtime-saveable-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-graphics-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-text-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-tooling-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-tooling-preview-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-unit-android:1.11.4 (c)
+| | +--- androidx.compose.animation:animation-core-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-util-android:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-geometry:1.11.4 (c)
+| | +--- androidx.compose.material:material-icons-core:1.7.8 (c)
+| | +--- androidx.compose.material:material-ripple-android:1.11.4 (c)
+| | +--- androidx.compose.runtime:runtime-annotation:1.11.4 (c)
+| | +--- androidx.compose.runtime:runtime-retain:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-tooling-data:1.11.4 (c)
+| | +--- androidx.compose.ui:ui-geometry-android:1.11.4 (c)
+| | +--- androidx.compose.material:material-icons-core-android:1.7.8 (c)
+| | +--- androidx.compose.runtime:runtime-annotation-android:1.11.4 (c)
+| | +--- androidx.compose.runtime:runtime-retain-android:1.11.4 (c)
+| | \--- androidx.compose.ui:ui-tooling-data-android:1.11.4 (c)
+| +--- androidx.compose.ui:ui -> 1.11.4 (*)
+| +--- androidx.compose.material3:material3 -> 1.4.0
+| | \--- androidx.compose.material3:material3-android:1.4.0
+| | +--- androidx.activity:activity-compose:1.8.2 -> 1.10.1 (*)
+| | +--- androidx.annotation:annotation:1.8.1 -> 1.11.0 (*)
+| | +--- androidx.annotation:annotation-experimental:1.4.1 -> 1.5.1 (*)
+| | +--- androidx.collection:collection:1.4.5 -> 1.6.0 (*)
+| | +--- androidx.compose.animation:animation-core:1.8.1 -> 1.11.4 (*)
+| | +--- androidx.compose.foundation:foundation:1.8.1 -> 1.11.4
+| | | \--- androidx.compose.foundation:foundation-android:1.11.4
+| | | +--- androidx.annotation:annotation:1.8.1 -> 1.11.0 (*)
+| | | +--- androidx.annotation:annotation-experimental:1.4.1 -> 1.5.1 (*)
+| | | +--- androidx.collection:collection:1.5.0 -> 1.6.0 (*)
+| | | +--- androidx.compose.animation:animation:1.11.4 (*)
+| | | +--- androidx.compose.foundation:foundation-layout:1.11.4 (*)
+| | | +--- androidx.compose.runtime:runtime:1.11.4 (*)
+| | | +--- androidx.compose.ui:ui:1.10.0 -> 1.11.4 (*)
+| | | +--- androidx.compose.ui:ui-text:1.10.0 -> 1.11.4 (*)
+| | | +--- androidx.compose.ui:ui-util:1.10.0 -> 1.11.4 (*)
+| | | +--- androidx.core:core:1.13.1 -> 1.16.0 (*)
+| | | +--- androidx.emoji2:emoji2:1.3.0 -> 1.4.0 (*)
+| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
+| | | \--- androidx.compose.foundation:foundation-layout:1.11.4 (c)
+| | +--- androidx.compose.foundation:foundation-layout:1.8.1 -> 1.11.4 (*)
+| | +--- androidx.compose.material:material-ripple:1.8.1 -> 1.11.4
+| | | \--- androidx.compose.material:material-ripple-android:1.11.4
+| | | +--- androidx.collection:collection:1.5.0 -> 1.6.0 (*)
+| | | +--- androidx.compose.animation:animation:1.7.1 -> 1.11.4 (*)
+| | | +--- androidx.compose.foundation:foundation:1.7.1 -> 1.11.4 (*)
+| | | +--- androidx.compose.runtime:runtime:1.11.4 (*)
+| | | +--- androidx.compose.ui:ui-util:1.7.1 -> 1.11.4 (*)
+| | | \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.4.21 (*)
+| | +--- androidx.compose.runtime:runtime:1.9.0 -> 1.11.4 (*)
+| | +--- androidx.compose.ui:ui:1.8.2 -> 1.11.4 (*)
+| | +--- androidx.compose.ui:ui-text:1.8.1 -> 1.11.4 (*)
+| | +--- androidx.compose.ui:ui-util:1.8.1 -> 1.11.4 (*)
+| | +--- androidx.lifecycle:lifecycle-common-java8:2.6.1 -> 2.11.0
+| | | +--- androidx.annotation:annotation:1.8.1 -> 1.11.0 (*)
+| | | +--- androidx.lifecycle:lifecycle-common:2.11.0 (*)
+| | | +--- androidx.lifecycle:lifecycle-common:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-livedata:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-livedata-core:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-livedata-core-ktx:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-livedata-ktx:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-process:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-runtime:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-runtime-compose:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-runtime-ktx:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-service:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-viewmodel:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-viewmodel-compose:2.11.0 (c)
+| | | +--- androidx.lifecycle:lifecycle-viewmodel-ktx:2.11.0 (c)
+| | | \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.11.0 (c)
+| | +--- org.jetbrains.kotlin:kotlin-stdlib -> 2.4.21 (*)
+| | \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 -> 2.4.21 (c)
+| +--- androidx.compose.material:material-icons-extended -> 1.7.8
+| | \--- androidx.compose.material:material-icons-extended-android:1.7.8
+| | +--- androidx.compose.material:material-icons-core:1.7.8
+| | | \--- androidx.compose.material:material-icons-core-android:1.7.8
+| | | +--- androidx.compose.ui:ui:1.6.0 -> 1.11.4 (*)
+| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 -> 2.4.21 (*)
+| | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 -> 2.4.21
+| | | \--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21 (*)
+| | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 -> 2.4.21 (*)
+| +--- androidx.activity:activity-compose:1.10.1 (*)
+| \--- org.jetbrains.kotlin:kotlin-stdlib:2.4.21 (*)
-\--- org.wordpress.gutenbergkit:android:v0.20.0-alpha.3 (*)
+\--- org.wordpress.gutenbergkit:android:v0.20.0 (*) |
|
|
|
|
|
Claude found two "High" findings, the second of which is pre-existing:
|
…bergKit The exemption predates headless password creation for Atomic sites. Without it, a private Atomic site with no password opened the editor using the WordPress.com token, which GutenbergKit also sends to the site's own host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rgkit-v0.20.0 # Conflicts: # docs/USER-FACING-CHANGES.md
|
@nbradbury I believe 1. Missing GBK's demo app's practice of allowing I tested private sites without these domains and the editor functions as expected. 2. The site's own host receiving the WP.com token. The app editor logic requires an application password for non-WP.com Simple sites ( A note from researching item 2: private Atomic sites are currently exempt from the password requirement, but it's latent and incorrect logic. Site provisioning now creates an application password headlessly when the site is selected; I confirmed that on a private Atomic site. I've removed that exemption in this PR.
|


TL;DR
Upgrade to the latest GutenbergKit release, which primarily ensures the authorization header is only sent to the site's host.
Description
Updates GutenbergKit from
v0.20.0-alpha.3to the stablev0.20.0release.The only Android-facing breaking change since
alpha.3is wordpress-mobile/GutenbergKit#757: the editor now sends the site'sAuthorizationheader only to the site and its API root, plus any hosts the app names withsetAuthHeaderDomains. The app names none. GutenbergKit's docs suggest naming*.wp.comand*.files.wordpress.comfor WordPress.com sites, but testing found nothing that needs the token on those hosts, so WordPress.com sites send it only to the site andpublic-api.wordpress.com.Also removes the private Atomic exemption from the block editor's application password requirement. It dates from when the app couldn't create passwords for private sites (CMM-771, CMM-591); site provisioning now creates one headlessly when the site is selected. Without the exemption, the editor never sends the WordPress.com token to a private Atomic site's own host.
Additional AI-generated details
Why no auth header domains
On private WordPress.com sites, the editor loaded the same with and without
*.wp.comand*.files.wordpress.comnamed: plugin blocks, theme styles and images all appeared. That held with GutenbergKit's asset bundle re-downloaded from scratch, which is the native download those domains would govern. All 44 assets downloaded without the token.Naming
*.wp.comhas a cost. AnapiFetch( { url } )tos0.wp.comthen carries the token, which triggers a CORS preflight thats0.wp.comanswers with405, so the request fails. Without the token, the same request returns200.Private Atomic exemption
Tested on a private Atomic site with headless password creation forced to fail:
wpcomRest=true).403 private_site. It shows a generic error and closes.Follow-ups, not in this PR: create the password headlessly from that dialog, and fix its "self-hosted" copy and generic error.
Not covered: media served from
*.files.wordpress.com(the private test site serves media from its own host).Other changes since
alpha.3: iOS-only fixes, a fix to relayedXMLHttpRequestloadstarttiming, and build and dependency updates. The app already uses the okhttp (5.5.1) and jsoup (1.24.1) versions GutenbergKit expects.Testing instructions
Use a debug build of the Jetpack app. Enable Me → App Settings → Experimental Features → Experimental block editor, and turn on Site Settings → Use Block Editor for each test site. Enable My Site → Site Settings → Enable third-party blocks (beta), which may require performing a pull-to-refresh on My Site.
Tip
If newly marking a site as private, one must switch away from and back to the site in My Site to pick up the new status.
WordPress.com site (Simple, private):
Self-hosted site with an application password:
Atomic site (private, application password):
Atomic site (private, no application password yet):
🤖 Generated with Claude Code