v0.16.4 All packages
- Improve our generated bundles. They are now even more tree-shakable, and smaller!
- Some APIs are being deprecation and will show warnings in the dev console when used
v0.16.3 Bug fixes
-
In @liveblocks/client:
- Fix bug where internal presence state could not get restored correctly after undo/redo in certain circumstances.
-
In @liveblocks/zustand and @liveblocks/redux:
-
Fixes an issue when initializing an array with items would result in having duplicated items in other clients. Example:
- Client A updates state :
{ list: [0] } - Client B states is updated to :
{ list: [0, 0] }
- Client A updates state :
-
-
v0.16.2 Bug fixes
-
In @liveblocks/client:
- Fix small bug related to new
JsonObjecttype, which would reject some values that were legal JSON objects.
- Fix small bug related to new
-
v0.16.1 Bug fixes
-
In @liveblocks/react:
- Fix issue with React 18 and StrictMode.
-
v0.16.0 New APIs
Set one element at a specified index.
https://github.com/liveblocks/liveblocks/pull/147 for more information
⚠️ Before using
LiveList.set, you need to make sure that all connected clients are using0.16.0. If a client is connected to a room with version< 0.16,LiveList.setmight lead to slightly unexpected behavior.TypeScript improvements
@nvie improved our typescript definitions! They are more precise and restrictive (for your own good :)). If typescript errors appears after upgrading to
0.16.0and they are not clear, please create a Github issue and we'll help you.More information here: https://github.com/liveblocks/liveblocks/pull/150