actioncable 8.0.0.1 → 8.0.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: 1c13e314fba14c39308e114529fdcf4a7b4e498cf5503e62429d5a875526e423
4
- data.tar.gz: 1ecb88f249c021fa7657ebbb81ea5cf690e0b06da6b9b8a5baa777b09b731c4b
3
+ metadata.gz: e9b858d5609ad95c84f7cdc6684952e5b3bfa01adc6c8e5037a5f239d8c53543
4
+ data.tar.gz: ad87c01cbd1dac29aff96279a0acbc8b07ccebe3674637fae7959fa59e8c8f46
5
5
  SHA512:
6
- metadata.gz: 5bbf81f66a527a89d258972b50804ce74f524aba85d45f5502081ed4148bf1fe43a808d31b445faa43762c5c5065058993c60ace797e8996aef22492296ab04b
7
- data.tar.gz: 50fce6c29cbf2e8d96938eb59dbc8bb9fb02e978e103eb777ccdafa43b4c426f067a10e4f70d880e9f90ffc7fcfc68608051278e6c31264f8cc82571d328f5b3
6
+ metadata.gz: d73ae632820d77d1fb5619e0a554117a106fa6e3fb1a5dbc0925c98f50ce2465e6fc16762e4765f31153d08e3b897c15aafa9aa0eb50585010db20e7ac48bf17
7
+ data.tar.gz: 241eff0e18d7de8c5032aed0d85149582bb244f4466e40f30528b56fbe94a906d58a8305c15e175dd09b892bdc58870806cc529bc781ebedc90451091acce89d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 8.0.1 (December 13, 2024) ##
2
+
3
+ * Ensure the Postgresql adapter always use a dedicated connection even during system tests.
4
+
5
+ Fix an issue with the Action Cable Postgresql adapter causing deadlock or various weird
6
+ pg client error during system tests.
7
+
8
+ *Jean Boussier*
9
+
10
+
1
11
  ## Rails 8.0.0.1 (December 10, 2024) ##
2
12
 
3
13
  * No changes.
@@ -11,8 +11,8 @@ module ActionCable
11
11
  module VERSION
12
12
  MAJOR = 8
13
13
  MINOR = 0
14
- TINY = 0
15
- PRE = "1"
14
+ TINY = 1
15
+ PRE = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
18
18
  end
@@ -35,18 +35,17 @@ module ActionCable
35
35
  end
36
36
 
37
37
  def with_subscriptions_connection(&block) # :nodoc:
38
- ar_conn = ActiveRecord::Base.connection_pool.checkout.tap do |conn|
39
- # Action Cable is taking ownership over this database connection, and will
40
- # perform the necessary cleanup tasks
41
- ActiveRecord::Base.connection_pool.remove(conn)
42
- end
38
+ # Action Cable is taking ownership over this database connection, and will
39
+ # perform the necessary cleanup tasks.
40
+ # We purposedly avoid #checkout to not end up with a pinned connection
41
+ ar_conn = ActiveRecord::Base.connection_pool.new_connection
43
42
  pg_conn = ar_conn.raw_connection
44
43
 
45
44
  verify!(pg_conn)
46
45
  pg_conn.exec("SET application_name = #{pg_conn.escape_identifier(identifier)}")
47
46
  yield pg_conn
48
47
  ensure
49
- ar_conn.disconnect!
48
+ ar_conn&.disconnect!
50
49
  end
51
50
 
52
51
  def with_broadcast_connection(&block) # :nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actioncable
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.1
4
+ version: 8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pratik Naik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-12-10 00:00:00.000000000 Z
12
+ date: 2024-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 8.0.0.1
20
+ version: 8.0.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 8.0.0.1
27
+ version: 8.0.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: actionpack
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 8.0.0.1
34
+ version: 8.0.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 8.0.0.1
41
+ version: 8.0.1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: nio4r
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -154,10 +154,10 @@ licenses:
154
154
  - MIT
155
155
  metadata:
156
156
  bug_tracker_uri: https://github.com/rails/rails/issues
157
- changelog_uri: https://github.com/rails/rails/blob/v8.0.0.1/actioncable/CHANGELOG.md
158
- documentation_uri: https://api.rubyonrails.org/v8.0.0.1/
157
+ changelog_uri: https://github.com/rails/rails/blob/v8.0.1/actioncable/CHANGELOG.md
158
+ documentation_uri: https://api.rubyonrails.org/v8.0.1/
159
159
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
160
- source_code_uri: https://github.com/rails/rails/tree/v8.0.0.1/actioncable
160
+ source_code_uri: https://github.com/rails/rails/tree/v8.0.1/actioncable
161
161
  rubygems_mfa_required: 'true'
162
162
  post_install_message:
163
163
  rdoc_options: []