Skip to content

Release v1.12.32 - #3387

Merged
csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.12.32
Mar 22, 2026
Merged

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

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Mar 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added Rust static linking support
    • Added Windows testing for the Rust API
    • Added "VoxSherpa TTS" support for projects using sherpa-onnx
  • Chores

    • Bumped version to 1.12.32 across all build configurations, package managers, and platforms (Android, iOS, Flutter, Dart, Rust, Python, Node.js, HarmonyOS, and Maven)

Copilot AI review requested due to automatic review settings March 22, 2026 01:12
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 22, 2026
@coderabbitai

coderabbitai Bot commented Mar 22, 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: 33cb9c28-464c-4628-aef4-45f1ef86c08d

📥 Commits

Reviewing files that changed from the base of the PR and between 4f59df1 and 9a5b571.

📒 Files selected for processing (64)
  • 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/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 pull request bumps the sherpa-onnx project version from 1.12.31 to 1.12.32. The changes update version numbers, timestamps, and Git metadata across build configuration files, package manifests, and platform-specific files spanning Android, Dart, Flutter, Rust, Python, Node.js, iOS, macOS, and HarmonyOS ecosystems.

Changes

Cohort / File(s) Summary
Release metadata
CHANGELOG.md, CMakeLists.txt, sherpa-onnx/csrc/version.cc
Updated version strings, Git SHA, and release date to reflect v1.12.32 release with new changelog entries for Rust static linking support and Windows Rust API testing.
Android app build files
android/SherpaOnnx*/app/build.gradle* (16 files)
Incremented versionCode from 20260320 to 20260322 and updated versionName from 1.12.31 to 1.12.32 across all Android example apps.
Android AAR and JitPack configuration
android/SherpaOnnxAar/README.md, jitpack.yml
Updated tarball and AAR filenames and URLs to reference v1.12.32 release artifacts.
Dart API examples
dart-api-examples/*/pubspec.yaml (13 files)
Updated sherpa_onnx dependency constraint from ^1.12.31 to ^1.12.32 across all Dart example projects.
Flutter examples and plugin
flutter-examples/*/pubspec.yaml, flutter/sherpa_onnx/pubspec.yaml
Updated package versions and sherpa_onnx dependency constraints to 1.12.32 in Flutter example apps and the main plugin.
Flutter platform-specific podspecs
flutter/sherpa_onnx_*/*/podspec
Updated CocoaPods podspec version declarations from 1.12.31 to 1.12.32 for iOS and macOS platforms.
HarmonyOS platform files
harmony-os/SherpaOnnx*/*/BuildProfile.ets, harmony-os/SherpaOnnx*/*/oh-package.json5, harmony-os/SherpaOnnxVadAsr/entry/README.md
Updated HAR_VERSION constant and oh-package.json5 dependency versions from 1.12.31 to 1.12.32; updated archive filename references in documentation.
Rust crates and examples
sherpa-onnx/rust/*/Cargo.toml, rust-api-examples/Cargo.toml, sherpa-onnx/rust/sherpa-onnx/src/lib.rs, rust-api-examples/for-advanced-users.md
Updated crate versions and dependency constraints to 1.12.32; revised native library archive URLs and version references in documentation.
Python wheel packages
scripts/wheel/sherpa-onnx-*/setup.py, setup.py
Updated package versions and pinned internal dependency versions to 1.12.32 for wheel distribution.
Node.js packages
nodejs-addon-examples/package.json, nodejs-examples/package.json
Updated sherpa-onnx and sherpa-onnx-node dependency versions to ^1.12.32.
Maven and iOS build configuration
pom.xml, build-ios-shared.sh
Updated Maven artifact version and iOS framework CFBundleShortVersionString metadata to 1.12.32.
Documentation and release scripts
mfc-examples/README.md, new-release.sh
Updated pre-built executable URLs in MFC README to reference v1.12.32; updated version variables in release script template for next version bump cycle.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • #3385: Modifies Rust crate documentation in sherpa-onnx/rust/sherpa-onnx/src/lib.rs alongside Windows Rust API testing feature referenced in changelog.
  • #3378: Updates Rust crate documentation in sherpa-onnx/rust/sherpa-onnx/src/lib.rs with similar version and build script references.
  • #3352: Modifies Rust package metadata in Cargo.toml files under rust-api-examples and sherpa-onnx/rust directories.

Suggested labels

size:M

Poem

🐰 From 1.12.31 to 1.12.32 we hop,
With version strings updated from top to bottom,
Across Android, Rust, and Flutter we bound,
HarmonyOS joins the upgrade all around,
A bumpy release but reliable and sound! 🚀

✨ 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 merged commit 5f3dcc1 into k2-fsa:master Mar 22, 2026
0 of 28 checks passed
@csukuangfj
csukuangfj deleted the release-v1.12.32 branch March 22, 2026 01:13
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on releasing version 1.12.32 of the sherpa-onnx project. It involves updating version numbers and dependencies across multiple platforms and examples to ensure consistency and incorporate the latest changes.

Highlights

  • Version Bump: This PR increments the sherpa-onnx version to 1.12.32 across various components, including Android apps, Dart API examples, Flutter examples, HarmonyOS modules, Rust API examples, and Python packages.
  • Dependency Updates: The PR updates dependencies in Dart, Flutter, and Node.js examples to use the new sherpa-onnx version 1.12.32.
  • Android Updates: The Android application's versionCode and versionName were updated to reflect the new version.
  • Rust API: The Rust API examples and sys crate were updated to use the new sherpa-onnx version 1.12.32.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

Copilot AI 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.

Pull request overview

Release bump to v1.12.32 across the repo, updating package manifests and documentation references to the new version.

Changes:

  • Bump version numbers from 1.12.31 → 1.12.32 across Rust, Python, Android, Flutter/Dart, Node.js, HarmonyOS, and Maven artifacts.
  • Update release automation/config files (e.g., new-release.sh, jitpack.yml) to point at the new release assets/version codes.
  • Add 1.12.32 section to CHANGELOG.md and update embedded archive URLs/examples.

Reviewed changes

Copilot reviewed 64 out of 64 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sherpa-onnx/rust/sherpa-onnx/src/lib.rs Updates Rust crate docs to reference v1.12.32 and corresponding release archives.
sherpa-onnx/rust/sherpa-onnx/README.md Updates README dependency snippets to v1.12.32.
sherpa-onnx/rust/sherpa-onnx/Cargo.toml Bumps sherpa-onnx crate version and sherpa-onnx-sys dependency version.
sherpa-onnx/rust/sherpa-onnx-sys/Cargo.toml Bumps sherpa-onnx-sys crate version.
sherpa-onnx/csrc/version.cc Updates embedded git date/sha and version string to 1.12.32.
setup.py Updates split-package dependency pin to sherpa-onnx-core==1.12.32.
scripts/wheel/sherpa-onnx-core/setup.py Bumps Python wheel package version to 1.12.32.
scripts/wheel/sherpa-onnx-bin/setup.py Bumps Python bin wheel version and core dependency pin to 1.12.32.
rust-api-examples/for-advanced-users.md Updates example archive names and dependency snippets to v1.12.32.
rust-api-examples/Cargo.toml Bumps examples crate and sherpa-onnx dependency version to 1.12.32.
pom.xml Bumps Maven POM version to 1.12.32.
nodejs-examples/package.json Bumps Node dependency sherpa-onnx to ^1.12.32.
nodejs-addon-examples/package.json Bumps Node dependency sherpa-onnx-node to ^1.12.32.
new-release.sh Updates release automation variables for version/code progression to 1.12.32.
mfc-examples/README.md Updates Windows prebuilt exe download links to v1.12.32.
jitpack.yml Updates JitPack install script to download/install sherpa-onnx-1.12.32.aar.
harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5 Bumps HarmonyOS dependency sherpa_onnx to 1.12.32.
harmony-os/SherpaOnnxVadAsr/entry/README.md Updates referenced HAR filename to v1.12.32.
harmony-os/SherpaOnnxTts/entry/oh-package.json5 Bumps HarmonyOS dependency sherpa_onnx to 1.12.32.
harmony-os/SherpaOnnxStreamingAsr/entry/oh-package.json5 Bumps HarmonyOS dependency sherpa_onnx to 1.12.32.
harmony-os/SherpaOnnxSpeakerIdentification/entry/oh-package.json5 Bumps HarmonyOS dependency sherpa_onnx to 1.12.32.
harmony-os/SherpaOnnxSpeakerDiarization/entry/oh-package.json5 Bumps HarmonyOS dependency sherpa_onnx to 1.12.32.
harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5 Bumps HarmonyOS package version to 1.12.32.
harmony-os/SherpaOnnxHar/sherpa_onnx/README.md Updates dependency snippet to sherpa_onnx: 1.12.32.
harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets Updates HAR version constant to 1.12.32.
flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec Bumps CocoaPods spec version to 1.12.32.
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec Bumps CocoaPods spec version to 1.12.32.
flutter/sherpa_onnx/pubspec.yaml Bumps Flutter package version and platform package constraints to 1.12.32.
flutter-examples/tts/pubspec.yaml Bumps example app version and dependency to ^1.12.32.
flutter-examples/streaming_asr/pubspec.yaml Bumps example app version and dependency to ^1.12.32.
flutter-examples/non_streaming_vad_asr/pubspec.yaml Bumps example app version and dependency to ^1.12.32.
dart-api-examples/vad/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/tts/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/streaming-asr/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/spoken-language-identification/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/speech-enhancement-gtcrn/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/speech-enhancement-dpdfnet/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/speaker-identification/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/speaker-diarization/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/non-streaming-asr/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/keyword-spotter/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/audio-tagging/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
dart-api-examples/add-punctuations/pubspec.yaml Bumps Dart example dependency to ^1.12.32.
build-ios-shared.sh Bumps iOS framework CFBundleShortVersionString to 1.12.32.
android/SherpaOnnxWebSocket/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxVadAsr/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxVad/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxTtsEngine/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxTts/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxSpokenLanguageIdentification/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxSpeakerIdentification/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxSpeakerDiarization/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxSimulateStreamingAsrWearOs/app/build.gradle.kts Bumps app version and updates dependency to com.github.k2-fsa:sherpa-onnx:v1.12.32.
android/SherpaOnnxSimulateStreamingAsr/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxKws/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxJavaDemo/app/build.gradle Bumps app version and updates dependency to com.github.k2-fsa:sherpa-onnx:v1.12.32.
android/SherpaOnnxAudioTaggingWearOs/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxAudioTagging/app/build.gradle.kts Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnxAar/README.md Updates Android AAR build instructions and filenames to 1.12.32.
android/SherpaOnnx2Pass/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
android/SherpaOnnx/app/build.gradle Bumps Android app versionCode/versionName to 20260322 / 1.12.32.
CMakeLists.txt Bumps CMake project version variable to 1.12.32.
CHANGELOG.md Adds 1.12.32 release notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md
@@ -1,3 +1,9 @@
## 1.12.32

* Support static link for Rust package. (#3386)

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

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

The new changelog entry uses slightly inconsistent wording/punctuation compared to adjacent entries (e.g., 'static link' vs 'static linking', and this bullet is the only one ending with a period before the PR reference). Consider updating it to match the surrounding changelog style for consistency.

Suggested change
* Support static link for Rust package. (#3386)
* Support static linking for Rust package (#3386)

Copilot uses AI. Check for mistakes.

@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

The pull request updates the sherpa-onnx version to 1.12.32 across various files, including build configurations, documentation, and dependency specifications for Android, iOS, HarmonyOS, Flutter, Rust, Python, MFC examples, and Node.js examples. The review comment suggests improving the jitpack.yml file by defining the version and artifact filename as variables to enhance maintainability and reduce redundancy.

Comment thread jitpack.yml
Comment on lines 4 to +9
before_install:
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.31/sherpa-onnx-1.12.31.aar
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.32/sherpa-onnx-1.12.32.aar

install:
- FILE="-Dfile=sherpa-onnx-1.12.31.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.31 -Dpackaging=aar -DgeneratePom=true
- FILE="-Dfile=sherpa-onnx-1.12.32.aar"
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.12.32 -Dpackaging=aar -DgeneratePom=true

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

To improve maintainability and reduce redundancy, you could define the version and artifact filename as variables. This makes it easier to update the version in a single place and reduces the risk of inconsistencies during releases.

before_install:
  - export SHERPA_ONNX_VERSION="1.12.32"
  - export AAR_FILE="sherpa-onnx-${SHERPA_ONNX_VERSION}.aar"
  - wget "https://github.com/k2-fsa/sherpa-onnx/releases/download/v${SHERPA_ONNX_VERSION}/${AAR_FILE}"

install:
  - FILE="-Dfile=${AAR_FILE}"
  - mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=${SHERPA_ONNX_VERSION} -Dpackaging=aar -DgeneratePom=true

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.

2 participants