Skip to content

Releases: Two-Screen/symmetry

v0.7.0-beta.1

08 Aug 08:40
Compare
Choose a tag to compare
v0.7.0-beta.1 Pre-release
Pre-release
  • This release introduces two changes to the patch format:
    • "none" has been replaced with null. This means a simple truth check on the return value of createPatch is enough to check if something should happen.
    • "reset" has been replaced with { "t": "r", "v": ... }, where property v contains the new value in full. This new ResetPatch is also accepted by applyPatch, so can be transferred like any other patch.

v0.6.1

07 Sep 07:14
Compare
Choose a tag to compare
  • Fixed doc comments to use the proper TypeScript syntax. This should fix documentation hints in IDEs.
  • Added in-place variants for patch functions that modify the input value:
    • applyPatch.inPlace
    • applyObjectPatch.inPlace
    • applyArrayPatch.inPlace