diff options
author | Julian Berman <Julian@GrayVines.com> | 2013-02-24 20:29:05 -0500 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2013-02-24 20:29:05 -0500 |
commit | 3351a69e7b9bffff872e426b1f9a02942d0f07ba (patch) | |
tree | 1bcf7fdd9f1eb0cb829641e0ce9cf4008c391524 | |
parent | 9101341bac4deb99f2ed2f7d9cfe8e41e9f9c869 (diff) | |
download | jsonschema-3351a69e7b9bffff872e426b1f9a02942d0f07ba.tar.gz |
Release v1.0.0
-rw-r--r-- | CHANGELOG.rst | 12 | ||||
-rw-r--r-- | README.rst | 24 | ||||
-rw-r--r-- | jsonschema.py | 2 |
3 files changed, 29 insertions, 9 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b5e7be5..962e7d5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,15 @@ +v1.0.0 +------ + +* Support for Draft 4 +* Support for format +* Longs are ints too! +* Fixed a number of issues with ``$ref`` support (#66) +* Draft4Validator is now the default +* ``ValidationError.path`` is now in sequential order +* Added ``ValidatorMixin`` + + v0.8.0 ------ @@ -49,18 +49,26 @@ Features Release Notes ------------- -``v0.8.0`` introduces full support for JSON references via the ``RefResolver`` -object. It also removes all of the deprecated code from ``v0.7``. +``v1.0.0`` is a new major release of ``jsonschema``. -Other notable fixes are a fix for improper support of ``uniqueItems`` for -``True`` and ``False`` (#34) and ``any`` for unknown types (#47). +It includes two major new features: `support for the newly released draft 4 <https://python-jsonschema.readthedocs.org/en/latest/validate.html#jsonschema.Draft4Validator>`_ +of the specification (thanks to Chase Sterling) and +`optional support for format +<https://python-jsonschema.readthedocs.org/en/latest/validate.html#validating-formats>`_ +(thanks to Norman Hooper). -Notably, there now exists some documentation (woo hoo!). It can be found at: +It also contains two major backwards incompatible changes: draft 4 is now the +default for schemas without ``$schema`` specified, and ``ValidationError``\s +now have ``path`` in sequential order. - http://python-jsonschema.readthedocs.org +It also fixes a minor issue with ``long``\s not being recognized as +``integer``\s and a number of issues with the support for ``$ref``. -There are still a few incomplete sections, but it's mostly there. Patches -welcome for weak points. +Also, ``ValidatorMixin`` can be used to construct concrete validators for users +who wish to create their own from scratch. + +As always, see `the documentation <http://python-jsonschema.readthedocs.org>`_ +for details. Running the Test Suite diff --git a/jsonschema.py b/jsonschema.py index fbf778f..4c074b2 100644 --- a/jsonschema.py +++ b/jsonschema.py @@ -27,7 +27,7 @@ try: except ImportError: requests = None -__version__ = "1.0.0-dev" +__version__ = "1.0.0" PY3 = sys.version_info[0] >= 3 |