You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

316 lines
9.5 KiB

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