summaryrefslogtreecommitdiff
path: root/jsonpatch.py
Commit message (Collapse)AuthorAgeFilesLines
* "add" op should overwrite existing field in objStefan Kögl2012-12-211-3/+0
|
* remove duplicate raise statementStefan Kögl2012-12-171-1/+0
|
* bump version to 0.11v0.11Stefan Kögl2012-12-141-2/+2
|
* remove Python 2.5 compatabilityStefan Kögl2012-12-141-18/+5
|
* fix exception handling for Python 2.5Stefan Kögl2012-12-141-2/+7
|
* various smaller bugfixesStefan Kögl2012-12-141-3/+9
|
* fix incorrect JsonPatch.__hash__(), fixes #11Stefan Kögl2012-12-141-1/+1
|
* use from/path instead of path/to for move, copyStefan Kögl2012-12-141-8/+8
|
* bump version to 0.9v0.9Stefan Kögl2012-11-261-1/+1
|
* bump version to 0.8v0.8Stefan Kögl2012-11-151-3/+4
|
* use jsonpointer, update to current spec draftStefan Kögl2012-11-151-49/+26
|
* bump version to 0.7v0.7Stefan Kögl2012-10-051-1/+1
|
* Fix compatibility with Python 3.xAlexander Shorin2012-10-051-2/+7
|
* bump version to 0.6, support for draft 5v0.6Stefan Kögl2012-09-281-2/+2
| | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-05
* implement __has__, __eq__ for JsonPatch, PatchOperationStefan Kögl2012-09-281-0/+23
|
* use new (more verbose) syntax from spec draft 5Stefan Kögl2012-09-281-27/+36
|
* bump version to 0.5v0.5Stefan Kögl2012-09-171-1/+1
| | | | | | Changes * add "copy" operation * negative "test" operation raises JsonPatchTestFailed exception
* update "test" behaviour according to latest specStefan Kögl2012-09-171-4/+15
|
* "copy" operation should copy by value, not by reference, fixes #8Stefan Kögl2012-09-141-1/+1
|
* add "copy" operation, fixes #7Stefan Kögl2012-09-111-1/+11
|
* ref current spec, add its new test caseStefan Kögl2012-09-051-1/+1
| | | | | | | | the updated spec [1] didn't change anything that would make a new version of python-json-patch necessary. This commit only updates the reference to the current version, and adds a new example [1] http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-03
* bump version to 0.4v0.4Stefan Kögl2012-07-181-1/+1
| | | | | Changes: * https://github.com/stefankoegl/python-json-patch/issues/4
* Fix issue #4.Alexander Shorin2012-07-151-12/+15
| | | | Patch creation from diff of two JSON documents was able to produce invalid instance if there was need to add more than 1 array element. In this situation, elements been tryed be added since higher index that is far outside of target. That's correct order if we removing array elements (from higher index to lower one), but we should add elements in reversed order (from lower index to higher).
* bump version to 0.3 (0.2 was uploaded previously)Stefan Kögl2012-06-221-1/+1
|
* fix doc typosStefan Kögl2012-06-221-1/+1
|
* bump version to 0.2Stefan Kögl2012-06-221-1/+1
|
* Make docs be more sphnix friendly.Alexander Shorin2012-06-211-5/+23
|
* Move `make_path` logic to JsonPatch.from_diff class method. Some docstring ↵Alexander Shorin2012-06-211-47/+69
| | | | fixes.
* Add __bool__ (__nonzero__) and __iter__ methods to JsonPatch.Alexander Shorin2012-06-161-0/+35
|
* Let apply_patch to handle patch as JSON-encoded string.Alexander Shorin2012-06-161-2/+8
|
* Add arguments description to docstrings.Alexander Shorin2012-06-161-1/+24
|
* Revert to original apply_patch() behavior and make f3f3410 changes optional.Alexander Shorin2012-01-051-8/+11
|
* Add support of Python 2.4 and 2.5 with simplejson.Alexander Shorin2011-12-251-1/+5
|
* Fix compatibility with Python 3.xAlexander Shorin2011-12-251-1/+1
|
* Convert JsonPatch instance to JSON string in nicer way.Alexander Shorin2011-12-251-0/+8
|
* Add make_patch function to generate JsonPatch by comparing of two documents.Alexander Shorin2011-12-251-0/+48
|
* Add docstrings and fix code style in favour to pylint.Alexander Shorin2011-12-251-32/+39
|
* Rework tests.Alexander Shorin2011-12-251-70/+28
|
* Do not hide any problems.Alexander Shorin2011-12-251-16/+13
|
* Reduce patch applying cost.Alexander Shorin2011-12-251-4/+1
| | | | Let the developer to decide does he wants to modify same object or copy of it. In other way test operation produces huge overhead for nothing.
* Bump supported specification versionAlexander Shorin2011-12-251-1/+1
|
* Add support for test operationAlexander Shorin2011-12-251-1/+30
|
* Add support for move operationAlexander Shorin2011-12-251-0/+22
|
* Remove unused `location' variableByron Ruth2011-09-171-1/+0
|
* Add JsonPatchConflict for patch conflictsByron Ruth2011-09-161-7/+11
| | | | | | This is necessary in order to differentiate between general processing errors e.g. bad operation and conflicts between the patch and the state of the data the patch is being applied to.
* add shortcut jsonpatch.apply_patch(doc, patch)Stefan Kögl2011-06-201-0/+12
|
* initial commitStefan Kögl2011-06-181-0/+221