Skip to content

Release v1.12.37 - #3496

Merged
csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.12.37
Apr 10, 2026
Merged

csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.12.37

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Apr 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Version bump to 1.12.37 with platform-wide updates across Android, Flutter, Dart, Node.js, Rust, and Python SDKs
    • Updated critical dependencies: openfst v1.8.5 and onnxruntime 1.24.3 for Android platform support
    • FunASR Nano int8 model enhancements and improvements
    • Documentation corrections including README URL updates and package naming format fixes

@csukuangfj
csukuangfj marked this pull request as ready for review April 10, 2026 16:56
@coderabbitai

coderabbitai Bot commented Apr 10, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 42902244-0f5f-46ca-873a-9b2dea2eccd0

📥 Commits

Reviewing files that changed from the base of the PR and between 932f916 and 7e384b0.

📒 Files selected for processing (66)
  • CHANGELOG.md
  • CMakeLists.txt
  • android/SherpaOnnx/app/build.gradle
  • android/SherpaOnnx2Pass/app/build.gradle
  • android/SherpaOnnxAar/README.md
  • android/SherpaOnnxAudioTagging/app/build.gradle.kts
  • android/SherpaOnnxAudioTaggingWearOs/app/build.gradle.kts
  • android/SherpaOnnxJavaDemo/app/build.gradle
  • android/SherpaOnnxKws/app/build.gradle
  • android/SherpaOnnxSimulateStreamingAsr/app/build.gradle.kts
  • android/SherpaOnnxSimulateStreamingAsrWearOs/app/build.gradle.kts
  • android/SherpaOnnxSpeakerDiarization/app/build.gradle.kts
  • android/SherpaOnnxSpeakerIdentification/app/build.gradle.kts
  • android/SherpaOnnxSpokenLanguageIdentification/app/build.gradle.kts
  • android/SherpaOnnxTts/app/build.gradle
  • android/SherpaOnnxTtsEngine/app/build.gradle.kts
  • android/SherpaOnnxVad/app/build.gradle
  • android/SherpaOnnxVadAsr/app/build.gradle
  • android/SherpaOnnxWebSocket/app/build.gradle
  • build-ios-shared.sh
  • dart-api-examples/add-punctuations/pubspec.yaml
  • dart-api-examples/audio-tagging/pubspec.yaml
  • dart-api-examples/keyword-spotter/pubspec.yaml
  • dart-api-examples/non-streaming-asr/pubspec.yaml
  • dart-api-examples/speaker-diarization/pubspec.yaml
  • dart-api-examples/speaker-identification/pubspec.yaml
  • dart-api-examples/speech-enhancement-dpdfnet/pubspec.yaml
  • dart-api-examples/speech-enhancement-gtcrn/pubspec.yaml
  • dart-api-examples/spoken-language-identification/pubspec.yaml
  • dart-api-examples/streaming-asr/pubspec.yaml
  • dart-api-examples/streaming-speech-enhancement-dpdfnet/pubspec.yaml
  • dart-api-examples/streaming-speech-enhancement-gtcrn/pubspec.yaml
  • dart-api-examples/tts/pubspec.yaml
  • dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml
  • dart-api-examples/vad/pubspec.yaml
  • flutter-examples/non_streaming_vad_asr/pubspec.yaml
  • flutter-examples/streaming_asr/pubspec.yaml
  • flutter-examples/tts/pubspec.yaml
  • flutter/sherpa_onnx/pubspec.yaml
  • flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
  • flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
  • harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
  • harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
  • harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
  • harmony-os/SherpaOnnxSpeakerDiarization/entry/oh-package.json5
  • harmony-os/SherpaOnnxSpeakerIdentification/entry/oh-package.json5
  • harmony-os/SherpaOnnxStreamingAsr/entry/oh-package.json5
  • harmony-os/SherpaOnnxTts/entry/oh-package.json5
  • harmony-os/SherpaOnnxVadAsr/entry/README.md
  • harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5
  • jitpack.yml
  • mfc-examples/README.md
  • new-release.sh
  • nodejs-addon-examples/package.json
  • nodejs-examples/package.json
  • pom.xml
  • rust-api-examples/Cargo.toml
  • rust-api-examples/for-advanced-users.md
  • scripts/wheel/sherpa-onnx-bin/setup.py
  • scripts/wheel/sherpa-onnx-core/setup.py
  • setup.py
  • sherpa-onnx/csrc/version.cc
  • sherpa-onnx/rust/sherpa-onnx-sys/Cargo.toml
  • sherpa-onnx/rust/sherpa-onnx/Cargo.toml
  • sherpa-onnx/rust/sherpa-onnx/README.md
  • sherpa-onnx/rust/sherpa-onnx/src/lib.rs

📝 Walkthrough

Walkthrough

The PR updates the project version from 1.12.36 to 1.12.37 across the entire repository, including CMake configuration, Android Gradle files, iOS build scripts, Dart/Flutter package manifests, Rust crates, Python setuptools, HarmonyOS packages, and version metadata files. A changelog entry documenting dependency and documentation updates is added.

Changes

Cohort / File(s) Summary
Build System & Version Metadata
CMakeLists.txt, sherpa-onnx/csrc/version.cc
Updated core version constant and git metadata: SHERPA_ONNX_VERSION from 1.12.36 to 1.12.37, and git SHA, date strings updated in version functions.
Release Documentation
CHANGELOG.md, new-release.sh
Added changelog section for v1.12.37 documenting dependency/model updates; updated version replacement targets in release automation script.
Android Applications
android/SherpaOnnx*/app/build.gradle*
Incremented versionCode (20260408 → 20260411) and versionName (1.12.36 → 1.12.37) across all Android demo and app modules.
Android AAR & JitPack
android/SherpaOnnxAar/README.md, jitpack.yml
Updated tarball URLs and filenames to target v1.12.37 release; updated Maven install-file parameters for AAR version.
Dart API Examples
dart-api-examples/*/pubspec.yaml
Updated sherpa_onnx dependency constraint from ^1.12.36 to ^1.12.37 across all Dart example packages.
Flutter Examples
flutter-examples/*/pubspec.yaml
Updated package version and sherpa_onnx dependency from 1.12.36 to 1.12.37 in example manifests.
Flutter Packages
flutter/sherpa_onnx/pubspec.yaml, flutter/sherpa_onnx_*/\*.podspec
Updated Flutter package version and all platform-specific dependencies (android, ios, macos, linux, windows) to ^1.12.37; updated CocoaPods version strings.
HarmonyOS Packages
harmony-os/SherpaOnnx*/*/oh-package.json5, harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
Updated sherpa_onnx dependency versions and package version constants from 1.12.36 to 1.12.37; updated HAR archive filenames in README.
iOS Build & macOS
build-ios-shared.sh
Updated CFBundleShortVersionString in generated iOS framework Info.plist to 1.12.37.
Python Packages
setup.py, scripts/wheel/sherpa-onnx-*/setup.py, pom.xml
Updated package versions and dependency pins from 1.12.36 to 1.12.37 in setuptools and Maven configurations.
Rust Crates
sherpa-onnx/rust/sherpa-onnx*/Cargo.toml, rust-api-examples/Cargo.toml
Updated crate versions and interdependency versions to 1.12.37; updated README and src/lib.rs documentation.
Node.js Packages
nodejs-addon-examples/package.json, nodejs-examples/package.json
Updated sherpa-onnx and sherpa-onnx-node npm dependency versions to ^1.12.37.
Documentation & Examples
mfc-examples/README.md, rust-api-examples/for-advanced-users.md
Updated pre-built executable download URLs and dependency version strings in documentation from v1.12.36 to v1.12.37.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Release v1.12.34 #3425: Sequential release-version bump updating the same version constants and metadata across CMake, version.cc, Android manifests, and package files.
  • Release 1.12.11 #2547: Prior release-version bump performing identical updates to SHERPA_ONNX_VERSION, GetVersionStr, and all platform package manifests.
  • Release v1.12.32 #3387: Related release-version bump across CMakeLists, version.cc, Android/Flutter/HarmonyOS manifests, and documentation files.

Suggested labels

size:M

Poem

🐰 A version hop, from thirty-six to thirty-seven bright,
Through Android Gradle, Dart, and Rust in unified flight,
Each file a whisker twitch, each manifest a care,
From HarmonyOS to Flutter, everywhere!
Building better versions, with each release we share! 🚀

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 10, 2026
@csukuangfj
csukuangfj merged commit aa9019c into k2-fsa:master Apr 10, 2026
0 of 27 checks passed
@csukuangfj
csukuangfj deleted the release-v1.12.37 branch April 10, 2026 16:57

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request increments the project version from 1.12.36 to 1.12.37 across a wide range of files, including build configurations for Android, iOS, HarmonyOS, Rust, and Flutter. It also updates the changelog, release scripts, and internal versioning metadata. A review comment suggests a correction in the new-release.sh script to use a plain version string for the sed replacement variable, avoiding unnecessary escaping that could cause portability issues.

Comment thread new-release.sh
Comment on lines +8 to +9
old_version="1\.12\.36"
new_version="1\.12\.37"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The new_version variable contains escaped dots (e.g., 1\.12\.37). While escaping dots is necessary for the sed search pattern (regex) to match literal dots, it is unnecessary and potentially non-portable in the replacement string. Some sed implementations might preserve the backslashes literally in the output files. It is recommended to use a plain version string for the replacement.

Suggested change
old_version="1\.12\.36"
new_version="1\.12\.37"
old_version="1\.12\.36"
new_version="1.12.37"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant