@rails/actioncable 6.0.3-7 → 6.0.4-2

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