Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #110: Validate patch documents during creation. | Dave Shawley | 2020-11-17 | 1 | -0/+3 |
| | |||||
* | Merge pull request #112 from Alanscut/issue-111 | Stefan Kögl | 2020-06-22 | 1 | -1/+7 |
|\ | | | | | fix #111: optimizing exception message | ||||
| * | fix #111: optimizing exception message | Alanscut | 2020-05-23 | 1 | -1/+7 |
| | | |||||
* | | fix #102: optimize error handling | Alanscut | 2020-06-09 | 1 | -0/+3 |
|/ | |||||
* | Fixed some typos and wording | vavanade | 2020-02-27 | 1 | -17/+17 |
| | |||||
* | Merge pull request #106 from blakehilliard/only-type-diff | Stefan Kögl | 2020-01-29 | 1 | -4/+11 |
|\ | | | | | Fix issue not recognizing that, in JSON, 1 != 1.0 != True | ||||
| * | Added comment. | Jonathan Hilliard | 2020-01-28 | 1 | -0/+7 |
| | | |||||
| * | Changing previous type comparison to just comparing how json.dumps renders 2 ↵ | Jonathan Hilliard | 2020-01-28 | 1 | -1/+1 |
| | | | | | | | | | | | | values. This avoids flagging mismatches between classes which happen to be different but which are JSONified as the same thing. | ||||
| * | Flagging type-only changes with DiffBuilder | Jonathan Hilliard | 2020-01-28 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #96 from gdraynz/replace-array-indexerror | Stefan Kögl | 2020-01-28 | 1 | -1/+1 |
|\ \ | |/ |/| | Ensure an item is within the upper array boundaries before replacing it | ||||
| * | Ensure an item is within the upper array boundaries before replacing it | Guillaume Desvé | 2019-05-16 | 1 | -1/+1 |
| | | |||||
* | | bump version | Igor Tkach | 2019-07-22 | 1 | -1/+1 |
| | | |||||
* | | Merge tag 'v1.23' | Igor Tkach | 2019-07-22 | 1 | -1/+1 |
|\ \ | | | | | | | | | | release v1.23 | ||||
| * | | Bump version to 1.23v1.23 | Stefan Kögl | 2018-04-02 | 1 | -1/+1 |
| | | | |||||
* | | | Fix move for numeric dictionary keys (issue #97) | Igor Tkach | 2019-06-28 | 1 | -1/+1 |
| |/ |/| | |||||
* | | better exception when unable to fully resolve a jsonpointer on add or ↵ | Guillaume Pujol | 2018-07-17 | 1 | -3/+8 |
|/ | | | | | replace operations When a "path" jsonpointer in a add or replace operation points to a non-resolvable inner element, raise a JsonPatchConflict with a clear error message rather than a TypeError with an obscure message | ||||
* | Merge pull request #75 from stefankoegl/jsonptr | Stefan Kögl | 2018-04-02 | 1 | -3/+12 |
|\ | | | | | Expect path/from attributes also as JsonPoiner instances (#60) | ||||
| * | Expect path/from attributes also as JsonPoiner instances (#60)jsonptr | Stefan Kögl | 2017-12-03 | 1 | -3/+12 |
| | | |||||
* | | Bump version to 1.22v1.22 | Stefan Kögl | 2018-04-02 | 1 | -1/+1 |
| | | |||||
* | | Remove ununsed imports and variables | Hugo | 2018-01-16 | 1 | -2/+0 |
| | | |||||
* | | Bump version to 1.21v1.21 | Stefan Kögl | 2017-12-30 | 1 | -1/+1 |
| | | |||||
* | | Remove extraneous 'value' field for op:remove (#76) | Brian Rosmaita | 2017-12-04 | 1 | -1/+0 |
|/ | | | | | | | | | | | | RFC 6902 section 4.2 [0] does not define a 'value' field for the 'remove' operation. The commit "Merge _op_base classes into PatchOperation classes" [1] introduced a 'value' field in _item_removed() in the DiffBuilder class. This patch removes the 'value' field from the 'remove' operation, adds a new test, and revises some other tests. [0] https://tools.ietf.org/html/rfc6902#section-4.2 [1] https://github.com/stefankoegl/python-json-patch/commit/03aa14e8209d59522476726d55bfabf86a28929e | ||||
* | Bump version to 1.20v1.20 | Stefan Kögl | 2017-11-25 | 1 | -1/+1 |
| | | | | | | | The next version would have been 1.17, but a bump to 1.20 was requested per #67 to fix an issue with versioning of the Debian package https://github.com/stefankoegl/python-json-patch/issues/67 | ||||
* | Merge branch 'jsondiff' | Stefan Kögl | 2017-11-25 | 1 | -279/+303 |
|\ | |||||
| * | Merge branch 'master' into jsondiff | Stefan Kögl | 2017-11-25 | 1 | -19/+3 |
| |\ | |||||
| * | | Fix unicode dict keys in Python 2 | Stefan Kögl | 2017-09-10 | 1 | -0/+2 |
| | | | |||||
| * | | Improve optimizations | Stefan Kögl | 2017-09-10 | 1 | -2/+11 |
| | | | |||||
| * | | Code style | Stefan Kögl | 2017-09-10 | 1 | -13/+30 |
| | | | |||||
| * | | Rename old{path,key} to from_{path,key} | Stefan Kögl | 2017-09-10 | 1 | -18/+18 |
| | | | |||||
| * | | Simplify compatibility code | Stefan Kögl | 2017-09-10 | 1 | -18/+7 |
| | | | |||||
| * | | Redefine _compare_info class as DiffBuilder | Stefan Kögl | 2017-09-10 | 1 | -98/+98 |
| | | | |||||
| * | | Break long lines | Stefan Kögl | 2017-09-10 | 1 | -6/+30 |
| | | | |||||
| * | | Merge _op_base classes into PatchOperation classes | Stefan Kögl | 2017-09-10 | 1 | -112/+113 |
| | | | |||||
| * | | Remove re-creation of no-optimization patch | Stefan Kögl | 2017-09-10 | 1 | -12/+1 |
| | | | |||||
| * | | Drop in patch creation from jsondiff | Stefan Kögl | 2017-09-10 | 1 | -263/+256 |
| | | | | | | | | | | | | https://github.com/nxsofsys/jsondiff | ||||
* | | | Avoid overriding json.load (fixes #37)jsonload-no-override | Stefan Kögl | 2017-10-21 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Remove support for Python 2.6 | Stefan Kögl | 2017-10-21 | 1 | -19/+3 |
|/ | |||||
* | Remove trailing whitespace | Stefan Kögl | 2017-09-10 | 1 | -2/+2 |
| | |||||
* | fixing array diff bug (issue #30) | thunderstruck47 | 2017-07-26 | 1 | -2/+5 |
| | |||||
* | Merge commit '1fc5e2022ff2c5796bd28af56646b135ede4ee71' | Stefan Kögl | 2017-07-17 | 1 | -1/+1 |
|\ | |||||
| * | Bump version to 1.16v1.16 | Stefan Kögl | 2017-06-15 | 1 | -1/+1 |
| | | |||||
* | | Avoid double work (#62) | Tristan Seligmann | 2017-07-09 | 1 | -1/+1 |
|/ | | | In the case where the optimized patch is not invalid, we shouldn't need to calculate the patch again. | ||||
* | don't apply patch optimization when it's incorrect | Kostya | 2017-04-27 | 1 | -4/+15 |
| | |||||
* | Fix: optimization bugs #55, #54, add more tests | kostya | 2017-03-08 | 1 | -1/+10 |
| | |||||
* | bump version to 1.15v1.15 | Stefan Kögl | 2017-01-12 | 1 | -1/+1 |
| | |||||
* | bump version to 1.14 | Stefan Kögl | 2017-01-12 | 1 | -1/+1 |
| | |||||
* | Use inspect.signature() on Python 3 | Victor Stinner | 2016-07-22 | 1 | -2/+5 |
| | | | | | The inspect.getargspec() function has been deprecated in Python 3: https://docs.python.org/3/library/inspect.html#inspect.getargspec | ||||
* | Fix KeyError in add/remove optimization | Kirill Goldshtein | 2016-05-04 | 1 | -1/+1 |
| | |||||
* | bump version to 1.13v1.13 | Stefan Kögl | 2016-02-13 | 1 | -1/+1 |
| | |||||
* | Make ``move`` operation with from == path a no-op | Stefan Kögl | 2016-02-13 | 1 | -0/+4 |
| |