Skip to content

Release v1.13.1#3590

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

Release v1.13.1#3590
csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.13.1

Conversation

@csukuangfj

@csukuangfj csukuangfj commented May 8, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Bug Fixes

    • Resolved NeMo transducer modified beam search issues
    • Fixed speaker diarization segmentation fault with improved bounds checking
    • Corrected x64 GPU ONNX Runtime URL
    • Added per-stream language-specific text normalization override for SenseVoice
    • Updated broken documentation links
  • Chores

    • Version bumped to 1.13.1 across all platforms and packages

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

coderabbitai Bot commented May 8, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 68f2afb2-e9e0-4eeb-88d2-e67d047bab7d

📥 Commits

Reviewing files that changed from the base of the PR and between 2a3a9d9 and 7d02d77.

📒 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

This PR performs a coordinated version bump across the entire sherpa-onnx repository from version 1.13.0 to 1.13.1. Changes span build configuration (CMakeLists, version.cc), Android/iOS/HarmonyOS app versions, Rust/Python/Node.js package manifests, example applications, and documentation.

Changes

Version 1.13.1 Release Bump

Layer / File(s) Summary
Core Version Metadata
CMakeLists.txt, sherpa-onnx/csrc/version.cc, new-release.sh
SHERPA_ONNX_VERSION bumped to 1.13.1; GetVersionStr(), GetGitSha1(), GetGitDate() updated with new build metadata.
Changelog & Release Notes
CHANGELOG.md
New section for v1.13.1 documenting NeMo transducer fixes, SIGSEGV bounds checks, dead link replacement, onnxruntime URL fix, and SenseVoice per-stream use_itn override.
Android Application Versions
android/SherpaOnnx*/app/build.gradle*
All 17 Android app modules: versionCode → 20260508, versionName → 1.13.1; SherpaOnnxJavaDemo and SherpaOnnxSimulateStreamingAsrWearOs dependency versions also updated.
iOS and Flutter Platform Versions
build-ios-shared.sh, flutter/sherpa_onnx*/pubspec.yaml, flutter/sherpa_onnx_*/*.podspec
iOS framework CFBundleShortVersionString → 1.13.1; all Flutter package versions and platform-specific dependencies → 1.13.1.
HarmonyOS Package Versions
harmony-os/SherpaOnnx*/*, harmony-os/SherpaOnnxHar/*
HAR_VERSION constant, oh-package.json5 manifests, and README files updated to 1.13.1.
Rust Crates and Documentation
sherpa-onnx/rust/sherpa-onnx*/Cargo.toml, sherpa-onnx/rust/sherpa-onnx/src/lib.rs, rust-api-examples/...
sherpa-onnx-sys and sherpa-onnx crate versions → 1.13.1; library docs and build-script archive URLs updated to v1.13.1.
Python Package Configuration
scripts/wheel/*/setup.py, setup.py
sherpa-onnx-bin, sherpa-onnx-core, and root setup.py versions → 1.13.1; install_requires dependency pinned to 1.13.1.
Node.js and Tauri Examples
nodejs-*/package.json, tauri-examples/*/package.json, tauri-examples/*/Cargo.toml, tauri-examples/*/tauri.conf.json
Example versions and sherpa-onnx dependencies → 1.13.1.
Dart and Flutter Examples
dart-api-examples/*/pubspec.yaml, flutter-examples/*/pubspec.yaml
18 example package versions and sherpa_onnx dependency constraints → ^1.13.1.
Build Scripts and Documentation
jitpack.yml, pom.xml, mfc-examples/README.md
JitPack AAR artifact version, Maven project version, and pre-built executable download URLs updated to 1.13.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • k2-fsa/sherpa-onnx#3561: Sequential release/version bump updating the same build, package, and manifest files as this PR.
  • k2-fsa/sherpa-onnx#3548: Prior release version bump with identical change pattern across CMakeLists, version.cc, and platform-specific manifests.
  • k2-fsa/sherpa-onnx#3425: Earlier release bump updating the same coordinated version metadata and app/package manifests across the repository.

Poem

🐰 From one to one point one we hop,
A version bump that won't stop,
Across all files from end to end,
Android, iOS, Dart blend,
The little release, bug-fixed and neat! 🎉

✨ 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 f3b1a9d into k2-fsa:master May 8, 2026
0 of 27 checks passed
@csukuangfj csukuangfj deleted the release-v1.13.1 branch May 8, 2026 14:13

@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.13.0 to 1.13.1 across various build configurations, dependency manifests, and documentation for Android, iOS, HarmonyOS, Rust, Python, and Node.js. The reviewer suggested refactoring the new-release.sh script to automate version detection and accept command-line arguments, noting that the current manual update process is brittle and error-prone.

Comment thread new-release.sh
Comment on lines +7 to +11
old_version_code=20260428
new_version_code=20260508

old_version="1\.12\.40"
new_version="1\.13\.0"
old_version="1\.13\.0"
new_version="1\.13\.1"

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 manual update of version strings and codes in this script is brittle and error-prone. Additionally, escaping dots in the new_version variable (e.g., 1\.13\.1) is unnecessary for the replacement part of a sed command and makes the variable less useful if it were to be used in other contexts like logging or printing.

Consider refactoring the script to accept the new version as a command-line argument and automatically detect the current version from CMakeLists.txt. This would eliminate the need to manually edit this script for every release and reduce the risk of inconsistencies.

@coderabbitai coderabbitai Bot mentioned this pull request May 13, 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