Skip to content

Releases: Palindrom/JSONPatcherProxy

ES6 Modules, fixes, refactors

02 Sep 08:57
Compare
Choose a tag to compare
Pre-release
  • Export JSONPatcherProxy as ES Module #57
  • Inform about the patch mutability #55
  • Fix strict mode #54
  • Remove lodash devDependency #53
  • Don't generate patch for a no-change set operation #45
  • Do not proxify objects that are values of non-patchable array properties #47
  • Improve/refactor tests and benchmarks #42
  • Refactor for better code readability #36
  • Bumped deps versions #34
  • Updated TS definitions #29, #30, #31, #32

Full list of changes
v0.0.10...0.1.0-0

Warn when array props are accessed

30 Aug 09:45
Compare
Choose a tag to compare

Doing [].prop = 1 does not produce a patch. Warn users when they access array props.

Reflect before notifying about mutations

08 Nov 10:34
Compare
Choose a tag to compare

JSONPatcherProxy used to call the observer's callback before it reflected changes, giving access to outdated information. This is fixed now. Thanks to @warpech.

All details: #21