Skip to content

Release v1.12.40 - #3548

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

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

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Apr 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added support for new Piper TTS models, including Chinese languages and Albanian voice.
  • Improvements

    • Enhanced Tauri microphone-based VAD+ASR with UI improvements and real-time factor display optimizations.
    • Fixed issues across Android, Dart, and desktop app builds.

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 24, 2026
@coderabbitai

coderabbitai Bot commented Apr 24, 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: acc4265f-9d2b-4995-a75f-e61da9367818

📥 Commits

Reviewing files that changed from the base of the PR and between 6be6dda and fb71c06.

📒 Files selected for processing (81)
  • 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_android/pubspec.yaml
  • flutter/sherpa_onnx_android_arm64/pubspec.yaml
  • flutter/sherpa_onnx_android_armeabi/pubspec.yaml
  • flutter/sherpa_onnx_android_x86/pubspec.yaml
  • flutter/sherpa_onnx_android_x86_64/pubspec.yaml
  • flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec
  • flutter/sherpa_onnx_ios/pubspec.yaml
  • flutter/sherpa_onnx_linux/pubspec.yaml
  • flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
  • flutter/sherpa_onnx_macos/pubspec.yaml
  • flutter/sherpa_onnx_windows/pubspec.yaml
  • 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
  • tauri-examples/non-streaming-speech-recognition-from-file/package.json
  • tauri-examples/non-streaming-speech-recognition-from-file/src-tauri/Cargo.toml
  • tauri-examples/non-streaming-speech-recognition-from-file/src-tauri/tauri.conf.json
  • tauri-examples/non-streaming-speech-recognition-from-microphone/package.json
  • tauri-examples/non-streaming-speech-recognition-from-microphone/src-tauri/Cargo.toml
  • tauri-examples/non-streaming-speech-recognition-from-microphone/src-tauri/tauri.conf.json

📝 Walkthrough

Walkthrough

Version release 1.12.40 across the project: CHANGELOG entry added, build system versions incremented, and dependency versions updated consistently in Android, Flutter, Dart, Rust, iOS, macOS, HarmonyOS, Node.js, and Python package manifests.

Changes

Cohort / File(s) Summary
Changelog & Build Configuration
CHANGELOG.md, CMakeLists.txt, new-release.sh
Added v1.12.40 release notes and updated build system version constants and release automation script variables (old_version_code 20260417→20260424, semantic versions 1.12.39→1.12.40).
Android App Versions
android/SherpaOnnx*/app/build.gradle*, android/SherpaOnnxAar/README.md
Updated versionCode (20260417→20260424) and versionName (1.12.39→1.12.40) across 17 Android projects; updated README download URL and AAR filename to v1.12.40.
Dart Package Versions
dart-api-examples/*/pubspec.yaml, flutter-examples/*/pubspec.yaml, flutter/sherpa_onnx*/pubspec.yaml
Updated sherpa_onnx dependency constraint from ^1.12.39 to ^1.12.40 across 23 Dart/Flutter package manifests; bumped example/plugin version fields to 1.12.40.
iOS/macOS Package Versions
flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec, flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec, build-ios-shared.sh
Updated podspec versions from 1.12.39 to 1.12.40 and iOS framework Info.plist CFBundleShortVersionString.
Rust Package Versions
sherpa-onnx/rust/sherpa-onnx*/Cargo.toml, rust-api-examples/Cargo.toml, tauri-examples/*/src-tauri/Cargo.toml
Updated crate versions and sherpa-onnx dependency from 1.12.39 to 1.12.40 across Rust packages and examples.
Python & Maven Versions
pom.xml, setup.py, scripts/wheel/sherpa-onnx-*/setup.py, jitpack.yml
Updated Maven and Python package versions to 1.12.40; updated JitPack build config to fetch v1.12.40 AAR.
HarmonyOS Package Versions
harmony-os/SherpaOnnx*/*/oh-package.json5, harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets, harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5
Updated HarmonyOS dependency versions and HAR_VERSION constant from 1.12.39 to 1.12.40; updated README download instructions.
Node.js & Tauri Versions
nodejs-*/package.json, tauri-examples/*/package.json, tauri-examples/*/src-tauri/tauri.conf.json
Updated Node.js and Tauri package versions from 1.12.39 to 1.12.40.
Version Strings & Documentation
sherpa-onnx/csrc/version.cc, rust-api-examples/for-advanced-users.md, sherpa-onnx/rust/sherpa-onnx/src/lib.rs, sherpa-onnx/rust/sherpa-onnx/README.md, mfc-examples/README.md
Updated embedded version strings (GetVersionStr, GetGitDate, GetGitSha1) and documentation references from 1.12.39 to 1.12.40.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Release v1.12.35 #3467: Performs identical repository-wide release/version bump with same files modified (CMakeLists, version.cc, package manifests).
  • Release v1.12.30 #3360: Previous release-version bump commit updating the same version metadata files across Android, Flutter, Dart, Rust, and other platform manifests.
  • Fix publishing dart packages for Android #3522: Related Flutter/Dart package splitting and publishing work that affects the per-ABI Android Dart package version updates in this PR.

Suggested labels

size:M

Poem

🐰 Hop hop, version bumps with glee,
From 1.12.39 to .40, can't you see?
Android, Flutter, Rust, and more,
Every manifest we did restore!
Release day magic, consistent and bright! ✨

✨ 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 d795ccd into k2-fsa:master Apr 24, 2026
0 of 27 checks passed

@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 performs a comprehensive version bump from 1.12.39 to 1.12.40 across the entire repository, affecting build configurations for Android, iOS, Rust, Dart, Python, and HarmonyOS. The CHANGELOG was updated to include new Piper TTS models, Albanian support, and various bug fixes. Feedback was provided regarding the release script to improve the portability of version string replacement by removing unnecessary escape characters in the replacement variable.

Comment thread new-release.sh
old_version="1\.12\.38"
new_version="1\.12\.39"
old_version="1\.12\.39"
new_version="1\.12\.40"

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 is used as the replacement string in sed commands throughout this script. While backslashes are necessary in the old_version variable to escape dots for the regex search pattern, they are not needed in the replacement string. Including them can lead to literal backslashes being inserted into files depending on the sed implementation (for example, BSD sed on macOS often treats \. in the replacement string as a literal \.). It is safer and more portable to use the literal version string for new_version.

Suggested change
new_version="1\.12\.40"
new_version="1.12.40"

@coderabbitai coderabbitai Bot mentioned this pull request May 8, 2026
@csukuangfj
csukuangfj deleted the release-v1.12.40 branch May 9, 2026 02:51
@coderabbitai coderabbitai Bot mentioned this pull request Jun 15, 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