Skip to content

Commit 9352ccf

Browse files
authored
Release v1.10.33 (#1591)
1 parent 74a8735 commit 9352ccf

File tree

27 files changed

+59
-43
lines changed

27 files changed

+59
-43
lines changed

CHANGELOG.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1+
## 1.10.33
2+
3+
* Add non-streaming ASR support for HarmonyOS. (#1564)
4+
* Add streaming ASR support for HarmonyOS. (#1565)
5+
* Fix building for Android (#1568)
6+
* Publish `sherpa_onnx.har` for HarmonyOS (#1572)
7+
* Add VAD+ASR demo for HarmonyOS (#1573)
8+
* Fix publishing har packages for HarmonyOS (#1576)
9+
* Add CI to build HAPs for HarmonyOS (#1578)
10+
* Add microphone demo about VAD+ASR for HarmonyOS (#1581)
11+
* Fix getting microphone permission for HarmonyOS VAD+ASR example (#1582)
12+
* Add HarmonyOS support for text-to-speech. (#1584)
13+
* Fix: support both old and new websockets request headers format (#1588)
14+
* Add on-device tex-to-speech (TTS) demo for HarmonyOS (#1590)
15+
116
## 1.10.32
217

318
* Support cross-compiling for HarmonyOS (#1553)
419
* HarmonyOS support for VAD. (#1561)
5-
* Fix publishing flutter iOS app to appstore.
20+
* Fix publishing flutter iOS app to appstore (#1563).
621

722
## 1.10.31
823

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ project(sherpa-onnx)
1010
# Remember to update
1111
# ./CHANGELOG.md
1212
# ./new-release.sh
13-
set(SHERPA_ONNX_VERSION "1.10.32")
13+
set(SHERPA_ONNX_VERSION "1.10.33")
1414

1515
# Disable warning about
1616
#

build-ios-shared.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
242242
<key>CFBundlePackageType</key>
243243
<string>FMWK</string>
244244
<key>CFBundleShortVersionString</key>
245-
<string>1.10.32</string>
245+
<string>1.10.33</string>
246246
<key>CFBundleSupportedPlatforms</key>
247247
<array>
248248
<string>iPhoneOS</string>

dart-api-examples/add-punctuations/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.32
12+
sherpa_onnx: ^1.10.33
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

dart-api-examples/audio-tagging/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.32
12+
sherpa_onnx: ^1.10.33
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

dart-api-examples/keyword-spotter/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.32
12+
sherpa_onnx: ^1.10.33
1313
# sherpa_onnx:
1414
# path: ../../flutter/sherpa_onnx
1515
path: ^1.9.0

dart-api-examples/non-streaming-asr/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010

1111
# Add regular dependencies here.
1212
dependencies:
13-
sherpa_onnx: ^1.10.32
13+
sherpa_onnx: ^1.10.33
1414
path: ^1.9.0
1515
args: ^2.5.0
1616

dart-api-examples/speaker-diarization/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
sdk: ">=3.0.0 <4.0.0"
99

1010
dependencies:
11-
sherpa_onnx: ^1.10.32
11+
sherpa_onnx: ^1.10.33
1212
# sherpa_onnx:
1313
# path: ../../flutter/sherpa_onnx
1414
path: ^1.9.0

dart-api-examples/speaker-identification/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.32
12+
sherpa_onnx: ^1.10.33
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

dart-api-examples/streaming-asr/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111

1212
# Add regular dependencies here.
1313
dependencies:
14-
sherpa_onnx: ^1.10.32
14+
sherpa_onnx: ^1.10.33
1515
path: ^1.9.0
1616
args: ^2.5.0
1717

dart-api-examples/tts/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88

99
# Add regular dependencies here.
1010
dependencies:
11-
sherpa_onnx: ^1.10.32
11+
sherpa_onnx: ^1.10.33
1212
path: ^1.9.0
1313
args: ^2.5.0
1414

dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: ">=3.0.0 <4.0.0"
1111

1212
dependencies:
13-
sherpa_onnx: ^1.10.32
13+
sherpa_onnx: ^1.10.33
1414
path: ^1.9.0
1515
args: ^2.5.0
1616

dart-api-examples/vad/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
12-
sherpa_onnx: ^1.10.32
12+
sherpa_onnx: ^1.10.33
1313
path: ^1.9.0
1414
args: ^2.5.0
1515

flutter-examples/streaming_asr/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >
55
66
publish_to: 'none'
77

8-
version: 1.10.32
8+
version: 1.10.33
99

1010
topics:
1111
- speech-recognition
@@ -31,7 +31,7 @@ dependencies:
3131
record: ^5.1.0
3232
url_launcher: ^6.2.6
3333

34-
sherpa_onnx: ^1.10.32
34+
sherpa_onnx: ^1.10.33
3535
# sherpa_onnx:
3636
# path: ../../flutter/sherpa_onnx
3737

flutter-examples/tts/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >
55
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

8-
version: 1.10.32
8+
version: 1.10.33
99

1010
environment:
1111
sdk: ">=2.17.0 <4.0.0"
@@ -18,7 +18,7 @@ dependencies:
1818
cupertino_icons: ^1.0.6
1919
path_provider: ^2.1.3
2020
path: ^1.9.0
21-
sherpa_onnx: ^1.10.32
21+
sherpa_onnx: ^1.10.33
2222
# sherpa_onnx:
2323
# path: ../../flutter/sherpa_onnx
2424
url_launcher: 6.2.6

flutter/sherpa_onnx/pubspec.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ topics:
1717
- voice-activity-detection
1818

1919
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec
20-
version: 1.10.32
20+
version: 1.10.33
2121

2222
homepage: https://github.com/k2-fsa/sherpa-onnx
2323

@@ -30,23 +30,23 @@ dependencies:
3030
flutter:
3131
sdk: flutter
3232

33-
sherpa_onnx_android: ^1.10.32
33+
sherpa_onnx_android: ^1.10.33
3434
# sherpa_onnx_android:
3535
# path: ../sherpa_onnx_android
3636

37-
sherpa_onnx_macos: ^1.10.32
37+
sherpa_onnx_macos: ^1.10.33
3838
# sherpa_onnx_macos:
3939
# path: ../sherpa_onnx_macos
4040

41-
sherpa_onnx_linux: ^1.10.32
41+
sherpa_onnx_linux: ^1.10.33
4242
# sherpa_onnx_linux:
4343
# path: ../sherpa_onnx_linux
4444

45-
sherpa_onnx_windows: ^1.10.32
45+
sherpa_onnx_windows: ^1.10.33
4646
# sherpa_onnx_windows:
4747
# path: ../sherpa_onnx_windows
4848

49-
sherpa_onnx_ios: ^1.10.32
49+
sherpa_onnx_ios: ^1.10.33
5050
# sherpa_onnx_ios:
5151
# path: ../sherpa_onnx_ios
5252

flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c
88
Pod::Spec.new do |s|
99
s.name = 'sherpa_onnx_ios'
10-
s.version = '1.10.32'
10+
s.version = '1.10.33'
1111
s.summary = 'A new Flutter FFI plugin project.'
1212
s.description = <<-DESC
1313
A new Flutter FFI plugin project.

flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'sherpa_onnx_macos'
7-
s.version = '1.10.32'
7+
s.version = '1.10.33'
88
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
99
s.description = <<-DESC
1010
sherpa-onnx Flutter FFI plugin project.

harmony-os/SherpaOnnxHar/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Pre-built `har` packages can be found at
2222

2323
You can also download it using
2424
```
25-
wget https://ohpm.openharmony.cn/ohpm/sherpa_onnx/-/sherpa_onnx-1.10.32.har
25+
wget https://ohpm.openharmony.cn/ohpm/sherpa_onnx/-/sherpa_onnx-1.10.33.har
2626
27-
# Please replace the version 1.10.32 if needed.
27+
# Please replace the version 1.10.33 if needed.
2828
```
2929

3030
You can also use

harmony-os/SherpaOnnxHar/sherpa_onnx/BuildProfile.ets

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Use these variables when you tailor your ArkTS code. They must be of the const type.
33
*/
4-
export const HAR_VERSION = '1.10.32';
4+
export const HAR_VERSION = '1.10.33';
55
export const BUILD_MODE_NAME = 'debug';
66
export const DEBUG = true;
77
export const TARGET_NAME = 'default';

harmony-os/SherpaOnnxHar/sherpa_onnx/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ or update your `oh-package.json5` to include the following:
2323

2424
```
2525
"dependencies": {
26-
"sherpa_onnx": "1.10.32",
26+
"sherpa_onnx": "1.10.33",
2727
},
2828
```
2929

@@ -33,7 +33,8 @@ Note that we recommend always using the latest version.
3333

3434
| Demo | URL | Description|
3535
|------|-----|------------|
36-
|SherpaOnnxVadAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxVadAsr)|It shows how to use VAD with a non-streaming ASR model for speech recognition|
36+
|SherpaOnnxVadAsr|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxVadAsr)|It shows how to use VAD with a non-streaming ASR model for on-device speech recognition without accessing the network |
37+
|SherpaOnnxTts|[Address](https://github.com/k2-fsa/sherpa-onnx/tree/master/harmony-os/SherpaOnnxTts)|It shows how to use Next-gen Kaldi for on-device text-to-speech (TTS, i.e., speech synthesis)|
3738

3839
# Documentation
3940

harmony-os/SherpaOnnxHar/sherpa_onnx/oh-package.json5

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sherpa_onnx",
3-
"version": "1.10.32",
3+
"version": "1.10.33",
44
"description": "Speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without internet connection",
55
"main": "Index.ets",
66
"author": "The next-gen Kaldi team",

harmony-os/SherpaOnnxTts/entry/oh-package.json5

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"license": "",
88
"dependencies": {
9-
"sherpa_onnx": "1.10.32",
9+
"sherpa_onnx": "1.10.33",
1010
}
1111
}
1212

harmony-os/SherpaOnnxVadAsr/entry/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction
22

3-
Please download ./sherpa_onnx-v1.10.32.har
3+
Please download ./sherpa_onnx-v1.10.33.har
44
from <https://huggingface.co/csukuangfj/sherpa-onnx-harmony-os/tree/main/har>
55

66
Hint: For users who have no access to huggingface, please use

harmony-os/SherpaOnnxVadAsr/entry/oh-package.json5

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "",
88
"dependencies": {
99
// please see https://ohpm.openharmony.cn/#/cn/detail/sherpa_onnx
10-
"sherpa_onnx": "1.10.32",
10+
"sherpa_onnx": "1.10.33",
1111
}
1212
}
1313

new-release.sh

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
set -ex
44

5-
sed -i.bak 's/1\.10\.31/1\.10\.32/g' ./build-ios-shared.sh
6-
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
7-
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
8-
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
9-
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
10-
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
5+
sed -i.bak 's/1\.10\.32/1\.10\.33/g' ./build-ios-shared.sh
6+
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
7+
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
8+
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
9+
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
10+
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
1111

12-
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
13-
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.31/1\.10\.32/g' {} \;
12+
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;
13+
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.32/1\.10\.33/g' {} \;

nodejs-addon-examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"sherpa-onnx-node": "^1.10.32"
3+
"sherpa-onnx-node": "^1.10.33"
44
}
55
}

0 commit comments

Comments
 (0)