Snyk has created this PR to upgrade @google-cloud/speech from 0.6.0 to 0.11.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 12 versions ahead of your current version.
The recommended version was released 2 years ago, on 2017-11-06.
This is the (hopefully) final release candidate before declaring a stable release.
⚠️ Breaking Changes!
New client class
The client object is no longer initialized with require('@google-cloud/speech').v1(). This used to return a function that built and returned an internal class.
We now expose an ES6 class directly; there are no wrappers or obfuscation. Basic usage looks like this:
// Import the language module.constspeech=require('@google-cloud/speech');
// Instantiate a client class.let client =newspeech.SpeechClient();
Features
Runnable samples
There are now runnable samples in the samples/ directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.
Implementation Details
Change to a new linter (ESLint) and code style formatter (prettify).
This release introduces the Speech v1 API, which brings a few small, but significant changes.
English as the default language is no longer assumed.
sampleRatesampleRateHertz
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.
Snyk has created this PR to upgrade @google-cloud/speech from 0.6.0 to 0.11.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
npm:tunnel-agent:20170305
SNYK-JS-DOTPROP-543489
Release notes
Package name: @google-cloud/speech
This is the (hopefully) final release candidate before declaring a stable release.
New client class
The client object is no longer initialized with
require('@google-cloud/speech').v1()
. This used to return a function that built and returned an internal class.We now expose an ES6 class directly; there are no wrappers or obfuscation. Basic usage looks like this:
Features
Runnable samples
There are now runnable samples in the
samples/
directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.Implementation Details
googleapis/nodejs-speech
repository.Refer to the nodejs-speech API reference documentation for details.
Dependencies
google-proto-files
(#2592)Features
WordTimeOffset
(#2493)Dependencies
google-proto-files
dependency. (#2458)Bugfixes
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
Features
Documentation
v1
endpoint. (#2219)Dependencies
Bugfixes
googleapis.com
because it flatly broke Android. (#2283)Features
googleapis.com.
with a trailing dot. (#2214)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.
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.Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs