Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 20, 2024

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.12

Compare Source

Patch Changes

v0.16.11

Compare Source

Patch Changes

v0.16.10

Compare Source

Patch Changes

v0.16.9

Compare Source

Patch Changes

v0.16.8

Compare Source

Patch Changes
  • 38b4bcf: Add text update API

    • Remove the patch for crypto
    • Add text update API (#​404)
    • Check invalid root container name (#​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)

v0.16.7

Compare Source

Patch Changes
  • 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)

v0.16.6

Compare Source

Patch Changes

v0.16.5

Compare Source

Patch Changes

v0.16.4

Compare Source

Patch Changes

v0.16.3

Compare Source

Patch Changes

v0.16.2

Compare Source

Patch Changes
  • 34f6064: Better undo events & transform cursors by undo manager (#​369)
🧪 Testing
-   Enable compatibility test (#​367)

v0.16.1

Compare Source

Patch Changes
  • 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]

v0.16.0

Compare Source

Minor Changes
  • 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

v0.15.4

Compare Source

v0.15.3

Compare Source

Patch Changes
  • 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)

v0.15.2

Compare Source

Patch Changes
  • 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)

<!-- generated by git-cliff -->

v0.15.1

Compare Source

Patch Changes
  • 04c6290: Bug fixes and improvements.
🐛 Bug Fixes
-   Impl a few unimplemented! for movable tree (#&#8203;335)
-   Refine ts type; reject invalid operations (#&#8203;334)
-   Get cursor err on text and movable list (#&#8203;337)
-   Missing MovableList in all container type (#&#8203;343)
-   Upgrade generic-btree to allow large btree (#&#8203;344)
📚 Documentation
-   Add warn(missing_docs) to loro and loro-wasm (#&#8203;339)
-   Minor fix on set_change_merge_interval api (#&#8203;341)
⚙️ Miscellaneous Tasks
-   Skip the checking if not debug_assertions (#&#8203;340)

<!-- generated by git-cliff -->

v0.15.0

Compare Source

Minor Changes
  • 35b9b6e: Movable List (#​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

v0.14.6

Compare Source

Patch Changes
🐛 Bug Fixes
-   Attached container can be inserted to `Map` or `List` (#&#8203;331)

v0.14.5

Compare Source

Patch Changes
🐛 Bug Fixes
-   _(js)_ Allow convert from undefined to LoroValue (#&#8203;323)
🚜 Refactor
-   Refine ts type (#&#8203;322)

v0.14.4

Compare Source

Patch Changes
  • 598d97e: ### 🚜 Refactor

    • Refine the TS Type of Awareness
    • Parse Uint8array to LoroValue::Binary (#​320)
📚 Documentation
-   Update how to publish new npm pkgs

v0.14.3

Compare Source

Patch Changes

v0.14.2

Compare Source

v0.14.1

Compare Source

v0.14.0

Compare Source

v0.13.1

Compare Source

v0.13.0

Compare Source

v0.12.0

Compare Source

v0.11.1

Compare Source

v0.11.0

Compare Source

v0.10.1

Compare Source

v0.10.0

Compare Source

v0.9.4

Compare Source

v0.9.3

Compare Source

v0.9.2

Compare Source

v0.9.1

Compare Source

v0.9.0

Compare Source

v0.8.0

Compare Source

v0.7.1

Compare Source

v0.7.0

Compare Source

v0.6.5

Compare Source

v0.6.4

Compare Source

v0.6.3

Compare Source

v0.6.2

Compare Source

v0.6.1

Compare Source

v0.6.0

Compare Source

v0.5.0

Compare Source


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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot changed the title chore(deps): update dependency loro-crdt to ^0.14.0 chore(deps): update dependency loro-crdt to ^0.15.0 Apr 26, 2024
@renovate renovate bot force-pushed the renovate/loro-crdt-0.x branch 2 times, most recently from d4487c8 to 6d6854c Compare April 26, 2024 11:09
@renovate renovate bot force-pushed the renovate/loro-crdt-0.x branch from 6d6854c to 3569d2b Compare May 21, 2024 00:55
@renovate renovate bot changed the title chore(deps): update dependency loro-crdt to ^0.15.0 chore(deps): update dependency loro-crdt to ^0.16.0 May 21, 2024
@renovate renovate bot force-pushed the renovate/loro-crdt-0.x branch from 3569d2b to 014ac81 Compare June 7, 2024 06:13
@renovate renovate bot changed the title chore(deps): update dependency loro-crdt to ^0.16.0 chore(deps): update dependency loro-crdt to ^0.15.0 Jun 7, 2024
@renovate renovate bot force-pushed the renovate/loro-crdt-0.x branch from 014ac81 to d9c8ef5 Compare June 7, 2024 10:16
@renovate renovate bot changed the title chore(deps): update dependency loro-crdt to ^0.15.0 chore(deps): update dependency loro-crdt to ^0.16.0 Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants