Releases
v1.3.0
1.3.0 (2023-06-02)
Bug Fixes
added jsdom for jest (ad84bec )
added string diff to getChanges (82f156a )
array diffs handle insert at head (530596c )
avoid strings with no common subsequences (4782766 )
clone old state to avoid pass by reference (30593fb )
diff ignores functions in objects on deletion (9a287de )
diff indices not being offset after adds (b4d3d9b )
diff now handles complicated change sequences properly (baa3c01 )
downgraded typescript and added @types/jest (fa5e548 )
refactored patchStore to use new getChanges (bef2732 )
removed excess logic for when a or b are empty strings (31d93d0 )
simplified object and array diff with helper (5e4a5f4 )
tested string to YText conversion (8f60467 )
Features
added string patching for store (0c0ffe1 )
added string to YText mapping (d65f5a0 )
added YText patching (d21b785 )
array diff now nests string diffs (7f85523 )
implemented base text diff algorithm (2e833bf )
object diff now handles string values (459b88f )
text support #40 (f571511 )
updated basic diff algorithm to produce change lists (df45cfb )
You can’t perform that action at this time.