Changelog 7.6 KB

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