0.5.0 - Nov 4 2024
- a
as_bytes()
method onEncodedReplica
to get its underlying bytes; - a
from_bytes()
method onEncodedReplica
to create one from a byte slice;
- the
EncodedReplica
struct now has a lifetime parameter tied to the underlying buffer;
0.4.6 - Oct 31 2024
-
AnchorBias
now implementsNot
; -
a
Insertion::inserted_by()
method to get theReplicaId
of the peer that performed the insertion;
0.4.5 - Apr 3 2024
- a
Clone
impl forReplica
;
Replica::fork()
now panics if the givenReplicaId
is the same as the one of theReplica
being forked;
0.4.4 - Feb 1 2024
- the
Deletion
's internalVersionMap
now only includes entries for theReplicaId
s that were between the start and the end of the deleted range, instead of including every singleReplicaId
theReplica
had ever seen. This results in much smallerDeletion
s when deleting small ranges in buffers edited by many peers (#9);
0.4.3 - Jan 31 2024
- a typo in the docs
0.4.2 - Jan 31 2024
- a new
Deletion::deleted_by()
to get theReplicaId
of the peer that performed the deletion;
0.4.0 - Jan 28 2024
-
the
Serialize
impl ofDeletion
now produces ~3x smaller payloads, depending on the data format used (#7); -
the
Serialize
impl ofEncodedReplica
now produces ~7x smaller payloads, depending on the data format used (#6); -
the
Serialize
impl ofInsertion
now produces 3-4x smaller payloads, depending on the data format used (#5);
0.3.0 - Jan 9 2024
-
a new
Replica::create_anchor()
method to create anAnchor
from an offset and anAnchorBias
; -
a new
Replica::resolve_anchor()
method to resolve anAnchor
into an offset;
0.2.1 - Jan 2 2024
-
Debug
impl forEncodedReplica
; -
Display
andError
impls forDecodeError
;
-
Replica::encode()
makes fewer transient allocations; -
the stack size of
EncodedReplica
was decreased from 56 to 32;
0.2.0 - Dec 23 2023
Eq
impls forInsertion
andDeletion
- fixed a bug that would cause
Replica::decode()
to fail if it was encoded on a machine with a different pointer size (#1);