UNPKG

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