Skip to content

Commit e54c1f4

Browse files
authored
Release v1.10.35 (#1617)
1 parent 0f4b1f4 commit e54c1f4

File tree

33 files changed

+67
-52
lines changed

33 files changed

+67
-52
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.10.35
2+
3+
* Add missing changes about speaker identfication demo for HarmonyOS (#1612)
4+
* Provide sherpa-onnx.aar for Android (#1615)
5+
* Use aar in Android Java demo. (#1616)
6+
17
## 1.10.34
28

39
* Fix building node-addon package (#1598)

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.34")
13+
set(SHERPA_ONNX_VERSION "1.10.35")
1414

1515
# Disable warning about
1616
#

android/SherpaOnnxAar/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
git clone https://github.com/k2-fsa/sherpa-onnx
55
cd sherpa-onnx
66
7-
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.34/sherpa-onnx-v1.10.34-android.tar.bz2
8-
tar xvf sherpa-onnx-v1.10.34-android.tar.bz2
7+
wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.35/sherpa-onnx-v1.10.35-android.tar.bz2
8+
tar xvf sherpa-onnx-v1.10.35-android.tar.bz2
99
1010
cp -v jniLibs/arm64-v8a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/arm64-v8a/
1111
cp -v jniLibs/armeabi-v7a/* android/SherpaOnnxAar/sherpa_onnx/src/main/jniLibs/armeabi-v7a/
@@ -16,5 +16,5 @@ cd android/SherpaOnnxAar
1616
1717
./gradlew :sherpa_onnx:assembleRelease
1818
ls -lh ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar
19-
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.10.34.aar
19+
cp ./sherpa_onnx/build/outputs/aar/sherpa_onnx-release.aar ../../sherpa-onnx-1.10.35.aar
2020
```

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.34</string>
245+
<string>1.10.35</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.34
12+
sherpa_onnx: ^1.10.35
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.34
12+
sherpa_onnx: ^1.10.35
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.34
12+
sherpa_onnx: ^1.10.35
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.34
13+
sherpa_onnx: ^1.10.35
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.34
11+
sherpa_onnx: ^1.10.35
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.34
12+
sherpa_onnx: ^1.10.35
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.34
14+
sherpa_onnx: ^1.10.35
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.34
11+
sherpa_onnx: ^1.10.35
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.34
13+
sherpa_onnx: ^1.10.35
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.34
12+
sherpa_onnx: ^1.10.35
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.34
8+
version: 1.10.35
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.34
34+
sherpa_onnx: ^1.10.35
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.34
8+
version: 1.10.35
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.34
21+
sherpa_onnx: ^1.10.35
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.34
20+
version: 1.10.35
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.34
33+
sherpa_onnx_android: ^1.10.35
3434
# sherpa_onnx_android:
3535
# path: ../sherpa_onnx_android
3636

37-
sherpa_onnx_macos: ^1.10.34
37+
sherpa_onnx_macos: ^1.10.35
3838
# sherpa_onnx_macos:
3939
# path: ../sherpa_onnx_macos
4040

41-
sherpa_onnx_linux: ^1.10.34
41+
sherpa_onnx_linux: ^1.10.35
4242
# sherpa_onnx_linux:
4343
# path: ../sherpa_onnx_linux
4444

45-
sherpa_onnx_windows: ^1.10.34
45+
sherpa_onnx_windows: ^1.10.35
4646
# sherpa_onnx_windows:
4747
# path: ../sherpa_onnx_windows
4848

49-
sherpa_onnx_ios: ^1.10.34
49+
sherpa_onnx_ios: ^1.10.35
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.34'
10+
s.version = '1.10.35'
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.34'
7+
s.version = '1.10.35'
88
s.summary = 'sherpa-onnx Flutter FFI plugin project.'
99
s.description = <<-DESC
1010
sherpa-onnx Flutter FFI plugin project.

harmony-os/SherpaOnnxHar/release.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
set -ex
3+
4+
export PATH=/Users/fangjun/software/command-line-tools/bin:$PATH
5+
6+
hvigorw clean --no-daemon
7+
hvigorw --mode module -p product=default -p module=sherpa_onnx@default assembleHar --analyze=normal --parallel --incremental --no-daemon
8+
9+
ohpm publish ./sherpa_onnx/build/default/outputs/default/sherpa_onnx.har

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.33';
4+
export const HAR_VERSION = '1.10.35';
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

+1-1
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.34",
26+
"sherpa_onnx": "1.10.35",
2727
},
2828
```
2929

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.34",
3+
"version": "1.10.35",
44
"description": "On-device 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/SherpaOnnxSpeakerDiarization/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.34"
9+
"sherpa_onnx": "1.10.35"
1010
}
1111
}
1212

harmony-os/SherpaOnnxSpeakerIdentification/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.34",
9+
"sherpa_onnx": "1.10.35",
1010
}
1111
}
1212

harmony-os/SherpaOnnxStreamingAsr/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.34",
9+
"sherpa_onnx": "1.10.35",
1010
}
1111
}
1212

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.34",
9+
"sherpa_onnx": "1.10.35",
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.34.har
3+
Please download ./sherpa_onnx-v1.10.35.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.34",
10+
"sherpa_onnx": "1.10.35",
1111
}
1212
}
1313

jitpack.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ jdk:
22
- openjdk17
33

44
before_install:
5-
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.34/sherpa-onnx-1.10.34.aar
5+
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.35/sherpa-onnx-1.10.35.aar
66

77
install:
8-
- FILE="-Dfile=sherpa-onnx-1.10.34.aar"
9-
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.34 -Dpackaging=aar -DgeneratePom=true
8+
- FILE="-Dfile=sherpa-onnx-1.10.35.aar"
9+
- mvn install:install-file $FILE -DgroupId=com.k2fsa.sherpa.onnx -DartifactId=sherpa-onnx -Dversion=1.10.35 -Dpackaging=aar -DgeneratePom=true

new-release.sh

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
set -ex
44

5-
sed -i.bak 's/1\.10\.33/1\.10\.34/g' ./build-ios-shared.sh
6-
sed -i.bak 's/1\.10\.33/1\.10\.34/g' ./pom.xml
7-
sed -i.bak 's/1\.10\.33/1\.10\.34/g' ./jitpack.yml
8-
sed -i.bak 's/1\.10\.33/1\.10\.34/g' ./android/SherpaOnnxAar/README.md
5+
sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./build-ios-shared.sh
6+
sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./pom.xml
7+
sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./jitpack.yml
8+
sed -i.bak 's/1\.10\.34/1\.10\.35/g' ./android/SherpaOnnxAar/README.md
99

10-
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
11-
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
12-
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
13-
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
14-
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
10+
find flutter -name *.yaml -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
11+
find dart-api-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
12+
find flutter-examples -name *.yaml -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
13+
find flutter -name *.podspec -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
14+
find nodejs-addon-examples -name package.json -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
1515

16-
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
17-
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.33/1\.10\.34/g' {} \;
16+
find harmony-os -name "README.md" -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/g' {} \;
17+
find harmony-os -name oh-package.json5 -type f -exec sed -i.bak 's/1\.10\.34/1\.10\.35/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.34"
3+
"sherpa-onnx-node": "^1.10.35"
44
}
55
}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.k2fsa.sherpa.onnx</groupId>
66
<artifactId>sherpa-onnx-android</artifactId>
7-
<version>1.10.34</version>
7+
<version>1.10.35</version>
88
<url>https://github.com/k2-fsa/sherpa-onnx</url>
99
<packaging>pom</packaging>
1010
<description>First Android Library</description>

0 commit comments

Comments
 (0)