All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed #65. Setting
started
tofalse
afteronDictate
callback should succeed even on an unabortable recognition, by @compulim, in PR #66
- Requires
react@>=16.8.0
andcore-js@3
- Modifying props while recognition has started will no longer abort recognition immediately, props will be updated in next recognition
SpeechGrammarList
is only constructed whengrammar
props is present- If
speechRecognition
prop is not present, capability detection is now done throughwindow.mediaDevices.getUserMedia
- Added
module
field for exporting in ES Modules, by @compulim in PR #58 - Added
eslint
,husky
, andlint-staged
for code hygiene, by @compulim in PR #58 - Added and exported hooks:
useAbortable
,useReadyState
, anduseSupported
, by @compulim in PR #58
- Fixed #12, workaround Angular/zone.js bug by not using Symbol.iterator for iterable objects, by @compulim in PR #13
Composer.onProgress
should setabortable
on the first event (based onSpeechRecognition.audioStart
event), by @compulim in PR #5
- Bumped to
[email protected]
- Moved
lerna bootstrap
from hoisted to local
- Moved
memoize-one
to production dependencies
- Fixed
Composer.speechRecognition
/speechGrammarList
should not be required
- Added
onClick
prop, can usepreventDefault
to stop speech recognition from starting
- Fixed
extra
prop not passed to<Composer>
- Added
extra
prop to copy toSpeechRecognition
- Bumped to
[email protected]
- Initial release