Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix invalid remove index | Vu-Hoang Phan | 2021-04-06 | 1 | -0/+6 |
| | |||||
* | FIX: TypeError when one forgot to put its operation in a list. | Julien Palard | 2021-03-21 | 1 | -0/+6 |
| | |||||
* | closes #129 | Bock | 2021-03-11 | 1 | -0/+9 |
| | |||||
* | Fix make_patch | Ryan Marvin | 2021-02-01 | 1 | -0/+55 |
| | |||||
* | test: fix | Artyom Nikitin | 2020-11-24 | 1 | -2/+4 |
| | |||||
* | test: custom operations | Artyom Nikitin | 2020-11-23 | 1 | -0/+26 |
| | |||||
* | Merge branch 'master' into feature/custom-pointer | Artyom Nikitin | 2020-11-23 | 1 | -1/+141 |
|\ | | | | | | | | | | | # Conflicts: # jsonpatch.py # tests.py | ||||
| * | Merge pull request #116 from dave-shawley/validate-patch-doc | Stefan Kögl | 2020-11-20 | 1 | -0/+81 |
| |\ | | | | | | | Fix #110 - validate patch document during creation | ||||
| | * | Add tests for operation doc structure. | Dave Shawley | 2020-11-17 | 1 | -0/+64 |
| | | | |||||
| | * | fix #110: Validate patch documents during creation. | Dave Shawley | 2020-11-17 | 1 | -0/+17 |
| | | | |||||
| * | | Merge pull request #108 from paperlessreceipts/custom-types | Stefan Kögl | 2020-11-20 | 1 | -0/+58 |
| |\ \ | | |/ | |/| | Make it possible for from_diff to support custom types (issue #107) | ||||
| | * | Subclassing can override json dumper and loader | Christian Lyder Jacobsen | 2020-03-06 | 1 | -8/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally: * from_string gets a loads parameter * to_string gets a dumps_parameter * documentation added * added more tests | ||||
| | * | Make it possible for from_diff to support custom types (issue #107) | Christian Lyder Jacobsen | 2020-01-31 | 1 | -0/+15 |
| | | | |||||
* | | | tests: moar | Artyom Nikitin | 2020-11-17 | 1 | -0/+38 |
| | | | |||||
* | | | style: fix typo | Artyom Nikitin | 2020-11-17 | 1 | -1/+1 |
| | | | |||||
* | | | test: fix for py27 | Artyom Nikitin | 2020-11-17 | 1 | -24/+26 |
| | | | |||||
* | | | test: add toy jsonpointer example | Artyom Nikitin | 2020-11-17 | 1 | -0/+11 |
| | | | |||||
* | | | test: update | Artyom Nikitin | 2020-11-16 | 1 | -0/+2 |
| | | | |||||
* | | | test: add more tests | Artyom Nikitin | 2020-11-15 | 1 | -0/+22 |
| | | | |||||
* | | | test: custo json pointer | Artyom Nikitin | 2020-11-13 | 1 | -0/+54 |
|/ / | |||||
* | | fix #111: optimizing exception message | Alanscut | 2020-05-23 | 1 | -0/+11 |
|/ | |||||
* | Merge pull request #106 from blakehilliard/only-type-diff | Stefan Kögl | 2020-01-29 | 1 | -0/+18 |
|\ | | | | | Fix issue not recognizing that, in JSON, 1 != 1.0 != True | ||||
| * | Test to reproduce: | Jonathan Hilliard | 2020-01-28 | 1 | -0/+18 |
| | | | | | | | | | | https://github.com/stefankoegl/python-json-patch/issues/90 https://github.com/stefankoegl/python-json-patch/issues/103 | ||||
* | | Merge pull request #96 from gdraynz/replace-array-indexerror | Stefan Kögl | 2020-01-28 | 1 | -0/+5 |
|\ \ | |/ |/| | 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 | -0/+5 |
| | | |||||
* | | Fix move for numeric dictionary keys (issue #97) | Igor Tkach | 2019-06-28 | 1 | -0/+9 |
|/ | |||||
* | Merge pull request #75 from stefankoegl/jsonptr | Stefan Kögl | 2018-04-02 | 1 | -0/+22 |
|\ | | | | | 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 | -0/+22 |
| | | |||||
* | | Remove ununsed imports and variables | Hugo | 2018-01-16 | 1 | -1/+1 |
| | | |||||
* | | Remove extraneous 'value' field for op:remove (#76) | Brian Rosmaita | 2017-12-04 | 1 | -2/+16 |
|/ | | | | | | | | | | | | 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 | ||||
* | Add test case for issue reported in #41 | Stefan Kögl | 2017-11-25 | 1 | -0/+10 |
| | |||||
* | Add test case for issue reported in #74 | Stefan Kögl | 2017-11-25 | 1 | -0/+11 |
| | |||||
* | Improve optimizations | Stefan Kögl | 2017-09-10 | 1 | -4/+11 |
| | |||||
* | Re-enable previously disabled optimization tests | Stefan Kögl | 2017-09-10 | 1 | -6/+2 |
| | |||||
* | Remove trailing whitespace | Stefan Kögl | 2017-09-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #65 from thunderstruck47/master | Stefan Kögl | 2017-09-10 | 1 | -1/+9 |
|\ | | | | | fixing array diff bug (issue #30) | ||||
| * | added a test case for issue #30 | thunderstruck47 | 2017-07-26 | 1 | -1/+9 |
| | | |||||
* | | Disable tests for disabled optimizations | Stefan Kögl | 2017-09-03 | 1 | -2/+6 |
| | | |||||
* | | Merge branch 'list_tests@v1.13' into list_tests | Stefan Kögl | 2017-09-03 | 1 | -7/+48 |
|\ \ | |/ |/| | | | https://github.com/selurvedu/python-json-patch | ||||
| * | Merge branch 'list_tests@v1.9' into list_tests@v1.13 | selurvedu | 2016-04-08 | 1 | -7/+48 |
| |\ | | | | | | | | | | | | | Conflicts: tests.py | ||||
| | * | Move list-related testcases into separate class | selurvedu | 2016-04-08 | 1 | -0/+4 |
| | | | |||||
| | * | Update tests from ea80865 to run on Python 3.2 | selurvedu | 2016-04-08 | 1 | -8/+8 |
| | | | |||||
| | * | added error-prone cases to default tests | Stas Erema | 2016-04-08 | 1 | -0/+32 |
| | | | |||||
| | * | Allow longer patches in test_use_move_... | selurvedu | 2016-04-08 | 1 | -2/+3 |
| | | | |||||
| | * | Extend tests that check list patching | selurvedu | 2016-04-08 | 1 | -7/+11 |
| | | | |||||
* | | | don't apply patch optimization when it's incorrect | Kostya | 2017-04-27 | 1 | -2/+11 |
| | | | |||||
* | | | Fix: python 3.2 tests | kostya | 2017-03-08 | 1 | -1/+1 |
| | | | |||||
* | | | Fix: optimization bugs #55, #54, add more tests | kostya | 2017-03-08 | 1 | -23/+87 |
| | | | |||||
* | | | Fix KeyError in add/remove optimization | Kirill Goldshtein | 2016-05-04 | 1 | -0/+9 |
|/ / | |||||
* | | Remove import of ``pudb`` | Stefan Kögl | 2016-02-13 | 1 | -2/+0 |
| | |