Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-actioncable-8.0 for 
openSUSE:Factory checked in at 2025-10-10 17:12:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actioncable-8.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actioncable-8.0.new.5300 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actioncable-8.0"

Fri Oct 10 17:12:04 2025 rev:5 rq:1310567 version:8.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actioncable-8.0/rubygem-actioncable-8.0.changes
  2025-08-22 17:50:35.910935595 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actioncable-8.0.new.5300/rubygem-actioncable-8.0.changes
        2025-10-10 17:13:38.476080113 +0200
@@ -1,0 +2,6 @@
+Tue Sep 23 00:15:48 UTC 2025 - Marcus Rueckert <[email protected]>
+
+- Update to version 8.0.3:
+  https://rubyonrails.org/2025/9/22/Rails-Version-8-0-3-has-been-released
+
+-------------------------------------------------------------------

Old:
----
  actioncable-8.0.2.1.gem

New:
----
  actioncable-8.0.3.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-actioncable-8.0.spec ++++++
--- /var/tmp/diff_new_pack.QogRAL/_old  2025-10-10 17:13:39.020103013 +0200
+++ /var/tmp/diff_new_pack.QogRAL/_new  2025-10-10 17:13:39.020103013 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-actioncable-8.0
-Version:        8.0.2.1
+Version:        8.0.3
 Release:        0
 %define mod_name actioncable
 %define mod_full_name %{mod_name}-%{version}

++++++ actioncable-8.0.2.1.gem -> actioncable-8.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    1980-01-02 01:00:00.000000000 +0100
+++ new/CHANGELOG.md    1980-01-02 01:00:00.000000000 +0100
@@ -1,9 +1,15 @@
-## Rails 8.0.2.1 (August 13, 2025) ##
+## Rails 8.0.3 (September 22, 2025) ##
 
-*   No changes.
+*   Fixed compatibility with `redis` gem `5.4.1`
+
+    *Jean Boussier*
 
+*   Fixed a possible race condition in `stream_from`.
 
-## Rails 8.0.2 (March 12, 2025) ##
+    *OuYangJinTing*
+
+
+## Rails 8.0.2.1 (August 13, 2025) ##
 
 *   No changes.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       1980-01-02 01:00:00.000000000 +0100
+++ new/README.md       1980-01-02 01:00:00.000000000 +0100
@@ -19,6 +19,6 @@
 
 * https://github.com/rails/rails/issues
 
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
 
 * https://discuss.rubyonrails.org/c/rubyonrails-core
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_cable/channel/base.rb 
new/lib/action_cable/channel/base.rb
--- old/lib/action_cable/channel/base.rb        1980-01-02 01:00:00.000000000 
+0100
+++ new/lib/action_cable/channel/base.rb        1980-01-02 01:00:00.000000000 
+0100
@@ -165,6 +165,7 @@
 
         @reject_subscription = nil
         @subscription_confirmation_sent = nil
+        @unsubscribed = false
 
         delegate_connection_identifiers
       end
@@ -200,11 +201,16 @@
       # cleanup with callbacks. This method is not intended to be called 
directly by
       # the user. Instead, override the #unsubscribed callback.
       def unsubscribe_from_channel # :nodoc:
+        @unsubscribed = true
         run_callbacks :unsubscribe do
           unsubscribed
         end
       end
 
+      def unsubscribed? # :nodoc:
+        @unsubscribed
+      end
+
       private
         # Called once a consumer has become a subscriber of the channel. 
Usually the
         # place to set up any streams you want this channel to be sending to 
the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_cable/channel/streams.rb 
new/lib/action_cable/channel/streams.rb
--- old/lib/action_cable/channel/streams.rb     1980-01-02 01:00:00.000000000 
+0100
+++ new/lib/action_cable/channel/streams.rb     1980-01-02 01:00:00.000000000 
+0100
@@ -88,6 +88,8 @@
       # callback. Defaults to `coder: nil` which does no decoding, passes raw
       # messages.
       def stream_from(broadcasting, callback = nil, coder: nil, &block)
+        return if unsubscribed?
+
         broadcasting = String(broadcasting)
 
         # Don't send the confirmation until pubsub#subscribe is successful
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_cable/gem_version.rb 
new/lib/action_cable/gem_version.rb
--- old/lib/action_cable/gem_version.rb 1980-01-02 01:00:00.000000000 +0100
+++ new/lib/action_cable/gem_version.rb 1980-01-02 01:00:00.000000000 +0100
@@ -11,8 +11,8 @@
   module VERSION
     MAJOR = 8
     MINOR = 0
-    TINY  = 2
-    PRE   = "1"
+    TINY  = 3
+    PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_cable/subscription_adapter/redis.rb 
new/lib/action_cable/subscription_adapter/redis.rb
--- old/lib/action_cable/subscription_adapter/redis.rb  1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_cable/subscription_adapter/redis.rb  1980-01-02 
01:00:00.000000000 +0100
@@ -164,7 +164,7 @@
                 begin
                   conn = @adapter.redis_connection_for_subscriptions
                   listen conn
-                rescue ConnectionError
+                rescue *CONNECTION_ERRORS
                   reset
                   if retry_connecting?
                     when_connected { resubscribe }
@@ -210,7 +210,7 @@
             end
 
             if ::Redis::VERSION < "5"
-              ConnectionError = ::Redis::BaseConnectionError
+              CONNECTION_ERRORS = [::Redis::BaseConnectionError].freeze
 
               class SubscribedClient
                 def initialize(raw_client)
@@ -244,7 +244,12 @@
                 SubscribedClient.new(conn._client)
               end
             else
-              ConnectionError = RedisClient::ConnectionError
+              CONNECTION_ERRORS = [
+                ::Redis::BaseConnectionError,
+
+                # Some older versions of redis-rb sometime leak underlying 
exceptions
+                RedisClient::ConnectionError,
+              ].freeze
 
               def extract_subscribed_client(conn)
                 conn
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rails/generators/channel/channel_generator.rb 
new/lib/rails/generators/channel/channel_generator.rb
--- old/lib/rails/generators/channel/channel_generator.rb       1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/rails/generators/channel/channel_generator.rb       1980-01-02 
01:00:00.000000000 +0100
@@ -105,7 +105,7 @@
         end
 
         def using_bun?
-          # Cannot assume bun.lockb has been generated yet so we look for a 
file known to
+          # Cannot assume Bun lockfile has been generated yet so we look for a 
file known to
           # be generated by the jsbundling-rails gem
           @using_bun ||= using_js_runtime? && root.join("bun.config.js").exist?
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        1980-01-02 01:00:00.000000000 +0100
+++ new/metadata        1980-01-02 01:00:00.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: actioncable
 version: !ruby/object:Gem::Version
-  version: 8.0.2.1
+  version: 8.0.3
 platform: ruby
 authors:
 - Pratik Naik
@@ -16,28 +16,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.2.1
+        version: 8.0.3
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.2.1
+        version: 8.0.3
 - !ruby/object:Gem::Dependency
   name: actionpack
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.2.1
+        version: 8.0.3
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.2.1
+        version: 8.0.3
 - !ruby/object:Gem::Dependency
   name: nio4r
   requirement: !ruby/object:Gem::Requirement
@@ -153,10 +153,10 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.2.1/actioncable/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v8.0.2.1/
+  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.3/actioncable/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v8.0.3/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v8.0.2.1/actioncable
+  source_code_uri: https://github.com/rails/rails/tree/v8.0.3/actioncable
   rubygems_mfa_required: 'true'
 rdoc_options: []
 require_paths:

Reply via email to