diff --git a/packages/moonshine.rn/CHANGELOG.md b/packages/moonshine.rn/CHANGELOG.md index 9372074bf..554b61a28 100644 --- a/packages/moonshine.rn/CHANGELOG.md +++ b/packages/moonshine.rn/CHANGELOG.md @@ -7,14 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Fixed - -- The podspec's slice-selection phase now runs on every build. Xcode used to skip it once `prebuilt/ios/current` existed, so an xcframework update or a simulator/device switch kept linking the previous library. - -## [0.4.2-beta.0] - 2026-10-31 +## [0.4.2] - 2026-11-07 ### Fixed +- The podspec's slice-selection phase now runs on every build. Xcode used to skip it once `prebuilt/ios/current` existed, so an xcframework update or a simulator/device switch kept linking the previous library. - iOS: the xcframework's embedded ONNX Runtime 1.23 exported global `Ort*` symbols. In apps that also link Sherpa, these shadowed Sherpa's runtime, and Sherpa 2.x (ORT API 28) crashed on its first model load. `scripts/build-isolated-ios-xcframework.sh` rebuilds the 0.4.1 asset so it exports only `_moonshine_*`, and `moonshineArtifacts.ios.xcframeworkSha256` pins that asset. The installer downloads it from this release's `Moonshine.xcframework.zip`; the Android AAR is unchanged from 0.4.1. ## [0.4.1] - 2026-08-25 @@ -119,8 +116,8 @@ Long-streaming release focused on keeping Moonshine transcription memory bounded - Moonshine RN package with iOS, Android, and web transcription support, source-built native tooling, offline progress events, and word timestamp parity fixes. - Beta release plan and external consumer validation checklist. -[unreleased]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.2-beta.0...HEAD -[0.4.2-beta.0]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.1...@siteed/moonshine.rn@0.4.2-beta.0 +[unreleased]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.2...HEAD +[0.4.2]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.1...@siteed/moonshine.rn@0.4.2 [0.4.1]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.1-beta.2...@siteed/moonshine.rn@0.4.1 [0.4.1-beta.2]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.1-beta.1...@siteed/moonshine.rn@0.4.1-beta.2 [0.4.1-beta.1]: https://github.com/deeeed/audiolab/compare/@siteed/moonshine.rn@0.4.1-beta.0...@siteed/moonshine.rn@0.4.1-beta.1 diff --git a/packages/moonshine.rn/package.json b/packages/moonshine.rn/package.json index 3f4cb2d40..2013c4c39 100644 --- a/packages/moonshine.rn/package.json +++ b/packages/moonshine.rn/package.json @@ -1,6 +1,6 @@ { "name": "@siteed/moonshine.rn", - "version": "0.4.2-beta.0", + "version": "0.4.2", "description": "React Native wrapper for Moonshine Voice on-device transcription", "source": "./src/index.ts", "main": "./lib/commonjs/index.js", diff --git a/packages/sherpa-onnx.rn/CHANGELOG.md b/packages/sherpa-onnx.rn/CHANGELOG.md index e0c720625..9897e1b6f 100644 --- a/packages/sherpa-onnx.rn/CHANGELOG.md +++ b/packages/sherpa-onnx.rn/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1] - 2026-11-07 + +### Migration + +- iOS apps that also link `@siteed/moonshine.rn` must use `@siteed/moonshine.rn >= 0.4.2`. Its isolated xcframework keeps Moonshine's ONNX Runtime symbols private so Sherpa can use ONNX Runtime 1.28.2. Moonshine 0.4.1 exports conflicting `Ort*` symbols and crashes Sherpa on model load. In an Audiolab checkout, run `yarn ios:ort:check` to check the native artifacts before building the app. + +### Changed + +- Document the stable Moonshine version required for iOS coexistence. The vendored sherpa-onnx version remains 2.0.1 with ONNX Runtime 1.28.2; this patch adds no Sherpa runtime changes. + ## [2.0.0] - 2026-11-02 ### Migration @@ -242,7 +252,8 @@ First stable release — production-proven via the [Sherpa Voice](https://deeeed ## [0.1.0] - 2025-03-04 - Initial development release -[unreleased]: https://github.com/deeeed/audiolab/compare/@siteed/sherpa-onnx.rn@2.0.0...HEAD +[unreleased]: https://github.com/deeeed/audiolab/compare/@siteed/sherpa-onnx.rn@2.0.1...HEAD +[2.0.1]: https://github.com/deeeed/audiolab/compare/@siteed/sherpa-onnx.rn@2.0.0...@siteed/sherpa-onnx.rn@2.0.1 [2.0.0]: https://github.com/deeeed/audiolab/compare/@siteed/sherpa-onnx.rn@1.3.1...@siteed/sherpa-onnx.rn@2.0.0 [1.3.2-beta.0]: https://github.com/deeeed/audiolab/compare/@siteed/sherpa-onnx.rn@1.3.1...@siteed/sherpa-onnx.rn@1.3.2-beta.0 [1.3.1]: https://github.com/deeeed/audiolab/compare/@siteed/sherpa-onnx.rn@1.3.0...@siteed/sherpa-onnx.rn@1.3.1 diff --git a/packages/sherpa-onnx.rn/README.md b/packages/sherpa-onnx.rn/README.md index 6d4dc9bab..830fa7341 100644 --- a/packages/sherpa-onnx.rn/README.md +++ b/packages/sherpa-onnx.rn/README.md @@ -267,6 +267,12 @@ yarn install ### Using Sherpa with Moonshine or another ONNX Runtime package +If your iOS app links both `@siteed/sherpa-onnx.rn` and +`@siteed/moonshine.rn`, use `@siteed/moonshine.rn >= 0.4.2`. Its isolated +xcframework keeps Moonshine's ONNX Runtime symbols private so Sherpa can use +ONNX Runtime 1.28.2 without a model-load crash. In an Audiolab checkout, run +`yarn ios:ort:check` to check the native artifacts before building the app. + If your Expo Android app installs both `@siteed/sherpa-onnx.rn` and `@siteed/moonshine.rn`, use Moonshine's default isolated Android artifact. Sherpa keeps `libonnxruntime.so`, while Moonshine loads diff --git a/packages/sherpa-onnx.rn/package.json b/packages/sherpa-onnx.rn/package.json index 34a024a83..2b4f8696e 100644 --- a/packages/sherpa-onnx.rn/package.json +++ b/packages/sherpa-onnx.rn/package.json @@ -1,6 +1,6 @@ { "name": "@siteed/sherpa-onnx.rn", - "version": "2.0.0", + "version": "2.0.1", "sherpaOnnxVersion": "2.0.1", "description": "React Native wrapper for sherpa-onnx TTS and STT capabilities", "source": "./src/index.tsx",