v8.0.0 (#230)
compulim-workflow-bot
released this
26 Nov 03:24
·
10 commits
to refs/heads/main
since this release
[8.0.0] - 2024-11-26
Changed
- 💥 Modernized some code with TypeScript, more type-aligned to W3C Speech API, and moved to official Event Target API, in PR #220, #224, #225, and #228
SpeechRecognitionResult
andSpeechRecognitionResultList
is now a array-like object, useArray.from()
to convert them into an array
- Updated build tools and added named exports via CJS/ESM
- Bumped dependencies, in PR #216 and #218
- Production dependencies
- Development dependencies
@types/[email protected]
@typescript-eslint/[email protected]
@typescript-eslint/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Fixed
- Fixed #218. Speech recognition should stopping properly in some cases, in PR #218
- Interactive mode, muted microphone
- Continuous and interactive mode, stop shortly after start
- Fixed #221. Continuous mode with successful interims should stop without errors, in PR #222
- Fixed #226.
createSpeechServicesPonyfill
should return bothSpeechRecognition
andSpeechSynthesis
ponyfill, in PR #227- 💥
createSpeechServicesPonyfill
will throw if the browser does not support Media Capture and Streams API, instead of warning and continue
- 💥