This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Releases: googleapis/nodejs-speech
Releases · googleapis/nodejs-speech
@google-cloud/speech v0.10.1
@google-cloud/speech v0.10.0
⚠️ Breaking Changes
The majority of our Speech API has changed (PR: #2459). Please refer to the API documentation for more information on how to use the module.
Please open an issue with any feedback, questions, or issues. We're happy to help during the transition.
Features
- The Node.js Speech client library is now supported at the beta quality level.
@google-cloud/speech v0.9.4
@google-cloud/speech v0.9.3
Documentation
- Updated documentation to point to the
v1
endpoint. (#2219)
Dependencies
- Update dependencies.
@google-cloud/speech v0.9.2
Bugfixes
- Reverted the use of a trailing dot after
googleapis.com
because it flatly broke Android. (#2283)
@google-cloud/speech v0.9.1
@google-cloud/speech v0.9.0
⚠️ Breaking Changes
API upgraded to v1
This release introduces the Speech v1 API, which brings a few small, but significant changes.
-
English as the default language is no longer assumed.
-
sampleRate
sampleRateHertz
These changes affect all API requests.
var request = {
config: {
+ languageCode: 'en-US', // <-- Now required!
encoding: 'LINEAR16',
- sampleRate: 16000,
+ sampleRateHertz: 16000, // <-- Not `sampleRate` anymore!
}
};
Additionally, the following endpointer types have been removed:
Speech.endpointerTypes.START_OF_SPEECH
Speech.endpointerTypes.END_OF_SPEECH
Speech.endpointerTypes.END_OF_AUDIO
The event types that now exist are:
Speech.eventTypes.ENDPOINTER_EVENT_UNSPECIFIED
: No event specified.Speech.eventTypes.END_OF_SINGLE_UTTERANCE
: Indicates that the server has detected the end of the user's speech utterance and expects no additional speech.
@google-cloud/speech v0.8.0
⚠️ Breaking Changes!
Dropped support for Node v0.12.x
We've officially dropped support for Node v0.12.x in all of our APIs. It may still work, but it is not officially supported and may stop working at any time.