Faye v1.3.0 Release Notes

Release Date: 2020-06-08 // over 1 year ago
    • ๐Ÿ‘Œ Support user:[email protected] authorization in URIs and send Authorization headers from the Node HTTP transport
    • ๐Ÿ‘Œ Support IPv6 hostnames in URIs
    • ๐Ÿ‘ Allow credentials (cookies and Authorization headers) in cross-origin requests, by:
      • setting Access-Control-Allow-Origin to the value of the Origin header (not *)
      • enabling Access-Control-Allow-Credentials
    • Enable credentials when sending cross-origin requests
    • Don't disconnect WebSocket on page unload if autodisconnect is turned off
    • ๐Ÿ”’ Catch errors when creating a WebSocket, which happens when Content Security Policy blocks it, allowing other transports to be tried
    • ๐Ÿ›  Fix a bug in the client where it handles messages from other clients as though they're the server's response to its own messages, based on the id field; now we only treat messages as server responses if they contain successful: true
    • Stop sending an empty message list [] from the WebSocket client as a keep-alive mechanism since CometD does not accept this message
    • ๐Ÿ›  Fix deprecation warnings for using the new Buffer() constructor
    • Switch to the Apache 2.0 license