Skip to content

Commit

Permalink
Version 0.5.23
Browse files Browse the repository at this point in the history
  • Loading branch information
lingualogic committed Jul 10, 2021
1 parent b26036f commit 4a1ad62
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 69 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Speech-React Release Notizen


## 0.5.23.0016 Release (10.07.2021)

### Fix

Aktualisierung aller NPM-Packages.
Aktualisierung auf React 17.


## 0.5.22.0015 Release (31.08.2020)

### Fix
Expand Down
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Die Speech-React Bibliothek benötigt das Speech-Framework, welches unter [https

Um in eigenen Projekten Speech-React nutzen zu können, muss das Speech-Framework NPM-Package von der [LinguaLogic-Seite](https://lingualogic.de) heruntergeladen werden, in den eigenen Projektordner kopiert werden und vor Speech-React installiert sein. Das Speech-Framework NPM-Package wird mit folgendem Befehl installiert:

$ npm install speech-framework-0.5.22.tgz
$ npm install speech-framework-0.5.23.tgz

Alternativ kann das Speech-Framework auch über das offizielle globale NPM-Repository installiert werden:

Expand All @@ -31,40 +31,40 @@ Wird speech-react aus dem globalen NPM-Repository installert, wird speech-framew

## Letzte Version

* 0.5.22.0015 Release vom 31.08.2020 [Release Notizen](./CHANGELOG.md)
* 0.5.23.0016 Release vom 10.07.2021 [Release Notizen](./CHANGELOG.md)

Wir empfehlen für neue React-Projekte die Verwendung von Typescript, ansonsten kann Speech-React auch mit JavaScript verwendet werden.


## Voraussetzungen

Wir haben Speech-React auf Mac OS X 10.11, Mac OS X 10.13, Win 10 und Ubuntu 18.04 getestet. Als Plattformen können eingesetzt werden:
Wir haben Speech-React auf Mac OS X 10.14, Win 10 und Ubuntu 20.04 getestet. Als Plattformen können eingesetzt werden:

* Mac OS X >= 10.9
* Windows >= 7
* aktuelles Linux (z.B. Ubuntu 18.04)
* Mac OS X >= 10.14
* Windows >= 10
* aktuelles Linux (z.B. Ubuntu 20.04)

Es wird die aktuellste React-Version empfohlen

* React >= 16.x
* React >= 17.x


Grundsätzlich ist das Speech-React SDK in Chrome, Firefox, Opera, Safari und Edge nutzbar, allerdings hängt die Sprachausgabe unter diesen Browsern von der zugrunde liegenden Text-to-Speech Engine der jeweiligen Plattformen ab. Die Spracheingabe funktioniert bisher nur in Chrome.

* Chrome >= 71 Windows/Linux/MacOS (Html5: TTS, ASR)(Amazon: TTS, Google: NLU)
* Firefox >= 64 Windows/Linux/MacOS (Html5: TTS)(Amazon: TTS, Google: NLU)
* Opera >= 58 Windows/MacOS (Html5: TTS)(Amazon: TTS, Google: NLU) Linux (kein Html5)
* Safari >= 12 MacOS/iOS (Html5: TTS)(Amazon: TTS, Google: NLU)
* Edge >= 42 Windows (Html5: TTS)(Amazon: TTS, Google: NLU)
* Chrome >= 80 Windows/Linux/MacOS (Html5: TTS, ASR)(Amazon: TTS, Google: NLU)
* Firefox >= 80 Windows/Linux/MacOS (Html5: TTS)(Amazon: TTS, Google: NLU)
* Opera >= 70 Windows/MacOS (Html5: TTS)(Amazon: TTS, Google: NLU) Linux (kein Html5)
* Safari >= 14 MacOS/iOS (Html5: TTS)(Amazon: TTS, Google: NLU)
* Edge >= 80 Windows (Html5: TTS)(Amazon: TTS, Google: NLU)


NodeJS muss installiert sein.

* NodeJS >= 10.X und <= 12.X (LTS-Version)
* NodeJS >= 12.X und <= 14.X (LTS-Version)

Als weitere Plattformen können Android und iOS mit Cordova verwendet werden:

* Cordova >= 8 für Android >= 5.1 und iOS >= 10
* Cordova >= 10 für Android >= 5.1 und iOS >= 10

Für Cordova müssen weitere Programme zur Entwicklung von Android- und iOS-Apps installiert werden.
Informationen hierzu finden sich unter [docs/platform/Cordova.md](./docs/platform/Cordova.md).
Expand Down Expand Up @@ -107,11 +107,11 @@ Die API-Dokumentation kann mit folgenden Befehl in docs/api erzeugt werden:

$ npm run docs

Das im dist/ Ordner erzeugte npm-Paket 'speech-react-0.5.22.tgz' kann in den eigenen React Projektordner kopiert werden.
Das im dist/ Ordner erzeugte npm-Paket 'speech-react-0.5.23.tgz' kann in den eigenen React Projektordner kopiert werden.

Die Installation des 'speech-react-0.5.22.tgz' npm-Paketes erfolgt im eigenen React Projektordner mit folgendem Befehl:
Die Installation des 'speech-react-0.5.23.tgz' npm-Paketes erfolgt im eigenen React Projektordner mit folgendem Befehl:

$ npm install speech-react-0.5.22.tgz
$ npm install speech-react-0.5.23.tgz

Danach kann Speech-React im eigenen React-Projekt verwendet werden.

Expand Down
2 changes: 1 addition & 1 deletion bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speech-react",
"version": "0.5.22",
"version": "0.5.23",
"description": "Speech-React",
"author": "LinguaLogic Team",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions config/speech-react-version.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"SPEECHREACT_VERSION_MAJORNUMBER": "0",
"SPEECHREACT_VERSION_MINORNUMBER": "5",
"SPEECHREACT_VERSION_PATCHNUMBER": "22",
"SPEECHREACT_VERSION_NUMBER": "0.5.22",
"SPEECHREACT_VERSION_BUILD": "0015",
"SPEECHREACT_VERSION_DATE": "31.08.2020",
"SPEECHREACT_VERSION_PATCHNUMBER": "23",
"SPEECHREACT_VERSION_NUMBER": "0.5.23",
"SPEECHREACT_VERSION_BUILD": "0016",
"SPEECHREACT_VERSION_DATE": "10.09.2021",
"SPEECHREACT_VERSION_TYPE": "release",
"SPEECHREACT_VERSION_BRANCH": "0.5.x"
}
2 changes: 1 addition & 1 deletion cordova-app/config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="de.lingualogic.SpeechReactApp" version="0.5.22" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<widget id="de.lingualogic.SpeechReactApp" version="0.5.23" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>SpeechReactApp</name>
<description>
Test App fuer Speech-React SDK
Expand Down
2 changes: 1 addition & 1 deletion cordova-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "speech-react-app",
"displayName": "SpeechReactApp",
"version": "0.5.22",
"version": "0.5.23",
"description": "Test-App fuer Speech-React SDK",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 2 additions & 3 deletions examples/listen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "listenapp",
"version": "0.5.22",
"version": "0.5.23",
"productName": "ListenApp",
"description": "ListenApp",
"author": "LinguaLogic Team",
Expand All @@ -13,8 +13,7 @@
"eject": "react-scripts eject"
},
"dependencies": {
"speech-framework": "file:../../speech-framework-0.5.20.tgz",
"speech-react": "file:../../dist/speech-react-0.5.22.tgz"
"speech-react": "file:../../dist/speech-react-0.5.23.tgz"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
5 changes: 2 additions & 3 deletions examples/speak/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speakapp",
"version": "0.5.22",
"version": "0.5.23",
"productName": "SpeakApp",
"description": "SpeakApp",
"author": "LinguaLogic Team",
Expand All @@ -13,8 +13,7 @@
"eject": "react-scripts eject"
},
"dependencies": {
"speech-framework": "file:../../speech-framework-0.5.20.tgz",
"speech-react": "file:../../dist/speech-react-0.5.22.tgz"
"speech-react": "file:../../dist/speech-react-0.5.23.tgz"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
57 changes: 28 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speech-react",
"version": "0.5.22",
"version": "0.5.23",
"description": "Speech-React",
"author": "LinguaLogic Team",
"license": "MIT",
Expand All @@ -18,46 +18,45 @@
"listen": "cd examples/listen && npm install && npm start"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.18",
"@fortawesome/free-solid-svg-icons": "^5.8.2",
"@fortawesome/react-fontawesome": "^0.1.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rxjs": "^6.5.2",
"speech-framework": "file:speech-framework-0.5.22.tgz"
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rxjs": "^7.2.0",
"speech-framework": "file:speech-framework-0.5.23.tgz"
},
"devDependencies": {
"@types/jasmine": "^3.3.12",
"@types/jest": "24.0.13",
"@types/node": "12.0.2",
"@types/react": "^16.8.18",
"@types/react-dom": "16.8.4",
"browser-sync": "^2.26.5",
"electron-packager": "^13.1.1",
"@types/jasmine": "^3.8.1",
"@types/jest": "26.0.24",
"@types/node": "16.3.1",
"@types/react": "^17.0.14",
"@types/react-dom": "17.0.9",
"browser-sync": "^2.27.4",
"electron-packager": "^15.2.0",
"gulp": "^4.0.2",
"gulp-file": "^0.4.0",
"gulp-gzip": "^1.4.2",
"gulp-inject-string": "^1.1.2",
"gulp-istanbul-report": "0.0.1",
"gulp-markdown-github-style": "^1.1.1",
"gulp-nodemon": "^2.4.2",
"gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
"gulp-nodemon": "^2.5.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-shell": "^0.8.0",
"gulp-tar": "^2.1.0",
"gulp-typedoc": "^2.2.2",
"gulp-tar": "^3.1.0",
"gulp-typedoc": "^2.2.9",
"gulp4-run-sequence": "^1.0.1",
"node-sass": "^4.12.0",
"react-scripts": "3.0.1",
"rollup": "^1.20.3",
"node-sass": "^6.0.1",
"react-scripts": "4.0.3",
"rollup": "^2.53.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.24.0",
"rollup-plugin-uglify": "^3.0.0",
"typedoc": "^0.14.2",
"typedoc-plugin-external-module-name": "^2.1.0",
"typescript": "3.4.5",
"uglify-es": "^3.3.9"
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-terser": "^7.0.2",
"typedoc": "^0.19.2",
"typedoc-plugin-external-module-name": "^4.0.6",
"typescript": "4.2.4"
}
}
7 changes: 3 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import typescript from 'rollup-plugin-typescript2';
import json from 'rollup-plugin-json';
import commonjs from 'rollup-plugin-commonjs';
import nodeResolve from 'rollup-plugin-node-resolve';
import uglify from 'rollup-plugin-uglify';
import { minify } from 'uglify-es';
import { terser } from 'rollup-plugin-terser';


// Speech-Angular Version
Expand Down Expand Up @@ -90,11 +89,11 @@ export default {

json(),

uglify({ output: {
terser({ output: {
beautify: readableSourceCode,
preamble: preambleText,
quote_style: 3
}}, minify),
}}),

nodeResolve({
mainFields: ['module', 'main']
Expand Down
Binary file removed speech-framework-0.5.22.tgz
Binary file not shown.
Binary file added speech-framework-0.5.23.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/speech/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Speech-React Quellcode

**Version:** **0.5.22**
**Version:** **0.5.23**

Der Quellcode von Speech-React ist vollständig im Verzeichnis src/speech untergebracht, und baut auf dem Speech-Framework auf. Es sollten keine direkten Zugriffe auf das Speech-Framework genutzt werden, da sich das Speech-Framework API noch stark ändern kann. Alle Zugriffe sollten nur über die Services des Speech-React SDK im eigenen Code erfolgen.

Expand Down
6 changes: 3 additions & 3 deletions src/speech/const/speech-service-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
*/


export const SPEECHSERVICE_VERSION_NUMBER = '0.5.22';
export const SPEECHSERVICE_VERSION_BUILD = '0015';
export const SPEECHSERVICE_VERSION_NUMBER = '0.5.23';
export const SPEECHSERVICE_VERSION_BUILD = '0016';
export const SPEECHSERVICE_VERSION_TYPE = 'release';
export const SPEECHSERVICE_VERSION_DATE = '31.08.2020';
export const SPEECHSERVICE_VERSION_DATE = '10.09.2021';
// tslint:disable-next-line
export const SPEECHSERVICE_VERSION_STRING = SPEECHSERVICE_VERSION_NUMBER + '.' + SPEECHSERVICE_VERSION_BUILD + ' vom ' + SPEECHSERVICE_VERSION_DATE + ' (' + SPEECHSERVICE_VERSION_TYPE + ')';

Expand Down
2 changes: 1 addition & 1 deletion src/speech/service/service-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Initialisiert und verwaltet alle verfuegbaren Speech-Services.
*
* Konfiguration: stable
* Version: 0.5.22.0015 (release) vom 31.08.2020
* Version: 0.5.23.0016 (release) vom 10.09.2021
*
* Speech-Services:
*
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve"
"jsx": "react-jsx",
"noFallthroughCasesInSwitch": true
},
"include": [
"src"
Expand Down

0 comments on commit 4a1ad62

Please sign in to comment.