diff options
author | Julian Berman <Julian@GrayVines.com> | 2013-09-22 12:39:23 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2013-09-22 12:39:23 -0400 |
commit | 9e8c15e43091742a89fcfe252071dca0d5731f06 (patch) | |
tree | c4520b0146ba9f57e43959b996caeee6776556c4 | |
parent | 1b3cbc4556645258bd511f8970aea1dd945c59a5 (diff) | |
download | jsonschema-9e8c15e43091742a89fcfe252071dca0d5731f06.tar.gz |
Release v2.1.0v2.1.0
-rw-r--r-- | CHANGELOG.rst | 8 | ||||
-rw-r--r-- | README.rst | 19 | ||||
-rw-r--r-- | jsonschema/__init__.py | 2 |
3 files changed, 13 insertions, 16 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6408a7c..e4ecf0a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,11 @@ +v2.1.0 +------ + +* Support RFC 3339 datetimes in conformance with the spec +* Fixed error paths for additionalItems + items (#122) +* Fixed wording for min / maxProperties (#117) + + v2.0.0 ------ @@ -49,21 +49,10 @@ Features Release Notes ------------- -``v2.0.0`` adds a better interface for creating and extending validators in the -form of ``jsonschema.validators.create`` and ``jsonschema.validators.extend``. -The documentation is still a bit lacking in this area but it's getting there. -See the tests in ``jsonschema.tests.test_validators`` and the source code if -you'd like to try it out now. ``ValidatorMixin`` has been removed. - -Practically speaking, this affects validators that subclassed a built-in -validator and extended a validator function (presumably with an upcall via -``super``), as the correct way to do so is now to call -``TheValidator.VALIDATORS["extended_validator_fn"]`` directly in a new -validator function (and of course to use ``create``). Examples hopefully coming -soon if more clarification is needed. Patches welcome of course. - -It also fixes a number of issues with ref resolution, one for array indices -(#95) and one for improper handling of unknown URI schemes (#102). +``v2.1.0`` fixes a wording issue for min / maxProperties, a path issue for +additionalItems, and allows using `strict-rfc3339 +<https://pypi.python.org/pypi/strict-rfc3339/>`_ for date-time formats, instead +of ISO 8601, since the former is what the spec defines them to be. Running the Test Suite diff --git a/jsonschema/__init__.py b/jsonschema/__init__.py index f0a5e99..d12add2 100644 --- a/jsonschema/__init__.py +++ b/jsonschema/__init__.py @@ -20,7 +20,7 @@ from jsonschema.validators import ( ) -__version__ = "2.1.0-dev" +__version__ = "2.1.0" # flake8: noqa |