google-cloud-pubsub 3.5.0 → 3.5.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/cloud/pubsub/message_listener/stream.rb +6 -1
- data/lib/google/cloud/pubsub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4148710a04f0d405518221d8dd7dc6a259a1b4ee83297e052bc93e1129343bb7
|
|
4
|
+
data.tar.gz: 4cc63532ce1b453b869150c9eeebe6a63c946a36f37279154321f8969734ac1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa650623840ee0938350e184f8f3dd1c3e46a322e1dbd2218ab6bd820198f59cc57658b664cc6023af9393318f79d89a8ad43744b3a0de3fe2cdc628e1e5d67f
|
|
7
|
+
data.tar.gz: f1884786cde252571db189c7d5e72ef132583af8df88d9ebedddf3b7e458a1337129925c50ccce3145672bab58f3a8d7395ef66ce21aa5ecbfc9ef82379ba48c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### 3.5.1 (2026-11-03)
|
|
4
|
+
|
|
5
|
+
#### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Don't resend an unsent initial request on stream restart ([#36680](https://github.com/googleapis/google-cloud-ruby/issues/36680)) ([bd2bf19](https://github.com/googleapis/google-cloud-ruby/commit/bd2bf19a6bf7ddae48face73c6503e8751d216f7)), refs [#36679](https://github.com/googleapis/google-cloud-ruby/issues/36679)
|
|
8
|
+
|
|
9
|
+
#### Documentation
|
|
10
|
+
|
|
11
|
+
* link to the published Ruby version support policy ([#36660](https://github.com/googleapis/google-cloud-ruby/issues/36660))
|
|
12
|
+
|
|
3
13
|
### 3.5.0 (2026-09-14)
|
|
4
14
|
|
|
5
15
|
#### Features
|
|
@@ -347,7 +347,12 @@ module Google
|
|
|
347
347
|
@request_queue = EnumeratorQueue.new self
|
|
348
348
|
@request_queue.push initial_input_request
|
|
349
349
|
old_queue.each do |obj|
|
|
350
|
-
|
|
350
|
+
next if obj == self
|
|
351
|
+
# Drop the previous stream's initial request if it was never sent. Only the first request on a
|
|
352
|
+
# stream may set protocol_version, so the server rejects it with INVALID_ARGUMENT, and the new
|
|
353
|
+
# initial request already carries its subscription settings and inventory modacks.
|
|
354
|
+
next unless obj.subscription.empty?
|
|
355
|
+
@request_queue.push obj
|
|
351
356
|
end
|
|
352
357
|
end
|
|
353
358
|
|