Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Releases: googleapis/nodejs-translate

@google-cloud/translate v1.1.0

24 Oct 23:58
Compare
Choose a tag to compare

release level

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-translate repository.

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

@google-cloud/translate v1.0.0

17 Oct 16:15
Compare
Choose a tag to compare

release level

Hello, 1.0! 🎂

@google-cloud/translate is now a GA client library. Libraries defined at the GA (general availability) quality level are stable. The code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority.

@google-cloud/translate v0.8.2

17 Oct 16:21
Compare
Choose a tag to compare

release level

Bugfixes

  • Reverted the addition of the trailing dot in FQDNs, as it flatly broke DNS lookups on Android (#2283)

@google-cloud/translate v0.8.1

17 Oct 16:20
Compare
Choose a tag to compare

release level

Features

  • Updated FQDNs to include a trailing dot, e.g. googleapis.com. This provides a substantial speed improvement in some use cases. (#2214)

@google-cloud/translate v0.8.0

17 Oct 16:09
Compare
Choose a tag to compare

release level

⚠️ 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.

Features

  • The @google-cloud/translate package is now supported at the beta release level. (#2165)

@google-cloud/translate v0.6.0

17 Oct 16:08
Compare
Choose a tag to compare

release level

Features

@google-cloud/translate v0.5.1

17 Oct 16:06
Compare
Choose a tag to compare

release level

Features

Service account authentication is now supported!

You may now authenticate with a service account, the same as our other APIs. Authentication via API key still works, so if you're not interested in this update, feel free to move along.

Before

var translate = require('@google-cloud/translate')({
  key: 'API_KEY'
});

After

var translate = require('@google-cloud/translate')({
  projectId: 'grape-spaceship-123',
  keyFilename: '/path/to/keyfile.json'
});

@google-cloud/translate v0.5.0

17 Oct 16:05
Compare
Choose a tag to compare

release level

Features

OAuth now supported!

This release now allows for users to authenticate via OAuth. Authentication via API key still works, so if you're not interested in this update, feel free to move along.

Before
var translate = require('@google-cloud/translate')({
  key: 'API_KEY',
});
After
var translate = require('@google-cloud/translate')({
  projectId: 'grape-spaceship-123',
  keyFilename: '/path/to/keyfile.json',
});

@google-cloud/translate v0.4.0

17 Oct 16:04
Compare
Choose a tag to compare

release level

⚠️ Breaking Changes

Promises have arrived!

Issue: #551
PR: #1711

It's been a long time coming, but we're finally here. We've shipped promise support in the Google Translate module!

Do I have to use promises?

Nope, carry on.

How do I use promises?

Don't pass a callback:

var translate = require('@google-cloud/translate')({
  key: '...'
});

translate.detect('Hello')
  .then(function(data) {
    var results = data[0];
  })
  .catch(function(err) {});

@google-cloud/translate v0.3.0

17 Oct 16:02
Compare
Choose a tag to compare

release level

Features

  • Sync dependencies with other service modules to minimize download and installation time as much as possible. (#1605)