Skip to content

Release v1.12.36#3488

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

Release v1.12.36#3488
csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.12.36

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Released version 1.12.36. Synchronized version metadata and dependency references across all supported platforms, build systems, and package managers (Android, iOS, Flutter, Dart, Rust, Node.js, Python) to ensure consistency and compatibility throughout the product ecosystem.

@coderabbitai

coderabbitai Bot commented Apr 8, 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: 17498d7b-adfb-4199-a1a7-46399f8b6aad

📥 Commits

Reviewing files that changed from the base of the PR and between ea87a22 and 92c5988.

📒 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

This PR is a version release bump from 1.12.35 to 1.12.36, updating version metadata, build codes, and version strings consistently across the entire project including CMake configuration, Android applications, iOS framework, Flutter/Dart packages, Rust crates, Python wheels, and Harmony OS packages.

Changes

Cohort / File(s) Summary
Release Notes
CHANGELOG.md
Added release section documenting v1.12.36 changes including Android arm64 targeting, ONNX Runtime session initialization updates, riscv64-spacemit package updates, and Qwen3-ASR fixes.
Build Configuration
CMakeLists.txt, pom.xml, jitpack.yml
Updated SHERPA_ONNX_VERSION from 1.12.35 to 1.12.36; Maven project and JitPack artifact versions bumped accordingly.
Android Application Versions
android/SherpaOnnx/app/build.gradle, android/SherpaOnnx2Pass/app/build.gradle, 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
Updated versionCode from 20260403 to 20260408 and versionName from 1.12.35 to 1.12.36 across all Android demo applications.
Android Android Package & Documentation
android/SherpaOnnxAar/README.md, android/SherpaOnnxJavaDemo/app/build.gradle, android/SherpaOnnxSimulateStreamingAsrWearOs/app/build.gradle.kts
Updated AAR artifact download/extraction references and sherpa-onnx dependency imports from v1.12.35 to v1.12.36.
iOS Framework
build-ios-shared.sh
Updated CFBundleShortVersionString in Info.plist from 1.12.35 to 1.12.36 for iOS framework generation.
Flutter/Dart Package Examples
dart-api-examples/*/pubspec.yaml, flutter-examples/*/pubspec.yaml, flutter/sherpa_onnx/pubspec.yaml, nodejs-addon-examples/package.json, nodejs-examples/package.json
Updated sherpa_onnx dependency version constraints from ^1.12.35 to ^1.12.36 across all Dart/Flutter example projects and Node.js packages.
Flutter Platform Integration
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec, flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
Updated CocoaPods podspec version from 1.12.35 to 1.12.36 for iOS and macOS platform integrations.
Harmony OS
harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets, harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5, harmony-os/SherpaOnnxHar/sherpa_onnx/README.md, 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/...
Updated HAR_VERSION constant, oh-package.json5 dependency versions, and documentation references from 1.12.35 to 1.12.36.
Release Automation
new-release.sh
Updated script variables: old_version_code (20260326→20260403), new_version_code (20260403→20260408), old_version (1.12.34→1.12.35), new_version (1.12.35→1.12.36) for subsequent automated version bump runs.
Python Packaging
setup.py, scripts/wheel/sherpa-onnx-bin/setup.py, scripts/wheel/sherpa-onnx-core/setup.py
Updated sherpa-onnx-core dependency pinning from 1.12.35 to 1.12.36 and package versions in wheel setup configurations.
Rust Crates
sherpa-onnx/rust/sherpa-onnx-sys/Cargo.toml, sherpa-onnx/rust/sherpa-onnx/Cargo.toml, rust-api-examples/Cargo.toml
Updated Rust crate versions from 1.12.35 to 1.12.36 and aligned internal dependency versions.
Rust Documentation
sherpa-onnx/rust/sherpa-onnx/README.md, sherpa-onnx/rust/sherpa-onnx/src/lib.rs, rust-api-examples/for-advanced-users.md
Updated documented Rust dependency examples and GitHub release archive references from v1.12.35 to v1.12.36.
Version Source
sherpa-onnx/csrc/version.cc
Updated hardcoded version metadata: Git date (Fri Apr 3 11:37:59 2026 → Wed Apr 8 20:41:40 2026), Git SHA1 (3fabf525459ad1), and version string (1.12.35 → 1.12.36).
Documentation
mfc-examples/README.md
Updated pre-built executable download URLs for MFC examples to target v1.12.36 release artifacts.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • Release v1.12.35 #3467: Previous version release bump PR advancing from v1.12.34→v1.12.35, modifying the same set of version files and following identical patterns across CMakeLists, Android Gradle files, and source version constants.
  • Release v1.12.34 #3425: Another release version bump PR updating SHERPA_ONNX_VERSION, sherpa-onnx/csrc/version.cc metadata, and platform package manifests across the repository.
  • Release v1.12.22 #3048: Release bump PR updating the same version artifacts including CMakeLists.txt SHERPA_ONNX_VERSION and Git metadata literals in sherpa-onnx/csrc/version.cc.

Poem

🐰 A bunny's whisker twitch with glee,
From thirty-five to thirty-six we see,
Each version string and code aligned,
A happy hop through every find!
🥕 The release is bumped, all uniform and bright,
Consistency hops through the codebase tonight!

✨ 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.

@csukuangfj csukuangfj marked this pull request as ready for review April 8, 2026 12:52
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 8, 2026
@csukuangfj csukuangfj merged commit 90f3020 into k2-fsa:master Apr 8, 2026
0 of 27 checks passed
@csukuangfj csukuangfj deleted the release-v1.12.36 branch April 8, 2026 12:52

@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 updates the project version from 1.12.35 to 1.12.36 across all supported platforms and documentation, while also updating the changelog with several new features and bug fixes, such as Android arm64 support and Qwen3-ASR model improvements. Feedback suggests improving the release and build process by avoiding hardcoded versions and build metadata in scripts and source files, recommending parameterization and preprocessor definitions instead to ensure a more robust and less error-prone workflow.

Comment thread new-release.sh
Comment on lines +5 to +9
old_version_code=20260403
new_version_code=20260408

old_version="1\.12\.34"
new_version="1\.12\.35"
old_version="1\.12\.35"
new_version="1\.12\.36"

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 release script hardcodes old and new versions. This approach is error-prone, as it requires manually editing the script for each release. A small mistake could lead to an inconsistent release.

To make the process more robust, consider parameterizing the script to accept versions as command-line arguments. This avoids modifying the script itself.

Comment on lines 9 to 22
const char *GetGitDate() {
static const char *date = "Fri Apr 3 11:37:59 2026";
static const char *date = "Wed Apr 8 20:41:40 2026";
return date;
}

const char *GetGitSha1() {
static const char *sha1 = "3fabf529";
static const char *sha1 = "5459ad1f";
return sha1;
}

const char *GetVersionStr() {
static const char *version = "1.12.35";
static const char *version = "1.12.36";
return version;
}

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

Hardcoding build information like git SHA and date by modifying source files with sed is fragile. This can lead to stale information if the script isn't run, or errors if the file format changes.

A more robust approach is to pass this information at compile time using preprocessor definitions. This ensures the information is always accurate for each build without modifying version-controlled files.

@coderabbitai coderabbitai Bot mentioned this pull request Apr 12, 2026
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