actioncable 6.1.7.9 → 7.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -178
- data/MIT-LICENSE +1 -1
- data/app/assets/javascripts/action_cable.js +180 -313
- data/lib/action_cable/channel/broadcasting.rb +1 -1
- data/lib/action_cable/channel/streams.rb +5 -7
- data/lib/action_cable/channel/test_case.rb +1 -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 +2 -2
- 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/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/test_helper.rb +2 -2
- 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/javascript/index.js.tt +1 -5
- metadata +15 -16
- /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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae20b4c4ec6fe995164eb0a9701a3f79c92b8859e71aa10d1a95e2fd243a25ad
|
4
|
+
data.tar.gz: 69426337d819a6f40f24a4b57b5b0bd75bb0cdd8066da0eff4c8967c68a7a240
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5f2b7b8028ef108170d53c6287fc652ecdf24e5c0d91bac0075003a56972462369fd0b2a4bcd071b1ee1b8800c4bede4b2b8d12e55f421915304ea8475002ad
|
7
|
+
data.tar.gz: 42a713b80aeafdb15c951f691d2a2f29fcbbcc3eb350439cc4d10614b534d6a959315cf990a681458267f06b8f12da8cd211035a0041fcb16b65cc55c0e1e88c
|
data/CHANGELOG.md
CHANGED
@@ -1,195 +1,37 @@
|
|
1
|
-
## Rails
|
1
|
+
## Rails 7.0.0.alpha1 (September 15, 2021) ##
|
2
2
|
|
3
|
-
*
|
4
|
-
|
5
|
-
|
6
|
-
## Rails 6.1.7.8 (June 04, 2024) ##
|
7
|
-
|
8
|
-
* No changes.
|
9
|
-
|
10
|
-
|
11
|
-
## Rails 6.1.7.7 (February 21, 2024) ##
|
12
|
-
|
13
|
-
* No changes.
|
14
|
-
|
15
|
-
|
16
|
-
## Rails 6.1.7.6 (August 22, 2023) ##
|
17
|
-
|
18
|
-
* No changes.
|
19
|
-
|
20
|
-
|
21
|
-
## Rails 6.1.7.5 (August 22, 2023) ##
|
22
|
-
|
23
|
-
* No changes.
|
24
|
-
|
25
|
-
|
26
|
-
## Rails 6.1.7.4 (June 26, 2023) ##
|
27
|
-
|
28
|
-
* No changes.
|
29
|
-
|
30
|
-
|
31
|
-
## Rails 6.1.7.3 (March 13, 2023) ##
|
32
|
-
|
33
|
-
* No changes.
|
34
|
-
|
35
|
-
|
36
|
-
## Rails 6.1.7.2 (January 24, 2023) ##
|
37
|
-
|
38
|
-
* No changes.
|
39
|
-
|
40
|
-
|
41
|
-
## Rails 6.1.7.1 (January 17, 2023) ##
|
42
|
-
|
43
|
-
* No changes.
|
44
|
-
|
45
|
-
|
46
|
-
## Rails 6.1.7 (September 09, 2022) ##
|
47
|
-
|
48
|
-
* No changes.
|
49
|
-
|
50
|
-
|
51
|
-
## Rails 6.1.6.1 (July 12, 2022) ##
|
52
|
-
|
53
|
-
* No changes.
|
54
|
-
|
55
|
-
|
56
|
-
## Rails 6.1.6 (May 09, 2022) ##
|
57
|
-
|
58
|
-
* No changes.
|
59
|
-
|
60
|
-
|
61
|
-
## Rails 6.1.5.1 (April 26, 2022) ##
|
62
|
-
|
63
|
-
* No changes.
|
3
|
+
* Compile ESM package that can be used directly in the browser as actioncable.esm.js.
|
64
4
|
|
5
|
+
*DHH*
|
65
6
|
|
66
|
-
|
7
|
+
* Move action_cable.js to actioncable.js to match naming convention used for other Rails frameworks, and use JS console to communicate the deprecation.
|
67
8
|
|
68
|
-
*
|
9
|
+
*DHH*
|
69
10
|
|
70
|
-
|
71
|
-
the server confirms the subscription or the channel is torn down.
|
72
|
-
* Rectifies the race condition where an unsubscribe is rapidly followed
|
73
|
-
by a subscribe (on the same channel identifier) and the requests are
|
74
|
-
handled out of order by the ActionCable server, thereby ignoring the
|
75
|
-
subscribe command.
|
11
|
+
* Stop transpiling the UMD package generated as actioncable.js and drop the IE11 testing that relied on that.
|
76
12
|
|
77
|
-
*
|
13
|
+
*DHH*
|
78
14
|
|
79
15
|
* Truncate broadcast logging messages.
|
80
16
|
|
81
17
|
*J Smith*
|
82
18
|
|
19
|
+
* OpenSSL constants are now used for Digest computations.
|
83
20
|
|
84
|
-
|
85
|
-
|
86
|
-
* No changes.
|
87
|
-
|
88
|
-
|
89
|
-
## Rails 6.1.4.6 (February 11, 2022) ##
|
90
|
-
|
91
|
-
* No changes.
|
92
|
-
|
93
|
-
|
94
|
-
## Rails 6.1.4.5 (February 11, 2022) ##
|
95
|
-
|
96
|
-
* No changes.
|
21
|
+
*Dirkjan Bussink*
|
97
22
|
|
23
|
+
* The Action Cable client now includes safeguards to prevent a "thundering
|
24
|
+
herd" of client reconnects after server connectivity loss:
|
98
25
|
|
99
|
-
|
26
|
+
* The client will wait a random amount between 1x and 3x of the stale
|
27
|
+
threshold after the server's last ping before making the first
|
28
|
+
reconnection attempt.
|
29
|
+
* Subsequent reconnection attempts now use exponential backoff instead of
|
30
|
+
logarithmic backoff. To allow the delay between reconnection attempts to
|
31
|
+
increase slowly at first, the default exponentiation base is < 2.
|
32
|
+
* Random jitter is applied to each delay between reconnection attempts.
|
100
33
|
|
101
|
-
*
|
102
|
-
|
103
|
-
|
104
|
-
## Rails 6.1.4.3 (December 14, 2021) ##
|
105
|
-
|
106
|
-
* No changes.
|
107
|
-
|
108
|
-
|
109
|
-
## Rails 6.1.4.2 (December 14, 2021) ##
|
110
|
-
|
111
|
-
* No changes.
|
112
|
-
|
113
|
-
|
114
|
-
## Rails 6.1.4.1 (August 19, 2021) ##
|
115
|
-
|
116
|
-
* No changes.
|
117
|
-
|
118
|
-
|
119
|
-
## Rails 6.1.4 (June 24, 2021) ##
|
120
|
-
|
121
|
-
* Fix `ArgumentError` with ruby 3.0 on `RemoteConnection#disconnect`.
|
122
|
-
|
123
|
-
*Vladislav*
|
124
|
-
|
125
|
-
|
126
|
-
## Rails 6.1.3.2 (May 05, 2021) ##
|
127
|
-
|
128
|
-
* No changes.
|
129
|
-
|
130
|
-
|
131
|
-
## Rails 6.1.3.1 (March 26, 2021) ##
|
132
|
-
|
133
|
-
* No changes.
|
134
|
-
|
135
|
-
|
136
|
-
## Rails 6.1.3 (February 17, 2021) ##
|
137
|
-
|
138
|
-
* No changes.
|
139
|
-
|
140
|
-
|
141
|
-
## Rails 6.1.2.1 (February 10, 2021) ##
|
142
|
-
|
143
|
-
* No changes.
|
144
|
-
|
145
|
-
|
146
|
-
## Rails 6.1.2 (February 09, 2021) ##
|
147
|
-
|
148
|
-
* No changes.
|
149
|
-
|
150
|
-
|
151
|
-
## Rails 6.1.1 (January 07, 2021) ##
|
152
|
-
|
153
|
-
* No changes.
|
154
|
-
|
155
|
-
|
156
|
-
## Rails 6.1.0 (December 09, 2020) ##
|
157
|
-
|
158
|
-
* `ActionCable::Connection::Base` now allows intercepting unhandled exceptions
|
159
|
-
with `rescue_from` before they are logged, which is useful for error reporting
|
160
|
-
tools and other integrations.
|
161
|
-
|
162
|
-
*Justin Talbott*
|
163
|
-
|
164
|
-
* Add `ActionCable::Channel#stream_or_reject_for` to stream if record is present, otherwise reject the connection
|
165
|
-
|
166
|
-
*Atul Bhosale*
|
167
|
-
|
168
|
-
* Add `ActionCable::Channel#stop_stream_from` and `#stop_stream_for` to unsubscribe from a specific stream.
|
169
|
-
|
170
|
-
*Zhang Kang*
|
171
|
-
|
172
|
-
* Add PostgreSQL subscription connection identificator.
|
173
|
-
|
174
|
-
Now you can distinguish Action Cable PostgreSQL subscription connections among others.
|
175
|
-
Also, you can set custom `id` in `cable.yml` configuration.
|
176
|
-
|
177
|
-
```sql
|
178
|
-
SELECT application_name FROM pg_stat_activity;
|
179
|
-
/*
|
180
|
-
application_name
|
181
|
-
------------------------
|
182
|
-
psql
|
183
|
-
ActionCable-PID-42
|
184
|
-
(2 rows)
|
185
|
-
*/
|
186
|
-
```
|
187
|
-
|
188
|
-
*Sergey Ponomarev*
|
189
|
-
|
190
|
-
* Subscription confirmations and rejections are now logged at the `DEBUG` level instead of `INFO`.
|
191
|
-
|
192
|
-
*DHH*
|
34
|
+
*Jonathan Hefner*
|
193
35
|
|
194
36
|
|
195
|
-
Please check [6-
|
37
|
+
Please check [6-1-stable](https://github.com/rails/rails/blob/6-1-stable/actioncable/CHANGELOG.md) for previous changes.
|
data/MIT-LICENSE
CHANGED