Skip to content

Release v1.12.20 - #2907

Merged
csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.12.20
Dec 17, 2025
Merged

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

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Dec 17, 2025 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Version bump from 1.12.19 to 1.12.20.
    • Updated version metadata across all platform-specific build configurations (Android, iOS, macOS, Windows, Linux, Dart, Flutter, Node.js, Python, and HarmonyOS).
    • Updated all dependencies to the new version.

✏️ Tip: You can customize this high-level summary in your review settings.

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 17, 2025
@csukuangfj
csukuangfj merged commit 5ce3d6d into k2-fsa:master Dec 17, 2025
0 of 27 checks passed
@coderabbitai

coderabbitai Bot commented Dec 17, 2025 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

Version bump from 1.12.19 to 1.12.20 applied uniformly across the repository, updating version identifiers in build configuration files, package manifests, source code, and documentation.

Changes

Cohort / File(s) Summary
Core Version & Changelog
CHANGELOG.md, CMakeLists.txt, sherpa-onnx/csrc/version.cc
Updated version strings from 1.12.19 to 1.12.20 in project configuration and C++ source code (GetVersionStr, GetGitSha1, GetGitDate).
Android Build Files - Standard Gradle
android/SherpaOnnx*/app/build.gradle, android/SherpaOnnx{Kws,Tts,Vad,VadAsr,WebSocket}/app/build.gradle
Bumped versionCode from 20251205 to 20251217 and versionName from 1.12.19 to 1.12.20 in defaultConfig.
Android Build Files - Kotlin DSL
android/SherpaOnnx{AudioTagging,AudioTaggingWearOs,SimulateStreamingAsr,SimulateStreamingAsrWearOs,SpeakerDiarization,SpeakerIdentification,SpokenLanguageIdentification,TtsEngine}/app/build.gradle.kts
Bumped versionCode and versionName in defaultConfig from prior versions to 20251217 and 1.12.20 respectively.
Android Build Files - With Dependencies
android/SherpaOnnxJavaDemo/app/build.gradle, android/SherpaOnnxSimulateStreamingAsrWearOs/app/build.gradle.kts
Updated versionCode/versionName and sherpa-onnx dependency from v1.12.19 to v1.12.20.
Android Documentation & AAR
android/SherpaOnnxAar/README.md
Updated download target from v1.12.19 to v1.12.20 and added JNI library copies for x86/x86_64 architectures.
Dart Package Examples
dart-api-examples/*/pubspec.yaml
Updated sherpa_onnx dependency from ^1.12.19 to ^1.12.20 across 11 example projects.
Flutter Package & Examples
flutter-examples/*/pubspec.yaml, flutter/sherpa_onnx/pubspec.yaml
Updated package version and sherpa_onnx_* dependencies from 1.12.19 to 1.12.20.
iOS & macOS CocoaPods
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec, flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec, build-ios-shared.sh
Bumped Pod spec version and iOS framework bundle version from 1.12.19 to 1.12.20.
HarmonyOS Package Metadata
harmony-os/SherpaOnnx{Har,SpeakerDiarization,SpeakerIdentification,StreamingAsr,Tts,VadAsr}/*/oh-package.json5, harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
Updated HAR_VERSION constant and sherpa_onnx dependency versions in oh-package.json5 files from 1.12.19 to 1.12.20.
HarmonyOS Documentation
harmony-os/SherpaOnnxVadAsr/entry/README.md, harmony-os/SherpaOnnxHar/sherpa_onnx/README.md
Updated referenced artifact versions to v1.12.20.
Java & Maven
pom.xml, jitpack.yml
Updated project version and Maven artifact references from 1.12.19 to 1.12.20.
Python Packaging
scripts/wheel/sherpa-onnx-{bin,core}/setup.py, setup.py
Updated version and sherpa-onnx-core dependency from 1.12.19 to 1.12.20 in setup() calls.
Node.js Examples
nodejs-{addon,}-examples/package.json
Updated sherpa-onnx-node dependency from ^1.12.19 to ^1.12.20.
Release & Build Scripts
new-release.sh
Updated old_version_code and old_version for release automation.
Documentation & Pre-built Binaries
mfc-examples/README.md
Updated pre-built executable references to v1.12.20 release URLs.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

This change consists of highly homogeneous, repetitive version string replacements across 60+ files following a consistent pattern. While the volume is substantial, each individual change is trivial and the uniformity of the pattern minimizes cognitive load. Focus areas for spot-checking:

  • Verify consistency of versionCode change (20251205 → 20251217) across all Android files
  • Confirm version string matches (1.12.19 → 1.12.20) across diverse file types (Gradle, pubspec.yaml, setup.py, CMakeLists, podspec, oh-package.json5)
  • Validate sherpa-onnx/csrc/version.cc string literals are properly updated

Possibly related PRs

  • Release v1.12.19 #2868: Prior release version bump updating the same version constants and files (CMakeLists, sherpa-onnx/csrc/version.cc, Android/Flutter manifests)
  • Release v1.12.18 #2831: Release/version-bump changes across identical files (CHANGELOG, CMakeLists SHERPA_ONNX_VERSION, Android versionCode/versionName, package manifests)
  • Release v1.12.14 #2608: Release-version updates modifying the same files and variables (CHANGELOG, CMakeLists SHERPA_ONNX_VERSION, sherpa-onnx/csrc/version.cc literals)

Poem

🐰 Hop, hop, hooray! A new version's here,
From 1.12.19 to point-twenty, crystal clear!
Gradle, pubspec, podspec all aligned,
Version bumps everywhere—a release so refined! 🎉

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3290e1c and 5070fdd.

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

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.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @csukuangfj, 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 marks the release of version 1.12.20, incorporating a comprehensive set of updates that span new feature introductions, performance enhancements, and bug fixes. The changes aim to broaden hardware compatibility, optimize model performance, and extend the capabilities of the project's core functionalities, particularly in speech recognition and text-to-speech domains. This release ensures that all components and examples are aligned with the latest version, providing a more robust and efficient experience for users and developers.

Highlights

  • Enhanced NPU Support: Introduced support for Axera NPU with updated README, CI integration, and refactored examples for improved compatibility and performance on specialized hardware.
  • Model Exports and Optimizations: Added capabilities to export models to Ascend 910B4 and GigaAM v3, alongside support for Fun-ASR-Nano-2512. Performance was boosted by loading QNN context binaries for faster startup and optimizing streaming output for VAD when no human voice is detected.
  • TTS and ASR Model Refinements: Expanded Text-to-Speech (TTS) and Automatic Speech Recognition (ASR) functionalities, including building APKs and publishing WASM spaces for MatchaTTS Chinese+English models, and various refactorings and fixes for sense voice, Paraformer, and zipvoice implementations.
  • Version Updates Across Ecosystem: All relevant project files, build configurations, and dependency declarations across Android, iOS, Dart, Flutter, HarmonyOS, Node.js, and Python environments have been updated to reflect the new 1.12.20 release version.
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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

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

@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 is for the v1.12.20 release. It consistently updates the version number from 1.12.19 to 1.12.20 across a wide range of project files, including build configurations for Android, iOS, Flutter, Dart, Node.js, and HarmonyOS, as well as CMake files, Python setup scripts, and documentation. The changes appear to be generated by the new-release.sh script, which has also been updated. The modifications are correct and consistent for a release version bump. I have reviewed all the changes and found no issues.

@csukuangfj
csukuangfj deleted the release-v1.12.20 branch December 17, 2025 12:54
@coderabbitai coderabbitai Bot mentioned this pull request Jan 15, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Feb 28, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Mar 12, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Apr 28, 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