Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

@google-cloud/speech v0.11.0

Compare
Choose a tag to compare
@lukesneeringer lukesneeringer released this 06 Nov 19:05
d1ee41f

release level

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.
const speech = require('@google-cloud/speech');

// Instantiate a client class.
let client = new speech.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).
  • Update docs to use JSDoc 3.
  • Migrate to the googleapis/nodejs-speech repository.

Refer to the nodejs-speech API reference documentation for details.