crdt 1.2.2  crdt: ^1.2.2 copied to clipboard
crdt: ^1.2.2 copied to clipboard
Dart implementation of Conflict-free Replicated Data Types (CRDTs).
1.2.2 #
- Fix incrementing the HLC when merging newer records.
- Fix counter not being able to reach maximum (0xFFFF)
1.2.1 #
- Remove unnecessary Future in Crdt.valuesgetter.
1.2.0 #
- Breaking: Crdt.get()now returns the value (ornull) rather than the record. UseCrdt.getRecord()for the previous behaviour.
- API Change: Getter methods on both CrdtandStoreare now synchronous.
- API Change: Crdt.Clear()now acceptspurgeRecordsto determine if records should be purged or marked as deleted.
- Add Crdt.watch()andStore.watch()to monitor the CRDT for changes.
- Add Crdt.isDeleted()to check if a record has been deleted.
1.1.1 #
- Add values getter which retrieves all values as list, excluding deleted records
1.1.0 #
- HLCs implement Comparable
- Support typed key and values
- Refactor CRDT and Store to replace index operators with getters and setters
- Add clear() method
- Add JSON de/serialisation helper methods
1.0.0 #
- Initial version