@rails/actioncable 6.0.4 → 6.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/CHANGELOG.md +0 -239
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actioncable",
3
- "version": "6.0.4",
3
+ "version": "6.0.6",
4
4
  "description": "WebSocket framework for Ruby on Rails.",
5
5
  "main": "app/assets/javascripts/action_cable.js",
6
6
  "files": [
package/CHANGELOG.md DELETED
@@ -1,239 +0,0 @@
1
- ## Rails 6.0.4 (June 15, 2021) ##
2
-
3
- * No changes.
4
-
5
-
6
- ## Rails 6.0.3.7 (May 05, 2021) ##
7
-
8
- * No changes.
9
-
10
-
11
- ## Rails 6.0.3.6 (May 04, 2021) ##
12
-
13
- * No changes.
14
-
15
-
16
- ## Rails 6.0.3.6 (March 26, 2021) ##
17
-
18
- * No changes.
19
-
20
-
21
- ## Rails 6.0.3.5 (February 10, 2021) ##
22
-
23
- * No changes.
24
-
25
-
26
- ## Rails 6.0.3.4 (October 07, 2020) ##
27
-
28
- * No changes.
29
-
30
-
31
- ## Rails 6.0.3.3 (September 09, 2020) ##
32
-
33
- * No changes.
34
-
35
-
36
- ## Rails 6.0.3.2 (June 17, 2020) ##
37
-
38
- * No changes.
39
-
40
-
41
- ## Rails 6.0.3.1 (May 18, 2020) ##
42
-
43
- * No changes.
44
-
45
-
46
- ## Rails 6.0.3 (May 06, 2020) ##
47
-
48
- * No changes.
49
-
50
-
51
- ## Rails 6.0.2.2 (March 19, 2020) ##
52
-
53
- * No changes.
54
-
55
-
56
- ## Rails 6.0.2.1 (December 18, 2019) ##
57
-
58
- * No changes.
59
-
60
-
61
- ## Rails 6.0.2 (December 13, 2019) ##
62
-
63
- * No changes.
64
-
65
-
66
- ## Rails 6.0.1 (November 5, 2019) ##
67
-
68
- * No changes.
69
-
70
-
71
- ## Rails 6.0.0 (August 16, 2019) ##
72
-
73
- * No changes.
74
-
75
-
76
- ## Rails 6.0.0.rc2 (July 22, 2019) ##
77
-
78
- * No changes.
79
-
80
-
81
- ## Rails 6.0.0.rc1 (April 24, 2019) ##
82
-
83
- * No changes.
84
-
85
-
86
- ## Rails 6.0.0.beta3 (March 11, 2019) ##
87
-
88
- * No changes.
89
-
90
-
91
- ## Rails 6.0.0.beta2 (February 25, 2019) ##
92
-
93
- * PostgreSQL subscription adapters now support `channel_prefix` option in cable.yml
94
-
95
- Avoids channel name collisions when multiple apps use the same database for Action Cable.
96
-
97
- *Vladimir Dementyev*
98
-
99
- * Allow passing custom configuration to `ActionCable::Server::Base`.
100
-
101
- You can now create a standalone Action Cable server with a custom configuration
102
- (e.g. to run it in isolation from the default one):
103
-
104
- ```ruby
105
- config = ActionCable::Server::Configuration.new
106
- config.cable = { adapter: "redis", channel_prefix: "custom_" }
107
-
108
- CUSTOM_CABLE = ActionCable::Server::Base.new(config: config)
109
- ```
110
-
111
- Then you can mount it in the `routes.rb` file:
112
-
113
- ```ruby
114
- Rails.application.routes.draw do
115
- mount CUSTOM_CABLE => "/custom_cable"
116
- # ...
117
- end
118
- ```
119
-
120
- *Vladimir Dementyev*
121
-
122
- * Add `:action_cable_connection` and `:action_cable_channel` load hooks.
123
-
124
- You can use them to extend `ActionCable::Connection::Base` and `ActionCable::Channel::Base`
125
- functionality:
126
-
127
- ```ruby
128
- ActiveSupport.on_load(:action_cable_channel) do
129
- # do something in the context of ActionCable::Channel::Base
130
- end
131
- ```
132
-
133
- *Vladimir Dementyev*
134
-
135
- * Add `Channel::Base#broadcast_to`.
136
-
137
- You can now call `broadcast_to` within a channel action, which equals to
138
- the `self.class.broadcast_to`.
139
-
140
- *Vladimir Dementyev*
141
-
142
- * Make `Channel::Base.broadcasting_for` a public API.
143
-
144
- You can use `.broadcasting_for` to generate a unique stream identifier within
145
- a channel for the specified target (e.g. Active Record model):
146
-
147
- ```ruby
148
- ChatChannel.broadcasting_for(model) # => "chat:<model.to_gid_param>"
149
- ```
150
-
151
- *Vladimir Dementyev*
152
-
153
-
154
- ## Rails 6.0.0.beta1 (January 18, 2019) ##
155
-
156
- * [Rename npm package](https://github.com/rails/rails/pull/34905) from
157
- [`actioncable`](https://www.npmjs.com/package/actioncable) to
158
- [`@rails/actioncable`](https://www.npmjs.com/package/@rails/actioncable).
159
-
160
- *Javan Makhmali*
161
-
162
- * Merge [`action-cable-testing`](https://github.com/palkan/action-cable-testing) to Rails.
163
-
164
- *Vladimir Dementyev*
165
-
166
- * The JavaScript WebSocket client will no longer try to reconnect
167
- when you call `reject_unauthorized_connection` on the connection.
168
-
169
- *Mick Staugaard*
170
-
171
- * `ActionCable.Connection#getState` now references the configurable
172
- `ActionCable.adapters.WebSocket` property rather than the `WebSocket` global
173
- variable, matching the behavior of `ActionCable.Connection#open`.
174
-
175
- *Richard Macklin*
176
-
177
- * The ActionCable javascript package has been converted from CoffeeScript
178
- to ES2015, and we now publish the source code in the npm distribution.
179
-
180
- This allows ActionCable users to depend on the javascript source code
181
- rather than the compiled code, which can produce smaller javascript bundles.
182
-
183
- This change includes some breaking changes to optional parts of the
184
- ActionCable javascript API:
185
-
186
- - Configuration of the WebSocket adapter and logger adapter have been moved
187
- from properties of `ActionCable` to properties of `ActionCable.adapters`.
188
- If you are currently configuring these adapters you will need to make
189
- these changes when upgrading:
190
-
191
- ```diff
192
- - ActionCable.WebSocket = MyWebSocket
193
- + ActionCable.adapters.WebSocket = MyWebSocket
194
- ```
195
- ```diff
196
- - ActionCable.logger = myLogger
197
- + ActionCable.adapters.logger = myLogger
198
- ```
199
-
200
- - The `ActionCable.startDebugging()` and `ActionCable.stopDebugging()`
201
- methods have been removed and replaced with the property
202
- `ActionCable.logger.enabled`. If you are currently using these methods you
203
- will need to make these changes when upgrading:
204
-
205
- ```diff
206
- - ActionCable.startDebugging()
207
- + ActionCable.logger.enabled = true
208
- ```
209
- ```diff
210
- - ActionCable.stopDebugging()
211
- + ActionCable.logger.enabled = false
212
- ```
213
-
214
- *Richard Macklin*
215
-
216
- * Add `id` option to redis adapter so now you can distinguish
217
- ActionCable's redis connections among others. Also, you can set
218
- custom id in options.
219
-
220
- Before:
221
- ```
222
- $ redis-cli client list
223
- id=669 addr=127.0.0.1:46442 fd=8 name= age=18 ...
224
- ```
225
-
226
- After:
227
- ```
228
- $ redis-cli client list
229
- id=673 addr=127.0.0.1:46516 fd=8 name=ActionCable-PID-19413 age=2 ...
230
- ```
231
-
232
- *Ilia Kasianenko*
233
-
234
- * Rails 6 requires Ruby 2.5.0 or newer.
235
-
236
- *Jeremy Daer*, *Kasper Timm Hansen*
237
-
238
-
239
- Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/actioncable/CHANGELOG.md) for previous changes.