Releases: zzyzxlab/tao.js
Fix utils logger to work in browser
Fixes peer deps
Auth available from socket.io
0.16.0 (2024-03-10)
Bug Fixes
- react: explicitly make react external package (0580cf4)
Features
- auth: get auth from socket.io on AC propagation (ae4d948)
- utils: new utilities for transfer, forward & logging (d71ef74)
BREAKING CHANGES
- socket.io: onConnect now receives the whole socket in callback instead of just id prop
Socket.io Options for Client Socket constructor
0.15.0 (2023-01-31)
Features
- socket.io-client: allow passing options to socket on client (ea0b59c)
Allows passing the withCredentials: true
option (along with all other available options found here) to the creation of a socket on the client (via socket.io-client
) happening via the wireTaoJsToSocketIO()
function. This specific option is necessary to allow a Load Balancer to manage sticky sessions necessary for deploying socket.io in a cluster to ensure clients send requests back to the same backend server as documented here. Load Balancers use a cookie to handle this and unless withCredentials: true
option is set on the socket.io Socket
, cookies will not be resent on requests going to a different host.
Fixed missing import in Transceiver
Fix for RenderHandler data context args
Fix for SwitchHandler
0.14.1 (2022-02-05)
Bug Fixes
- SwitchHandler: fixes losing child references on rerender after DataHandler change (2f13ec1)
Full Changelog: v0.14.0...v0.14.1
Refactor React for v17
0.14.0 (2021-04-05)
- react: refactor
componentWillMount
->componentDidMount
+componentWillReceiveProps
->componentDid
componentWillMount
and componentWillReceiveProps
were deprecated in React 16.3.0 and will be removed in 17