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: python-jsonschema/jsonschema
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.2.1
Choose a base ref
...
head repository: python-jsonschema/jsonschema
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.3.0
Choose a head ref
  • 19 commits
  • 17 files changed
  • 4 contributors

Commits on Nov 8, 2021

  1. [pre-commit.ci] pre-commit autoupdate

    updates:
    - [github.com/PyCQA/isort: 5.9.3 → 5.10.0](PyCQA/isort@5.9.3...5.10.0)
    pre-commit-ci[bot] authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    89a98ca View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Merge pull request #882 from Julian/pre-commit-ci-update-config

    [pre-commit.ci] pre-commit autoupdate
    Julian authored Nov 10, 2021
    Configuration menu
    Copy the full SHA
    4735028 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. [pre-commit.ci] pre-commit autoupdate

    updates:
    - [github.com/PyCQA/isort: 5.10.0 → 5.10.1](PyCQA/isort@5.10.0...5.10.1)
    pre-commit-ci[bot] authored Nov 15, 2021
    Configuration menu
    Copy the full SHA
    201d501 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #883 from Julian/pre-commit-ci-update-config

    [pre-commit.ci] pre-commit autoupdate
    Julian authored Nov 15, 2021
    Configuration menu
    Copy the full SHA
    0cb3a4c View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. Update requirements.

    Julian committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    f72ae78 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Add jsonschema.protocols.IValidator

    This is a Protocol implementation for type checking under mypy and
    other static analyzers. It uses the protocol class defined in py3.8+
    and uses typing_extensions as a backport for py3.7
    
    The documentation-only validator class has been replaced with the
    protocol, and docs are now driven via autoclass on the protocol.
    
    Importantly, several documented methods of the class have been
    removed, as they were marked deprecated under jsonschema v3.0 and are
    no longer provided by the builtin validators.
    
    Minor adjustments to the docs are made to repoint references at the
    new class definition.
    sirosen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    7514426 View commit details
    Browse the repository at this point in the history
  2. Update docs/validate.rst

    Co-authored-by: Julian Berman <Julian@GrayVines.com>
    sirosen and Julian committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    5a99f6d View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Primarily, rewrite `IValidator` to `Validator`
    
    Co-authored-by: Julian Berman <Julian@GrayVines.com>
    sirosen and Julian committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    642a09f View commit details
    Browse the repository at this point in the history
  4. Update the doc requirements.

    Done to avoid the lxml advisory.
    
    GHSA-55x5-fj6c-h6m8
    Julian committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    c8059bc View commit details
    Browse the repository at this point in the history
  5. Fix references to IValidator; add protocol tests

    Several remaining cases referred to `IValidator` which is now just
    `Validtator`. Fix these.
    
    Add a test which ensures that all valdiators pass
    `isinstance(x, Validator)` using the runtime-checkable protocol.
    sirosen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    94dea8b View commit details
    Browse the repository at this point in the history
  6. Fix doc linting build

    This fixes `tox -e docs-style`
    `tox -e docs-linkcheck` is still failing (needs investigation)
    sirosen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    3a62925 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Configuration menu
    Copy the full SHA
    f9f8995 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #893 from Stranger6667/dd/uniq-bug

    perf: Undesired fallback to brute force container uniqueness check on certain input types
    Julian authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    ac7b838 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #890 from sirosen/add-validator-protocol

    Add `jsonschema.protocols.IValidator`
    Julian authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    4828032 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b193608 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1240a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92d93c1 View commit details
    Browse the repository at this point in the history
  7. Remove relative imports

    Julian committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    5b4d5b7 View commit details
    Browse the repository at this point in the history
  8. Shorten the protocol test.

    Julian committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    0878727 View commit details
    Browse the repository at this point in the history
Loading