crdt_lf 0.7.1 copy "crdt_lf: ^0.7.1" to clipboard
crdt_lf: ^0.7.1 copied to clipboard

Conflict-free replicated data type (CRDT) - Local-first implementation provided in dart

[0.7.1] - 2025-06-26 #

Changed #

  • Update documentation

[0.7.0+1] - 2025-06-14 #

Fixed #

  • Chore: update readme links

[0.7.0] - 2025-06-14 #

Added #

  • CRDTDocument.mergeSnapshot to merge a snapshot with the current snapshot
  • CRDTDocument.import to import changes and snapshots with a single method and different strategies

Changed #

  • On changes pruning, if a change has a dependency on a pruned change, the dependency is removed to preserve integrity

[0.6.1] - 2025-06-02 #

Fixed #

  • Fix snapshot initialization for handlers that return a non primitive value

[0.6.0] - 2025-05-10 #

Breaking

  • Operation.toPayload is now a Map<String, dynamic> instead of dynamic (every operation was already returning a Map<String, dynamic>)

Added #

  • CRDTMapHandler: a new handler for maps

Changed #

  • chore: apply linter rules
  • chore: more documentation on public api

[0.5.1] - 2025-05-08 #

Fixed #

  • Fix folder name clash with gitignore rules

[0.5.0] - 2025-05-07 #

Breaking

  • rename document.import in document.binaryImportChanges
  • rename document.export in document.binaryExportChanges

Added #

  • Snapshot implementation 14
  • Version vector (foundational for building snapshots)

Fixed #

  • Fix Fugue tree insertion

[0.4.0] - 2025-04-29 #

Changed #

  • chore: move test utils under helpers folder

[0.3.0] - 2025-04-21 #

Added #

  • CRDTDocument expose localChanges stream to listen to local changes 18
  • flutter_example contains a routing with a basic example for each use case (currently only todo list)16
  • Split Fugue algorithm from text handler 4

[0.2.0] - 2025-04-09 #

Added #

  • Tests 6

Fixed #

  • Fix cached value in handlers

[0.1.0] - 2025-04-01 #

Initial release

Added #

  • CRDTDocument with ChangeStore and Frontiers
  • CRDTTextHandler
  • CRDTListHandler
  • CRDTFugueTextHandler
3
likes
160
points
222
downloads

Publisher

verified publishermattiapispisa.it

Weekly Downloads

Conflict-free replicated data type (CRDT) - Local-first implementation provided in dart

Homepage
Repository (GitHub)

Topics

#crdt #local-first #fugue #hlc

Documentation

API reference

License

MIT (license)

Dependencies

crypto, hlc_dart

More

Packages that depend on crdt_lf