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