Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [pre-commit.ci] pre-commit autoupdatepre-commit-ci-update-config | pre-commit-ci[bot] | 2021-12-27 | 1 | -1/+1 |
| | | | | | updates: - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0) | ||||
* | Add v4.3.2 to the changelog. | Julian Berman | 2021-12-20 | 1 | -0/+5 |
| | |||||
* | Privated.v4.3.2 | Julian Berman | 2021-12-19 | 1 | -3/+3 |
| | |||||
* | Merge remote-tracking branch 'Stranger6667/dd/more-ref-cache' | Julian Berman | 2021-12-19 | 1 | -16/+39 |
|\ | | | | | | | | | * Stranger6667/dd/more-ref-cache: perf: Cache subschemas | ||||
| * | perf: Cache subschemas | Dmitry Dygalo | 2021-12-18 | 1 | -16/+39 |
|/ | |||||
* | v4.3.1 -> CHANGELOGv4.3.1 | Julian Berman | 2021-12-16 | 1 | -1/+5 |
| | |||||
* | Merge remote-tracking branch 'Stranger6667/dd/cache-ref-resolving' | Julian Berman | 2021-12-16 | 2 | -12/+35 |
|\ | | | | | | | | | | | | | | | * Stranger6667/dd/cache-ref-resolving: docs: Update changelog perf: Replace the `Validator.evolve` method with an equivalent class attribute perf: Use cached lookups for resolving fragments if the referent document is known perf: Cache reference lookups for subschemas | ||||
| * | docs: Update changelog | Dmitry Dygalo | 2021-12-16 | 1 | -3/+1 |
| | | |||||
| * | perf: Replace the `Validator.evolve` method with an equivalent class attribute | Dmitry Dygalo | 2021-12-16 | 2 | -3/+2 |
| | | |||||
| * | perf: Use cached lookups for resolving fragments if the referent document is ↵ | Dmitry Dygalo | 2021-12-16 | 2 | -3/+18 |
| | | | | | | | | known | ||||
| * | perf: Cache reference lookups for subschemas | Dmitry Dygalo | 2021-12-15 | 2 | -7/+18 |
|/ | |||||
* | Shorten the protocol test.v4.3.0 | Julian Berman | 2021-12-15 | 1 | -15/+3 |
| | |||||
* | Remove relative imports | Julian Berman | 2021-12-15 | 4 | -6/+7 |
| | |||||
* | Schemas can be bools too in newer drafts. | Julian Berman | 2021-12-15 | 1 | -4/+4 |
| | |||||
* | Remove a last use of 'interface' instead of 'protocol'. | Julian Berman | 2021-12-15 | 1 | -1/+1 |
| | |||||
* | Minor CHANGELOG twiddling in prep for v4.3.0. | Julian Berman | 2021-12-15 | 1 | -1/+5 |
| | |||||
* | Merge pull request #890 from sirosen/add-validator-protocol | Julian Berman | 2021-12-15 | 12 | -157/+209 |
|\ | | | | | Add `jsonschema.protocols.IValidator` | ||||
| * | Fix doc linting build | Stephen Rosen | 2021-12-13 | 2 | -3/+4 |
| | | | | | | | | | | This fixes `tox -e docs-style` `tox -e docs-linkcheck` is still failing (needs investigation) | ||||
| * | Fix references to IValidator; add protocol tests | Stephen Rosen | 2021-12-13 | 7 | -10/+32 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | Apply suggestions from code review | Stephen Rosen | 2021-12-13 | 6 | -14/+15 |
| | | | | | | | | | | | | Primarily, rewrite `IValidator` to `Validator` Co-authored-by: Julian Berman <Julian@GrayVines.com> | ||||
| * | Update docs/validate.rst | Stephen Rosen | 2021-12-13 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Julian Berman <Julian@GrayVines.com> | ||||
| * | Add `jsonschema.protocols.IValidator` | Stephen Rosen | 2021-12-13 | 7 | -145/+173 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #893 from Stranger6667/dd/uniq-bug | Julian Berman | 2021-12-15 | 2 | -1/+4 |
|\ \ | | | | | | | perf: Undesired fallback to brute force container uniqueness check on certain input types | ||||
| * | | perf: Undesired fallback to brute force container uniqueness check on ↵ | Dmitry Dygalo | 2021-12-15 | 2 | -1/+4 |
|/ / | | | | | | | certain input types | ||||
* | | Update the doc requirements. | Julian Berman | 2021-12-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Done to avoid the lxml advisory. https://github.com/advisories/GHSA-55x5-fj6c-h6m8 | ||||
* | | Update requirements. | Julian Berman | 2021-12-11 | 1 | -19/+21 |
|/ | |||||
* | Merge pull request #883 from Julian/pre-commit-ci-update-config | Julian Berman | 2021-11-15 | 1 | -1/+1 |
|\ | | | | | [pre-commit.ci] pre-commit autoupdate | ||||
| * | [pre-commit.ci] pre-commit autoupdate | pre-commit-ci[bot] | 2021-11-15 | 1 | -1/+1 |
|/ | | | | | updates: - [github.com/PyCQA/isort: 5.10.0 → 5.10.1](https://github.com/PyCQA/isort/compare/5.10.0...5.10.1) | ||||
* | Merge pull request #882 from Julian/pre-commit-ci-update-config | Julian Berman | 2021-11-10 | 1 | -1/+1 |
|\ | | | | | [pre-commit.ci] pre-commit autoupdate | ||||
| * | [pre-commit.ci] pre-commit autoupdate | pre-commit-ci[bot] | 2021-11-08 | 1 | -1/+1 |
|/ | | | | | updates: - [github.com/PyCQA/isort: 5.9.3 → 5.10.0](https://github.com/PyCQA/isort/compare/5.9.3...5.10.0) | ||||
* | v4.2.1 -> CHANGELOGv4.2.1 | Julian Berman | 2021-11-05 | 1 | -0/+5 |
| | |||||
* | Merge pull request #877 from sevein/dev/issue-876-importlib-resources-constraint | Julian Berman | 2021-11-05 | 1 | -1/+1 |
|\ | | | | | Add version constraint to importlib_resources | ||||
| * | Add version constraint to importlib_resources | Jesús García Crespo | 2021-11-05 | 1 | -1/+1 |
|/ | |||||
* | v4.2.0 -> CHANGELOGv4.2.0 | Julian Berman | 2021-11-03 | 1 | -0/+7 |
| | |||||
* | Add in some missing internal draft2019-09 tests. | Julian Berman | 2021-11-03 | 1 | -0/+6 |
| | |||||
* | Merge pull request #875 from DrGFreeman/866-unique-items-more-than-two | Julian Berman | 2021-11-03 | 2 | -61/+2 |
|\ | | | | | Ensure all elements of arrays are verified for uniqueness | ||||
| * | Ensure all items of array are checked for uniqueness | DrGFreeman | 2021-11-03 | 1 | -1/+2 |
| | | | | | | | | | | Fix bug where the function would return (True) early if the first two items of the array are unique, preventing verification of other array items. | ||||
| * | Revert "Temporarily skip the failing tests from #866." | DrGFreeman | 2021-11-03 | 1 | -60/+0 |
|/ | | | | This reverts commit ed4693ca07c912f7640997f67401d31076959081. | ||||
* | Temporarily skip the failing tests from #866. | Julian Berman | 2021-11-03 | 1 | -0/+60 |
| | |||||
* | Merge commit 'c9b74362198d21cea59794c414f0877452ab9fa7' | Julian Berman | 2021-11-03 | 7 | -0/+140 |
|\ | | | | | | | | | * commit 'c9b74362198d21cea59794c414f0877452ab9fa7': Squashed 'json/' changes from 329efe59c..9263b5250 | ||||
| * | Squashed 'json/' changes from 329efe59c..9263b5250 | Julian Berman | 2021-11-03 | 7 | -0/+140 |
| | | | | | | | | | | | | | | | | | | 9263b5250 Merge pull request #525 from DrGFreeman/524-uniqueItems-tests 2c5368886 Add tests instead of modifying existing tests de84a59c5 Add and modify uniqueItems tests git-subtree-dir: json git-subtree-split: 9263b52500a6688ba02181ef2299ec4a894b589e | ||||
* | | Add some other links which will show up on PyPI. | Julian Berman | 2021-11-03 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #873 from sevein/dev/issue-871-importlib-resources | Julian Berman | 2021-11-03 | 2 | -3/+11 |
|\ \ | | | | | | | Load schemas via importlib.resources | ||||
| * | | Load schemas via importlib.resources | Jesús García Crespo | 2021-11-03 | 2 | -3/+11 |
|/ / | |||||
* | | Remove uses of SynchronousTestCase. | Julian Berman | 2021-10-31 | 1 | -29/+24 |
| | | | | | | | | | | | | The warnings module still leaves what to be desired vis a vis cleaning up state, but everything at least passes this way now, and this removes a testing dependency. | ||||
* | | Set PYTHONWARNINGS only for the test run itself. | Julian Berman | 2021-10-31 | 1 | -2/+1 |
| | | | | | | | | | | Other things (the install :/) are just too noisy themselves, and raise errors. | ||||
* | | Merge pull request #869 from sir-sigurd/patch-1 | Julian Berman | 2021-10-30 | 1 | -2/+2 |
|\ \ | | | | | | | Add release note about dropping support for Py 3.6 | ||||
| * | | [pre-commit.ci] auto fixes from pre-commit.com hooks | pre-commit-ci[bot] | 2021-10-29 | 1 | -1/+1 |
| | | | | | | | | | | | | for more information, see https://pre-commit.ci | ||||
| * | | Add release note about dropping support for Py 3.6 | Sergey Fedoseev | 2021-10-29 | 1 | -2/+2 |
|/ / | | | | | It was dropped in https://github.com/Julian/jsonschema/commit/3fb0576411701b57899cf9c812e32046ddc2adf9 | ||||
* | | in-tree-build is now the default in pip | Julian Berman | 2021-10-24 | 1 | -4/+3 |
| | |