Skip to content

Releases: zzyzxlab/tao.js

Fix utils logger to work in browser

11 Mar 11:04
Compare
Choose a tag to compare

0.16.2 (2024-03-11)

Bug Fixes

  • logger: remove node util.inspect dep (8aa6297)

Fixes peer deps

11 Mar 02:51
Compare
Choose a tag to compare

0.16.1 (2024-03-11)

Bug Fixes

  • deps: update peer deps for @tao.js/ packages to * (1ab19ae)

Auth available from socket.io

11 Mar 02:50
Compare
Choose a tag to compare

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

31 Jan 05:39
Compare
Choose a tag to compare

0.15.0 (2023-01-31)

Features

  • socket.io-client: allow passing options to socket on client (ea0b59c)

‼️ major important api update ‼️

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

31 Jan 05:32
Compare
Choose a tag to compare

0.14.3 (2022-07-30)

Bug Fixes

  • Transceiver: added missing AppCtx import (d10c4ef)

Fix for RenderHandler data context args

07 Feb 00:07
Compare
Choose a tag to compare

0.14.2 (2022-02-07)

Bug Fixes

  • DataConsumer: port RenderHandler data context fix to DataConsumer (2af1a4f)
  • RenderHandler: updates to context data post-render pushed updated data as subsequent args (c5556ed)

Fix for SwitchHandler

05 Feb 22:31
Compare
Choose a tag to compare

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

05 Apr 13:25
Compare
Choose a tag to compare

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

Fixed Hooks better

01 Apr 08:44
Compare
Choose a tag to compare

0.13.2 (2021-04-01)

Bug Fixes

  • hooks: fixed bad this ref in hook implementation for permutations (f3aa058)

Chore

  • updated peerDependencies for multiple packages to point to 0.13.0
  • updated @tao.js/react peer dependency to react@^16.8.0 which has hooks

Fix missing import

31 Mar 08:48
Compare
Choose a tag to compare

0.13.1 (2021-03-31)

Bug Fixes

  • hooks: missing import in @tao.js/react:hooks (c79a976)

Should have been caught by linting