Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-actionpack-8.0 for 
openSUSE:Factory checked in at 2026-11-26 18:32:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-8.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actionpack-8.0.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionpack-8.0"

Thu Nov 26 18:32:04 2026 rev:7 rq:1400825 version:8.0.5.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actionpack-8.0/rubygem-actionpack-8.0.changes
    2026-07-07 21:07:43.351676030 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actionpack-8.0.new.1340718/rubygem-actionpack-8.0.changes
       2026-11-26 18:32:06.533204196 +0100
@@ -1,0 +2,6 @@
+Thu Nov 26 11:43:01 UTC 2026 - Aleksei Burlakov <[email protected]>
+
+- Update to version 8.0.5.2:
+  
https://rubyonrails.org/2026/11/4/Rails-8.0.5.2-and-8.1.4.1-have-been-released
+
+-------------------------------------------------------------------

Old:
----
  actionpack-8.0.5.gem

New:
----
  actionpack-8.0.5.2.gem

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

Other differences:
------------------
++++++ rubygem-actionpack-8.0.spec ++++++
--- /var/tmp/diff_new_pack.vqdn2z/_old  2026-11-26 18:32:07.450243049 +0100
+++ /var/tmp/diff_new_pack.vqdn2z/_new  2026-11-26 18:32:07.452243133 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-actionpack-8.0
-Version:        8.0.5
+Version:        8.0.5.2
 Release:        0
 %define mod_name actionpack
 %define mod_full_name %{mod_name}-%{version}

++++++ actionpack-8.0.5.gem -> actionpack-8.0.5.2.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,3 +1,91 @@
+## Rails 8.0.5.2 (November 03, 2026) ##
+
+*   Apply `config.action_dispatch.cookies_same_site_protection` to every 
session
+    store.
+
+    `ActionDispatch::Session::CacheStore`, `MemCacheStore` and third-party
+    stores built on `AbstractStore` or the session mixins sent session cookies
+    with no `SameSite` attribute. Only `CookieStore` applied the configured
+    default.
+
+    [GHSA-gmj8-hvj3-49mw]
+
+    *Jean Boussier*
+
+*   Prevent `ActionController::Live` streams from blocking when a full buffer 
is
+    closed or aborted.
+
+    [GHSA-rwvh-fw6r-pwvp]
+
+    *Jeremy Daer*
+
+*   Set and extend the `Vary` header for rendered responses according to the
+    request headers used in format negotiation.
+
+    `Vary: Accept` was only added when the request carried a usable `Accept`
+    header. A response to a request without one, negotiated to HTML or
+    JavaScript, could be stored by a shared cache and served to later clients
+    that requested a different representation.
+
+    Responses now vary on `Accept` and `X-Requested-With` whenever the format 
is
+    not given by the URL. XHR requests without `Accept` also vary on
+    `Content-Type`, which Rails uses as a legacy format fallback. When
+    `config.action_dispatch.ignore_accept_header` is enabled, responses vary
+    only on `X-Requested-With`.
+
+    These fields are appended to an existing `Vary` value without duplicating
+    fields case-insensitively. `Vary: *` remains unchanged.
+
+    [GHSA-r9jg-fmfx-2gv6]
+
+    *Jeremy Daer*
+
+*   Skip writing a `CacheStore` session that another request deleted while this
+    one ran.
+
+    A request that loaded a session from `ActionDispatch::Session::CacheStore`
+    wrote it back when it finished, even after a concurrent `reset_session` or 
a
+    server-side delete had removed it, so the old session ID worked again.
+
+    [GHSA-2586-8ghr-69fj]
+
+    *Mike Dalessio*
+
+*   Don't write upgraded cookies to a response that skips the session.
+
+    Reading a signed or encrypted cookie written under a rotated secret, or in
+    the format a `:hybrid` serializer migrates from, writes it back in the
+    current format. That write ignored `request.session_options[:skip]`, so a
+    response that skips the session, such as the Active Storage proxy's
+    public, cacheable response, could still carry the session cookie in
+    `Set-Cookie`. Such a response now leaves the cookie unchanged, and a later
+    request that does not skip the session upgrades it. An application that
+    skips the session on every request no longer upgrades its signed or
+    encrypted cookies. Cookies the application sets are still written.
+
+    [GHSA-x6mj-8jx9-qhqv]
+
+    *Mike Dalessio*
+
+*   `ActionController::Parameters#each_key` returns `self` when given a block.
+
+    It returned the internal `ActiveSupport::HashWithIndifferentAccess`, which
+    does not respond to `permitted?`, so passing that return value to mass
+    assignment skipped the Strong Parameters check. `each`, `each_pair` and
+    `each_value` already return `self`.
+
+    Document that `ActionController::Parameters#as_json` returns every
+    parameter, permitted or not, in a hash that mass assignment does not check.
+
+    [GHSA-wm3x-v3qw-4jh3]
+
+    *Mike Dalessio*
+
+## Rails 8.0.5.1 (July 29, 2026) ##
+
+*   No changes.
+
+
 ## Rails 8.0.5 (March 24, 2026) ##
 
 *   Add `config.action_controller.live_streaming_excluded_keys` to control 
execution state sharing in ActionController::Live.
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_controller/metal/live.rb 
new/lib/action_controller/metal/live.rb
--- old/lib/action_controller/metal/live.rb     1980-01-02 01:00:00.000000000 
+0100
+++ new/lib/action_controller/metal/live.rb     1980-01-02 01:00:00.000000000 
+0100
@@ -218,7 +218,11 @@
           @response.delete_header "Content-Length"
         end
 
-        super
+        begin
+          super
+        rescue ClosedQueueError
+          raise IOError, "closed stream" if connected?
+        end
 
         unless connected?
           @buf.clear
@@ -236,14 +240,14 @@
         write string.end_with?("\n") ? string : "#{string}\n"
       end
 
-      # Write a 'close' event to the buffer; the producer/writing thread uses 
this to
-      # notify us that it's finished supplying content.
+      # Close the buffer; the producer/writing thread uses this to notify us 
that
+      # it's finished supplying content.
       #
       # See also #abort.
       def close
         synchronize do
           super
-          @buf.push nil
+          @buf.close
           @cv.broadcast
         end
       end
@@ -255,7 +259,9 @@
       def abort
         synchronize do
           @aborted = true
+          @buf.close
           @buf.clear
+          @cv.broadcast
         end
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_controller/metal/rendering.rb 
new/lib/action_controller/metal/rendering.rb
--- old/lib/action_controller/metal/rendering.rb        1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_controller/metal/rendering.rb        1980-01-02 
01:00:00.000000000 +0100
@@ -218,8 +218,15 @@
       end
 
       def _set_vary_header
-        if response.headers["Vary"].blank? && request.should_apply_vary_header?
-          response.headers["Vary"] = "Accept"
+        if request.should_apply_vary_header?
+          vary_headers = 
response.headers["Vary"].to_s.split(",").map(&:strip).reject(&:blank?)
+
+          unless vary_headers.include?("*")
+            request.vary_headers.each do |header|
+              vary_headers << header unless vary_headers.any? { |existing| 
existing.casecmp?(header) }
+            end
+            response.headers["Vary"] = vary_headers.join(", ")
+          end
         end
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_controller/metal/strong_parameters.rb 
new/lib/action_controller/metal/strong_parameters.rb
--- old/lib/action_controller/metal/strong_parameters.rb        1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_controller/metal/strong_parameters.rb        1980-01-02 
01:00:00.000000000 +0100
@@ -197,15 +197,14 @@
     #     as_json(options=nil)
     #
     # Returns a hash that can be used as the JSON representation for the 
parameters.
-
-    ##
-    # :method: each_key
     #
-    # :call-seq:
-    #     each_key(&block)
+    # Like `#to_unsafe_h`, the hash holds every parameter, permitted or not, 
and
+    # mass assignment does not check it. Do not pass it to a model.
     #
-    # Calls block once for each key in the parameters, passing the key. If no 
block
-    # is given, an enumerator is returned instead.
+    #     params = ActionController::Parameters.new(name: "Bob", admin: true)
+    #     params.as_json           # => {"name" => "Bob", "admin" => true}
+    #     User.new(params)         # => ActiveModel::ForbiddenAttributesError
+    #     User.new(params.as_json) # => #<User name: "Bob", admin: true>
 
     ##
     # :method: empty?
@@ -248,7 +247,7 @@
     # Returns the content of the parameters as a string.
 
     delegate :keys, :empty?, :exclude?, :include?,
-      :as_json, :to_s, :each_key, to: :@parameters
+      :as_json, :to_s, to: :@parameters
 
     alias_method :has_key?, :include?
     alias_method :key?, :include?
@@ -419,6 +418,15 @@
 
       self
     end
+
+    # Calls block once for each key in the parameters, passing the key. If no 
block
+    # is given, an enumerator is returned instead.
+    def each_key(&block)
+      return to_enum(:each_key) unless block_given?
+      @parameters.each_key(&block)
+
+      self
+    end
 
     # Returns a new array of the values of the parameters.
     def values
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/http/mime_negotiation.rb 
new/lib/action_dispatch/http/mime_negotiation.rb
--- old/lib/action_dispatch/http/mime_negotiation.rb    1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_dispatch/http/mime_negotiation.rb    1980-01-02 
01:00:00.000000000 +0100
@@ -158,7 +158,17 @@
       end
 
       def should_apply_vary_header?
-        !params_readable? && use_accept_header && valid_accept_header
+        !params_readable?
+      end
+
+      def vary_headers # :nodoc:
+        if use_accept_header
+          headers = ["Accept", "X-Requested-With"]
+          headers.insert(1, "Content-Type") if xhr? && accept.blank?
+          headers
+        else
+          ["X-Requested-With"]
+        end
       end
 
       private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/middleware/cookies.rb 
new/lib/action_dispatch/middleware/cookies.rb
--- old/lib/action_dispatch/middleware/cookies.rb       1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_dispatch/middleware/cookies.rb       1980-01-02 
01:00:00.000000000 +0100
@@ -324,6 +324,7 @@
       def initialize(request)
         @set_cookies = {}
         @delete_cookies = {}
+        @upgraded_cookies = Set.new
         @request = request
         @cookies = {}
         @committed = false
@@ -386,6 +387,7 @@
         end
 
         handle_options(options)
+        @upgraded_cookies.delete(name.to_s)
 
         if @cookies[name.to_s] != value || options[:expires]
           @cookies[name.to_s] = value
@@ -426,8 +428,14 @@
         @cookies.each_key { |k| delete(k, options) }
       end
 
+      def upgraded(name)
+        @upgraded_cookies << name.to_s
+      end
+
       def write(response)
         @set_cookies.each do |name, value|
+          next if @upgraded_cookies.include?(name) && 
request.session_options[:skip]
+
           if write_cookie?(value)
             response.set_cookie(name, value)
           end
@@ -533,6 +541,10 @@
         @parent_jar[name] = options
       end
 
+      def upgraded(name)
+        @parent_jar.upgraded(name)
+      end
+
       protected
         def request; @parent_jar.request; end
 
@@ -599,7 +611,10 @@
               return
             end
 
-            self[name] = { value: value } if force_reserialize || 
reserialize?(dumped)
+            if force_reserialize || reserialize?(dumped)
+              self[name] = { value: value }
+              upgraded(name)
+            end
 
             value
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/action_dispatch/middleware/session/abstract_store.rb 
new/lib/action_dispatch/middleware/session/abstract_store.rb
--- old/lib/action_dispatch/middleware/session/abstract_store.rb        
1980-01-02 01:00:00.000000000 +0100
+++ new/lib/action_dispatch/middleware/session/abstract_store.rb        
1980-01-02 01:00:00.000000000 +0100
@@ -20,8 +20,13 @@
     end
 
     module Compatibility
+      DEFAULT_SAME_SITE = proc { |request| 
request.cookies_same_site_protection } # :nodoc:
+
       def initialize(app, options = {})
         options[:key] ||= "_session_id"
+        unless options.key?(:same_site) || 
self.class::DEFAULT_OPTIONS.key?(:same_site)
+          options = options.merge(same_site: DEFAULT_SAME_SITE)
+        end
         super
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/action_dispatch/middleware/session/cache_store.rb 
new/lib/action_dispatch/middleware/session/cache_store.rb
--- old/lib/action_dispatch/middleware/session/cache_store.rb   1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_dispatch/middleware/session/cache_store.rb   1980-01-02 
01:00:00.000000000 +0100
@@ -20,6 +20,8 @@
     #     is used.
     #
     class CacheStore < AbstractSecureStore
+      LOADED_SESSION_ID = 
"action_dispatch.session.cache_store.loaded_session_id" # :nodoc:
+
       def initialize(app, options = {})
         @cache = options[:cache] || Rails.cache
         options[:expire_after] ||= @cache.options[:expires_in]
@@ -27,17 +29,20 @@
       end
 
       # Get a session from the cache.
-      def find_session(env, sid)
-        unless sid && (session = get_session_with_fallback(sid))
+      def find_session(req, sid)
+        if sid && (session = get_session_with_fallback(sid))
+          req.set_header(LOADED_SESSION_ID, sid.private_id)
+        else
           sid, session = generate_sid, {}
         end
         [sid, session]
       end
 
       # Set a session in the cache.
-      def write_session(env, sid, session, options)
+      def write_session(req, sid, session, options)
         key = cache_key(sid.private_id)
         if session
+          return false if destroyed_since_loaded?(req, sid)
           @cache.write(key, session, expires_in: options[:expire_after])
         else
           @cache.delete(key)
@@ -61,6 +66,24 @@
         def get_session_with_fallback(sid)
           @cache.read(cache_key(sid.private_id)) || 
@cache.read(cache_key(sid.public_id))
         end
+
+        # Writing back a session that another request deleted, such as on 
logout,
+        # would restore it.
+        def destroyed_since_loaded?(req, sid)
+          req.get_header(LOADED_SESSION_ID) == sid.private_id &&
+            !exist_in_backend?(cache_key(sid.private_id)) &&
+            !exist_in_backend?(cache_key(sid.public_id))
+        end
+
+        # The request-local cache still holds the entry this request loaded, so
+        # a lookup through it cannot see a delete made by another request.
+        def exist_in_backend?(key)
+          if @cache.respond_to?(:with_local_cache)
+            @cache.with_local_cache { @cache.exist?(key) }
+          else
+            @cache.exist?(key)
+          end
+        end
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/action_dispatch/middleware/session/cookie_store.rb 
new/lib/action_dispatch/middleware/session/cookie_store.rb
--- old/lib/action_dispatch/middleware/session/cookie_store.rb  1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_dispatch/middleware/session/cookie_store.rb  1980-01-02 
01:00:00.000000000 +0100
@@ -59,11 +59,8 @@
         end
       end
 
-      DEFAULT_SAME_SITE = proc { |request| 
request.cookies_same_site_protection } # :nodoc:
-
       def initialize(app, options = {})
         options[:cookie_only] = true
-        options[:same_site] = DEFAULT_SAME_SITE if !options.key?(:same_site)
         super
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_pack/gem_version.rb 
new/lib/action_pack/gem_version.rb
--- old/lib/action_pack/gem_version.rb  1980-01-02 01:00:00.000000000 +0100
+++ new/lib/action_pack/gem_version.rb  1980-01-02 01:00:00.000000000 +0100
@@ -12,7 +12,7 @@
     MAJOR = 8
     MINOR = 0
     TINY  = 5
-    PRE   = nil
+    PRE   = "2"
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   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: actionpack
 version: !ruby/object:Gem::Version
-  version: 8.0.5
+  version: 8.0.5.2
 platform: ruby
 authors:
 - David Heinemeier Hansson
@@ -15,14 +15,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.5
+        version: 8.0.5.2
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.5
+        version: 8.0.5.2
 - !ruby/object:Gem::Dependency
   name: nokogiri
   requirement: !ruby/object:Gem::Requirement
@@ -127,28 +127,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.5
+        version: 8.0.5.2
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.5
+        version: 8.0.5.2
 - !ruby/object:Gem::Dependency
   name: activemodel
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.5
+        version: 8.0.5.2
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.5
+        version: 8.0.5.2
 description: Web apps on Rails. Simple, battle-tested conventions for building 
and
   testing MVC web applications. Works with any Rack-compatible server.
 email: [email protected]
@@ -349,10 +349,10 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.5/actionpack/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v8.0.5/
+  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.5.2/actionpack/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v8.0.5.2/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v8.0.5/actionpack
+  source_code_uri: https://github.com/rails/rails/tree/v8.0.5.2/actionpack
   rubygems_mfa_required: 'true'
 rdoc_options: []
 require_paths:
@@ -369,7 +369,7 @@
       version: '0'
 requirements:
 - none
-rubygems_version: 4.0.6
+rubygems_version: 4.0.20
 specification_version: 4
 summary: Web-flow and rendering framework putting the VC in MVC (part of 
Rails).
 test_files: []

Reply via email to