Skip to content

Commit 628efdb

Browse files
Merge release/26.8 into trunk (#22918)
* Keep JNA/UniFFI classes so wordpress-rs survives R8 in release builds (#22916) AGP 9's R8 strips the @com.sun.jna.Structure.FieldOrder annotation that wordpress-rs JNA bindings read reflectively at runtime, causing a launch crash in minified release builds. Keep the JNA classes, UniFFI bindings, and the annotation so native struct layouts still resolve. * Add temporary release notes * Merge release_notes/26.8 into release/26.8 (#22917) * Update WordPress `PlayStoreStrings.po` for version 26.8 * Update Jetpack `PlayStoreStrings.po` for version 26.8 * Update translations * Update translations * Update WordPress metadata translations for 26.8 * Update Jetpack metadata translations for 26.8 * Bump version number --------- Co-authored-by: Tony Li <tony.li@automattic.com>
1 parent 94fdf4f commit 628efdb

5 files changed

Lines changed: 27 additions & 27 deletions

File tree

WordPress/jetpack_metadata/PlayStoreStrings.po

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
msgid ""
22
msgstr ""
3-
"PO-Revision-Date: 2026-03-16 01:24+0000\n"
3+
"PO-Revision-Date: 2026-05-29 09:18+0000\n"
44
"MIME-Version: 1.0\n"
55
"Content-Type: text/plain; charset=UTF-8\n"
66
"Content-Transfer-Encoding: 8bit\n"
77
"Plural-Forms: nplurals=2; plural=n != 1;\n"
8-
"X-Generator: fastlane-plugin-wpmreleasetoolkit 14.0.0\n"
8+
"X-Generator: fastlane-plugin-wpmreleasetoolkit 14.6.0\n"
99

1010
#. translators: Title to be displayed in the Play Store. Limit to 30 characters including spaces and commas!
1111
msgctxt "play_store_app_title"
@@ -90,12 +90,9 @@ msgid ""
9090
"s!"
9191
msgstr ""
9292

93-
msgctxt "release_note_267"
93+
msgctxt "release_note_268"
9494
msgid ""
95-
"26.7:\n"
96-
"- We added the Traffic tab to the Stats area as an experimental feature.\n"
97-
"- Button colors are now consistent across different areas of the app.\n"
98-
"- We fixed an infinite loop that sometimes appeared when opening certain types"
99-
" of links.\n"
95+
"26.8:\n"
96+
"Bug fixes and improvements.\n"
10097
msgstr ""
10198

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
* [**] Resolved an issue where the editor could become impossible to exit when it failed to load.
2-
* [*] Atomic sites can now create application passwords without leaving the app.
3-
* [**] Fixed a case where the editor failed to load on WP.com Atomic sites whose host doesn't expose `wp-block-editor/v1/settings`.
4-
* [*] Editor now discovers the correct REST API root for sites with non-default API URLs.
5-
* [*] Try out the next-generation block editor on a per-site basis from Site Settings.
6-
* [**] The block inserter now opens as a native bottom sheet instead of a web-based menu.
1+
Bug fixes and improvements.

WordPress/metadata/PlayStoreStrings.po

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
msgid ""
22
msgstr ""
3-
"PO-Revision-Date: 2026-03-16 01:24+0000\n"
3+
"PO-Revision-Date: 2026-05-29 09:18+0000\n"
44
"MIME-Version: 1.0\n"
55
"Content-Type: text/plain; charset=UTF-8\n"
66
"Content-Transfer-Encoding: 8bit\n"
77
"Plural-Forms: nplurals=2; plural=n != 1;\n"
8-
"X-Generator: fastlane-plugin-wpmreleasetoolkit 14.0.0\n"
8+
"X-Generator: fastlane-plugin-wpmreleasetoolkit 14.6.0\n"
99

1010
#. translators: Title to be displayed in the Play Store. Limit to 30 characters including spaces and commas!
1111
msgctxt "play_store_app_title"
@@ -143,11 +143,9 @@ msgctxt "play_store_screenshot_9"
143143
msgid "Stay engaged with blogging reminders."
144144
msgstr ""
145145

146-
msgctxt "release_note_267"
146+
msgctxt "release_note_268"
147147
msgid ""
148-
"26.7:\n"
149-
"- Button colors are now consistent across different areas of the app.\n"
150-
"- We fixed an infinite loop that sometimes appeared when opening certain types"
151-
" of links.\n"
148+
"26.8:\n"
149+
"Bug fixes and improvements.\n"
152150
msgstr ""
153151

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
* [**] Resolved an issue where the editor could become impossible to exit when it failed to load.
2-
* [*] Atomic sites can now create application passwords without leaving the app.
3-
* [**] Fixed a case where the editor failed to load on WP.com Atomic sites whose host doesn't expose `wp-block-editor/v1/settings`.
4-
* [*] Editor now discovers the correct REST API root for sites with non-default API URLs.
5-
* [*] Try out the next-generation block editor on a per-site basis from Site Settings.
6-
* [**] The block inserter now opens as a native bottom sheet instead of a web-based menu.
1+
Bug fixes and improvements.

WordPress/proguard.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
# optimizations. Disable until reflection-safe keep rules are fully verified.
44
-dontoptimize
55

6+
###### wordpress-rs (JNA + UniFFI) - begin
7+
# wordpress-rs exposes its Rust API through UniFFI-generated JNA Structures
8+
# (e.g. uniffi.wp_api.RustBuffer). JNA reads the @Structure.FieldOrder annotation
9+
# reflectively at runtime to compute each native struct's field layout. AGP 9's R8
10+
# treats that annotation as unused and strips it during shrinking, so getFieldOrder()
11+
# returns empty and the app crashes on launch in minified release builds. Keep the
12+
# JNA classes, the UniFFI bindings, and the annotation so the layout still resolves.
13+
-keep class com.sun.jna.** { *; }
14+
-keep class * extends com.sun.jna.Structure { *; }
15+
-keepclassmembers class * extends com.sun.jna.Structure { *; }
16+
-keep,allowobfuscation @interface com.sun.jna.Structure$FieldOrder
17+
-keep @com.sun.jna.Structure$FieldOrder class * { *; }
18+
-keep class uniffi.** { *; }
19+
###### wordpress-rs (JNA + UniFFI) - end
20+
621
###### OkHttp - begin
722
-dontwarn okio.**
823
-dontwarn okhttp3.**

0 commit comments

Comments
 (0)