@google-cloud/pubsub 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/build/src/v1/publisher_client_config.json +10 -1
- package/build/src/v1/subscriber_client_config.json +10 -1
- package/package.json +10 -11
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/@google-cloud/pubsub?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [4.0.2](https://github.com/googleapis/nodejs-pubsub/compare/v4.0.1...v4.0.2) (2023-08-24)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD ([#1806](https://github.com/googleapis/nodejs-pubsub/issues/1806)) ([e9969ba](https://github.com/googleapis/nodejs-pubsub/commit/e9969bab92c38f1509b157034fcdbe5d5ec63903))
|
|
13
|
+
|
|
14
|
+
## [4.0.1](https://github.com/googleapis/nodejs-pubsub/compare/v4.0.0...v4.0.1) (2023-08-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **deps:** Update dependency @google-cloud/paginator to v5 ([#1799](https://github.com/googleapis/nodejs-pubsub/issues/1799)) ([3195d21](https://github.com/googleapis/nodejs-pubsub/commit/3195d21bf817cf10daa86b019532c9405dc42405))
|
|
20
|
+
* **deps:** Update dependency @google-cloud/precise-date to v4 ([#1803](https://github.com/googleapis/nodejs-pubsub/issues/1803)) ([2c22d67](https://github.com/googleapis/nodejs-pubsub/commit/2c22d67b0fbaf3409101a830ee0c5be002ed6c7b))
|
|
21
|
+
* **deps:** Update dependency @google-cloud/projectify to v4 ([#1800](https://github.com/googleapis/nodejs-pubsub/issues/1800)) ([5787d56](https://github.com/googleapis/nodejs-pubsub/commit/5787d56b95d46544bf8c59fe4bc4cb374bc53d0a))
|
|
22
|
+
* **deps:** Update dependency @google-cloud/promisify to v4 ([#1798](https://github.com/googleapis/nodejs-pubsub/issues/1798)) ([093c46b](https://github.com/googleapis/nodejs-pubsub/commit/093c46bd0a4713ad9702bde03eaa5e8b0acedb28))
|
|
23
|
+
|
|
7
24
|
## [4.0.0](https://github.com/googleapis/nodejs-pubsub/compare/v3.7.3...v4.0.0) (2023-08-03)
|
|
8
25
|
|
|
9
26
|
|
package/README.md
CHANGED
|
@@ -184,7 +184,7 @@ also contains samples.
|
|
|
184
184
|
|
|
185
185
|
## Supported Node.js Versions
|
|
186
186
|
|
|
187
|
-
Our client libraries follow the [Node.js release schedule](https://
|
|
187
|
+
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
|
|
188
188
|
Libraries are compatible with all current _active_ and _maintenance_ versions of
|
|
189
189
|
Node.js.
|
|
190
190
|
If you are using an end-of-life version of Node.js, we recommend that you update
|
|
@@ -34,6 +34,15 @@
|
|
|
34
34
|
"rpc_timeout_multiplier": 1,
|
|
35
35
|
"max_rpc_timeout_millis": 60000,
|
|
36
36
|
"total_timeout_millis": 600000
|
|
37
|
+
},
|
|
38
|
+
"693222d32e887d96c8faeadca469f7763ccda85a": {
|
|
39
|
+
"initial_retry_delay_millis": 100,
|
|
40
|
+
"retry_delay_multiplier": 4,
|
|
41
|
+
"max_retry_delay_millis": 60000,
|
|
42
|
+
"initial_rpc_timeout_millis": 60000,
|
|
43
|
+
"rpc_timeout_multiplier": 1,
|
|
44
|
+
"max_rpc_timeout_millis": 60000,
|
|
45
|
+
"total_timeout_millis": 600000
|
|
37
46
|
}
|
|
38
47
|
},
|
|
39
48
|
"methods": {
|
|
@@ -50,7 +59,7 @@
|
|
|
50
59
|
"Publish": {
|
|
51
60
|
"timeout_millis": 60000,
|
|
52
61
|
"retry_codes_name": "cancelled_unknown_deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
|
|
53
|
-
"retry_params_name": "
|
|
62
|
+
"retry_params_name": "693222d32e887d96c8faeadca469f7763ccda85a",
|
|
54
63
|
"bundling": {
|
|
55
64
|
"element_count_threshold": 100,
|
|
56
65
|
"request_byte_threshold": 1048576,
|
|
@@ -38,6 +38,15 @@
|
|
|
38
38
|
"rpc_timeout_multiplier": 1,
|
|
39
39
|
"max_rpc_timeout_millis": 60000,
|
|
40
40
|
"total_timeout_millis": 600000
|
|
41
|
+
},
|
|
42
|
+
"693222d32e887d96c8faeadca469f7763ccda85a": {
|
|
43
|
+
"initial_retry_delay_millis": 100,
|
|
44
|
+
"retry_delay_multiplier": 4,
|
|
45
|
+
"max_retry_delay_millis": 60000,
|
|
46
|
+
"initial_rpc_timeout_millis": 60000,
|
|
47
|
+
"rpc_timeout_multiplier": 1,
|
|
48
|
+
"max_rpc_timeout_millis": 60000,
|
|
49
|
+
"total_timeout_millis": 600000
|
|
41
50
|
}
|
|
42
51
|
},
|
|
43
52
|
"methods": {
|
|
@@ -84,7 +93,7 @@
|
|
|
84
93
|
"StreamingPull": {
|
|
85
94
|
"timeout_millis": 900000,
|
|
86
95
|
"retry_codes_name": "deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
|
|
87
|
-
"retry_params_name": "
|
|
96
|
+
"retry_params_name": "693222d32e887d96c8faeadca469f7763ccda85a"
|
|
88
97
|
},
|
|
89
98
|
"ModifyPushConfig": {
|
|
90
99
|
"timeout_millis": 60000,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/pubsub",
|
|
3
3
|
"description": "Cloud Pub/Sub Client Library for Node.js",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google Inc.",
|
|
7
7
|
"engines": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"presystem-test": "npm run compile",
|
|
31
31
|
"system-test": "mocha build/system-test --timeout 600000",
|
|
32
|
-
"samples-test": "cd samples/ && npm install && npm test && cd ../",
|
|
32
|
+
"samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../",
|
|
33
33
|
"test": "c8 mocha build/test --recursive",
|
|
34
34
|
"lint": "gts check",
|
|
35
35
|
"predocs": "npm run compile",
|
|
@@ -43,15 +43,14 @@
|
|
|
43
43
|
"docs-test": "linkinator docs",
|
|
44
44
|
"predocs-test": "npm run docs",
|
|
45
45
|
"benchwrapper": "node bin/benchwrapper.js",
|
|
46
|
-
"prelint": "
|
|
47
|
-
"precompile": "gts clean"
|
|
48
|
-
"pack": "npm pack && mv google-cloud-pubsub*.tgz samples/pubsub-current.tgz"
|
|
46
|
+
"prelint": "cd samples; npm link ../; npm install",
|
|
47
|
+
"precompile": "gts clean"
|
|
49
48
|
},
|
|
50
49
|
"dependencies": {
|
|
51
|
-
"@google-cloud/paginator": "^
|
|
52
|
-
"@google-cloud/precise-date": "^
|
|
53
|
-
"@google-cloud/projectify": "^
|
|
54
|
-
"@google-cloud/promisify": "^
|
|
50
|
+
"@google-cloud/paginator": "^5.0.0",
|
|
51
|
+
"@google-cloud/precise-date": "^4.0.0",
|
|
52
|
+
"@google-cloud/projectify": "^4.0.0",
|
|
53
|
+
"@google-cloud/promisify": "^4.0.0",
|
|
55
54
|
"@opentelemetry/api": "^1.0.0",
|
|
56
55
|
"@opentelemetry/semantic-conventions": "~1.3.0",
|
|
57
56
|
"@types/duplexify": "^3.6.0",
|
|
@@ -85,8 +84,8 @@
|
|
|
85
84
|
"gapic-tools": "^0.1.7",
|
|
86
85
|
"gts": "^5.0.0",
|
|
87
86
|
"jsdoc": "^4.0.0",
|
|
88
|
-
"jsdoc-fresh": "^
|
|
89
|
-
"jsdoc-region-tag": "^
|
|
87
|
+
"jsdoc-fresh": "^3.0.0",
|
|
88
|
+
"jsdoc-region-tag": "^3.0.0",
|
|
90
89
|
"linkinator": "^5.0.0",
|
|
91
90
|
"mocha": "^9.2.2",
|
|
92
91
|
"mv": "^2.1.1",
|