pluv-io / pluv

Multi-platform, type-safe realtime packages
https://pluv.io
MIT License
81 stars 2 forks source link

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

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

loro-dev/loro (loro-crdt) ### [`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)

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 has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **pluv** | ⬜️ Ignored ([Inspect](https://vercel.com/pluv/pluv/B4ogJmpL29a3sTrWdSbRTFdZPqCi)) | [Visit Preview](https://pluv-git-renovate-loro-crdt-0x-pluv.vercel.app) | | Jul 5, 2024 7:26am |
changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: a4cd8cb32f87fcf614a91a55421089a768ae8e1e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 4 months ago

Deployment failed with the following error:

Resource is limited - try again in 15 minutes (more than 100, code: "api-deployments-free-per-day").