Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stefankoegl/python-json-patch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.38
Choose a base ref
...
head repository: stefankoegl/python-json-patch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.39
Choose a head ref
  • 7 commits
  • 6 files changed
  • 4 contributors

Commits on Oct 27, 2026

  1. docs: explain patch failure with copy and in-place modes

    Anton Pepperok
    Anton Pepperok committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    4ad8ccd View commit details
    Browse the repository at this point in the history
  2. Test that the code examples in the docs run and match their output

    Add DocumentationTests to tests.py:
    
    * test_tutorial runs doc/tutorial.rst as a doctest.
    * test_commandline runs the "$ " shell sessions of the bash code blocks
      in doc/commandline.rst against the CLI of this checkout and compares
      stdout with the documented output. "$ cat FILE" provides the example
      input files.
    
    The new tests uncovered several broken examples, which are fixed:
    
    * tutorial: multi-line statements lacked "..." continuation prompts,
      from_string() was called with a placeholder string, results were shown
      for assignments, and the result of from_string() was discarded.
    * commandline: jsondiff output used an outdated operation order and key
      order, jsondiff prints nothing (not "[]") for equal files, and the
      usage texts were outdated.
    
    simplejson is added to the dev requirements for the tutorial examples, and
    the doc sources are shipped in the sdist, which already includes tests.py.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01PewzpkVb4tA4eWEkCzH9vT
    claude committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    ddf6611 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c8240c View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2026

  1. Configuration menu
    Copy the full SHA
    24a7385 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #245 from boogu2005/codex/immutable-remove-conflict

    Raise JsonPatchConflict when removing from immutable containers
    stefankoegl authored Nov 1, 2026
    Configuration menu
    Copy the full SHA
    20add79 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #243 from PerchAnton/python-json-patch/docs-failed…

    …-application
    
    docs: explain copy and in-place behavior when a patch fails
    stefankoegl authored Nov 1, 2026
    Configuration menu
    Copy the full SHA
    8ce98a6 View commit details
    Browse the repository at this point in the history
  4. bump version to 1.39

    stefankoegl committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    152919e View commit details
    Browse the repository at this point in the history
Loading