- Implement
PartialEq
andEq
forText
- Implement
Reconcile
forMaybeMissing
so thatderive(Reconcile)
works for types containing aMaybeMissing
field.
- Add
Text::update
which allows you to specify changes to text by just passing the latest version of the text rather than as individual splice calls.
- (@teohanhui) Add the
missing=
annotation which allows the user to specify a function to call to construct a value if no value was found in the document - (@teohanhui) Add the
MaybeMissing
which tracks whether a value was present in the document at all
- Improvements to macro hygiene courtesy of @teohhanhui
- Upgrade to Automerge 0.5.0
- Allow
TextReconciler::splice_text
to take a negativedel
No changes, this release is the same as 0.7.0, but I (Alex) published the wrong code to crates.io for 0.7.0 due to being quite sleepy so I had to yank and publish 0.7.1
- BREAKING: The
Reconcile
implementation for maps now removes keys from the document which are not part of the incoming data
- BREAKING: Add a
Reconcile::Key
to theReconcile
implementation forUuid
. - Update
autosurgeon-derive
tosyn
2.0
- Add
Clone
forText
andCounter
- Add a
with=
adapter for maps which have keys that implementFromStr
andToString
- Update to
automerge
4.0
- Delete old keys when reconciling a new enum variant which has different keys to the previous variant
- Fix a bug where the code generated for the
Reconcile
implementation for enum variants didn't include the full crate path forautosurgeon
- Implement
Hydrate
forBox<T> where T: Hydrate
- Update to
automerge
3.0
- Fixed a bug where the wrong key type was generated for enums with a variant with one field and a variant with multiple fields
- Add
Hydrate
for HashMap and BTreeMap - Fix hydrate_path failing to hydrate some items correctly
- Add implementations of Reconcile and Hydrate for Uuid behind the
uuid
feature flag
- BREAKING Remove implementation of
Hydrate
forVec<u8>
- Add
ByteArray
andByteVec
wrappers for[u8; N]
andVec<u8
> - Add an implementation of
Hdyrate
foru8
- Accept any
Doc
inreconcile_prop
- Fix visibility of key types for derived
Reconcile
on enum types not matching the visibility of the target enum type
Initial release