1
|
1.4.0
|
2
|
==
|
3
|
* Add `timeout` option to set a minimum transport timeout. Fixes #403
|
4
|
* Update dev deps to fix security warnings from `npm audit`
|
5
|
* Guard against null `this._transport` in `debug` statement. Fixes #448
|
6
|
|
7
|
1.3.0
|
8
|
==
|
9
|
* Revert `debug` to `^3` because v4 starts using ES6. Fixes #457
|
10
|
|
11
|
1.2.0
|
12
|
==
|
13
|
* Update all outdated dependencies
|
14
|
* Switch to karma and browserstack for running automated browser tests
|
15
|
|
16
|
1.1.5
|
17
|
==
|
18
|
* Wrap the the contentWindow access in a try/catch block when in setTimeout #363
|
19
|
* Revised example in README #356
|
20
|
* Fix connection close when Transport timeout #358
|
21
|
* Fixed crash with react-native@0.45.1 on Android #386
|
22
|
* Update jsDelivr link #404, #405
|
23
|
* Remove Sauce Labs unsupported browsers
|
24
|
* Add link to rust server implementation #411
|
25
|
* location.protocol should include final `:` #396
|
26
|
|
27
|
1.1.4
|
28
|
==
|
29
|
* Upgrade `debug` and fix object key literal mangling, fixes regression in Opera 11.10 #359
|
30
|
* Trim descriptions in package.json and bower.json - #372
|
31
|
|
32
|
1.1.3
|
33
|
==
|
34
|
* Bad publish to NPM (removed)
|
35
|
|
36
|
1.1.2
|
37
|
==
|
38
|
|
39
|
* Ensure both sender and receiver are cleaned upon close - #342
|
40
|
* Remove event listeners before calling `close` - #344
|
41
|
* Update documentation links - #351, #339, #316
|
42
|
* Explicitly export `undefined` when `WebSocket` does not exist. Fixes Webpack. #321
|
43
|
* Include `dist` folder on npm - #265
|
44
|
* Simplify build setup
|
45
|
* Update to Node.js 6.9
|
46
|
* Add sourcemap for minified version
|
47
|
* Remove unused String.trim shim
|
48
|
|
49
|
1.1.1
|
50
|
==
|
51
|
|
52
|
* Do not pass `protocols` or `options` arguments to browser WebSocket constructor - #309
|
53
|
|
54
|
1.1.0
|
55
|
==
|
56
|
|
57
|
* Fix IE7/8 usage of `console.log` which does not have `apply` - #279
|
58
|
* Remove `dbg` global variable - #282
|
59
|
* Bump `faye-websocket` version to `0.11.0` - #267
|
60
|
* Optimize `arguments` usage - #263
|
61
|
* Add sourcemap file to dist folder - #237
|
62
|
* Add way to transparently pass transport-specific options - #272
|
63
|
|
64
|
1.0.3
|
65
|
==
|
66
|
|
67
|
* Use `https` module for xhr requests in node when url uses https - #254
|
68
|
|
69
|
1.0.2
|
70
|
==
|
71
|
|
72
|
* Fix iframe info receiver url
|
73
|
* Move iframe.contentWindow check inside setTimeout - #246
|
74
|
|
75
|
1.0.1
|
76
|
==
|
77
|
|
78
|
* Use proper base url for iframe-based info receiver - #249
|
79
|
* Don't register unload event in chrome packaged app - #223
|
80
|
* Allow custom session ids - #250
|
81
|
* Remove version property from bower.json - #247
|
82
|
* Update example CDN url - #244
|
83
|
|
84
|
1.0.0
|
85
|
===
|
86
|
|
87
|
* Simplify url handling by delegating to `url-parse` - #242
|
88
|
* Upgrade to `url-parse` 1.0.1 to fix colon issue if auth has no password
|
89
|
|
90
|
1.0.0-beta.13
|
91
|
===
|
92
|
|
93
|
* Transport timeout on connection should fallback - #238
|
94
|
|
95
|
1.0.0-beta.12
|
96
|
====
|
97
|
|
98
|
* Upgrade `url-parse` to 1.0.0 to fix #218 again
|
99
|
|
100
|
1.0.0-beta.10
|
101
|
====
|
102
|
|
103
|
* Upgrade `url-parse` to 0.2.3 to fix #222
|
104
|
|
105
|
1.0.0-beta.9
|
106
|
====
|
107
|
|
108
|
* Upgrade `url-parse` to 0.2.1 to fix 'too much recursion' errors
|
109
|
|
110
|
1.0.0-beta.8
|
111
|
====
|
112
|
|
113
|
* Upgrade `url-parse` to 0.2.0 to fix inheritance issues
|
114
|
|
115
|
1.0.0-beta.7
|
116
|
====
|
117
|
|
118
|
* Upgrade `url-parse` to 0.1.5 to fix #218
|
119
|
* Don't strip basic auth from url - #219
|
120
|
|
121
|
1.0.0-beta.6
|
122
|
====
|
123
|
|
124
|
* Upgrade `url-parse` to 0.1.3 to avoid CSP issues
|
125
|
|
126
|
1.0.0-beta.5
|
127
|
=====
|
128
|
|
129
|
* Upgrade `url-parse` to 0.1.1 to fix #214
|
130
|
|
131
|
1.0.0-beta.4
|
132
|
=====
|
133
|
|
134
|
* Upgrade `url-parse` to 0.1.0 and `sockjs` to 0.3.11
|
135
|
* Update .npmignore
|
136
|
|
137
|
1.0.0-beta.3
|
138
|
=====
|
139
|
|
140
|
* Move `debug` from devDependencies to dependencies
|
141
|
|
142
|
1.0.0-beta.2
|
143
|
=====
|
144
|
|
145
|
* Relax requirements when using same origin XHR - #80
|
146
|
* Upgrade to JSON3 from JSON2 - #123
|
147
|
* Package library with browserify supporting the UMD pattern - #184
|
148
|
* Move tests to JavaScript
|
149
|
* Add Gulp.js build script
|
150
|
* Fix getOrigin for file:/// urls and standard ports - #173
|
151
|
* Add onerror event handlers to Websockets - #169
|
152
|
* Increase RTO lower bound to prevent spurious timeouts on IE8/9 - #161
|
153
|
* Use window.crypto for random values when available - #128
|
154
|
* Fix handling of listeners added and removed mid-dispatch - #127
|
155
|
* Fix XHR Streaming for IE8 - #83
|
156
|
* Remove explicit AMD name - #107
|
157
|
* Check for an empty response from /info request - #143
|
158
|
* Add Content-Type to XHR requests to fix issue over HTTPS on Galaxy S4 - #164
|
159
|
* Fix iframe fallback when message is sent from a popup in IE7/8 - #166
|
160
|
* Add support for query strings on the url - #72
|
161
|
* Now works inside of Web Workers - #181
|
162
|
* Support EventSource / Server Sent Events outside of iframes - #201
|
163
|
* Rename protocols to transports - #65
|
164
|
* Allow transports which need the body to trigger on 'interactive' readyState - #175
|
165
|
* try/catch access to document.domain - #187
|
166
|
* Use `window.location` instead of `document.location` - #195
|
167
|
* Allow usage from node.js with same API
|
168
|
|
169
|
0.3.4
|
170
|
=====
|
171
|
|
172
|
* Mentioned njoyce's fork of sockjs-gevent.
|
173
|
* #90 - Don't catch onbeforeunload event - it breaks javascript://
|
174
|
links in IE.
|
175
|
* IE mangles 204 response code for 1223 on ajax, see:
|
176
|
http://bugs.jquery.com/ticket/1450
|
177
|
* Make `new` optional for SockJS constructor (via substack).
|
178
|
* It is impossible to cancel JSONP polling request - compensate for that.
|
179
|
* Refactored EventEmitter prototype (used only internally)
|
180
|
* #66 - Failure to post data to /xhr_send should kill the session
|
181
|
|
182
|
|
183
|
0.3.2
|
184
|
=====
|
185
|
|
186
|
* #77 - Getting /info on modern browsers when html is served from
|
187
|
file:// urls was broken.
|
188
|
|
189
|
0.3.1
|
190
|
=====
|
191
|
|
192
|
* #61 - Meteor guys found that we unintentionally catch "onopen" errors.
|
193
|
* #63 - Meteorjs guys found that xhr-streaming on Safari sometimes
|
194
|
left busy cursor running.
|
195
|
* Increased allowed time for websocket transport (from 1 rtt to 2),
|
196
|
this should make ws transport more reliable over SSL, at the cost
|
197
|
of slightly longer connection time for users with blocked ws.
|
198
|
* #57 - previous fix didn't really work, sockjs-client still left
|
199
|
a mess in browsers history when using iframe transports. This
|
200
|
is fixed now.
|
201
|
* #60 - Opera 12 (next) claims to do AJAX2 / CORS, but can't
|
202
|
do xhr-streaming.
|
203
|
* #58 - onunload test sometimes failed on Safari on windows
|
204
|
* Updated readme WRT websocket protocols
|
205
|
* Updated readme WRT deployments on heroku
|
206
|
* Add minimalistic license block to every source file.
|
207
|
|
208
|
|
209
|
0.3.0
|
210
|
=====
|
211
|
|
212
|
* Temporarily disabled iframe tests - they are failing unpredictably.
|
213
|
* #57 - pointing an iframe to "about:blank" during cleanup caused
|
214
|
Opera to messup history.
|
215
|
* #55 - Improved iframe abstraction (reduced a possible mem leak)
|
216
|
* Refactored AJAX abstractions, for better CORS handing - again.
|
217
|
* Add additional parent origin security check to an iframe.
|
218
|
* Urls with hashes or query strings can't be passed to SockJS.
|
219
|
* #18 - Mention workaround for Firefox ESC key issue
|
220
|
* #53 - AMD compliance
|
221
|
* sockjs/sockjs-protocol#28 - always use square brackets for
|
222
|
websocket frames
|
223
|
* #51 - initial support for IE10 - try XHR before XDR
|
224
|
* #28 - handle onunload / onbeforeunload in a more robust fashion
|
225
|
* #49 - support SockJS-client being used from files served from
|
226
|
file:// urls.
|
227
|
|
228
|
|
229
|
0.2.1
|
230
|
=====
|
231
|
|
232
|
* "smoke-latency.html" test was unnecesairly sending too much data.
|
233
|
* Bumped core dependencies (coffee-script and uglify-js)
|
234
|
* Minor updates to the README, few cosmetic changes in the code.
|
235
|
|
236
|
|
237
|
0.2.0
|
238
|
=====
|
239
|
|
240
|
* The API had changed - use `protocols_whitelist` option instead of
|
241
|
passing an array of protocols as a second argument to SockJS constructor.
|
242
|
* Dropped 'chunking-test' functionality and replace it with 'info'.
|
243
|
* Rewritten protocol-choosing alogirthm, see "utils.detectProtocols" method.
|
244
|
* Use dynamic protocol timeouts based on RTT, not hardcoded 5 seconds
|
245
|
* #34 - Don't ever reuse `session_id`, especially when trying
|
246
|
fallback protocols.
|
247
|
* The test server got moved from SockJS-client to SockJS-node.
|
248
|
* Don't test unicode surrogates - it can't work in some environments.
|
249
|
* XHR/XDR helpers were rewritten, ajax transports were simplified.
|
250
|
* Added a domain check in the iframe to improve security.
|
251
|
* SockJS will now trigger 1002 error if there is a problem during handshake
|
252
|
instead of 2000 error.
|
253
|
* Smoke-throughput test is renamed to smoke-latency.
|
254
|
|
255
|
0.1.2
|
256
|
=====
|
257
|
|
258
|
* #29 - Allow all unicode characters to be send over SockJS.
|
259
|
* #15 - SockJS should now work fine even if the connection is started
|
260
|
in HEAD, before BODY is loaded.
|
261
|
* #28 - In rare circumstances WebSocket connection can be left intact
|
262
|
after the page is unloaded in FireFox.
|
263
|
* Updated scripts to work with Node 0.6.
|
264
|
* Initial work to do better QUnit testing.
|
265
|
* Updated the minifying script (always escape unicode chars, remove
|
266
|
trailing comment).
|
267
|
* Use string instead of array of chars (utils.js:random_number_string).
|
268
|
|
269
|
|
270
|
0.1.1
|
271
|
=====
|
272
|
|
273
|
* #21 Get JsonP transport working on IE9 (Vladimir Dronnikov).
|
274
|
* #26 Emit heartbeat event.
|
275
|
* #27 Include license inline.
|
276
|
|
277
|
|
278
|
0.1.0
|
279
|
=====
|
280
|
|
281
|
* SockJS-client can only send UTF-8 encodable strings. Previously we
|
282
|
took advantage of rich data structures and automatically
|
283
|
json-encoded them, but this got removed. Now, all data passed to
|
284
|
`send` will be converted to string. This is also how native
|
285
|
* `status` property on `EventClose` is renamed to `code`
|
286
|
as per Websocket API
|
287
|
WebSockets behave.
|
288
|
* The test server was updated to new `sockjs-node` API
|
289
|
* Fixed problem with Jsonp-polling transport on IE9
|
290
|
* Repository was moved - updated links.
|
291
|
|
292
|
|
293
|
0.0.4
|
294
|
=====
|
295
|
|
296
|
* All transports were refactored, some transports were introduced:
|
297
|
htmlfile and separate xhr-streaming.
|
298
|
* Added logic to detect support for http chunking, and thus a
|
299
|
possibility to rule out streaming transports before running them.
|
300
|
* Added 'cookie' option, useful for cookie-based load balancing
|
301
|
(currently, it make a difference only for IE).
|
302
|
* Added hack to prevent EventSource from crashing Safari and Chrome.
|
303
|
* Loads and loads of other small and medium changes.
|
304
|
|
305
|
|
306
|
0.0.2
|
307
|
=====
|
308
|
|
309
|
* Initial support for JSESSIONID based load balancing. Currently
|
310
|
doesn't play nicely with IE XDomainRequest transport.
|
311
|
|
312
|
|
313
|
0.0.1
|
314
|
=====
|
315
|
|
316
|
* Initial release.
|