-
-
Notifications
You must be signed in to change notification settings - Fork 308
/
Changelog
279 lines (204 loc) · 7.67 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
0.3.21
======
* Update `faye-websocket` and `websocket-driver` to address DDoS vulnerability #275
0.3.20
======
* Updated `node-uuid` and `coffeescript`
* Exclude `examples`, `tests`, and `Makefile` from npm package
* Update examples to use latest jQuery and sockjs-client #271
* Don't call `res.end` in `writeHead` #266
* Pin `websocket-driver` as later versions cause some tests from `sockjs-protocol` to fail
0.3.19
======
* Update `node-uuid` version #224
* Add `disable_cors` option to prevent CORS headers from being added to responses #218
* Add `dnt` header to whitelist #212
* Add `x-forwarded-host` and `x-forwarded-port` headers to whitelist #208
* Update `sockjs_url` default to latest 1.x target #223
* Updated hapi.js example #216
0.3.18
======
* Change to using `res.statusCode` instead of manual parsing of `res._header` #213
* Update sockjs-protocol filename in README #203
0.3.17
======
* Fix usage of undefined `session` in `heartbeat_timeout` #179
0.3.16
======
* Fix CORS response for null origin #177
* Add websocket ping-pong and close if no response #129, #162, #169
* Update sockjs-client version in examples #182
* Add koa example #180
* Disable raw websocket endpoint when websocket = false #183
* Upgrade to faye-websocket 0.10.0 and use proper close code
* When connection is aborted, don't delay the teardown
* Forward additional headers #188
* Add `no-transform` to Cache-Control headers #189
* Update documentation about heartbeats #192
0.3.15
======
* Remove usage of naked '@' function params to be compatible with coffeescript 1.9.0 #175
0.3.14
======
* Re-publish to npm because of build issue in 0.3.13
0.3.13
======
* Upgrade faye-websocket to 0.9.3 to fix #171
0.3.12
======
* Allow Faye socket constructor options to be passed with
faye_server_options option to createServer
* Fix websocket bad json tests
* Upgrade Faye to allow 0.9.*
0.3.11
======
* #133 - only delay disconnect on non-websocket transports
* Upgrade Faye to 0.8.0
0.3.10
======
* #168 - Add CORS headers for eventsource
* #158 - schedule heartbeat timer even if send_buffer is not empty
* #96 - remove rbytes dependency
* #83 - update documentation for prefix
* #163 - add protection to JSON for SWF exploit
* #104 - delete unused parameters in code
* #106 - update CDN urls
* #79 - Don't remove stream listeners until after end so 'close' event is heard
* Get rid of need for _sockjs_onload global variable
* Use Faye for websocket request validation
* Upgrade Faye to 0.7.3
* Upgrade node-uuid to 1.4.1
0.3.9
=====
* #130 - Set Vary: Origin on CORS requests
* Upgrade Faye to 0.7.2 from 0.7.0
0.3.8
=====
* #118 - Allow servers to specify a base URL in /info
* #131 - Don't look up session id undefined
* #124 - Small grammar updates for ReadMe
* Upgrade Faye to 0.7.0 from 0.4.0
0.3.7
=====
* Expose "protocol" on raw websocket connection instance, correctly
0.3.6
=====
* When the server closes a connection, make sure the send buffer still
gets flushed.
* Expose "protocol" on raw websocket connection instance
* #105, #109, #113 - expose 'host', 'user-agent', and 'accept-language'
headers
* Serve SockJS over https CDN by default
* Upgrade Faye to 0.4.4 from 0.4.0
0.3.5
=====
* #103 - connection.protocol might have been empty on some rare
occasions.
* #99 - faye-websocket was leaking sockets in "closed" state
when dealing with rfc websockets
0.3.4
=====
* #73 - apparently 'package' is a reserved keyword (use 'pkg' instead)
* #93 - Coffescript can leak a variable when the same name is used
in catch statement. Let's always use 'x' as the variable in catch.
* #76 - decorateConnection could throw an error if remote connection
was closed before setup was complete
* #90 - Fix "TypeError: 'addListener'" exception (via @pl).
* remove 'optionalDependencies' section from package.json,
'rbytes' was always optional.
* #91 - Fix rare null exception.
0.3.3
=====
* sockjs/sockjs-protocol#56, #88 Fix for iOS 6 caching POSTs
0.3.1
=====
* #58 - websocket transport emitted an array instead of a string
during onmessage event.
* Running under node.js 0.7 caused infinite recursion (Stephan Kochen)
* #59 - restrict characters allowed in callback parameter
* Updated readme - rbytes package is optional
* Updated readme WRT deployments on heroku
* Add minimalistic license block to every source file.
0.3.0
=====
* Sending JSESSIONID cookie is now *disabled* by default.
* sockjs/sockjs-protocol#46 - introduce new service
required for protocol tests "/cookie_needed_echo"
* Initial work towards better integration with
"connect" (Stephan Kochen). See discusion:
https://github.com/senchalabs/connect/pull/506
* More documentation about the Cookie and Origin headers.
* #51 - expose "readyState" on connection instance
* #53 - expose "protocol" on connection instance
* #52 - Some protocols may not emit 'close' event with IE.
* sockjs/sockjs-client#49 - Support 'null' origin - aka: allow SockJS
client to be served from file:// paths.
0.2.1
=====
* Bumped "faye-websocket" dependency to 0.4. Updated
code to take advantage of introduced changes.
* Pinned "node-static" and bumped "node-uuid" dependencies.
* Removed "Origin" header list of headers exposed to the user.
This header is not really meaningful in sockjs context.
* Header "Access-Control-Allow-Methods" was misspelled.
0.2.0
=====
* #36, #3 - Replace a custom WebSocket server implementation
with faye-websocket-node.
* Multiple changes to support SockJS-protocol 0.2.
* The session is now closed on network errors immediately
(instead of waiting 5 seconds)
* Raw websocket interface available - to make it easier
to write command line SockJS clients.
* Support '/info' url.
* The test server got moved from SockJS-client to SockJS-node.
* Dropped deprecated Server API (use createServer method instead).
* Option `websocket` is now used instead of `disabled_transports`.
0.1.2
=====
* #27 - Allow all unicode characters to be send over SockJS.
* #14 - Make it possible to customize JSESSIONID cookie logic.
0.1.1
=====
* #32 Expose various request headers on connection.
* #30 Expose request path on connection.
0.1.0
=====
* The API changed, there is now an idiomatic API, modelled on node.js
Stream API. The old API is deprecated and there is a dummy wrapper
that emulates it. Please do upgrade to the new idiomatic API.
* #22 Initial support for hybi13 (stephank)
* New options accepted by the `Server` constructor: `log`,
`heartbeat_delay` and `disconnect_delay`.
* SockJS is now not able to send rich data structures - all data
passed to `write` is converted to a string.
* #23 `Connection.remoteAddress` property introduced (Stéphan Kochen)
* Loads of small changes in order to adhere to protocol spec.
0.0.5
=====
* #20: `npm submodule sockjs` didn't work due to outdated github
path.
0.0.4
=====
* Support for htmlfile transport, used by IE in a deployment
dependent on cookies.
* Added /chunking_test API, used to detect support for HTTP chunking
on client side.
* Unified code logic for all the chunking transports - the same code
is reused for polling versions.
* All the chunking transports are closed by the server after 128K was
send, in order to force client to GC and reconnect.
* Don't distribute source coffeescript with npm.
* Minor fixes in websocket code.
* Dropped jQuery dependency.
* Unicode encoding could been garbled during XHR upload.
* Other minor fixes.
0.0.3
======
* EventSource transport didn't emit 'close' event.
0.0.2
=====
* By default set JSESSIONID cookie, useful for load balancing.
0.0.1
=====
* Initial release.