actioncable 6.1.5.1 → 7.0.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf0106e58c85e7bc28b439fc0fc3c67183cfe3c56d0ff4ad82c7817797fd3c7b
4
- data.tar.gz: 70b1815da3188506d03a7a690c4cf8cc0576e2cf256baa2f7ca4acc56a155101
3
+ metadata.gz: ae20b4c4ec6fe995164eb0a9701a3f79c92b8859e71aa10d1a95e2fd243a25ad
4
+ data.tar.gz: 69426337d819a6f40f24a4b57b5b0bd75bb0cdd8066da0eff4c8967c68a7a240
5
5
  SHA512:
6
- metadata.gz: f3ecc4c1bb13bc948079806967d02ccae16b23fa3f08c3f7d86b154d8586a3ecab7a00dddb610c9708fd3bb07d0d9a982e0f93f899b855f5b400b0ac284c68de
7
- data.tar.gz: 6590ab76341e2f229703e3ef9e86ded781b25e0bd43940bb5b0da64f70db60297954aac066df4f3b3f545cf39dec9359b819a283c6d9d6f173fc4d214ecfd8ff
6
+ metadata.gz: b5f2b7b8028ef108170d53c6287fc652ecdf24e5c0d91bac0075003a56972462369fd0b2a4bcd071b1ee1b8800c4bede4b2b8d12e55f421915304ea8475002ad
7
+ data.tar.gz: 42a713b80aeafdb15c951f691d2a2f29fcbbcc3eb350439cc4d10614b534d6a959315cf990a681458267f06b8f12da8cd211035a0041fcb16b65cc55c0e1e88c
data/CHANGELOG.md CHANGED
@@ -1,135 +1,37 @@
1
- ## Rails 6.1.5.1 (April 26, 2022) ##
1
+ ## Rails 7.0.0.alpha1 (September 15, 2021) ##
2
2
 
3
- * No changes.
3
+ * Compile ESM package that can be used directly in the browser as actioncable.esm.js.
4
4
 
5
+ *DHH*
5
6
 
6
- ## Rails 6.1.5 (March 09, 2022) ##
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.
7
8
 
8
- * The Action Cable client now ensures successful channel subscriptions:
9
+ *DHH*
9
10
 
10
- * The client maintains a set of pending subscriptions until either
11
- the server confirms the subscription or the channel is torn down.
12
- * Rectifies the race condition where an unsubscribe is rapidly followed
13
- by a subscribe (on the same channel identifier) and the requests are
14
- handled out of order by the ActionCable server, thereby ignoring the
15
- subscribe command.
11
+ * Stop transpiling the UMD package generated as actioncable.js and drop the IE11 testing that relied on that.
16
12
 
17
- *Daniel Spinosa*
13
+ *DHH*
18
14
 
19
15
  * Truncate broadcast logging messages.
20
16
 
21
17
  *J Smith*
22
18
 
19
+ * OpenSSL constants are now used for Digest computations.
23
20
 
24
- ## Rails 6.1.4.7 (March 08, 2022) ##
25
-
26
- * No changes.
27
-
28
-
29
- ## Rails 6.1.4.6 (February 11, 2022) ##
30
-
31
- * No changes.
32
-
33
-
34
- ## Rails 6.1.4.5 (February 11, 2022) ##
35
-
36
- * No changes.
37
-
38
-
39
- ## Rails 6.1.4.4 (December 15, 2021) ##
40
-
41
- * No changes.
42
-
43
-
44
- ## Rails 6.1.4.3 (December 14, 2021) ##
45
-
46
- * No changes.
47
-
48
-
49
- ## Rails 6.1.4.2 (December 14, 2021) ##
50
-
51
- * No changes.
52
-
53
-
54
- ## Rails 6.1.4.1 (August 19, 2021) ##
55
-
56
- * No changes.
57
-
58
-
59
- ## Rails 6.1.4 (June 24, 2021) ##
60
-
61
- * Fix `ArgumentError` with ruby 3.0 on `RemoteConnection#disconnect`.
62
-
63
- *Vladislav*
64
-
65
-
66
- ## Rails 6.1.3.2 (May 05, 2021) ##
21
+ *Dirkjan Bussink*
67
22
 
68
- * No changes.
23
+ * The Action Cable client now includes safeguards to prevent a "thundering
24
+ herd" of client reconnects after server connectivity loss:
69
25
 
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.
70
33
 
71
- ## Rails 6.1.3.1 (March 26, 2021) ##
72
-
73
- * No changes.
74
-
75
-
76
- ## Rails 6.1.3 (February 17, 2021) ##
77
-
78
- * No changes.
79
-
80
-
81
- ## Rails 6.1.2.1 (February 10, 2021) ##
82
-
83
- * No changes.
84
-
85
-
86
- ## Rails 6.1.2 (February 09, 2021) ##
87
-
88
- * No changes.
89
-
90
-
91
- ## Rails 6.1.1 (January 07, 2021) ##
92
-
93
- * No changes.
94
-
95
-
96
- ## Rails 6.1.0 (December 09, 2020) ##
97
-
98
- * `ActionCable::Connection::Base` now allows intercepting unhandled exceptions
99
- with `rescue_from` before they are logged, which is useful for error reporting
100
- tools and other integrations.
101
-
102
- *Justin Talbott*
103
-
104
- * Add `ActionCable::Channel#stream_or_reject_for` to stream if record is present, otherwise reject the connection
105
-
106
- *Atul Bhosale*
107
-
108
- * Add `ActionCable::Channel#stop_stream_from` and `#stop_stream_for` to unsubscribe from a specific stream.
109
-
110
- *Zhang Kang*
111
-
112
- * Add PostgreSQL subscription connection identificator.
113
-
114
- Now you can distinguish Action Cable PostgreSQL subscription connections among others.
115
- Also, you can set custom `id` in `cable.yml` configuration.
116
-
117
- ```sql
118
- SELECT application_name FROM pg_stat_activity;
119
- /*
120
- application_name
121
- ------------------------
122
- psql
123
- ActionCable-PID-42
124
- (2 rows)
125
- */
126
- ```
127
-
128
- *Sergey Ponomarev*
129
-
130
- * Subscription confirmations and rejections are now logged at the `DEBUG` level instead of `INFO`.
131
-
132
- *DHH*
34
+ *Jonathan Hefner*
133
35
 
134
36
 
135
- Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actioncable/CHANGELOG.md) for previous changes.
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015-2022 Basecamp, LLC
1
+ Copyright (c) 2015-2021 Basecamp, LLC
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the