Skip to content

Releases: Starcounter-Jack/JSON-Patch

Performance improvement for `compare` and `generate`

23 Feb 16:07
Compare
Choose a tag to compare
  • Huge performance improvement for compare and generate of the same objects - #149 thanks to @KamranAsif

1.1.6

17 Feb 11:48
Compare
Choose a tag to compare

Respect toJSON method

14 Feb 11:31
Compare
Choose a tag to compare

Add ES6 modules support

10 Jan 11:34
Compare
Choose a tag to compare

Used as such:

import jsonpatch from 'fast-json-patch';

Add "change" event listener back again

16 Dec 14:37
Compare
Choose a tag to compare
  • add dirty checking on "change" event (Palindrom/Palindrom#106)

    This becomes obsolete when we switch to ES6 Proxy, but it will take some time still

  • add CLI tests and benchmark, integrate with Travis CI

Bug fixes

21 Nov 16:22
Compare
Choose a tag to compare

Fixed:

More checks for `.validate`

26 Sep 17:36
Compare
Choose a tag to compare

Validate now check for paths that does not start with / - #77

1.1.0

11 Sep 09:59
Compare
Choose a tag to compare

PS. command line tests are not running due to jasmine/jasmine-npm#88

Minor fixes

08 Sep 13:42
Compare
Choose a tag to compare
  • OriginalEvent and __extends globals were moved to local scope - #120 (481efa4)
  • //# sourceMappingURL=json-patch-duplex.js.map line was removed from compiled JS files - #117 8d0666b

1.0.0

21 Jun 16:16
Compare
Choose a tag to compare
  • change the way how undefined value is JS object is treated. Now, it will act as in JSON.stringify. See https://github.com/Starcounter-Jack/JSON-Patch#undefineds-js-to-json-projection for details (closes #105, #90, #60, #32)
  • change the way how dirty checking is triggered. Now only mouseup and keyup events trigger dirty checking. There is no additional interval-based checking (#103, #98)
  • use the same code for _objectKeys method in json-patch and json-patch-duplex (#85)
  • change return value of apply. Now it's an array with results of respective patches. Test results are booleans, replace, move and remove operations has removed elemnts as results.