Skip to content

Release v1.12.19 - #2868

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

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

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Dec 5, 2025 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Released version 1.12.19 with numerous bug fixes and enhancements.
    • Updated build artifacts, dependencies, and version metadata across all platforms (Android, iOS, Windows, HarmonyOS, Flutter, Dart, and Node.js).
    • Expanded architecture support for Android libraries (added x86 and x86_64 compatibility).
    • Improvements to streaming ASR, TTS, tokenization, and backend support.

✏️ 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 5, 2025
@coderabbitai

coderabbitai Bot commented Dec 5, 2025 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

This is a version bump release from 1.12.18 to 1.12.19 across the project. Changes include updated version constants in CMake and source code, changelog entry, and version metadata in Android/Flutter/Dart/Python packaging files, HarmonyOS manifests, and iOS podspecs. The Windows JNI GitHub Actions workflow narrows tarball artifacts by excluding bin and include directories. Android AAR documentation expanded to include x86/x86_64 JNI library copies.

Changes

Cohort / File(s) Summary
Core version metadata
CMakeLists.txt, CHANGELOG.md, sherpa-onnx/csrc/version.cc
Updated SHERPA_ONNX_VERSION from 1.12.18 to 1.12.19; added changelog entry for v1.12.19 with enumerated fixes and enhancements; updated public version functions to return new version strings.
Android app build configurations
android/SherpaOnnx*/app/build.gradle*
Updated versionCode from 20251127 to 20251205 and versionName from "1.12.18" to "1.12.19" across 17 Android app modules.
Dart/Flutter package metadata
dart-api-examples/*/pubspec.yaml, flutter-examples/*/pubspec.yaml, flutter/sherpa_onnx*/pubspec.yaml
Bumped sherpa_onnx dependency and/or package versions from ^1.12.18 to ^1.12.19 across 14 Dart and Flutter example and package pubspec files.
Python wheel package configurations
scripts/wheel/sherpa-onnx-*/setup.py, setup.py
Updated version and dependency specifications from 1.12.18 to 1.12.19 in setup.py files for core and binary packages.
iOS/macOS platform manifests
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec, flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
Bumped s.version from 1.12.18 to 1.12.19 in iOS and macOS podspecs.
HarmonyOS package configurations
harmony-os/SherpaOnnx*/*/oh-package.json5, harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets
Updated sherpa_onnx dependency versions and HAR_VERSION constant from 1.12.18 to 1.12.19 across HarmonyOS application manifests and build profile.
Node.js package metadata
nodejs-addon-examples/package.json, nodejs-examples/package.json
Bumped sherpa-onnx and sherpa-onnx-node dependencies from ^1.12.18 to ^1.12.19.
Maven and JitPack configurations
pom.xml, jitpack.yml
Updated Maven project version and JitPack artifact URLs from 1.12.18 to 1.12.19.
Documentation and release scripts
android/SherpaOnnxAar/README.md, build-ios-shared.sh, harmony-os/SherpaOnnxVadAsr/entry/README.md, mfc-examples/README.md, harmony-os/SherpaOnnxHar/sherpa_onnx/README.md, new-release.sh
Updated version references in documentation from 1.12.18 to 1.12.19; added copying of x86 and x86_64 JNI libraries in Android AAR README; updated release script version constants to facilitate next release cycle.
Windows JNI CI/CD workflow
.github/workflows/windows-x64-jni.yaml
Removed copying of bin and include directories from build/install, narrowing tarball artifacts to lib directory only.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Rationale: Overwhelmingly homogeneous set of version bump updates following consistent patterns across multiple files (60+ files with nearly identical edits). Low complexity per file; no logic changes or control flow modifications.
  • Areas requiring attention:
    • Windows JNI workflow artifact narrowing (verify intended scope change)
    • Android AAR README expansion to x86/x86_64 architectures (confirm architecture completeness)
    • new-release.sh version constant updates (verify next release cycle values)

Possibly related PRs

Suggested labels

size:M, release, version-bump

Poem

🐰 Hops through versions, version be bumped!
From one-twelve-eighteen to nineteen we've jumped!
Build configs aligned, dependencies versed,
Android and Flutter both quenched of their thirst. 🎉

✨ 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: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 32fbd3a and eaeddc8.

📒 Files selected for processing (58)
  • .github/workflows/windows-x64-jni.yaml (0 hunks)
  • 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 primarily focuses on preparing for the v1.12.19 release. It involves updating version numbers across various build configurations, dependency files, and documentation to reflect the new release. Concurrently, it integrates a comprehensive set of bug fixes, new features, and performance improvements that have been developed since the last release, ensuring all components are aligned with the latest stable version.

Highlights

  • C API Build Fix: Resolved an issue preventing successful compilation of the C API when TTS (Text-to-Speech) components were excluded.
  • ZipVoice Tokenization: Addressed an English tokenization error within the ZipVoice feature, improving accuracy.
  • ASR Python Example: Introduced a new Python example demonstrating simulated streaming ASR (Automatic Speech Recognition) for Paraformer models.
  • JNI Build for Windows: Fixed issues related to building JNI (Java Native Interface) on Windows platforms.
  • NeMo Speaker Embedding: Implemented a fix to prevent NaN (Not-a-Number) values in NeMo speaker embedding models.
  • Hardware Support: Added support for Spacemit ORT EP for Spacemit RISC-V CPUs and introduced support for AXERA ax630, ax650, and axcl backends.
  • Offline Transducer Improvements: Enhanced offline transducer models by adding token-level confidence scores (ys_probs) and fixing token log probabilities in the modified beam search decoder.
  • Matcha TTS Enhancements: Multiple fixes and refinements were applied to the Matcha TTS (Text-to-Speech) models, particularly for the Chinese-English (zh-en) variant, including English part fixes, punctuation handling, and adding spaces between English words.
  • Text-Utils Refactoring: Undertook a refactoring effort for the text-utils module.
  • Silero VAD Logic: Corrected a discrepancy in the isSpeech logic for the Silero VAD (Voice Activity Detection) component.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/windows-x64-jni.yaml
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 prepares for the v1.12.19 release. It consistently updates the version number across various configuration files, build scripts, and documentation for different platforms including Android, iOS, Dart/Flutter, HarmonyOS, Node.js, and Python. The changelog has also been updated with the latest changes. The modifications are correct and align with the goal of a new release.

@csukuangfj
csukuangfj merged commit 2202e2a into k2-fsa:master Dec 5, 2025
0 of 27 checks passed
@csukuangfj
csukuangfj deleted the release-v1.12.19 branch December 5, 2025 12:45
@coderabbitai coderabbitai Bot mentioned this pull request Dec 17, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Feb 14, 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