summaryrefslogtreecommitdiff
path: root/jsonpatch.py
Commit message (Collapse)AuthorAgeFilesLines
* fix #110: Validate patch documents during creation.Dave Shawley2020-11-171-0/+3
|
* Merge pull request #112 from Alanscut/issue-111Stefan Kögl2020-06-221-1/+7
|\ | | | | fix #111: optimizing exception message
| * fix #111: optimizing exception messageAlanscut2020-05-231-1/+7
| |
* | fix #102: optimize error handlingAlanscut2020-06-091-0/+3
|/
* Fixed some typos and wordingvavanade2020-02-271-17/+17
|
* Merge pull request #106 from blakehilliard/only-type-diffStefan Kögl2020-01-291-4/+11
|\ | | | | Fix issue not recognizing that, in JSON, 1 != 1.0 != True
| * Added comment.Jonathan Hilliard2020-01-281-0/+7
| |
| * Changing previous type comparison to just comparing how json.dumps renders 2 ↵Jonathan Hilliard2020-01-281-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 DiffBuilderJonathan Hilliard2020-01-281-4/+4
| |
* | Merge pull request #96 from gdraynz/replace-array-indexerrorStefan Kögl2020-01-281-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 itGuillaume Desvé2019-05-161-1/+1
| |
* | bump versionIgor Tkach2019-07-221-1/+1
| |
* | Merge tag 'v1.23'Igor Tkach2019-07-221-1/+1
|\ \ | | | | | | | | | release v1.23
| * | Bump version to 1.23v1.23Stefan Kögl2018-04-021-1/+1
| | |
* | | Fix move for numeric dictionary keys (issue #97)Igor Tkach2019-06-281-1/+1
| |/ |/|
* | better exception when unable to fully resolve a jsonpointer on add or ↵Guillaume Pujol2018-07-171-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/jsonptrStefan Kögl2018-04-021-3/+12
|\ | | | | Expect path/from attributes also as JsonPoiner instances (#60)
| * Expect path/from attributes also as JsonPoiner instances (#60)jsonptrStefan Kögl2017-12-031-3/+12
| |
* | Bump version to 1.22v1.22Stefan Kögl2018-04-021-1/+1
| |
* | Remove ununsed imports and variablesHugo2018-01-161-2/+0
| |
* | Bump version to 1.21v1.21Stefan Kögl2017-12-301-1/+1
| |
* | Remove extraneous 'value' field for op:remove (#76)Brian Rosmaita2017-12-041-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.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
|