actioncable 6.1.3.2 → 7.0.3
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 +4 -4
- data/CHANGELOG.md +66 -31
- data/MIT-LICENSE +1 -1
- data/app/assets/javascripts/action_cable.js +230 -257
- data/app/assets/javascripts/actioncable.esm.js +491 -0
- data/app/assets/javascripts/actioncable.js +489 -0
- data/lib/action_cable/channel/base.rb +1 -1
- data/lib/action_cable/channel/broadcasting.rb +1 -1
- data/lib/action_cable/channel/naming.rb +1 -1
- data/lib/action_cable/channel/streams.rb +5 -7
- data/lib/action_cable/channel/test_case.rb +16 -1
- data/lib/action_cable/connection/base.rb +3 -3
- data/lib/action_cable/connection/identification.rb +1 -1
- data/lib/action_cable/connection/subscriptions.rb +1 -1
- data/lib/action_cable/connection/tagged_logger_proxy.rb +3 -3
- data/lib/action_cable/connection/test_case.rb +1 -1
- data/lib/action_cable/engine.rb +9 -0
- data/lib/action_cable/gem_version.rb +4 -4
- data/lib/action_cable/helpers/action_cable_helper.rb +3 -2
- data/lib/action_cable/remote_connections.rb +1 -1
- data/lib/action_cable/server/broadcasting.rb +1 -1
- data/lib/action_cable/server/configuration.rb +1 -0
- data/lib/action_cable/server/worker/active_record_connection_management.rb +2 -2
- data/lib/action_cable/server/worker.rb +3 -4
- data/lib/action_cable/subscription_adapter/postgresql.rb +2 -2
- data/lib/action_cable/subscription_adapter/test.rb +1 -1
- data/lib/action_cable/test_helper.rb +2 -2
- data/lib/action_cable/version.rb +1 -1
- data/lib/action_cable.rb +1 -1
- data/lib/rails/generators/channel/USAGE +1 -1
- data/lib/rails/generators/channel/channel_generator.rb +79 -20
- data/lib/rails/generators/channel/templates/application_cable/{channel.rb.tt → channel.rb} +0 -0
- data/lib/rails/generators/channel/templates/application_cable/{connection.rb.tt → connection.rb} +0 -0
- data/lib/rails/generators/channel/templates/javascript/index.js.tt +1 -5
- metadata +16 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7294e8477c23e63558167989d2cde088da65d58289884a00940cfc83d7ed8549
|
4
|
+
data.tar.gz: 4d68105c0c252e959c9a47d336cf9877c88eaf22bf0af4b48f5dc8b15edc4aec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f622a763302ed4d2c2da4128ff9eb8ebf3ce7e132123939e1d437989cdfe27f04f33e8cd910940f65872ae3396b4a43d1c3ad2c19c48741503587256d1ee4f59
|
7
|
+
data.tar.gz: 2118b822316ae38d38bbb93e50241e3e60ffd72be33f027ac3645920d26cd7584c0e69999d84be32c02abe1f7db0791967f19710e5ac2c2938bfb1daa483b029
|
data/CHANGELOG.md
CHANGED
@@ -1,70 +1,105 @@
|
|
1
|
-
## Rails
|
1
|
+
## Rails 7.0.3 (May 09, 2022) ##
|
2
2
|
|
3
3
|
* No changes.
|
4
4
|
|
5
5
|
|
6
|
-
## Rails
|
6
|
+
## Rails 7.0.2.4 (April 26, 2022) ##
|
7
7
|
|
8
8
|
* No changes.
|
9
9
|
|
10
10
|
|
11
|
-
## Rails
|
11
|
+
## Rails 7.0.2.3 (March 08, 2022) ##
|
12
12
|
|
13
13
|
* No changes.
|
14
14
|
|
15
15
|
|
16
|
-
## Rails
|
16
|
+
## Rails 7.0.2.2 (February 11, 2022) ##
|
17
17
|
|
18
18
|
* No changes.
|
19
19
|
|
20
20
|
|
21
|
-
## Rails
|
21
|
+
## Rails 7.0.2.1 (February 11, 2022) ##
|
22
22
|
|
23
23
|
* No changes.
|
24
24
|
|
25
25
|
|
26
|
-
## Rails
|
26
|
+
## Rails 7.0.2 (February 08, 2022) ##
|
27
27
|
|
28
28
|
* No changes.
|
29
29
|
|
30
30
|
|
31
|
-
## Rails
|
31
|
+
## Rails 7.0.1 (January 06, 2022) ##
|
32
32
|
|
33
|
-
*
|
34
|
-
|
35
|
-
|
33
|
+
* No changes.
|
34
|
+
|
35
|
+
|
36
|
+
## Rails 7.0.0 (December 15, 2021) ##
|
37
|
+
|
38
|
+
* No changes.
|
39
|
+
|
40
|
+
|
41
|
+
## Rails 7.0.0.rc3 (December 14, 2021) ##
|
42
|
+
|
43
|
+
* No changes.
|
36
44
|
|
37
|
-
*Justin Talbott*
|
38
45
|
|
39
|
-
|
46
|
+
## Rails 7.0.0.rc2 (December 14, 2021) ##
|
47
|
+
|
48
|
+
* No changes.
|
40
49
|
|
41
|
-
|
50
|
+
## Rails 7.0.0.rc1 (December 06, 2021) ##
|
42
51
|
|
43
|
-
*
|
52
|
+
* The Action Cable client now ensures successful channel subscriptions:
|
44
53
|
|
45
|
-
*
|
54
|
+
* The client maintains a set of pending subscriptions until either
|
55
|
+
the server confirms the subscription or the channel is torn down.
|
56
|
+
* Rectifies the race condition where an unsubscribe is rapidly followed
|
57
|
+
by a subscribe (on the same channel identifier) and the requests are
|
58
|
+
handled out of order by the ActionCable server, thereby ignoring the
|
59
|
+
subscribe command.
|
46
60
|
|
47
|
-
*
|
61
|
+
*Daniel Spinosa*
|
48
62
|
|
49
|
-
Now you can distinguish Action Cable PostgreSQL subscription connections among others.
|
50
|
-
Also, you can set custom `id` in `cable.yml` configuration.
|
51
63
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
------------------------
|
57
|
-
psql
|
58
|
-
ActionCable-PID-42
|
59
|
-
(2 rows)
|
60
|
-
*/
|
61
|
-
```
|
64
|
+
## Rails 7.0.0.alpha2 (September 15, 2021) ##
|
65
|
+
|
66
|
+
* No changes.
|
67
|
+
|
62
68
|
|
63
|
-
|
69
|
+
## Rails 7.0.0.alpha1 (September 15, 2021) ##
|
64
70
|
|
65
|
-
*
|
71
|
+
* Compile ESM package that can be used directly in the browser as actioncable.esm.js.
|
66
72
|
|
67
73
|
*DHH*
|
68
74
|
|
75
|
+
* Move action_cable.js to actioncable.js to match naming convention used for other Rails frameworks, and use JS console to communicate the deprecation.
|
76
|
+
|
77
|
+
*DHH*
|
78
|
+
|
79
|
+
* Stop transpiling the UMD package generated as actioncable.js and drop the IE11 testing that relied on that.
|
80
|
+
|
81
|
+
*DHH*
|
82
|
+
|
83
|
+
* Truncate broadcast logging messages.
|
84
|
+
|
85
|
+
*J Smith*
|
86
|
+
|
87
|
+
* OpenSSL constants are now used for Digest computations.
|
88
|
+
|
89
|
+
*Dirkjan Bussink*
|
90
|
+
|
91
|
+
* The Action Cable client now includes safeguards to prevent a "thundering
|
92
|
+
herd" of client reconnects after server connectivity loss:
|
93
|
+
|
94
|
+
* The client will wait a random amount between 1x and 3x of the stale
|
95
|
+
threshold after the server's last ping before making the first
|
96
|
+
reconnection attempt.
|
97
|
+
* Subsequent reconnection attempts now use exponential backoff instead of
|
98
|
+
logarithmic backoff. To allow the delay between reconnection attempts to
|
99
|
+
increase slowly at first, the default exponentiation base is < 2.
|
100
|
+
* Random jitter is applied to each delay between reconnection attempts.
|
101
|
+
|
102
|
+
*Jonathan Hefner*
|
103
|
+
|
69
104
|
|
70
|
-
Please check [6-
|
105
|
+
Please check [6-1-stable](https://github.com/rails/rails/blob/6-1-stable/actioncable/CHANGELOG.md) for previous changes.
|
data/MIT-LICENSE
CHANGED