v1.12.24

k2-fsa/sherpa-onnxv1.12.24Feb 10, 2026by github-actions[bot]

AI Summary

This major release adds comprehensive PocketTTS (text-to-speech) support across multiple languages and platforms, fixes Windows MSVC runtime issues, and adds support for Meta Omnilingual ASR v2 and Whisper timestamps.

Key Highlights

  • Added PocketTTS with multi-language API support (C++, Python, Java, Kotlin, Swift, C#, Go, Dart, JS/WASM)
  • Added support for Meta Omnilingual ASR v2 models
  • Added Whisper timestamps support
  • Fixed Windows MSVC CRT runtime library issues for x64, x86, and arm64
  • Added hotword support for FunASR-Nano

New Features

  • PocketTTS text-to-speech API
  • BPE tokenizer support
  • WenetSpeech-Wu u2pp ASR models
  • Vietnamese ASR models
  • FunASR-Nano hotword support
  • Async JavaScript APIs for TTS
  • NeMo transducer modified beam search
  • CAN (CANN) 8.1, 8.3, 8.5 model exports
  • Security fix for system call vulnerability

Full Release Notes

## What's Changed
* Fix UnicodeDecodeError when accessing tokens in FunASR-nano tokenizer by @Wasser1462 in https://github.com/k2-fsa/sherpa-onnx/pull/3058
* Use more jobs for building VAD ASR APKs by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3068
* Add export CGO_ENABLED=1 to all GO examples. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3069
* Support BPE tokenizer by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3078
* Add C++ runtime and Python support PocketTTS for streaming voice cloning on CPU by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3083
* JS: addon static import logic for bundlers by @alfredomariamilano in https://github.com/k2-fsa/sherpa-onnx/pull/3075
* Update C++ binary for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3087
* Add Python API examples for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3088
* Limit text length for PocketTTS. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3089
* Add CI for PocketTTS. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3090
* Fix Python CI by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3091
* Fix build error by @eij-iew in https://github.com/k2-fsa/sherpa-onnx/pull/3096
* Add Java and Kotlin API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3095
* Refactor JNI to remove casting. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3103
* Refactor JNI by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3107
* Support MD and MT MSVC runtime libraries (CRT) for Windows x64 static build by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3111
* Fix MSVC CRT for Windows x64 shared build. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3114
* Fix MSVC CRT for Windows arm64 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3117
* Fix MSVC CRT for Windows x86 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3118
* Refactor CI for Windows x64 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3119
* Fix CI for Windows x64 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3123
* Upload WenetSpeech-Wu u2pp ASR models. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3125
* add TTS generation with GenerationConfig params C API by @seven1240 in https://github.com/k2-fsa/sherpa-onnx/pull/3115
* Refactor TTS C API by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3127
* Add CXX API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3128
* Add Swift API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3129
* fix(android): Optimize UI updates and remove dead code in MainActivity by @Doheon-Kim in https://github.com/k2-fsa/sherpa-onnx/pull/3130
* Change RPATH for sherpa-onnx.node by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3131
* Add async js API for tts generate. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3133
* fix(android): Initialize models in background coroutine to avoid UI blocking by @Doheon-Kim in https://github.com/k2-fsa/sherpa-onnx/pull/3132
* Add hotword support for FunASR-Nano by @Wasser1462 in https://github.com/k2-fsa/sherpa-onnx/pull/3122
* Provide async JS API to create TTS. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3134
* demo with UI and Web Worker to avoid main-thread blocking by @yuiyideyui in https://github.com/k2-fsa/sherpa-onnx/pull/3120
* Add support for Meta Omnilingual ASR v2 models by @Edison2ST in https://github.com/k2-fsa/sherpa-onnx/pull/3138
* Export omnilingualASR v2 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3140
* feat: Add ys_log_probs to NeMo transducer greedy search decoder by @Jua004 in https://github.com/k2-fsa/sherpa-onnx/pull/3105
* Add modified beam search and hotwords support for NeMo transducer models by @nullbio in https://github.com/k2-fsa/sherpa-onnx/pull/3077
* Fix ORT Value default construction for Android build by @uhuntu in https://github.com/k2-fsa/sherpa-onnx/pull/3141
* Whisper timestamps by @jcheng5 in https://github.com/k2-fsa/sherpa-onnx/pull/2945
* Add node-addon JavaScript API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3139
* fix: Downgrade lifecycle to 2.5.1 to fix build error by @Doheon-Kim in https://github.com/k2-fsa/sherpa-onnx/pull/3143
* Enable return value in callback for TTS in Go API. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3150
* Refactor Go API for TTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3151
* Export models for CANN 8.1 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3152
* Add Go API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3153
* Export models for CANN 8.3 and 8.5 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3156
* Add https://huggingface.co/alphacep/vosk-model-small-streaming-bn by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3158
* Add Pascal API for Pocket TTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3157
* Upload Vietnamese ASR models by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3159
* Refactor Pascal API by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3160
* Add C# API for PocketTTS. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3162
* Add JavaScript (WebAssembly) API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3163
* Add Dart API for PocketTTS by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3164
* Do not merge, untested: Wrap SherpaOnnxWriteWaveToBuffer in the GO API by @WilliamTambellini in https://github.com/k2-fsa/sherpa-onnx/pull/3136
* [Security] Fix HIGH vulnerability: python.lang.security.audit.dangerous-system-call-tainted-env-args.dangerous-system-call-tainted-env-args by @orbisai0security in https://github.com/k2-fsa/sherpa-onnx/pull/3155
* Fix various language bindings by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3166
* Release v1.12.24 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3167

## New Contributors
* @eij-iew made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3096
* @seven1240 made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3115
* @Doheon-Kim made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3130
* @yuiyideyui made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3120
* @Edison2ST made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3138
* @Jua004 made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3105
* @nullbio made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3077
* @uhuntu made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3141
* @WilliamTambellini made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3136
* @orbisai0security made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3155

**Full Changelog**: https://github.com/k2-fsa/sherpa-onnx/compare/v1.12.23...v1.12.24