summaryrefslogtreecommitdiff
path: root/jsonpatch.py
Commit message (Collapse)AuthorAgeFilesLines
* Expect path/from attributes also as JsonPoiner instances (#60)jsonptrStefan Kögl2017-12-031-3/+12
|
* Bump version to 1.20v1.20Stefan Kögl2017-11-251-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ögl2017-11-251-279/+303
|\
| * Merge branch 'master' into jsondiffStefan Kögl2017-11-251-19/+3
| |\
| * | Fix unicode dict keys in Python 2Stefan Kögl2017-09-101-0/+2
| | |
| * | Improve optimizationsStefan Kögl2017-09-101-2/+11
| | |
| * | Code styleStefan Kögl2017-09-101-13/+30
| | |
| * | Rename old{path,key} to from_{path,key}Stefan Kögl2017-09-101-18/+18
| | |
| * | Simplify compatibility codeStefan Kögl2017-09-101-18/+7
| | |
| * | Redefine _compare_info class as DiffBuilderStefan Kögl2017-09-101-98/+98
| | |
| * | Break long linesStefan Kögl2017-09-101-6/+30
| | |
| * | Merge _op_base classes into PatchOperation classesStefan Kögl2017-09-101-112/+113
| | |
| * | Remove re-creation of no-optimization patchStefan Kögl2017-09-101-12/+1
| | |
| * | Drop in patch creation from jsondiffStefan Kögl2017-09-101-263/+256
| | | | | | | | | | | | https://github.com/nxsofsys/jsondiff
* | | Avoid overriding json.load (fixes #37)jsonload-no-overrideStefan Kögl2017-10-211-2/+2
| |/ |/|
* | Remove support for Python 2.6Stefan Kögl2017-10-211-19/+3
|/
* Remove trailing whitespaceStefan Kögl2017-09-101-2/+2
|
* fixing array diff bug (issue #30)thunderstruck472017-07-261-2/+5
|
* Merge commit '1fc5e2022ff2c5796bd28af56646b135ede4ee71'Stefan Kögl2017-07-171-1/+1
|\
| * Bump version to 1.16v1.16Stefan Kögl2017-06-151-1/+1
| |
* | Avoid double work (#62)Tristan Seligmann2017-07-091-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 incorrectKostya2017-04-271-4/+15
|
* Fix: optimization bugs #55, #54, add more testskostya2017-03-081-1/+10
|
* bump version to 1.15v1.15Stefan Kögl2017-01-121-1/+1
|
* bump version to 1.14Stefan Kögl2017-01-121-1/+1
|
* Use inspect.signature() on Python 3Victor Stinner2016-07-221-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 optimizationKirill Goldshtein2016-05-041-1/+1
|
* bump version to 1.13v1.13Stefan Kögl2016-02-131-1/+1
|
* Make ``move`` operation with from == path a no-opStefan Kögl2016-02-131-0/+4
|
* Optimize "deep" ``replace`` operation, fixes #36Stefan Kögl2016-02-131-3/+10
|
* bump version to 1.12v1.12v112Stefan Kögl2015-11-031-1/+1
|
* Fix bug in _split_by_common_seq using wrong range in right subtreeAlex Pinkney2015-11-031-1/+1
|
* bump version to 1.11v1.11Stefan Kögl2015-05-081-1/+1
|
* bump version to 1.10Stefan Kögl2015-05-071-1/+1
|
* bump version to 1.9v1.9Stefan Kögl2014-11-031-1/+1
|
* Use ABCs instead of list/dict, fixes #33Stefan Kögl2014-11-031-10/+19
|
* bump version to 1.8v1.8Stefan Kögl2014-09-261-1/+1
|
* raise JsonPatchException on missing patch attributesStefan Kögl2014-07-031-13/+41
|
* bump version to 1.7v1.7Stefan Kögl2014-07-031-1/+1
|
* bump version to 1.6v1.6Stefan Kögl2014-06-241-1/+1
|
* Fix make_patch() when root is an array (fixes #28)Stefan Kögl2014-06-241-1/+1
|
* Merge branch 'remove-error' of https://github.com/umago/python-json-patchStefan Kögl2014-04-101-1/+2
|\ | | | | | | | | Conflicts: jsonpatch.py
| * Improve error message when removing non-existent objectsLucas Alvares Gomes2014-04-071-1/+2
| |
* | bump version to 1.5v1.5Stefan Kögl2014-03-221-1/+1
| |
* | fix make_patch where obj keys contain "/", fixes #26Stefan Kögl2014-03-221-8/+12
| |
* | Optimize jsonpatch.make_patch for lists. Fixes #24Alexander Shorin2014-03-221-22/+234
| | | | | | | | | | | | | | | | | | This optimization tries to work only with really different lists subsequences and trying to preserve as much as possible common ones. This reduces overall of generated operations since now it's possible to simple insertions. Also, it converts pairs of remove-add operations into single replace (if target path is the same) or move (if target value is the same).
* | Catch KeyError when accessing the sub-doc itemsLucas Alvares Gomes2014-02-031-3/+9
|/
* allow moving array items into other items in same arrayJohan Forsberg2014-01-111-1/+1
|
* Fix equality tests for Python 3.xAlexander Shorin2013-11-121-1/+1
| | | | | Since map() returns generator in 3.x, it's not possible to compare them without unwrap.
* Keep things simpleAlexander Shorin2013-11-121-7/+1
|