This repository was archived by the owner on Mar 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
chore: Retry request migration #858
Merged
Merged
Changes from all commits
Commits
Show all changes
159 commits
Select commit
Hold shift + click to select a range
d5b0523
allo allo
stephenplusplus 88b6283
1.0.0
stephenplusplus 268126d
readme: fix example
stephenplusplus 0d99553
add exponential backoff
stephenplusplus 11b8ec2
dont return stream if not using as once - fixes #2
stephenplusplus 3068d1e
1.1.0
stephenplusplus 47b24d9
add note about not using POST
stephenplusplus 5291064
upgrade forward-stream
stephenplusplus 26cfc96
1.1.1
stephenplusplus cb31780
update readme
stephenplusplus 095771a
fancy logo
stephenplusplus 06ec541
expose abort function
stephenplusplus f9c1511
1.2.0
stephenplusplus ab8511f
use stream-forward with explicit events
stephenplusplus dba14d1
1.2.1
stephenplusplus a60fdd2
Don't forward events to the cache stream
stephenplusplus 86f129d
1.2.2
stephenplusplus 58c7bd7
expose abort function from request
stephenplusplus 4b55f59
1.2.3
stephenplusplus ac0e323
force secure version of request
stephenplusplus 5b8b2ce
1.2.4
stephenplusplus aa0f0ec
support objectmode - fixes #5
stephenplusplus 293b347
1.3.0
stephenplusplus 97c6167
remove stream-cache
stephenplusplus a3729bf
Merge pull request #6 from stephenplusplus/rm-stream-cache
stephenplusplus da5ab2b
1.3.1
stephenplusplus 7aa5c6e
downgrade request for node 0.12 compatibility
stephenplusplus ab8fab8
set engines in package.json
stephenplusplus 12553b8
1.3.2
stephenplusplus e7772d6
Don't lock down request dependency
SimenB 5da4fbf
Merge pull request #8 from SimenB/patch-1
stephenplusplus 57b6e05
2.0.0
stephenplusplus 76532d3
retry on low-level errors
stephenplusplus b2f4ad8
2.0.1
stephenplusplus a26c044
fix abort to only call abort() when possible
stephenplusplus d4810b0
2.0.2
stephenplusplus b91f33b
only call end if it is a method
stephenplusplus d24ee8a
2.0.3
stephenplusplus 5366a59
assign once listeners
stephenplusplus 0fbc09a
removeAllListeners so multiple events don't fire
stephenplusplus c08ed15
only remove relevant listeners
stephenplusplus b402e7f
just once the response and complete
stephenplusplus b5f8ef6
use first-event
stephenplusplus 3d90b2e
Merge pull request #11 from stephenplusplus/gcn-2328
stephenplusplus 3605693
2.0.4
stephenplusplus e569902
use manual tracking instead of first-event
stephenplusplus 2671859
2.0.5
stephenplusplus 72c84e5
do not retry on 4xx (except for 429)
stephenplusplus eafb546
Merge pull request #13 from stephenplusplus/spp--12
stephenplusplus 22bfedc
3.0.0
stephenplusplus 1d493c4
Remove .only from test
SimenB 49ac943
Merge pull request #14 from SimenB/patch-1
stephenplusplus d5b4899
Add type definitions
kjin 4fca791
add types field in package.json
kjin 203213c
Merge pull request #15 from kjin/dts
stephenplusplus 0353d78
3.0.1
stephenplusplus be961e6
Add option to set number of retries when no response
nolanmar511 2bc8408
updated test
nolanmar511 6214204
Add to readme + Test refactor
stephenplusplus 3de725a
Merge pull request #16 from nolanmar511/no-response-retries
stephenplusplus 3899207
3.1.0
stephenplusplus 9b2d8ae
Forward errors from request stream.
stephenplusplus f5a016f
3.1.1
stephenplusplus c9aa5d0
Pass in currentRetryAttempt to override the numAttempts value
kolodny c0eb198
Copy currentRetryAttempt instead of incrementing the user supplied pr…
kolodny 54b4591
Change deepEqual to strictEqual
kolodny faa6a14
Merge pull request #17 from kolodny/master
stephenplusplus 78e1321
3.2.0
stephenplusplus fac30d4
Emit a `response` event on every request.
kolodny 2d25c12
Lint
stephenplusplus 6385141
Lint
stephenplusplus a2a956e
Merge pull request #18 from kolodny/master
stephenplusplus e8cfff6
3.3.0
stephenplusplus 544f404
Delay first request if currentRetryAttempt > 0
kolodny 25a4980
Merge pull request #19 from kolodny/initial-currentRetryAttempt-waiting
stephenplusplus c92ca1e
3.3.1
stephenplusplus b761205
Add Circle
stephenplusplus 6a7b2b3
Merge pull request #20 from stephenplusplus/circle
stephenplusplus bd733b1
Set default noResponseRetries.
stephenplusplus 67482f6
Merge pull request #21 from stephenplusplus/set-default-no-response-r…
stephenplusplus eec66ad
3.3.2
stephenplusplus f5fc5a6
Remove `request` as a dependency.
stephenplusplus c801481
Merge pull request #22 from stephenplusplus/remove-request
stephenplusplus e64b8dd
4.0.0
stephenplusplus 2659ee7
Upgrade mocha and resovle vulnerabilities.
94dc477
Add debug feature
fc47da1
remove old nodes
stephenplusplus e5407bc
Update package.json
stephenplusplus 73fc425
Remove node v4 from circleci config.yml
5080dfe
change to version 3
stephenplusplus 6e3cbfa
Merge pull request #26 from stephenplusplus/remove_old_nodes
stephenplusplus 13553fc
Merge branch 'master' into master
stephenplusplus a4bbcba
Update config.yml
stephenplusplus e059f88
Delete package-lock.json
stephenplusplus 8041748
Delete .gitignore
stephenplusplus 82bd759
Update index.js
stephenplusplus 54278c1
Update readme.md
stephenplusplus 10d9b37
Add debug feature (#25)
stephenplusplus edf2671
update dependencies
stephenplusplus 04de134
4.1.0
stephenplusplus a0e3cc9
depend on debug
26fef3e
4.1.1
8af61fd
fix: correctly calculate retry attempt (#33)
stephenplusplus 849d041
Drop through2 (#34)
TrySound f8f6669
4.1.2
stephenplusplus 99f7f99
4.1.3
stephenplusplus 77ce202
feat: support enhanced retry settings (#35)
stephenplusplus 98420f4
4.2.0
stephenplusplus 9cb18f6
fix: add new retry options to types (#36)
stephenplusplus 9612ebf
4.2.1
stephenplusplus 06c9578
fix: use extend instead of object.assign (#37)
stephenplusplus 168ea04
4.2.2
stephenplusplus 188f4e2
testing: add the standard ci workflow (#45)
ef384f2
chore: add a Code of Conduct (#42)
google-cloud-policy-bot[bot] 89a2de8
chore: add CONTRIBUTING.md (#44)
google-cloud-policy-bot[bot] be13933
chore: add standard .gitignore file (#49)
chingor13 bd67ed3
chore: include standard lint configs, fix quotes (#50)
chingor13 4958f59
chore: enable owlbot (#51)
chingor13 61d1214
build: fix broken link (#57)
sofisl fc15302
chore(deps): update dependency mocha to v9 (#55)
renovate-bot 039445d
chore(main): release 4.2.0 (#52)
release-please[bot] 268808d
chore(deps): update dependency linkinator to v3 (#59)
renovate-bot a6d1608
chore(main): release 4.2.1 (#62)
release-please[bot] 578e1a6
build!: drop node 10 (#68)
ddelgrosso1 3ce102a
chore(main): release 5.0.0 (#70)
release-please[bot] d90f454
fix: respect totalTimeout and do not retry if nextRetryDelay is <= 0 …
ddelgrosso1 01ef623
chore(deps): update dependency jsdoc-region-tag to v2 (#76)
renovate-bot 700b492
chore(deps): update dependency jsdoc-fresh to v2 (#75)
renovate-bot 615980a
chore(main): release 5.0.1 (#73)
release-please[bot] 5746585
chore(deps): update dependency linkinator to v4 (#77)
renovate-bot c78f822
fix: delete second LICENSE (#82)
sofisl 9520a54
chore(main): release 5.0.2 (#80)
release-please[bot] 9f736e7
chore(deps): update dependency jsdoc to v4 (#83)
renovate-bot 48b8c28
build: disable docs check due to issue in linkinator (#94)
ddelgrosso1 2720f9a
chore!: move minimum version to node 14 (#96)
ddelgrosso1 e5cdfc8
chore(main): release 6.0.0 (#98)
release-please[bot] 29b71e7
chore(deps): update dependency gts to v5 (#99)
renovate-bot 529eb5b
chore(deps): update dependency jsdoc-region-tag to v3 (#101)
renovate-bot 6554fbf
chore(deps): update dependency jsdoc-fresh to v3 (#100)
renovate-bot 6d43b8f
chore(nodejs): Add `system-test/fixtures` to `.eslintignore` (#106)
gcf-owl-bot[bot] cccedaf
feat!: Remove `request` fallback, Update Docs, Update Types (#107)
danielbankhead 32d7964
chore(main): release 7.0.0 (#108)
release-please[bot] 1da7fbf
fix: types (#109)
danielbankhead bf12193
chore(main): release 7.0.1 (#110)
release-please[bot] cd251d9
fix: get rid of debug runtime dependency (#118)
alexander-fenster 3e8c1cf
chore(main): release 7.0.2 (#119)
release-please[bot] f887a38
Update readme.md (#126)
sofisl b9d6ab4
chore: add deprecation notice to library (#124)
sofisl 877387c
chore: update links in github issue templates (#129)
gcf-owl-bot[bot] 218a12d
chore!: upgrade to Node 18 (#137)
sofisl 00b2929
chore(main): release 8.0.0 (#138)
release-please[bot] ed56e13
fix: resolve vulnerability (#150)
sofisl 6f9e23f
chore(main): release 8.0.1 (#151)
release-please[bot] a3c4ab9
fix: move"@types/request" to dev
sofisl 7ce93b5
chore(main): release 8.0.2 (#154)
release-please[bot] f54c1bc
Merge remote-tracking branch 'migration/main' into retry-request-migr…
GautamSharda 1e7eebd
build: add release-please config, delete owlbot-config
GautamSharda cd2d281
no samples or system tests
GautamSharda 2553243
fix: npm run syncpack-fix
GautamSharda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| version: 2.1 | ||
|
|
||
| install_and_test: &install_and_test | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: Install | ||
| command: npm install | ||
| - run: | ||
| name: Test | ||
| command: npm test | ||
|
|
||
| jobs: | ||
| test_node10: | ||
| docker: | ||
| - image: circleci/node:10 | ||
| <<: *install_and_test | ||
| test_node12: | ||
| docker: | ||
| - image: circleci/node:12 | ||
| <<: *install_and_test | ||
|
|
||
| workflows: | ||
| test: | ||
| jobs: | ||
| - test_node10 | ||
| - test_node12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| **/node_modules | ||
| **/coverage | ||
| test/fixtures | ||
| build/ | ||
| docs/ | ||
| protos/ | ||
| samples/generated/ | ||
| system-test/**/fixtures |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "extends": "./node_modules/gts" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| *.ts text eol=lf | ||
| *.js text eol=lf | ||
| protos/* linguist-generated | ||
| **/api-extractor.json linguist-language=JSON-with-Comments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Copyright 2021 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| docker: | ||
| image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| **/*.log | ||
| **/node_modules | ||
| .coverage | ||
| coverage | ||
| .nyc_output | ||
| docs/ | ||
| out/ | ||
| build/ | ||
| system-test/secrets.js | ||
| system-test/*key.json | ||
| *.lock | ||
| .DS_Store | ||
| package-lock.json | ||
| __pycache__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| // Copyright 2022 Google LLC | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // https://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // | ||
| // ** This file is automatically generated by gapic-generator-typescript. ** | ||
| // ** https://github.com/googleapis/gapic-generator-typescript ** | ||
| // ** All changes to this file may be overwritten. ** | ||
|
|
||
| 'use strict'; | ||
|
|
||
| module.exports = { | ||
| opts: { | ||
| readme: './readme.md', | ||
| package: './package.json', | ||
| template: './node_modules/jsdoc-fresh', | ||
| recurse: true, | ||
| verbose: true, | ||
| destination: './docs/' | ||
| }, | ||
| plugins: [ | ||
| 'plugins/markdown', | ||
| 'jsdoc-region-tag' | ||
| ], | ||
| source: { | ||
| excludePattern: '(^|\\/|\\\\)[._]', | ||
| include: [ | ||
| 'index.js', | ||
| 'index.d.ts' | ||
| ], | ||
| includePattern: '\\.js$' | ||
| }, | ||
| templates: { | ||
| copyright: 'Copyright 2022 Google LLC', | ||
| includeDate: false, | ||
| sourceFiles: false, | ||
| systemName: 'retry-request', | ||
| theme: 'lumen', | ||
| default: { | ||
| outputSourceFiles: false | ||
| } | ||
| }, | ||
| markdown: { | ||
| idInHeadings: true | ||
| } | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "bitwise": true, | ||
| "curly": true, | ||
| "eqeqeq": true, | ||
| "esnext": true, | ||
| "freeze": true, | ||
| "immed": true, | ||
| "indent": 2, | ||
| "latedef": "nofunc", | ||
| "newcap": true, | ||
| "node": true, | ||
| "noarg": true, | ||
| "quotmark": "single", | ||
| "strict": true, | ||
| "trailing": true, | ||
| "undef": true, | ||
| "unused": true, | ||
| "globals": { | ||
| "describe": true, | ||
| "it": true, | ||
| "before": true, | ||
| "after": true, | ||
| "beforeEach": true, | ||
| "afterEach": true | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| // Copyright 2020 Google LLC | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| const config = { | ||
| "enable-source-maps": true, | ||
| "throw-deprecation": true, | ||
| "timeout": 10000, | ||
| "recursive": true | ||
| } | ||
| if (process.env.MOCHA_THROW_DEPRECATION === 'false') { | ||
| delete config['throw-deprecation']; | ||
| } | ||
| if (process.env.MOCHA_REPORTER) { | ||
| config.reporter = process.env.MOCHA_REPORTER; | ||
| } | ||
| if (process.env.MOCHA_REPORTER_OUTPUT) { | ||
| config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`; | ||
| } | ||
| module.exports = config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| "report-dir": "./.coverage", | ||
| "reporter": ["text", "lcov"], | ||
| "exclude": [ | ||
| "**/*-test", | ||
| "**/.coverage", | ||
| "**/apis", | ||
| "**/benchmark", | ||
| "**/conformance", | ||
| "**/docs", | ||
| "**/samples", | ||
| "**/scripts", | ||
| "**/protos", | ||
| "**/test", | ||
| "**/*.d.ts", | ||
| ".jsdoc.js", | ||
| "**/.jsdoc.js", | ||
| "karma.conf.js", | ||
| "webpack-tests.config.js", | ||
| "webpack.config.js" | ||
| ], | ||
| "exclude-after-remap": false, | ||
| "all": true | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| **/node_modules | ||
| **/coverage | ||
| test/fixtures | ||
| build/ | ||
| docs/ | ||
| protos/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2020 Google LLC | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // https://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| module.exports = { | ||
| ...require('gts/.prettierrc.json') | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| introduction: |- | ||
| **_THIS REPOSITORY AND PACKAGE WILL BE DEPRECATED IN 2025. RELEVANT FUNCTIONALITIES HAVE BEEN MOVED TO [GOOGLEAPIS/GAXIOS](https://github.com/googleapis/gaxios)_** | ||
|
|
||
| Retry a request with built-in exponential backoff. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "library_type": "OTHER", | ||
| "release_level": "stable", | ||
| "client_documentation": "https://github.com/googleapis/retry-request", | ||
| "codeowner_team": "@googleapis/jsteam-handwritten-libraries", | ||
| "repo": "googleapis/google-cloud-node-core" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| # Changelog | ||
|
|
||
| ## [8.0.2](https://github.com/googleapis/retry-request/compare/v8.0.1...v8.0.2) (2025-08-05) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * Move"@types/request" to dev ([a42f283](https://github.com/googleapis/retry-request/commit/a42f283ad3d30106f542e7d9312f13182b805209)) | ||
|
|
||
| ## [8.0.1](https://github.com/googleapis/retry-request/compare/v8.0.0...v8.0.1) (2025-08-05) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * Resolve vulnerability ([#150](https://github.com/googleapis/retry-request/issues/150)) ([5a446a1](https://github.com/googleapis/retry-request/commit/5a446a18cdd06dcdeda4575d4086b8bb86e16353)) | ||
|
|
||
| ## [8.0.0](https://github.com/googleapis/retry-request/compare/v7.0.2...v8.0.0) (2025-02-19) | ||
|
|
||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * upgrade to Node 18 ([#137](https://github.com/googleapis/retry-request/issues/137)) | ||
|
|
||
| ### Miscellaneous Chores | ||
|
|
||
| * Upgrade to Node 18 ([#137](https://github.com/googleapis/retry-request/issues/137)) ([5ec12e5](https://github.com/googleapis/retry-request/commit/5ec12e55b0c2aa3d178c1f9351537e5b96663427)) | ||
|
|
||
| ## [7.0.2](https://github.com/googleapis/retry-request/compare/v7.0.1...v7.0.2) (2024-01-19) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * Get rid of debug runtime dependency ([#118](https://github.com/googleapis/retry-request/issues/118)) ([85e1bd0](https://github.com/googleapis/retry-request/commit/85e1bd0a46630876757344405a6c8620d9de6451)) | ||
|
|
||
| ## [7.0.1](https://github.com/googleapis/retry-request/compare/v7.0.0...v7.0.1) (2023-10-12) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * Types ([#109](https://github.com/googleapis/retry-request/issues/109)) ([35c0260](https://github.com/googleapis/retry-request/commit/35c02608138a4b66cf488e4e1e90cbff05d42c2f)) | ||
|
|
||
| ## [7.0.0](https://github.com/googleapis/retry-request/compare/v6.0.0...v7.0.0) (2023-10-11) | ||
|
|
||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * Remove `request` fallback, Update Docs, Update Types ([#107](https://github.com/googleapis/retry-request/issues/107)) | ||
|
|
||
| ### Features | ||
|
|
||
| * Remove `request` fallback, Update Docs, Update Types ([#107](https://github.com/googleapis/retry-request/issues/107)) ([ba8abb2](https://github.com/googleapis/retry-request/commit/ba8abb242ff21921a81e3178081806e95a902a68)) | ||
|
|
||
| ## [6.0.0](https://github.com/googleapis/retry-request/compare/v5.0.2...v6.0.0) (2023-07-20) | ||
|
|
||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * Move to node 14 as the minimum version ([#97](https://github.com/googleapis/retry-request/issues/97)) | ||
| * move minimum version to node 14 ([#96](https://github.com/googleapis/retry-request/issues/96)) | ||
|
|
||
| ### Features | ||
|
|
||
| * Move to node 14 as the minimum version ([#97](https://github.com/googleapis/retry-request/issues/97)) ([f42d074](https://github.com/googleapis/retry-request/commit/f42d0743de048fdf46c7f480f3dec59c2caefa5a)) | ||
|
|
||
|
|
||
| ### Miscellaneous Chores | ||
|
|
||
| * Move minimum version to node 14 ([#96](https://github.com/googleapis/retry-request/issues/96)) ([2167a91](https://github.com/googleapis/retry-request/commit/2167a91c36e95522ad7e7293b4744ddd81c6166e)) | ||
|
|
||
| ## [5.0.2](https://github.com/googleapis/retry-request/compare/v5.0.1...v5.0.2) (2022-09-14) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * Delete second LICENSE ([#82](https://github.com/googleapis/retry-request/issues/82)) ([9dfaf18](https://github.com/googleapis/retry-request/commit/9dfaf1819b18b6d660924951b9cf1c509b6e9870)) | ||
| * Remove pip install statements ([#1546](https://github.com/googleapis/retry-request/issues/1546)) ([#79](https://github.com/googleapis/retry-request/issues/79)) ([cb4e15d](https://github.com/googleapis/retry-request/commit/cb4e15d6e8ae9d72855ed1071957afe9d301b12e)) | ||
|
|
||
| ## [5.0.1](https://github.com/googleapis/retry-request/compare/v5.0.0...v5.0.1) (2022-06-09) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * respect totalTimeout and do not retry if nextRetryDelay is <= 0 ([#38](https://github.com/googleapis/retry-request/issues/38)) ([9501a42](https://github.com/googleapis/retry-request/commit/9501a42d06a620282dcd2ff9990fd0b5033a990b)) | ||
|
|
||
| ## [5.0.0](https://github.com/googleapis/retry-request/compare/v4.2.2...v5.0.0) (2022-05-06) | ||
|
|
||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * drop node 10 (#68) | ||
|
|
||
| ### Build System | ||
|
|
||
| * drop node 10 ([#68](https://github.com/googleapis/retry-request/issues/68)) ([00ec90c](https://github.com/googleapis/retry-request/commit/00ec90c4d3cb29245ca746e0e133fcddc22d2251)) | ||
|
|
||
| ### [4.2.1](https://github.com/googleapis/retry-request/compare/v4.2.0...v4.2.1) (2022-04-12) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * add new retry options to types ([#36](https://github.com/googleapis/retry-request/issues/36)) ([3f10798](https://github.com/googleapis/retry-request/commit/3f10798f47c03b50f1ba352b04d09ea3d0458b9c)) | ||
| * use extend instead of object.assign ([#37](https://github.com/googleapis/retry-request/issues/37)) ([8c8dcdd](https://github.com/googleapis/retry-request/commit/8c8dcdd7d6262ce305c93fa4a8a7b2630e984824)) | ||
|
|
||
| ## [4.2.0](https://github.com/googleapis/retry-request/compare/v4.1.0...v4.2.0) (2022-04-06) | ||
|
|
||
|
|
||
| ### Features | ||
|
|
||
| * support enhanced retry settings ([#35](https://github.com/googleapis/retry-request/issues/35)) ([0184676](https://github.com/googleapis/retry-request/commit/0184676dee36596fb939fb4559af11d0a14f64bd)) | ||
|
|
||
|
|
||
| ### Bug Fixes | ||
|
|
||
| * add new retry options to types ([#36](https://github.com/googleapis/retry-request/issues/36)) ([3f10798](https://github.com/googleapis/retry-request/commit/3f10798f47c03b50f1ba352b04d09ea3d0458b9c)) | ||
| * correctly calculate retry attempt ([#33](https://github.com/googleapis/retry-request/issues/33)) ([4c852e2](https://github.com/googleapis/retry-request/commit/4c852e2ba22a7f75edfb3c905bd37a7e9913e67d)) | ||
| * use extend instead of object.assign ([#37](https://github.com/googleapis/retry-request/issues/37)) ([8c8dcdd](https://github.com/googleapis/retry-request/commit/8c8dcdd7d6262ce305c93fa4a8a7b2630e984824)) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.