Faye v1.4.0 Release Notes
Release Date: 2020-07-31 // over 4 years ago-
- 0๏ธโฃ Implement TLS certificate verification and enable it by default in the Ruby
client class
Faye::Client
- โ Add a
:tls
option to the Ruby client with sub-field:verify_peer
for configuring TLS verification - ๐ Officially support the
tls
option in the Node.js client, whose contents are forward to thehttps
andtls
modules as appropriate
- 0๏ธโฃ Implement TLS certificate verification and enable it by default in the Ruby
client class
Previous changes from v1.3.0
-
- ๐ Support
user:pass@
authorization in URIs and sendAuthorization
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 theOrigin
header (not*
) - enabling
Access-Control-Allow-Credentials
- setting
- 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 containsuccessful: 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
- ๐ Support