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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5694017436fe99de18ba1d45e73ecdb0941b0183e115c3d02cad10085dcaae2c
4
- data.tar.gz: b4a7a35193d6b9e75614474dc6510d1c978bbaa49fc2973123da33ea38b33116
3
+ metadata.gz: 4148710a04f0d405518221d8dd7dc6a259a1b4ee83297e052bc93e1129343bb7
4
+ data.tar.gz: 4cc63532ce1b453b869150c9eeebe6a63c946a36f37279154321f8969734ac1b
5
5
  SHA512:
6
- metadata.gz: f49b732799a033333beef767ac6667d603d066ff5bc5f7207b7c05ab127a4996e95f472a9377826ac2fc5898f6b31f710d2408473f611b1114815968edd91f95
7
- data.tar.gz: 3cb7429db18f8d79c4ff6d1b0a1e488ebf090268fcb9e7ad35f19f4dced3e77c1616c89a8b6d070a9e9e4fc9fd57a3db0cdff2fb44cfc4f8432e57fe6c8719d2
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
- @request_queue.push obj unless obj == self
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
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "3.5.0".freeze
19
+ VERSION = "3.5.1".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore