CHANGELOG.md 48.7 KB

Changelog

npm history

2.14.1 (2021-05-27)

Bug Fixes

  • rest transport enum value display incorectly (#1015) (055387b)

2.14.0 (2021-05-24)

Features

2.13.0 (2021-05-12)

Features

  • add validation for proto3 optional default value (#997) (c59c153)

Bug Fixes

2.12.0 (2021-04-29)

Features

  • GrpcClient.loadProtoJSON to load protobuf.js JSON proto (#985) (819b447)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to ~1.3.0 (#990) (f131ee0)

2.11.3 (2021-04-22)

Bug Fixes

2.11.2 (2021-03-11)

Bug Fixes

  • compileProtos: mention library protos before common protos (#970) (bf4c9f0)

2.11.1 (2021-03-10)

Bug Fixes

  • import long in the proto .d.ts files (#968) (09d7b13)

2.11.0 (2021-03-10)

Features

2.10.3 (2021-02-12)

Bug Fixes

  • update google-auth-library to v7.0.2 (#960) (f6c6c33)
  • use util.TextEncoder, util.TextDecoder for Node 10 (#957) (883f7b6)

2.10.2 (2021-02-02)

Bug Fixes

  • query string parameters must be camelCased (#953) (1ee2404)

2.10.1 (2021-02-01)

Bug Fixes

  • require fast-text-encoding only in browser (#951) (33f02e9)

2.10.0 (2021-01-05)

Features

Bug Fixes

  • deps: update dependency @grpc/grpc-js to ~1.2.0 (#934) (1bda824)

2.9.2 (2020-11-05)

Bug Fixes

  • deps: use google-auth-library with defaultScopes (#931) (912b399)

2.9.1 (2020-10-23)

Bug Fixes

  • properly bundle requests with snake_case (#921) (279fb36)

2.9.0 (2020-09-24)

Features

Bug Fixes

2.8.0 (2020-09-02)

Features

2.7.0 (2020-07-24)

Features

  • add retryRequestOptions to call settings (#879) (aa5487b)
  • no protobuf dependency in generated js, d.ts (#868) (d0b7680)
  • properly decode error in fallback scenario, export FallbackServiceError type (#866) (af15e53)

2.6.3 (2020-07-09)

Bug Fixes

2.6.2 (2020-07-06)

Bug Fixes

2.6.1 (2020-06-08)

Bug Fixes

  • segment in path template can contain wildcard (#849) (225be6e)

2.6.0 (2020-06-04)

Features

  • more information for exceed timeout error (#839) (c401b80)

Bug Fixes

  • remove version from protobuf unique root name (#846) (9a73bf9)
  • set default values for gRPC parameters (#840) (f7ebfb6)

2.5.0 (2020-06-02)

Features

  • support proto3 optional fields in exported protos (#841) (1e43774)

2.4.1 (2020-05-28)

Bug Fixes

2.4.0 (2020-05-21)

Features

  • parse path template using regexes (#823) (392a392)
  • support non-slash resource in path template (#833) (76696fc)

Bug Fixes

2.3.1 (2020-04-24)

Bug Fixes

  • do not pass undefined as option values (#817) (dc1cda5)
  • return operation array from getOperation method (#816) (483ae8c)

2.3.0 (2020-04-23)

Features

  • export fallback from fallback (circular) (#803) (caefab0)

Bug Fixes

  • add an internal getOperation method in operation client (#812) (cc99de0)

2.2.0 (2020-04-13)

Features

Bug Fixes

  • types: use grpc call credentials type (#790) (a11d90e)

2.1.0 (2020-04-10)

Features

Bug Fixes

2.0.2 (2020-04-02)

Bug Fixes

  • make sure generated protos.js have unique root name (#774) (886a6f3)

2.0.1 (2020-03-28)

Bug Fixes

  • deps: update dependency google-auth-library to v6 (#763) (72114db)
  • make async iteration work for gRPC-fallback; refactor the code (#765) (944c06b)

2.0.0 (2020-03-26)

⚠ BREAKING CHANGES

  • use Node.js v10+
  • throw for versions of Node.js older than v10.0.0 (#748)
  • stop accepting Promise constructor (#737)

Features

  • export bundle descriptor in descriptors interface (#744) (b1eccf9)
  • export ServiceError from @grpc/grpc-js (#754) (24a4d60)
  • stop accepting Promise constructor (#737) (816bf9b)
  • support async iterator for paging method (#708) (3ac5afb)
  • throw for versions of Node.js older than v10.0.0 (#748) (511fc23)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to 0.7.0 (#736) (01c428c)
  • deps: use @grpc/grpc-js v0.7.2 (#735) (836e81b)
  • deps: use protobuf.js v6.8.9 (#743) (fab91ce)
  • allow passing numbers as path template parameters (#756) (c466d3d)

Miscellaneous Chores

1.14.2 (2020-02-27)

Bug Fixes

1.14.1 (2020-01-28)

Bug Fixes

  • properly parse special field names in compileProtos (#716) (e195df7)

1.14.0 (2020-01-27)

Features

  • allow strings for enums, bytes, and Long in .d.ts (#714) (154d771)
  • some basic samples, plus two new exports (#702) (1204e2e)

Bug Fixes

  • deps: use semver v6, mkdirp v0.5.1 to keep supporting node8 for a while (#707) (d257dc9)

1.13.0 (2020-01-02)

Features

Bug Fixes

  • fix possible invalid retry variables (#682) (2cb343c)
  • deps: update dependency semver to v7 (#683) (b28e6b1)
  • types: enable noImplicitAny in tsconfig (#679) (6ecdeb7)

1.12.0 (2019-12-09)

Features

Bug Fixes

  • servicePath and port may be undefined (#668) (10eaaa6)
  • deps: pin TypeScript below 3.7.0 (70dd3b7)

1.11.2 (2019-11-22)

Bug Fixes

  • deps: unpin @grpc/grpc-js, set it to 0.6.12 (#665) (265461e)

  • servicePath and port may be undefined (#668) (54fa7b9)

1.11.1 (2019-11-15)

Bug Fixes

1.11.0 (2019-11-14)

Features

Bug Fixes

1.10.0 (2019-11-12)

Features

Bug Fixes

1.9.1 (2019-11-11)

Bug Fixes

  • add Apache license to the generated protos.d.ts file (#649) (3ce2856)

1.9.0 (2019-11-09)

Features

  • move micro-gen common interface to gax (#646) (b93f9c1)

Bug Fixes

1.8.0 (2019-11-08)

Features

  • export GaxCall in apiTypes (c451c32)

Bug Fixes

1.7.5 (2019-10-14)

Bug Fixes

  • deps: update @grpc/grpc-js to v0.6.9 (#624) (138ba85)

1.7.4 (2019-10-10)

Bug Fixes

1.7.3 (2019-10-10)

Bug Fixes

1.7.2 (2019-10-09)

Bug Fixes

1.7.1 (2019-10-09)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to v0.6.7 (#615) (7af35bc)

1.7.0 (2019-10-09)

Features

1.6.4 (2019-10-03)

Bug Fixes

1.6.3 (2019-10-02)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to 0.6.3 (#594) (8c5c105)

1.6.2 (2019-09-27)

Bug Fixes

  • x-goog-api-client header for fallback (#592) (4425a54)

1.6.1 (2019-09-20)

Bug Fixes

1.6.0 (2019-09-19)

Features

  • make compileProtos generate TypeScript types (#588) (1dd8b47)

1.5.2 (2019-09-05)

Bug Fixes

  • properly handle gRPC-fallback errors (#582) (76f1c5b)

1.5.1 (2019-08-28)

Bug Fixes

1.5.0 (2019-08-28)

Features

1.4.0 (2019-08-27)

Features

  • add AbortController for node-fetch (#569) (92b7590)
  • support sending x-goog-request-params (and other extra) headers for fallback requests (#568) (a1e6570)
  • use JSON proto for LRO client (#574) (92a11c1)

1.3.0 (2019-08-01)

Features

  • making google-gax work in browser with webpack (#554) (3690ab1)

1.2.1 (2019-07-31)

Bug Fixes

  • compileProtos should not fail if no protos are given (#555) (4cf8efd)

1.2.0 (2019-07-29)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to 0.5.0 (#548) (a431c63)
  • deps: update dependency google-auth-library to v5 (#552) (9c98083)

Features

1.1.5 (2019-07-13)

Dependency upgrade

  • @grpc/grpc-js is upgraded to ^0.5.2 to fix the invalid metadata problem (fixing this issue and several duplicates).

1.1.4 (2019-07-02)

Bug Fixes

  • copy values from LRO to Operation wrapper (#529) (7dfe2cd)

1.1.3 (2019-06-26)

Bug Fixes

1.1.2 (2019-06-20)

Bug Fixes

  • routing header parameters must be urlencoded (#521) (4ade536)

1.1.1 (2019-05-17)

Bug Fixes

  • use latest proto-loader with fixed types (#508) (1afee35)

1.1.0 (2019-05-16)

Bug Fixes

  • deps: update dependency walkdir to 0.4.0 (#499) (d2e01bd)
  • DEADLINE_EXCEEDED retry code is idempotent (#495) (8c59bda)

Features

  • allow loading multiple proto files at once (#503) (3d192a9)

1.0.0 (2019-05-09)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to 0.4.0 (#487) (981b1ed)
  • deps: update dependency google-auth-library to v4 (#493) (03236f4)

Build System

Features

BREAKING CHANGES

  • use @grpc/grpc-js instead of grpc (#484)
  • upgrade engines field to >=8.10.0 (#483)

v0.26.0

04-30-2019 20:45 PDT

Implementation Changes

  • refactor: a huge refactor of call handling (#467)
  • feat: do not use legacy grpc loadObject (#477)

New Features

  • feat: turned google-proto-files into a dev dependency (#470)

Dependencies

  • chore(deps): unpin grpc (#475)
  • fix: pin grpc 1.20.0 (#474)
  • chore(deps): update dependency nyc to v14 (#468)
  • fix(deps): update dependency @grpc/proto-loader to 0.5.0 (#466)
  • chore(deps): update dependency mocha to ~6.1.0 (#464)
  • chore(deps): update dependency typescript to ~3.4.0
  • chore(deps): update dependency @types/semver to v6

Internal / Testing Changes

  • test: end-to-end system test (#471)
  • update to .nycrc with --all enabled (#476)
  • test: better return type for typescript 3.4.0 (#463)

v0.25.6

03-28-2019 21:27 PDT

Fixes

  • fix(deps): update dependency semver to v6
  • fix: bundling is optional in MethodConfig (#459)
  • fix(ts): drop dependency on @types/duplexify (#458)

Internal / Testing Changes

  • chore: publish to npm using wombat (#453)
  • build: use per-repo publish token (#449)

v0.25.5

03-15-2019 14:01 PDT

Implementation Changes

  • fix: includes @types/duplexify in package (#441)

Dependencies

  • fix(deps): update dependency google-proto-files to 0.19.0
  • chore(deps): update dependency @types/source-map-support to 0.5.0 (#442)

Internal / Testing Changes

  • build: Add docuploader credentials to node publish jobs (#444)
  • build: use node10 to run samples-test, system-test etc (#443)
  • build: update kokoro config (#440)
  • test: longer timeout for Pub/Sub system tests (#451)

v0.25.4

02-28-2019 17:51 PST

Implementation Changes

  • fix: do not hang in LRO forever if API returned nothing (#436)

v0.25.3

02-26-2019 12:08 PST

Implementation Changes

  • fix: monitoring could be a common proto (#434)
  • refactor: cleanup unused files (#422)
  • chore(typescript): export common API call types (#433)

Dependencies

  • chore(deps): update dependency mocha to v6 (#430)

Documentation

  • docs: update links in contrib guide (#429)

Internal / Testing Changes

  • build: use linkinator for docs test (#428)

v0.25.2

02-12-2019 01:16 PST

  • fix: do not fail if bundledField is missing (#424)
  • fix: do not use console.warn or console.error (#426)

Implementation Changes

  • refactor: snake case savagery is for pythonistas 🙅‍♂️🐍 (#421)
  • refactor: clean up operations client (#420)

Internal / Testing Changes

  • test: do not use grpc-js in regular system test (#425)
  • build: create docs test npm scripts (#423)

v0.25.1

02-08-2019 18:01 PST

This is a patch release that fixes the code working with grpc-js (#400). It's not supposed to be used in production (yet), so it's hidden behind a secret environment variable. We'll let you know when it's ready to use!

Dependencies

  • fix(deps): update dependency walkdir to v0.3.2 (#413)
  • fix(deps): update dependency walkdir to v0.2.0 (#410)
  • fix(deps): update dependency walkdir to v0.1.0 (#407)

Documentation

  • docs: update contributing guide (#414)
  • docs: add lint/fix example to contributing guide (#409)
  • docs: fix type for retryCodes (#404)

Internal / Testing Changes

  • build: test using @grpc/grpc-js in CI (#418)
  • chore: don't run system tests with grpc-js (#417)
  • test: enable testing of grpc-js (#400)

v0.25.0

01-28-2019 23:31 PST

New Features

  • Add grpc-gcp support in gax (#396)

Dependencies

  • chore(deps): update dependency eslint-config-prettier to v4 (#399)

v0.24.0

01-24-2019 08:49 PST

Dependencies

  • fix(deps): update dependency @grpc/proto-loader to 0.4.0 (#395)
  • fix(deps): update dependency google-auth-library to v3 (#394)

v0.23.0

01-11-2019 13:32 PST

Implementation Changes

  • fix: include status code on errors (#390)
  • fix: Change to "greater than" for limit on number of elements (#386)
  • fix(ts): export CallSettings and RetryOptions (#360)

Dependencies

  • chore(deps): update dependency @types/sinon to v7 (#385)
  • chore(deps): update dependency typescript to ~3.2.0 (#364)
  • chore(deps): update dependency gts to 0.9.0 (#355)

Documentation

  • build: check broken links in generated docs (#387)

Internal / Testing Changes

  • chore(build): inject yoshi automation key (#384)
  • chore: update nyc and eslint configs (#383)
  • chore: npm-install-retry is not a thing anymore (#381)
  • chore: fix publish.sh permission +x (#380)
  • fix(build): fix Kokoro release script (#379)
  • build: add Kokoro configs for autorelease (#378)
  • chore: always nyc report before calling codecov (#375)
  • chore: nyc ignore build/test by default (#374)
  • chore: update synth metadata (#372)
  • chore: fix openssl decrypt (#367)
  • test: enable pub/sub system tests (#366)
  • chore: don't say operations_client.ts is autogen'd (#361)
  • test: don't run Pub/Sub system tests (#362)
  • chore: include format and lint tools for samples (#359)
  • chore: add a synth.metadata

v0.22.1

11-12-2018 16:56 PST

Dependencies

  • Update grpc dependency (#353)

Internal / Testing Changes

  • Update eslintignore config (#352)

v0.22.0

11-12-2018 15:05 PST

New Features

  • feat: to support GRPC-GCP Extension, include additional options in grpcOptions (#328)

v0.21.0

11-10-2018 11:27 PST

This is a minor service release that largely contains updates to other modules. The upgrade to google-proto-files and walkdir in particular should improve load time of the module by at least ~100ms.

Dependencies

  • fix(deps): update dependency google-proto-files to 0.18.0 (#348)
  • fix: use walkdir instead of globby (#346)
  • chore(deps): update dependency through2 to v3 (#343)
  • chore: update grpc to 1.15.1 (#316)
  • fix(deps): update dependency @grpc/grpc-js to 0.3.0 (#308)

Internal / Testing Changes

  • fix: improve types, remove dead code (#340)
  • refactor: enable noImplicitThis in the tsconfig (#347)
  • refactor: drop extend and lodash.flatten (#345)
  • chore: remove temporary folder (#339)
  • chore: use latest npm on Windows (#344)
  • refactor: clean up lodash and use strict (#342)
  • chore: include build in eslintignore (#337)
  • chore: system tests for gax (#334)
  • chore: update issue templates (#333)
  • Update issue templates
  • chore: remove old issue template (#329)
  • build: run tests on node11 (#327)
  • fix: better types for GAPIC clients (#326)
  • chores(build): do not collect sponge.xml from windows builds (#325)
  • chores(build): run codecov on continuous builds (#324)
  • chore: update new issue template (#323)
  • build: fix codecov uploading on Kokoro (#320)
  • fix(deps): update dependency google-proto-files to 0.17.0 (#317)
  • chore(deps): update dependency sinon to v7 (#319)
  • Update kokoro config (#315)
  • chore(deps): update dependency typescript to ~3.1.0 (#313)
  • Update CI config (#312)
  • build: prevent system/sample-test from leaking credentials
  • Update the kokoro config (#309)
  • test: remove appveyor config (#307)
  • Update CI config (#306)
  • Enable prefer-const in the eslint config (#304)
  • Enable no-var in eslint (#303)

v0.18.0

Implementation Changes

BREAKING CHANGE:

  • fix: drop support for node.js 4.x and 9.x (#262)

New Features

Dependencies

  • refactor: add dependency on @grpc/proto-loader (#229)
  • chore(deps): update dependency typescript to v3 (#275)
  • fix(deps): update dependency @grpc/proto-loader to 0.3.0 (#269)
  • chore(deps): update dependency gts to 0.8.0 (#266)
  • chore(package): Update gts to the latest version 🚀 (#255)
  • chore(package): update @types/globby to version 8.0.0 (#257)

Documentation

  • Add Code of Conduct

Internal / Testing Changes

  • chore: move mocha options to mocha.opts (#274)
  • test: fixing timeouts (#264)
  • Configure Renovate (#258)
  • fix: fix typo in a test (#260)
  • fix: update linking for samples (#259)
  • refactor: remove prettier, eslint, jshint (#254)