From 143c2c2293acb8469e3356d78705baa107d176d0 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 29 Mar 2019 19:31:09 -0700 Subject: [PATCH] Release v1.0.0 (#107) --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- samples/package.json | 2 +- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbfd90a..df39e11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,48 @@ [1]: https://www.npmjs.com/package/nodejs-googleapis-common?activeTab=versions +## v1.0.0 + +03-29-2019 11:28 PDT + +**This release has breaking changes**. HTTP retries for a subset of requests are now enabled by default. The retry logic matches the defaults for [gaxios](https://github.com/JustinBeckwith/gaxios): + +```js +{ + // The amount of time to initially delay the retry + retryDelay: 100; + + // The HTTP Methods that will be automatically retried. + httpMethodsToRetry: ['GET','PUT','HEAD','OPTIONS','DELETE'] + + // The HTTP response status codes that will automatically be retried. + statusCodesToRetry: [[100, 199], [429, 429], [500, 599]]; +} +``` + +The behavior can be disabled by setting `retry` to `false` in the request config. For more information, see https://github.com/googleapis/nodejs-googleapis-common/pull/104. + +### New Features +- feat: retry requests by default ([#104](https://github.com/googleapis/nodejs-googleapis-common/pull/104)) + +### Documentation +- docs: update links in contrib guide ([#94](https://github.com/googleapis/nodejs-googleapis-common/pull/94)) +- docs: update contributing path in README ([#89](https://github.com/googleapis/nodejs-googleapis-common/pull/89)) +- docs: move CONTRIBUTING.md to root ([#88](https://github.com/googleapis/nodejs-googleapis-common/pull/88)) +- docs: add lint/fix example to contributing guide ([#86](https://github.com/googleapis/nodejs-googleapis-common/pull/86)) + +### Internal / Testing Changes +- chore: publish to npm using wombat ([#101](https://github.com/googleapis/nodejs-googleapis-common/pull/101)) +- build: use per-repo publish token ([#100](https://github.com/googleapis/nodejs-googleapis-common/pull/100)) +- build: Add docuploader credentials to node publish jobs ([#98](https://github.com/googleapis/nodejs-googleapis-common/pull/98)) +- build: use node10 to run samples-test, system-test etc ([#97](https://github.com/googleapis/nodejs-googleapis-common/pull/97)) +- build: update release configuration +- chore(deps): update dependency mocha to v6 +- build: use linkinator for docs test ([#92](https://github.com/googleapis/nodejs-googleapis-common/pull/92)) +- chore(deps): update dependency @types/tmp to v0.0.34 ([#93](https://github.com/googleapis/nodejs-googleapis-common/pull/93)) +- build: create docs test npm scripts ([#91](https://github.com/googleapis/nodejs-googleapis-common/pull/91)) +- build: test using @grpc/grpc-js in CI ([#90](https://github.com/googleapis/nodejs-googleapis-common/pull/90)) + ## v0.7.2 01-26-2019 21:18 PST diff --git a/package.json b/package.json index 571e092..7c2b49f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "googleapis-common", - "version": "0.7.2", + "version": "1.0.0", "description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.", "repository": "googleapis/nodejs-googleapis-common", "main": "build/src/index.js", diff --git a/samples/package.json b/samples/package.json index fb2622f..bdabafc 100644 --- a/samples/package.json +++ b/samples/package.json @@ -11,7 +11,7 @@ "test": "echo \"There are no sample tests 👻\"" }, "dependencies": { - "googleapis-common": "^0.7.2" + "googleapis-common": "^1.0.0" }, "devDependencies": { "mocha": "^6.0.0"