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

Releases: googleapis/nodejs-dns

v0.9.0

16 Nov 22:47
efa2918
Compare
Choose a tag to compare

11-16-2018 14:11 PST

Bug fixes

  • fix: fix typescript build (#171)
  • refactor: remove dependency on extend (#163)
  • refactor: reduce the number of deps (#161)
  • fix(deps): update dependency @google-cloud/common to ^0.26.0 (#145)
  • fix(types): A few more promisified method overloads (#134)
  • fix(types): Consolidate "createChange" wrappers, add overloads (#133)
  • fix(docs): add missing methods jsdoc declaration (#129)
  • docs: First argument of Zone#create is required (#125)
  • fix: Don't publish sourcemaps (#120)

Internal / Testing Changes

  • chore(deps): update dependency gts to ^0.9.0 (#169)
  • chore: update eslintignore config (#168)
  • refactor(samples): convert samples test from ava to mocha (#154)
  • chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#165)
  • chore: drop contributors from multiple places (#164)
  • chore(deps): update dependency @types/is to v0.0.21 (#162)
  • chore: use latest npm on Windows (#160)
  • docs(samples): Update samples to use async/await (#159)
  • chore: update CircleCI config (#158)
  • chore: include build in eslintignore (#155)
  • chore(deps): update dependency eslint-plugin-node to v8 (#150)
  • chore: update issue templates (#149)
  • chore: remove old issue template (#147)
  • build: run tests on node11 (#146)
  • chores(build): do not collect sponge.xml from windows builds (#144)
  • chores(build): run codecov on continuous builds (#143)
  • refactor: Use @types/lodash.groupBy (#136)
  • chore: update new issue template (#141)
  • chore(deps): update dependency sinon to v7 (#137)
  • build: fix codecov uploading on Kokoro (#138)
  • Update kokoro config (#130)
  • chore(deps): update dependency eslint-plugin-prettier to v3 (#128)
  • chore(deps): update dependency typescript to ~3.1.0 (#123)
  • Update CI config (#122)
  • build: prevent system/sample-test from leaking credentials

v0.8.0

25 Sep 21:56
127c10e
Compare
Choose a tag to compare

THIS RELEASE HAS BREAKING CHANGES. It also has a few new great features like TypeScript support. Enjoy 🎉

Support for node.js 4.x and 9.x has ended

Please upgrade to an LTS version of node.

es-style imports

This module now supports es module style imports. This provides forward compatibility with TypeScript, Babel, and the new es module spec.

Old code

const DNS = require('@google-cloud/dns');
const dns = new DNS();
// OR...
const dns = require('@google-cloud/dns')();

New code

const {DNS} = require('@google-cloud/dns');
const dns = new DNS();

Bug fixes

  • fix: improve the types (#114)
  • fix(DNS): Refine type of getZonesStream (#113)
  • fix(DNS): Add post-promisify type overloads to DNS methods (#112)
  • fix: Improve typescript types (#109)
  • fix: drop support for node.js 4.x and 9.x (#68)
  • fix: update all dependencies (#43)

New Features

  • feat: use small HTTP dependency (#93)
  • feat: Convert to TypeScript (#97)

Dependencies

  • fix(deps): update dependency @google-cloud/common to ^0.25.0 (#107)
  • chore(deps): update dependency @google-cloud/common to ^0.23.0 (#92)
  • fix(deps): update dependency @google-cloud/common to ^0.22.0 (#87)
  • fix(deps): update dependency @google-cloud/common to ^0.21.0 (#82)
  • fix(package): update @google-cloud/common to version 0.20.0 (#52)
  • Update @google-cloud/common to the latest version 🚀 (#31)

Documentation

  • docs(DNS): Remove extra space in "high- performance" (#111)

Internal / Testing Changes

  • fix: Remove "prettier" from "npm run fix" (#116)
  • Update kokoro config (#117)
  • test: remove appveyor config (#115)
  • Update kokoro config (#110)
  • Enable prefer-const in the eslint config (#108)
  • Enable no-var in eslint (#106)
  • Enable noImplicitAny (#105)
  • Improve the types (#103)
  • Update CI config (#104)
  • Enable noImplicitThis (#102)
  • chore(deps): update dependency typescript to v3 (#101)
  • Enable gts fix (#98)
  • Add synth script and update CI (#96)
  • Retry npm install in CI (#95)
  • chore(deps): update dependency nyc to v13 (#90)
  • chore: use es classes (#88)
  • test: fail when system-tests do not run (#86)
  • chore(deps): update dependency eslint-config-prettier to v3 (#85)
  • chore: split the usage of common (#84)
  • chore: ignore package-lock.json (#83)
  • chore(deps): lock file maintenance (#81)
  • chore: update renovate config (#80)
  • remove that whitespace (#79)
  • chore(deps): lock file maintenance (#78)
  • chore: assert.deelEqual => assert.deepStrictEqual (#77)
  • chore: move mocha options to mocha.opts (#75)
  • chore: require node 8 for samples (#76)
  • chore(deps): lock file maintenance (#74)
  • chore(deps): update dependency eslint-plugin-node to v7 (#72)
  • test: use strictEqual in tests (#73)
  • chore(deps): lock file maintenance (#71)
  • chore(deps): lock file maintenance (#70)
  • chore(deps): lock file maintenance (#69)
  • chore(deps): lock file maintenance (#67)
  • chore(deps): lock file maintenance (#66)
  • chore(deps): lock file maintenance (#65)
  • chore(deps): lock file maintenance (#64)
  • fix(deps): update dependency yargs to v12 (#63)
  • chore(deps): update dependency uuid to v3.3.0 (#59)
  • chore(deps): update dependency sinon to v6 (#60)
  • Configure Renovate (#54)
  • refactor: drop repo-tool as an exec wrapper (#58)
  • chore: update sample lockfiles (#57)
  • fix: update linking for samples (#56)
  • chore(package): update eslint to version 5.0.0 (#55)
  • refactor: switch from var => let/const (#53)
  • chore(package): update nyc to version 12.0.2 (#42)
  • chore: lock files maintenance (#40)
  • chore: timeout for system test (#38)
  • chore: lock files maintenance (#37)
  • chore: test on node10 (#36)
  • chore: lock files maintenance (#35)
  • chore: one more workaround for repo-tools EPERM (#33)
  • chore: workaround for repo-tools EPERM (#32)
  • chore: setup nighty build in CircleCI (#30)
  • Upgrade repo-tools and regenerate scaffolding. (#29)

v0.7.2

15 Mar 18:03
ec861b1
Compare
Choose a tag to compare

Fixes

  • (#26): Properly group records from a zonefile.
  • (#27): Honor a default $TTL from a zonefile.

@google-cloud/dns v0.7.1

16 Feb 00:17
Compare
Choose a tag to compare

Fixes

  • Update dependencies to mitigate possible security issues.

@google-cloud/dns v0.7.0

27 Dec 17:47
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-dns repository.

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

@google-cloud/dns v0.6.2

16 Oct 03:28
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/dns v0.6.1

16 Oct 03:27
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/dns v0.6.0

16 Oct 03:24
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.

@google-cloud/dns v0.4.0

16 Oct 03:21
Compare
Choose a tag to compare

release level

Features

@google-cloud/dns v0.3.0

16 Oct 01:22
Compare
Choose a tag to compare

release level

⚠️ Breaking Changes

Promises have arrived!

Issue: #551
PR: #1705

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

Do I have to use promises?

Nope, carry on. (But keep reading if you use streams)

How do I use promises?

Don't pass a callback:

var dns = require('@google-cloud/dns')();

dns.getZones()
  .then(function(data) {
    var zones = data[0];
  })
  .catch(function(err) {});
How do I use a method as a stream?

All of the streaming functionality from our methods have been moved to their own method.

var dns = require('@google-cloud/dns')();

- dns.getZones()
+ dns.getZonesStream()
   .on('data', function(zone) {})
var zone = dns.zone('my-zone-name');

- zone.getChanges()
+ zone.getChangesStream()
   .on('data', function(change) {})

- zone.getRecords()
+ zone.getRecordsStream()
   .on('data', function(record) {})