streamich / json-joy

JSON CRDT, JSON CRDT Patch, JSON Patch+, JSON Predicate, JSON Pointer, JSON Expression, JSON Type
https://jsonjoy.com/libs/json-joy-js
Apache License 2.0
752 stars 14 forks source link

chore(deps): update dependency loro-crdt to ^0.16.0 #586

Open renovate[bot] opened 5 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
loro-crdt (source) ^0.4.1 -> ^0.16.0 age adoption passing confidence

Release Notes

loro-dev/loro (loro-crdt) ### [`v0.16.10`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.10) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.9...loro-crdt@0.16.10) ##### Patch Changes - [`7cf54e8`](https://togithub.com/loro-dev/loro/commit/7cf54e8): Fix batch importing with snapshot - Updated dependencies \[[`7cf54e8`](https://togithub.com/loro-dev/loro/commit/7cf54e8)] - loro-wasm@0.16.10 ### [`v0.16.9`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.9) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.8...loro-crdt@0.16.9) ##### Patch Changes - [`a761430`](https://togithub.com/loro-dev/loro/commit/a761430): Fix build script - Updated dependencies \[[`a761430`](https://togithub.com/loro-dev/loro/commit/a761430)] - loro-wasm@0.16.9 ### [`v0.16.8`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.8) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.7...loro-crdt@0.16.8) ##### Patch Changes - [`38b4bcf`](https://togithub.com/loro-dev/loro/commit/38b4bcf): Add text update API - Remove the patch for crypto - Add text update API ([#​404](https://togithub.com/loro-dev/loro/issues/404)) - Check invalid root container name ([#​411](https://togithub.com/loro-dev/loro/issues/411)) ##### ๐Ÿ› Bug Fixes - Workaround lldb bug make loro crate debuggable (#​414) - Delete the **bring back** tree node from the undo container remap (#​423) ##### ๐Ÿ“š Documentation - Fix typo - Refine docs about event (#​417) ##### ๐ŸŽจ Styling - Use clippy to perf code (#​407) ##### โš™๏ธ Miscellaneous Tasks - Add test tools (#​410) - Updated dependencies \[[`38b4bcf`](https://togithub.com/loro-dev/loro/commit/38b4bcf)] - loro-wasm@0.16.8 ### [`v0.16.7`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.7) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.6...loro-crdt@0.16.7) ##### Patch Changes - [`45c98d5`](https://togithub.com/loro-dev/loro/commit/45c98d5): Better text APIs and bug fixes ##### ๐Ÿš€ Features - Add insert_utf8 and delete_utf8 for Rust Text API (#​396) - Add text iter (#​400) - Add more text api (#​398) ##### ๐Ÿ› Bug Fixes - Tree undo when processing deleted node (#​399) - Tree diff calc children should be sorted by idlp (#​401) - When computing the len of the map, do not count elements that are None (#​402) ##### ๐Ÿ“š Documentation - Update wasm docs - Rm experimental warning ##### โš™๏ธ Miscellaneous Tasks - Update fuzz config - Pnpm - Rename position to fractional_index (#​381) - Updated dependencies \[[`45c98d5`](https://togithub.com/loro-dev/loro/commit/45c98d5)] - loro-wasm@0.16.7 ### [`v0.16.6`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.6) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.5...loro-crdt@0.16.6) ##### Patch Changes - [`1e94248`](https://togithub.com/loro-dev/loro/commit/1e94248): Add `.fork()` to duplicate the doc - Updated dependencies \[[`1e94248`](https://togithub.com/loro-dev/loro/commit/1e94248)] - loro-wasm@0.16.6 ### [`v0.16.5`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.5) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.4...loro-crdt@0.16.5) ##### Patch Changes - [`439e4e9`](https://togithub.com/loro-dev/loro/commit/439e4e9): Update pkg desc - Updated dependencies \[[`439e4e9`](https://togithub.com/loro-dev/loro/commit/439e4e9)] - loro-wasm@0.16.5 ### [`v0.16.4`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.4) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.3...loro-crdt@0.16.4) ##### Patch Changes - [`afac347`](https://togithub.com/loro-dev/loro/commit/afac347): feat: implement `Counter` and expose it to js side - Updated dependencies \[[`afac347`](https://togithub.com/loro-dev/loro/commit/afac347)] - loro-wasm@0.16.4 ### [`v0.16.3`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.3) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.2...loro-crdt@0.16.3) ##### Patch Changes - [`6d47015`](https://togithub.com/loro-dev/loro/commit/6d47015): Make cursors transformation better in undo/redo loop - [`dc55055`](https://togithub.com/loro-dev/loro/commit/dc55055): Perf(wasm) cache text.toDelta - Updated dependencies \[[`6d47015`](https://togithub.com/loro-dev/loro/commit/6d47015)] - Updated dependencies \[[`dc55055`](https://togithub.com/loro-dev/loro/commit/dc55055)] - loro-wasm@0.16.3 ### [`v0.16.2`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.2) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.1...loro-crdt@0.16.2) ##### Patch Changes - [`34f6064`](https://togithub.com/loro-dev/loro/commit/34f6064): Better undo events & transform cursors by undo manager ([#​369](https://togithub.com/loro-dev/loro/issues/369)) ##### ๐Ÿงช Testing - Enable compatibility test (#​367) - Updated dependencies \[[`34f6064`](https://togithub.com/loro-dev/loro/commit/34f6064)] - loro-wasm@0.16.2 ### [`v0.16.1`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.16.0...loro-crdt@0.16.1) ##### Patch Changes - [`5cd80b0`](https://togithub.com/loro-dev/loro/commit/5cd80b0): Refine undo impl - Add "undo" origin for undo and redo event - Allow users to skip certain local operations - Skip undo/redo ops that are not visible to users - Add returned bool value to indicate whether undo/redo is executed - Updated dependencies \[[`5cd80b0`](https://togithub.com/loro-dev/loro/commit/5cd80b0)] - loro-wasm@0.16.1 ### [`v0.16.0`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.16.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.15.4...loro-crdt@0.16.0) ##### Minor Changes - [`c12c2b9`](https://togithub.com/loro-dev/loro/commit/c12c2b9): Movable Tree Children & Undo ##### ๐Ÿ› Bug Fixes - Refine error message on corrupted data (#​356) - Add MovableList to CONTAINER_TYPES (#​359) - Better jitter for fractional index (#​360) ##### ๐Ÿงช Testing - Add compatibility tests (#​357) ##### Feat - Make the encoding format forward and backward compatible (#​329) - Undo (#​361) - Use fractional index to order the children of the tree (#​298) ##### ๐Ÿ› Bug Fixes - Tree fuzz sort value (#​351) - Upgrade wasm-bindgen to fix str free err (#​353) ##### Patch Changes - Updated dependencies \[[`c12c2b9`](https://togithub.com/loro-dev/loro/commit/c12c2b9)] - loro-wasm@0.16.0 ### [`v0.15.4`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.15.3...loro-crdt@0.15.4) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.15.3...loro-crdt@0.15.4) ### [`v0.15.3`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.15.3) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.15.2...loro-crdt@0.15.3) ##### Patch Changes - [`43506cc`](https://togithub.com/loro-dev/loro/commit/43506cc): Fix unsound issue caused by wasm-bindgen ##### ๐Ÿ› Bug Fixes - Fix potential movable list bug (#​354) - Tree fuzz sort value (#​351) - Upgrade wasm-bindgen to fix str free err (#​353) ##### ๐Ÿ“š Documentation - Simplify readme (#​352) - Updated dependencies \[[`43506cc`](https://togithub.com/loro-dev/loro/commit/43506cc)] - loro-wasm@0.15.3 ### [`v0.15.2`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.15.2) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.15.1...loro-crdt@0.15.2) ##### Patch Changes - [`e30678d`](https://togithub.com/loro-dev/loro/commit/e30678d): Perf: fix deletions merge ##### ๐Ÿ› Bug Fixes - _(wasm)_ Movable list .kind() (#​342) ##### โšก Performance - Delete span merge err (#​348) ##### โš™๏ธ Miscellaneous Tasks - Warn missing debug impl (#​347) - Updated dependencies \[[`e30678d`](https://togithub.com/loro-dev/loro/commit/e30678d)] - loro-wasm@0.15.2 ### [`v0.15.1`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.15.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.15.0...loro-crdt@0.15.1) ##### Patch Changes - [`04c6290`](https://togithub.com/loro-dev/loro/commit/04c6290): Bug fixes and improvements. ##### ๐Ÿ› Bug Fixes - Impl a few unimplemented! for movable tree (#​335) - Refine ts type; reject invalid operations (#​334) - Get cursor err on text and movable list (#​337) - Missing MovableList in all container type (#​343) - Upgrade generic-btree to allow large btree (#​344) ##### ๐Ÿ“š Documentation - Add warn(missing_docs) to loro and loro-wasm (#​339) - Minor fix on set_change_merge_interval api (#​341) ##### โš™๏ธ Miscellaneous Tasks - Skip the checking if not debug_assertions (#​340) - Updated dependencies \[[`04c6290`](https://togithub.com/loro-dev/loro/commit/04c6290)] - loro-wasm@0.15.1 ### [`v0.15.0`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.15.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.6...loro-crdt@0.15.0) ##### Minor Changes - [`35b9b6e`](https://togithub.com/loro-dev/loro/commit/35b9b6e): Movable List ([#​293](https://togithub.com/loro-dev/loro/issues/293)) Loro's List supports insert and delete operations but lacks built-in methods for `set` and `move`. To simulate set and move, developers might combine delete and insert. However, this approach can lead to issues during concurrent operations on the same element, often resulting in duplicate entries upon merging. For instance, consider a list \[0, 1, 2]. If user A moves the element '0' to position 1, while user B moves it to position 2, the ideal merged outcome should be either \[1, 0, 2] or \[1, 2, 0]. However, using the delete-insert method to simulate a move results in \[1, 0, 2, 0], as both users delete '0' from its original position and insert it independently at new positions. To address this, we introduce a MovableList container. This new container type directly supports move and set operations, aligning more closely with user expectations and preventing the issues associated with simulated moves. #### Example ```ts import { Loro } from "loro-crdt"; import { expect } from "vitest"; const doc = new Loro(); const list = doc.getMovableList("list"); list.push("a"); list.push("b"); list.push("c"); expect(list.toArray()).toEqual(["a", "b", "c"]); list.set(2, "d"); list.move(0, 1); const doc2 = new Loro(); const list2 = doc2.getMovableList("list"); expect(list2.length).toBe(0); doc2.import(doc.exportFrom()); expect(list2.length).toBe(3); expect(list2.get(0)).toBe("b"); expect(list2.get(1)).toBe("a"); expect(list2.get(2)).toBe("d"); ``` ##### Patch Changes - Updated dependencies \[[`35b9b6e`](https://togithub.com/loro-dev/loro/commit/35b9b6e)] - loro-wasm@0.15.0 ### [`v0.14.6`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.14.6) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.5...loro-crdt@0.14.6) ##### Patch Changes - [`24cf9b9`](https://togithub.com/loro-dev/loro/commit/24cf9b9): Bug Fix ##### ๐Ÿ› Bug Fixes - Attached container can be inserted to `Map` or `List` (#​331) - Updated dependencies \[[`24cf9b9`](https://togithub.com/loro-dev/loro/commit/24cf9b9)] - loro-wasm@0.14.6 ### [`v0.14.5`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.14.5) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.4...loro-crdt@0.14.5) ##### Patch Changes - [`73e3ba5`](https://togithub.com/loro-dev/loro/commit/73e3ba5): Bug Fix ##### ๐Ÿ› Bug Fixes - _(js)_ Allow convert from undefined to LoroValue (#​323) ##### ๐Ÿšœ Refactor - Refine ts type (#​322) - Updated dependencies \[[`73e3ba5`](https://togithub.com/loro-dev/loro/commit/73e3ba5)] - loro-wasm@0.14.5 ### [`v0.14.4`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.14.4) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.3...loro-crdt@0.14.4) ##### Patch Changes - [`598d97e`](https://togithub.com/loro-dev/loro/commit/598d97e): ### ๐Ÿšœ Refactor - Refine the TS Type of Awareness - Parse Uint8array to LoroValue::Binary ([#​320](https://togithub.com/loro-dev/loro/issues/320)) ##### ๐Ÿ“š Documentation - Update how to publish new npm pkgs - Updated dependencies \[[`598d97e`](https://togithub.com/loro-dev/loro/commit/598d97e)] - loro-wasm@0.14.4 ### [`v0.14.3`](https://togithub.com/loro-dev/loro/releases/tag/loro-crdt%400.14.3) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.2...loro-crdt@0.14.3) ##### Patch Changes - [`a1fc2e3`](https://togithub.com/loro-dev/loro/commit/a1fc2e3): Feat: Awareness ([#​318](https://togithub.com/loro-dev/loro/issues/318)) - Updated dependencies \[[`a1fc2e3`](https://togithub.com/loro-dev/loro/commit/a1fc2e3)] - loro-wasm@0.14.3 ### [`v0.14.2`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.1...loro-crdt@0.14.2) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.1...loro-crdt@0.14.2) ### [`v0.14.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.0...loro-crdt@0.14.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.14.0...loro-crdt@0.14.1) ### [`v0.14.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.13.1...loro-crdt@0.14.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.13.1...loro-crdt@0.14.0) ### [`v0.13.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.13.0...loro-crdt@0.13.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.13.0...loro-crdt@0.13.1) ### [`v0.13.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.12.0...loro-crdt@0.13.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.12.0...loro-crdt@0.13.0) ### [`v0.12.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.11.1...loro-crdt@0.12.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.11.1...loro-crdt@0.12.0) ### [`v0.11.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.11.0...loro-crdt@0.11.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.11.0...loro-crdt@0.11.1) ### [`v0.11.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.10.1...loro-crdt@0.11.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.10.1...loro-crdt@0.11.0) ### [`v0.10.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.10.0...loro-crdt@0.10.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.10.0...loro-crdt@0.10.1) ### [`v0.10.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.4...loro-crdt@0.10.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.4...loro-crdt@0.10.0) ### [`v0.9.4`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.3...loro-crdt@0.9.4) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.3...loro-crdt@0.9.4) ### [`v0.9.3`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.2...loro-crdt@0.9.3) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.2...loro-crdt@0.9.3) ### [`v0.9.2`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.1...loro-crdt@0.9.2) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.1...loro-crdt@0.9.2) ### [`v0.9.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.0...loro-crdt@0.9.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.9.0...loro-crdt@0.9.1) ### [`v0.9.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.8.0...loro-crdt@0.9.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.8.0...loro-crdt@0.9.0) ### [`v0.8.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.7.1...loro-crdt@0.8.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.7.1...loro-crdt@0.8.0) ### [`v0.7.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.7.0...loro-crdt@0.7.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.7.0...loro-crdt@0.7.1) ### [`v0.7.0`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.5...loro-crdt@0.7.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.5...loro-crdt@0.7.0) ### [`v0.6.5`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.4...loro-crdt@0.6.5) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.4...loro-crdt@0.6.5) ### [`v0.6.4`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.3...loro-crdt@0.6.4) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.3...loro-crdt@0.6.4) ### [`v0.6.3`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.2...loro-crdt@0.6.3) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.2...loro-crdt@0.6.3) ### [`v0.6.2`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.1...loro-crdt@0.6.2) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.1...loro-crdt@0.6.2) ### [`v0.6.1`](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.0...loro-crdt@0.6.1) [Compare Source](https://togithub.com/loro-dev/loro/compare/loro-crdt@0.6.0...loro-crdt@0.6.1) ### [`v0.6.0`](https://togithub.com/loro-dev/loro/compare/v0.5.0...loro-crdt@0.6.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/v0.5.0...loro-crdt@0.6.0) ### [`v0.5.0`](https://togithub.com/loro-dev/loro/compare/v0.4.3...v0.5.0) [Compare Source](https://togithub.com/loro-dev/loro/compare/v0.4.3...v0.5.0)

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.