actioncable 8.0.0.1 → 8.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/action_cable/gem_version.rb +2 -2
- data/lib/action_cable/subscription_adapter/postgresql.rb +5 -6
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9b858d5609ad95c84f7cdc6684952e5b3bfa01adc6c8e5037a5f239d8c53543
|
4
|
+
data.tar.gz: ad87c01cbd1dac29aff96279a0acbc8b07ccebe3674637fae7959fa59e8c8f46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
@@ -35,18 +35,17 @@ module ActionCable
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def with_subscriptions_connection(&block) # :nodoc:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
158
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.
|
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.
|
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: []
|