• v0.16.2
    v0.16.2

    Bug fixes

    • In @liveblocks/client:

      • Fix small bug related to new JsonObject type, which would reject some values that were legal JSON objects.
  • v0.16.1
    v0.16.1

    Bug fixes

    • In @liveblocks/react:

      • Fix issue with React 18 and StrictMode.
  • v0.16.0
    v0.16.0

    New APIs

    Set one element at a specified index.

    const list = new LiveList(["๐Ÿฆ", "๐ŸฆŠ", "๐Ÿต"]);list.set(0, "๐Ÿบ");list.toArray(); // equals ["๐Ÿบ", "๐ŸฆŠ", "๐Ÿต"]

    https://github.com/liveblocks/liveblocks/pull/147 for more information

    โš ๏ธ Before using LiveList.set, you need to make sure that all connected clients are using 0.16.0. If a client is connected to a room with version < 0.16, LiveList.set might 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.0 and they are not clear, please create a Github issue and we'll help you.

    More information here: https://github.com/liveblocks/liveblocks/pull/150

Previous