Repository navigation
Releases
Releases Β· stefankoegl/python-json-patch
1.45
What's Changed
- Add opt-in JsonPatchWithAppend for string appends by @jeonsworld in #171
- Add path_split and path_join utility functions by @stefankoegl in #256
New Contributors
- @jeonsworld made their first contribution in #171
Full Changelog: v1.44...v1.45
1.44
What's Changed
- Return concrete types in type stubs by @stephenfin in #255
New Contributors
- @stephenfin made their first contribution in #255
Full Changelog: v1.43...v1.44
1.43
What's Changed
- Copy generated patch values independently of input documents by @Aminark in #253
- Close jsondiff input files after loading documents by @arin30 in #254
New Contributors
Full Changelog: v1.42...v1.43
1.42
What's Changed
- Raise JsonPatchPathNotFound for operations on missing locations by @stefankoegl in #250 and #252
- Add opt-in atomic application of in-place patches by @stefankoegl in #251
Full Changelog: v1.41...v1.42
1.41
What's Changed
- Ship type stubs as a jsonpatch-stubs package by @stefankoegl in #249
Note: If you have types-jsonpatch installed, uninstall it before upgrading. It pins jsonpatch to 1.32, and uninstalling it later deletes jsonpatchβs own stubs. If you already upgraded, uninstall it and then run pip install --force-reinstall jsonpatch.
Full Changelog: v1.40...v1.41
1.40
What's Changed
- Reject invalid CLI patches before modifying the input file by @PerchAnton in #246
- Attach failing operation to JsonPatchException as
opby @sammaphey and @stefankoegl in #247 - Add option to generate test operations in diffs by @RobertCochran and @stefankoegl in #248
Full Changelog: v1.39...v1.40
1.39
What's Changed
- Test that the code examples in the docs run and match their output by @stefankoegl in #244
- Raise JsonPatchConflict when removing from immutable containers by @boogu2005 in #245
- docs: explain copy and in-place behavior when a patch fails by @PerchAnton in #243
New Contributors
- @boogu2005 made their first contribution in #245
- @PerchAnton made their first contribution in #243
Full Changelog: v1.38...v1.39
1.38
What's Changed
- Document whole-document results and root replacement by @ShahadatTest in #240
- Preserve one-shot operation iterators during patch validation by @Apeksha9389 in #234
- Clean temporary output after fdopen setup failure by @ShahadatTest in #241
- Extend CI: lint, package build, docs build, PyPy, Windows/macOS by @stefankoegl in #242
New Contributors
- @ShahadatTest made their first contribution in #240
Full Changelog: v1.37...v1.38
1.37
What's Changed
- Clean up in-place output after write errors by @pacocartones in #235
- Reject invalid patch document containers by @JackyHsu-X in #236
- Use UTF-8 for JSON command-line file I/O by @KennyMcSimpson in #238
- Handle source pointer objects in move location helpers by @ice-pring in #237
New Contributors
- @pacocartones made their first contribution in #235
- @JackyHsu-X made their first contribution in #236
- @KennyMcSimpson made their first contribution in #238
- @ice-pring made their first contribution in #237
Full Changelog: v1.36...v1.37
1.36
What's Changed
- Honor optimization=False when generating patches by @Apeksha9389 in #233
- Preserve the original file when in-place CLI replacement fails by @xingzhao-ji in #232
New Contributors
- @Apeksha9389 made their first contribution in #233
- @xingzhao-ji made their first contribution in #232
Full Changelog: v1.35...v1.36