From 32c4af1eed4b06021e984a57c19bf54331e6ac3e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 5 Sep 2026 06:42:02 +0000 Subject: [PATCH] chore(release): v9.5.1 Patch for the Android old-architecture NativeModule load fix and the RN-version install table (#385). Co-authored-by: plrthink --- CHANGELOG.md | 4 +++- MIGRATION.md | 11 +++++++++++ package.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 101cb5b..27e5847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ ## [Unreleased] +## [9.5.1] - 2026-09-05 + ### Fixed -- Android: register as a legacy Native Module when New Architecture is off (`isTurboModule` follows `BuildConfig.IS_NEW_ARCHITECTURE_ENABLED`) so `NativeModules.RNZipArchive` is non-null on old-arch apps (RNZA-5) +- Android: register as a legacy Native Module when New Architecture is off (`isTurboModule` follows `BuildConfig.IS_NEW_ARCHITECTURE_ENABLED`) so `NativeModules.RNZipArchive` is non-null on old-arch apps (RNZA-5, #385) ### Added - CI: RN 0.81.6 old-architecture Android + iOS compile in `.github/workflows/old-arch.yml` (RNZA-5). RN 0.82+ cannot opt out of New Architecture. diff --git a/MIGRATION.md b/MIGRATION.md index f8370cb..eec34f1 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -27,6 +27,17 @@ Working examples: [playground-expo](./playground-expo/) and [playground-rn](./pl Old-arch proof is compile + link on RN **0.81.6** (`.github/workflows/old-arch.yml`), not device Maestro. See the [README matrix](./README.md#old-architecture-rn-070081). +## v9.5.1 + +Android old-architecture load fix. JavaScript call sites are unchanged. Native rebuild required. + +```bash +npm install react-native-zip-archive@^9.5.1 +cd ios && pod install && cd .. +``` + +Stay on `^7.0.0` only for RN **< 0.70**. On 0.70–0.81, old architecture works. On 0.82+, New Architecture is the only option. + ## v9.5 Additive JavaScript APIs. Existing positional `zip` / `unzip` calls are unchanged. diff --git a/package.json b/package.json index 4618e01..fdbf970 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-zip-archive", - "version": "9.5.0", + "version": "9.5.1", "description": "Zip and unzip files in React Native and Expo (iOS & Android)", "main": "index.js", "types": "index.d.ts",