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.

136 lines
3.8 KiB

4 years ago
  1. ### 0.7.3 / 2019-06-13
  2. - Cap version of http-parser-js below 0.4.11, which introduced a bug that
  3. prevents us from handling messages that are part of the same input buffer as
  4. the handshake response if chunked encoding is specified
  5. ### 0.7.2 / 2019-06-13
  6. (This version was pulled due to an error when publishing)
  7. ### 0.7.1 / 2019-06-10
  8. - Catch any exceptions produced while generating a handshake response and send a
  9. `400 Bad Request` response to the client
  10. - Pick the RFC-6455 protocol version if the request contains any of the headers
  11. used by that version
  12. - Use the `Buffer.alloc()` and `Buffer.from()` functions instead of the unsafe
  13. `Buffer()` constructor
  14. - Handle errors encountered while handling malformed draft-76 requests
  15. - Change license from MIT to Apache 2.0
  16. ### 0.7.0 / 2017-09-11
  17. - Add `ping` and `pong` to the set of events users can listen to
  18. - Replace the bindings to Node's HTTP parser with `http-parser-js`
  19. ### 0.6.5 / 2016-05-20
  20. - Don't mutate buffers passed in by the application when masking
  21. ### 0.6.4 / 2016-01-07
  22. - If a number is given as input for a frame payload, send it as a string
  23. ### 0.6.3 / 2015-11-06
  24. - Reject draft-76 handshakes if their Sec-WebSocket-Key headers are invalid
  25. - Throw a more helpful error if a client is created with an invalid URL
  26. ### 0.6.2 / 2015-07-18
  27. - When the peer sends a close frame with no error code, emit 1000
  28. ### 0.6.1 / 2015-07-13
  29. - Use the `buffer.{read,write}UInt{16,32}BE` methods for reading/writing numbers
  30. to buffers rather than including duplicate logic for this
  31. ### 0.6.0 / 2015-07-08
  32. - Allow the parser to recover cleanly if event listeners raise an error
  33. - Add a `pong` method for sending unsolicited pong frames
  34. ### 0.5.4 / 2015-03-29
  35. - Don't emit extra close frames if we receive a close frame after we already
  36. sent one
  37. - Fail the connection when the driver receives an invalid
  38. `Sec-WebSocket-Extensions` header
  39. ### 0.5.3 / 2015-02-22
  40. - Don't treat incoming data as WebSocket frames if a client driver is closed
  41. before receiving the server handshake
  42. ### 0.5.2 / 2015-02-19
  43. - Fix compatibility with the HTTP parser on io.js
  44. - Use `websocket-extensions` to make sure messages and close frames are kept in
  45. order
  46. - Don't emit multiple `error` events
  47. ### 0.5.1 / 2014-12-18
  48. - Don't allow drivers to be created with unrecognized options
  49. ### 0.5.0 / 2014-12-13
  50. - Support protocol extensions via the websocket-extensions module
  51. ### 0.4.0 / 2014-11-08
  52. - Support connection via HTTP proxies using `CONNECT`
  53. ### 0.3.6 / 2014-10-04
  54. - It is now possible to call `close()` before `start()` and close the driver
  55. ### 0.3.5 / 2014-07-06
  56. - Don't hold references to frame buffers after a message has been emitted
  57. - Make sure that `protocol` and `version` are exposed properly by the TCP driver
  58. ### 0.3.4 / 2014-05-08
  59. - Don't hold memory-leaking references to I/O buffers after they have been
  60. parsed
  61. ### 0.3.3 / 2014-04-24
  62. - Correct the draft-76 status line reason phrase
  63. ### 0.3.2 / 2013-12-29
  64. - Expand `maxLength` to cover sequences of continuation frames and
  65. `draft-{75,76}`
  66. - Decrease default maximum frame buffer size to 64MB
  67. - Stop parsing when the protocol enters a failure mode, to save CPU cycles
  68. ### 0.3.1 / 2013-12-03
  69. - Add a `maxLength` option to limit allowed frame size
  70. - Don't pre-allocate a message buffer until the whole frame has arrived
  71. - Fix compatibility with Node v0.11 `HTTPParser`
  72. ### 0.3.0 / 2013-09-09
  73. - Support client URLs with Basic Auth credentials
  74. ### 0.2.2 / 2013-07-05
  75. - No functional changes, just updates to package.json
  76. ### 0.2.1 / 2013-05-17
  77. - Export the isSecureRequest() method since faye-websocket relies on it
  78. - Queue sent messages in the client's initial state
  79. ### 0.2.0 / 2013-05-12
  80. - Add API for setting and reading headers
  81. - Add Driver.server() method for getting a driver for TCP servers
  82. ### 0.1.0 / 2013-05-04
  83. - First stable release