Skip to content

Release v1.13.0#3561

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

Release v1.13.0#3561
csukuangfj merged 1 commit into
k2-fsa:masterfrom
csukuangfj:release-v1.13.0

Conversation

@csukuangfj

@csukuangfj csukuangfj commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Bumped project version from 1.12.40 to 1.13.0 across all packages, including Android apps, Flutter bindings, iOS frameworks, HarmonyOS packages, Rust crates, Python wheels, Node.js packages, Tauri examples, and build configurations.

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

coderabbitai Bot commented Apr 28, 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: 0271072b-d15f-4aef-9d2d-3863ec48d755

📥 Commits

Reviewing files that changed from the base of the PR and between b3f8ba7 and e6051fd.

📒 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 comprehensive version bump across the entire repository, updating version numbers from 1.12.40 to 1.13.0 and Android version codes from 20260424 to 20260428. Changes span build configuration files, package manifests, documentation, release scripts, and version metadata. The CHANGELOG documents five updates related to CI, model exports, and Go bindings.

Changes

Cohort / File(s) Summary
Core Version Metadata
CMakeLists.txt, sherpa-onnx/csrc/version.cc, new-release.sh
Updated SHERPA_ONNX_VERSION from 1.12.40 to 1.13.0; updated embedded git date, SHA1, and version strings in version.cc; updated release script variables from old to new version/code pairs.
CHANGELOG and Documentation
CHANGELOG.md, build-ios-shared.sh, mfc-examples/README.md, android/SherpaOnnxAar/README.md, harmony-os/SherpaOnnxVadAsr/entry/README.md
Added v1.13.0 changelog entry; updated iOS Info.plist CFBundleShortVersionString; updated pre-built download URLs and extraction paths in README files from v1.12.40 to v1.13.0.
Android App Builds
android/SherpaOnnx*/app/build.gradle*, android/SherpaOnnxAudioTagging*/app/build.gradle.kts, android/SherpaOnnxJavaDemo/app/build.gradle, android/SherpaOnnxKws/app/build.gradle, android/SherpaOnnxSimulateStreamingAsr*/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/SherpaOnnxVad*/app/build.gradle, android/SherpaOnnxWebSocket/app/build.gradle
Updated defaultConfig versionCode from 20260424 to 20260428 and versionName from 1.12.40 to 1.13.0 across all Android apps; some also updated sherpa-onnx dependency version.
Dart Package Examples
dart-api-examples/*/pubspec.yaml
Updated sherpa_onnx dependency constraint from ^1.12.40 to ^1.13.0 across all 16 Dart example projects.
Flutter Packages and Examples
flutter/sherpa_onnx*/pubspec.yaml, flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec, flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec, flutter-examples/*/pubspec.yaml
Updated package versions from 1.12.40 to 1.13.0 and platform-specific dependency constraints (sherpa_onnx_android_*, sherpa_onnx_macos, sherpa_onnx_linux, sherpa_onnx_windows, sherpa_onnx_ios); updated CocoaPods podspec versions.
HarmonyOS Packages
harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets, harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5, harmony-os/SherpaOnnxHar/sherpa_onnx/README.md, harmony-os/SherpaOnnx*/entry/oh-package.json5
Updated HAR_VERSION export from 1.12.40 to 1.13.0; updated package versions and sherpa_onnx dependency versions across HarmonyOS app entries.
Rust Crates
sherpa-onnx/rust/sherpa-onnx*/Cargo.toml, sherpa-onnx/rust/sherpa-onnx/src/lib.rs, sherpa-onnx/rust/sherpa-onnx/README.md, rust-api-examples/Cargo.toml, rust-api-examples/for-advanced-users.md
Updated Rust crate versions to 1.13.0 and sherpa-onnx-sys dependency versions; updated documentation examples to reference v1.13.0 release assets and download URLs.
Python Package Distributions
scripts/wheel/sherpa-onnx-bin/setup.py, scripts/wheel/sherpa-onnx-core/setup.py, setup.py, pom.xml, jitpack.yml
Updated Python package versions in setup.py files; updated Maven artifact version; updated JitPack build configuration to fetch and install v1.13.0 AAR.
Node.js and NPM Projects
nodejs-addon-examples/package.json, nodejs-examples/package.json, tauri-examples/*/package.json, tauri-examples/*/src-tauri/Cargo.toml, tauri-examples/*/src-tauri/tauri.conf.json
Updated sherpa-onnx-node and sherpa-onnx npm dependency constraints; updated Tauri app versions and sherpa-onnx Cargo dependency versions to 1.13.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • k2-fsa/sherpa-onnx#2907: Performs identical release-version bumps (1.12.40 → next version) across the same set of files including CMakeLists, version.cc, BuildProfile.ets, and all package manifests.
  • k2-fsa/sherpa-onnx#3385: Shares overlapping changes in Rust crate docs (sherpa-onnx/rust/sherpa-onnx/src/lib.rs) and release automation script version updates.
  • k2-fsa/sherpa-onnx#2505: Related by overlapping Android versionCode/versionName updates across the same module set and release script modifications.

Poem

🐰 From one-point-one-two hops the version bumps high,
To one-point-one-three, beneath April's sky,
Across the whole warren, each file gets a kiss,
Twenty-sixty-four-twenty-eight—consistency bliss! ✨

✨ 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 b059280 into k2-fsa:master Apr 28, 2026
0 of 27 checks passed
@csukuangfj csukuangfj deleted the release-v1.13.0 branch April 28, 2026 04:16

@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.12.40 to 1.13.0 across a wide range of files, including build configurations for Android, iOS, HarmonyOS, Rust, Node.js, and Python, as well as documentation and example projects. The changes also include updating the changelog, version codes, and Git metadata in the C++ source. Feedback was provided regarding the new-release.sh script, suggesting the removal of unnecessary backslash escapes for dots in the replacement version string to improve clarity and portability across different sed implementations.

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

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

In sed replacement strings, dots do not need to be escaped. Escaping them is unnecessary and can lead to literal backslashes being inserted into files depending on the sed implementation used (e.g., some versions of sed might treat \. as a literal backslash followed by a dot). It is better to keep the replacement string clean while keeping the escapes in the search pattern (regex) defined in old_version.

Suggested change
new_version="1\.13\.0"
new_version="1.13.0"

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