Skip to content

Releases: googleapis/nodejs-pubsub

v0.22.1

07 Dec 01:59
612e233
Compare
Choose a tag to compare

12-06-2018 17:11 PST

Dependencies

  • chore(deps): update dependency typescript to ~3.2.0 (#380)

Documentation

  • fix(docs): place doc comment above the last overload (#393)
  • docs: Update documentation for Subscription (#387)
  • docs: Add documentation about defaults for publisher (#384)
  • docs: update readme badges (#383)

Internal / Testing Changes

  • chore: always nyc report before calling codecov (#392)
  • chore: nyc ignore build/test by default (#391)
  • chore: update license file (#386)

v0.22.0

01 Dec 00:19
4b5c854
Compare
Choose a tag to compare

Implementation Changes

  • fix(ts): do not ship types (#377)

Road to TypeScript

  • refactor(ts): improve types (2) (#356)
  • refactor(ts): updated lint and fix command to cover gts (#375)
  • refactor(ts): added ts style fix for src/iam.ts (#352)
  • refactor(ts): Added ts style fix for test/topic.ts (#373)
  • refactor(ts): Added ts style fix for test/subscription.ts (#372)
  • refactor(ts): Added ts style fix for test/subscriber.ts (#371)
  • refactor(ts): Added ts style fix for test/snapshot.ts (#370)
  • refactor(ts): Added ts style fix for test/publisher.ts (#369)
  • refactor(ts): added ts style fix for src/index.ts (#351)
  • refactor(ts): added ts style fix for src/publisher.ts (#357)
  • refactor(ts): added ts style fix for src/snapshot.ts (#358)
  • refactor(ts): added ts style fix for src/subscriber.ts (#359)
  • refactor(ts): added ts style fix for src/subscription.ts (#360)
  • refactor(ts): added ts style fix for src/topic.ts (#361)
  • refactor(ts): added ts style fix for src/util.ts (#362)
  • refactor(ts): added ts style fix for test/connection-pool.ts (#364)
  • refactor(ts): added ts style fix for test/histogram.ts (#365)
  • refactor(ts): added ts style fix for test/iam.ts (#366)
  • refactor(ts): added ts style fix for test/index.ts (#368)
  • refactor(ts): added ts style fix for src/connection-pool.ts (#353)
  • refactor(ts): added ts style fix for src/histogram.ts (#354)
  • refactor(ts): enable noImplicitAny on src/iam.ts (#348)
  • added ts style fix for system-test/pubsub.ts (#374)
  • chore: ts-ignoring some stuff in tests (#343)

Dependencies

  • fix: Pin @types/sinon to last compatible version (#345)
  • chore(deps): update dependency @types/sinon to v5.0.7 (#349)

Documentation

  • docs(samples): Publish with Retry Setting Example (#355)
  • docs: remove outdated comments (#342)

Internal / Testing Changes

  • chore: add a synth.metadata
  • feat: Add optional delay when calling nack() (#255) (#256)

v0.21.1

15 Nov 05:29
6e420e7
Compare
Choose a tag to compare

Bug fixes

  • fix: include protos in the package (#336)

v0.21.0

14 Nov 17:43
2fe206b
Compare
Choose a tag to compare

11-12-2018 17:25 PST

Implementation Changes

BREAKING CHANGE
@google-cloud/pubsub now uses ES6 import/export syntax since v0.21.0.

Before:

const pubsub = require('@google-cloud/pubsub')();
// OR
const PubSub = require('@google-cloud/pubsub');
const pubsub = new PubSub();

Now:

const {PubSub} = require('@google-cloud/pubsub');
const pubsub = new PubSub();
  • refactor: use Object.assign where possible (#324)
  • fix(subscription): promisify Subscription#close (#282)
  • fix: maxBytes batching sending empty messages (#281)
  • (New) Synchronous Pull with Lease Management (#272)
  • Switch to let/const (#254)

Road to TypeScript

  • refactor(ts): introduce a round of types (#319)
  • refactor(ts): enable noImplicitThis (#316)
  • refactor(ts): convert to typescript (#310)

New Features

  • feat: add expiration policy (#287)

Dependencies

  • chore(deps): update dependency eslint-plugin-prettier to v3 (#274)
  • fix(deps): update dependency google-proto-files to ^0.17.0 (#284)
  • chore(deps): update dependency sinon to v7 (#285)
  • chore(deps): update dependency eslint-plugin-node to v8 (#300)
  • fix(deps): update dependency through2 to v3 (#320)
  • refactor: drop dependencies on google-proto-files and async (#329)
  • chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#328)
  • chore(deps): update dependency @types/is to v0.0.21 (#323)
  • fix(deps): update dependency google-gax to ^0.20.0 (#252)

Documentation

  • fix quickstart tag in v0.20 docs (#271)

Samples

  • Pub/Sub Synchronous Pull Example (#259)
  • Update sample topic and subscription names
  • Add Pub/Sub ack deadline example (#315)
  • docs(samples): update samples to use async/await (#305)
  • chore: adjust samples timeout (#283)
  • Fix the topic name in the samples (#262)

Internal / Testing Changes

  • chore: update eslintignore config (#332)
  • chore(build): eslint all js files, and use js for all generated files (#331)
  • chore: drop contributors from multiple places (#325)
  • chore: use latest npm on Windows (#322)
  • chore: update CircleCI config (#309)
  • chore: include build in eslintignore (#304)
  • chore: update issue templates (#299)
  • chore: remove old issue template (#297)
  • build: run tests on node11 (#296)
  • chores(build): do not collect sponge.xml from windows builds (#295)
  • chores(build): run codecov on continuous builds (#294)
  • chore: update new issue template (#293)
  • build: fix codecov uploading on Kokoro (#286)
  • Update kokoro config (#275)
  • Update Kokoro configs (#270)
  • Update kokoro config (#269)
  • test: remove appveyor config (#268)
  • Update CI config (#266)
  • Run prettier on smoke tests (#265)
  • Fix the linter (#261)
  • Enable prefer-const in the eslint config (#260)
  • Enable no-var in eslint (#257)

v0.20.1

26 Sep 17:50
Compare
Choose a tag to compare

Documentation

  • fix(docs): correct region tag for sample documentation (#272)

v0.20.0

11 Sep 18:10
Compare
Choose a tag to compare

Implementation Changes

BREAKING CHANGE: - fix: drop support for node.js 4.x and 9.x (#171)

  • fix: Return error if subscription name already exists. (#226)

BREAKING CHANGE
@google-cloud/pubsub now requires new.
Before:

const PubSub = require('@google-cloud/pubsub');
const pubsub = PubSub();

Now:

const PubSub = require('@google-cloud/pubsub');
const pubsub = new PubSub();

New Features

  • Re-generate library using /synth.py (#227)
    • some minor proto documentation changes

Dependencies

  • fix(deps): update dependency google-auth-library to v2 (#228)
  • chore(deps): update dependency nyc to v13 (#225)
  • fix(deps): update dependency google-gax to ^0.19.0 (#216)
  • chore(deps): update dependency eslint-config-prettier to v3 (#213)
  • chore: drop dependency on @google-cloud/common (#210)
  • fix(deps): update dependency @google-cloud/common to ^0.21.0 (#206)
  • chore(deps): lock file maintenance (#203)
  • fix(deps): update dependency google-gax to ^0.18.0 (#197)
  • chore(deps): lock file maintenance (#196)
  • chore(deps): lock file maintenance (#188)
  • chore(deps): update dependency eslint-plugin-node to v7 (#185)
  • chore(deps): lock file maintenance (#182)
  • chore(deps): lock file maintenance (#174)
  • chore(deps): lock file maintenance (#173)
  • chore(deps): lock file maintenance (#172)
  • chore(deps): lock file maintenance (#168)
  • chore(deps): lock file maintenance (#167)
  • chore(deps): lock file maintenance (#166)
  • fix(deps): update dependency delay to v3 (#165)
  • fix(deps): update dependency @google-cloud/common to ^0.20.0 (#155)
  • chore(deps): update dependency proxyquire to v2 (#160)
  • chore(deps): update dependency nyc to v12 (#159)
  • Update google-gax and add Synth.py (#158)
  • chore(deps): update dependency sinon to v6 (#161)
  • fix(deps): update dependency yargs to v12 (#164)
  • fix(deps): update dependency yargs to v11 (#163)
  • fix(deps): update dependency yargs to v10.1.2 (#157)
  • chore(deps): update dependency ava to ^0.25.0 (#153)
  • chore(deps): update dependency sinon to v4.5.0 (#154)

Documentation

  • fix docs (#229)
  • test: fix import sample failures (#218)
  • fix: correct the documentation (#117)
  • fix: Fix sample region tag in JSDoc (#184)
  • Fixes 179: Adds missing return statement in docs (#180)

Internal / Testing Changes

  • fix: System tests were using get() incorrectly. (#251)
  • fix: (sample tests): Validate short names. (#235)
  • fix: (tests) Provide projectId to PubSub constructor. (#221)
  • Update the CI config (#220)
  • chore: make the CircleCI config consistent
  • chore: use arrow functions (#215)
  • chore: convert to es classes (#211)
  • chore: do not use npm ci (#209)
  • chore: use let and const (#204)
  • chore: ignore package-lock.json (#207)
  • chore: use split common modules (#200)
  • chore: update renovate config (#199)
  • chore: move mocha options to mocha.opts (#194)
  • chore: require node 8 for samples (#195)
  • chore: add node templates to synth.py (#191)
  • chore: fix the eslint errors (#190)
  • refactor: use google-auth-library (#189)
  • Fixes 177: Prevents publishing attributes that have non-string values (#183)
  • chore(build): use npm ci instead of npm install (#175)
  • chore(package): update eslint to version 5.0.0 (#145)
  • chore: update sample lockfiles (#149)
  • test: use strictEqual in tests (#186)
  • Configure Renovate (#144)
  • refactor: drop repo-tool as an exec wrapper (#150)
  • fix: update linking for samples (#146)

v0.19.1

30 Aug 21:16
c433331
Compare
Choose a tag to compare

This patch release brings documentation fixes to previous version v0.19.0.

v0.19.0

25 Jun 16:15
062531f
Compare
Choose a tag to compare

Features

  • (#147): Support ack/modAck batching options.

v0.18.0

29 Mar 02:19
8d9016f
Compare
Choose a tag to compare

Features

  • (#22, #110) A Publisher object now supports configuration of API request parameters. For example, this allows you to specify the number of retries for a request.

Fixes

v0.17.0

20 Mar 20:29
79416bc
Compare
Choose a tag to compare

Fixes

  • (#96, #97) Lower the default publisher maxMilliseconds value.
  • (#13, #50, #92) Fix/Improve flow control performance
  • (#66, #92) Cancel gRPC stream on subscription.close()
  • (#88, #99) Prevent duplicate messages from being re-delivered.
  • Updated dependencies, including google-gax, to fix streaming behavior. (googleapis/gax-nodejs#197)