v1.12.26
k2-fsa/sherpa-onnxv1.12.26Feb 24, 2026by csukuangfj
AI Summary
This release introduces comprehensive Rust API support for speech recognition including streaming and offline ASR, along with enhanced PocketTTS caching capabilities and seed support for consistent voice cloning.
Key Highlights
- Added Rust API for streaming speech recognition
- Added Rust API for offline ASR
- Added real-time microphone speech recognition example for Rust
- Added seed support and voice embedding caching for PocketTTS
- Fixed heap-buffer-overflow bug in ReadWaveImpl
New Features
- Rust API for streaming ASR
- Rust API for offline ASR
- PocketTTS voice embedding caching
- PocketTTS seed support for consistent output
- Node.js Addon and WASM support for PocketTTS cache
- Enhanced Java, C#, Swift, Pascal APIs for PocketTTS
Full Release Notes
## What's Changed * Fix CI by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3192 * Fix heap-buffer-overflow in ReadWaveImpl when data chunk size is odd by @zhangjy1014 in https://github.com/k2-fsa/sherpa-onnx/pull/3195 * [PocketTTS] Add seed support and voice embedding caching for consiste… by @ramishi in https://github.com/k2-fsa/sherpa-onnx/pull/3189 * Feat/pocket tts cache config by @ramishi in https://github.com/k2-fsa/sherpa-onnx/pull/3200 * 3197: enhanced java binding for voice_embedding_cache_capacity by @albertbolt1 in https://github.com/k2-fsa/sherpa-onnx/pull/3201 * Dart, flutter, go, c-api blinding and example by @ramishi in https://github.com/k2-fsa/sherpa-onnx/pull/3202 * Begin to add Rust API by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3203 * Add Rust API for streaming speech recognition by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3204 * Add a real-time speech recognition example with microphone for Rust API. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3205 * Add Rust API for offline ASR by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3207 * feat: Add PocketTTS cache & seed support to Node.js Addon and WASM APIs by @ramishi in https://github.com/k2-fsa/sherpa-onnx/pull/3206 * Add more examples for offline ASR models with Rust API. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3209 * Update C#/Swift/Pascal API for PocketTTS' VoiceEmbeddingCacheCapacity. by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3211 * Release v1.12.26 by @csukuangfj in https://github.com/k2-fsa/sherpa-onnx/pull/3212 ## New Contributors * @zhangjy1014 made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3195 * @ramishi made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3189 * @albertbolt1 made their first contribution in https://github.com/k2-fsa/sherpa-onnx/pull/3201 **Full Changelog**: https://github.com/k2-fsa/sherpa-onnx/compare/v1.12.25...v1.12.26