Changelog 7.8 KB

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