diff --git a/.github/workflows/apk-asr-2pass.yaml b/.github/workflows/apk-asr-2pass.yaml index 8ef5d830d..bbe61060a 100644 --- a/.github/workflows/apk-asr-2pass.yaml +++ b/.github/workflows/apk-asr-2pass.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-asr.yaml b/.github/workflows/apk-asr.yaml index 177d701c1..fc1cd1f5d 100644 --- a/.github/workflows/apk-asr.yaml +++ b/.github/workflows/apk-asr.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-audio-tagging-wearos.yaml b/.github/workflows/apk-audio-tagging-wearos.yaml index 548b90286..0ed823076 100644 --- a/.github/workflows/apk-audio-tagging-wearos.yaml +++ b/.github/workflows/apk-audio-tagging-wearos.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-audio-tagging.yaml b/.github/workflows/apk-audio-tagging.yaml index f811d7330..f6b85c3b2 100644 --- a/.github/workflows/apk-audio-tagging.yaml +++ b/.github/workflows/apk-audio-tagging.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-kws.yaml b/.github/workflows/apk-kws.yaml index f29f54499..524622de8 100644 --- a/.github/workflows/apk-kws.yaml +++ b/.github/workflows/apk-kws.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-speaker-identification.yaml b/.github/workflows/apk-speaker-identification.yaml index 2ee33e241..ca89ec49f 100644 --- a/.github/workflows/apk-speaker-identification.yaml +++ b/.github/workflows/apk-speaker-identification.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-spoken-language-identification.yaml b/.github/workflows/apk-spoken-language-identification.yaml index b1d9ef2d4..3cb9c83b2 100644 --- a/.github/workflows/apk-spoken-language-identification.yaml +++ b/.github/workflows/apk-spoken-language-identification.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-tts-engine.yaml b/.github/workflows/apk-tts-engine.yaml index 0597ddf73..d251483e4 100644 --- a/.github/workflows/apk-tts-engine.yaml +++ b/.github/workflows/apk-tts-engine.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-tts.yaml b/.github/workflows/apk-tts.yaml index 5030dd4ac..dd0aa3f77 100644 --- a/.github/workflows/apk-tts.yaml +++ b/.github/workflows/apk-tts.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-vad-asr.yaml b/.github/workflows/apk-vad-asr.yaml index 6b769412a..8310043a9 100644 --- a/.github/workflows/apk-vad-asr.yaml +++ b/.github/workflows/apk-vad-asr.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/apk-vad.yaml b/.github/workflows/apk-vad.yaml index 6df438fa7..8253145b6 100644 --- a/.github/workflows/apk-vad.yaml +++ b/.github/workflows/apk-vad.yaml @@ -4,8 +4,6 @@ on: push: branches: - apk - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/build-wheels-aarch64.yaml b/.github/workflows/build-wheels-aarch64.yaml index 0822dbd8f..9d4ac571e 100644 --- a/.github/workflows/build-wheels-aarch64.yaml +++ b/.github/workflows/build-wheels-aarch64.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-armv7l.yaml b/.github/workflows/build-wheels-armv7l.yaml index 0e5f1088f..05c3b196d 100644 --- a/.github/workflows/build-wheels-armv7l.yaml +++ b/.github/workflows/build-wheels-armv7l.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-linux-cuda.yaml b/.github/workflows/build-wheels-linux-cuda.yaml index 282b30a1d..b1ee89825 100644 --- a/.github/workflows/build-wheels-linux-cuda.yaml +++ b/.github/workflows/build-wheels-linux-cuda.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-linux.yaml b/.github/workflows/build-wheels-linux.yaml index dfdae1ca7..e16f5bb9a 100644 --- a/.github/workflows/build-wheels-linux.yaml +++ b/.github/workflows/build-wheels-linux.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-macos-arm64.yaml b/.github/workflows/build-wheels-macos-arm64.yaml index 506a5c8a6..ce899c5d1 100644 --- a/.github/workflows/build-wheels-macos-arm64.yaml +++ b/.github/workflows/build-wheels-macos-arm64.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-macos-universal2.yaml b/.github/workflows/build-wheels-macos-universal2.yaml index b149e9ae3..4578d370e 100644 --- a/.github/workflows/build-wheels-macos-universal2.yaml +++ b/.github/workflows/build-wheels-macos-universal2.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-macos-x64.yaml b/.github/workflows/build-wheels-macos-x64.yaml index 95146629a..b7bf6ff54 100644 --- a/.github/workflows/build-wheels-macos-x64.yaml +++ b/.github/workflows/build-wheels-macos-x64.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-win32.yaml b/.github/workflows/build-wheels-win32.yaml index 692bb8165..256084783 100644 --- a/.github/workflows/build-wheels-win32.yaml +++ b/.github/workflows/build-wheels-win32.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-win64-cuda.yaml b/.github/workflows/build-wheels-win64-cuda.yaml index eb06e9b41..f0a17da8c 100644 --- a/.github/workflows/build-wheels-win64-cuda.yaml +++ b/.github/workflows/build-wheels-win64-cuda.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-wheels-win64.yaml b/.github/workflows/build-wheels-win64.yaml index 710322e32..14e3e2ac4 100644 --- a/.github/workflows/build-wheels-win64.yaml +++ b/.github/workflows/build-wheels-win64.yaml @@ -4,8 +4,6 @@ on: push: branches: - wheel - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/flutter-android.yaml b/.github/workflows/flutter-android.yaml index eae1ce83f..9752a82c6 100644 --- a/.github/workflows/flutter-android.yaml +++ b/.github/workflows/flutter-android.yaml @@ -4,8 +4,6 @@ on: push: branches: - flutter - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/flutter-linux.yaml b/.github/workflows/flutter-linux.yaml index 4f8262b9e..b6b1fb9c8 100644 --- a/.github/workflows/flutter-linux.yaml +++ b/.github/workflows/flutter-linux.yaml @@ -4,8 +4,6 @@ on: push: branches: - flutter - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/flutter-macos.yaml b/.github/workflows/flutter-macos.yaml index a09a1c99c..7c8a38e4c 100644 --- a/.github/workflows/flutter-macos.yaml +++ b/.github/workflows/flutter-macos.yaml @@ -4,8 +4,6 @@ on: push: branches: - flutter - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/flutter-windows-x64.yaml b/.github/workflows/flutter-windows-x64.yaml index f0acfa31f..f4d296b70 100644 --- a/.github/workflows/flutter-windows-x64.yaml +++ b/.github/workflows/flutter-windows-x64.yaml @@ -4,8 +4,6 @@ on: push: branches: - flutter - tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: diff --git a/.github/workflows/lazarus.yaml b/.github/workflows/lazarus.yaml index 09244b2cc..11df53644 100644 --- a/.github/workflows/lazarus.yaml +++ b/.github/workflows/lazarus.yaml @@ -5,7 +5,6 @@ on: branches: - master - lazarus - - fix-lazarus paths: - '.github/workflows/lazarus.yaml' - 'CMakeLists.txt' diff --git a/CHANGELOG.md b/CHANGELOG.md index 4478ad6bb..7af4a3f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 1.10.27 + +* Add non-streaming ONNX models for Russian ASR (#1358) +* Fix building Flutter TTS examples for Linux (#1356) +* Support passing utf-8 strings from JavaScript to C++. (#1355) +* Fix sherpa_onnx.go to support returning empty recognition results (#1353) + ## 1.10.26 * Add links to projects using sherpa-onnx. (#1345) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49b8fe559..0f46e95a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ project(sherpa-onnx) # ./nodejs-addon-examples # ./dart-api-examples/ # ./CHANGELOG.md -set(SHERPA_ONNX_VERSION "1.10.26") +set(SHERPA_ONNX_VERSION "1.10.27") # Disable warning about # diff --git a/dart-api-examples/add-punctuations/pubspec.yaml b/dart-api-examples/add-punctuations/pubspec.yaml index 7a19f130f..9c03139c3 100644 --- a/dart-api-examples/add-punctuations/pubspec.yaml +++ b/dart-api-examples/add-punctuations/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/audio-tagging/pubspec.yaml b/dart-api-examples/audio-tagging/pubspec.yaml index c24ed3309..bae6aa72c 100644 --- a/dart-api-examples/audio-tagging/pubspec.yaml +++ b/dart-api-examples/audio-tagging/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/keyword-spotter/pubspec.yaml b/dart-api-examples/keyword-spotter/pubspec.yaml index 340c36e05..eeae130c8 100644 --- a/dart-api-examples/keyword-spotter/pubspec.yaml +++ b/dart-api-examples/keyword-spotter/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 # sherpa_onnx: # path: ../../flutter/sherpa_onnx path: ^1.9.0 diff --git a/dart-api-examples/non-streaming-asr/pubspec.yaml b/dart-api-examples/non-streaming-asr/pubspec.yaml index aced5336f..d348b8451 100644 --- a/dart-api-examples/non-streaming-asr/pubspec.yaml +++ b/dart-api-examples/non-streaming-asr/pubspec.yaml @@ -10,7 +10,7 @@ environment: # Add regular dependencies here. dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/speaker-identification/pubspec.yaml b/dart-api-examples/speaker-identification/pubspec.yaml index fa18aa9c6..fa31c272e 100644 --- a/dart-api-examples/speaker-identification/pubspec.yaml +++ b/dart-api-examples/speaker-identification/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/streaming-asr/pubspec.yaml b/dart-api-examples/streaming-asr/pubspec.yaml index 081ba914b..24bd1decc 100644 --- a/dart-api-examples/streaming-asr/pubspec.yaml +++ b/dart-api-examples/streaming-asr/pubspec.yaml @@ -11,7 +11,7 @@ environment: # Add regular dependencies here. dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/tts/pubspec.yaml b/dart-api-examples/tts/pubspec.yaml index a9a104d26..51e7a9d9e 100644 --- a/dart-api-examples/tts/pubspec.yaml +++ b/dart-api-examples/tts/pubspec.yaml @@ -8,7 +8,7 @@ environment: # Add regular dependencies here. dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml b/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml index 6f7917288..66d8ca112 100644 --- a/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml +++ b/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml @@ -10,7 +10,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/vad/pubspec.yaml b/dart-api-examples/vad/pubspec.yaml index 9c310b1ab..2535e6074 100644 --- a/dart-api-examples/vad/pubspec.yaml +++ b/dart-api-examples/vad/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 path: ^1.9.0 args: ^2.5.0 diff --git a/flutter-examples/streaming_asr/pubspec.yaml b/flutter-examples/streaming_asr/pubspec.yaml index 009a5d9d0..a09ecdeed 100644 --- a/flutter-examples/streaming_asr/pubspec.yaml +++ b/flutter-examples/streaming_asr/pubspec.yaml @@ -5,7 +5,7 @@ description: > publish_to: 'none' -version: 1.10.26 +version: 1.10.27 topics: - speech-recognition @@ -31,7 +31,7 @@ dependencies: record: ^5.1.0 url_launcher: ^6.2.6 - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 # sherpa_onnx: # path: ../../flutter/sherpa_onnx diff --git a/flutter-examples/tts/pubspec.yaml b/flutter-examples/tts/pubspec.yaml index 722b33cac..975c0330d 100644 --- a/flutter-examples/tts/pubspec.yaml +++ b/flutter-examples/tts/pubspec.yaml @@ -5,7 +5,7 @@ description: > publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 1.10.26 +version: 1.10.27 environment: sdk: ">=2.17.0 <4.0.0" @@ -18,7 +18,7 @@ dependencies: cupertino_icons: ^1.0.6 path_provider: ^2.1.3 path: ^1.9.0 - sherpa_onnx: ^1.10.26 + sherpa_onnx: ^1.10.27 # sherpa_onnx: # path: ../../flutter/sherpa_onnx url_launcher: 6.2.6 diff --git a/flutter/sherpa_onnx/pubspec.yaml b/flutter/sherpa_onnx/pubspec.yaml index e34918d4c..5b693ef0b 100644 --- a/flutter/sherpa_onnx/pubspec.yaml +++ b/flutter/sherpa_onnx/pubspec.yaml @@ -17,7 +17,7 @@ topics: - voice-activity-detection # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec -version: 1.10.26 +version: 1.10.27 homepage: https://github.com/k2-fsa/sherpa-onnx @@ -30,23 +30,23 @@ dependencies: flutter: sdk: flutter - sherpa_onnx_android: ^1.10.26 + sherpa_onnx_android: ^1.10.27 # sherpa_onnx_android: # path: ../sherpa_onnx_android - sherpa_onnx_macos: ^1.10.26 + sherpa_onnx_macos: ^1.10.27 # sherpa_onnx_macos: # path: ../sherpa_onnx_macos - sherpa_onnx_linux: ^1.10.26 + sherpa_onnx_linux: ^1.10.27 # sherpa_onnx_linux: # path: ../sherpa_onnx_linux # - sherpa_onnx_windows: ^1.10.26 + sherpa_onnx_windows: ^1.10.27 # sherpa_onnx_windows: # path: ../sherpa_onnx_windows - sherpa_onnx_ios: ^1.10.26 + sherpa_onnx_ios: ^1.10.27 # sherpa_onnx_ios: # path: ../sherpa_onnx_ios diff --git a/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec b/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec index 58b1fc3c7..ab4b74b97 100644 --- a/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec +++ b/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec @@ -7,7 +7,7 @@ # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c Pod::Spec.new do |s| s.name = 'sherpa_onnx_ios' - s.version = '1.10.26' + s.version = '1.10.27' s.summary = 'A new Flutter FFI plugin project.' s.description = <<-DESC A new Flutter FFI plugin project. diff --git a/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec b/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec index 4a490acc0..880e0217e 100644 --- a/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec +++ b/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'sherpa_onnx_macos' - s.version = '1.10.26' + s.version = '1.10.27' s.summary = 'sherpa-onnx Flutter FFI plugin project.' s.description = <<-DESC sherpa-onnx Flutter FFI plugin project. diff --git a/new-release.sh b/new-release.sh index bcc438dc3..a540d10af 100755 --- a/new-release.sh +++ b/new-release.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.25/1\.10\.26/g' {} \; -find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.25/1\.10\.26/g' {} \; -find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.25/1\.10\.26/g' {} \; -find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.25/1\.10\.26/g' {} \; -find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.25/1\.10\.26/g' {} \; +find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.26/1\.10\.27/g' {} \; +find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.26/1\.10\.27/g' {} \; +find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.26/1\.10\.27/g' {} \; +find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.26/1\.10\.27/g' {} \; +find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.26/1\.10\.27/g' {} \;