Skip to content

Commit 3351a69

Browse files
committed
Release v1.0.0
1 parent 9101341 commit 3351a69

File tree

3 files changed

+29
-9
lines changed

3 files changed

+29
-9
lines changed

CHANGELOG.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
v1.0.0
2+
------
3+
4+
* Support for Draft 4
5+
* Support for format
6+
* Longs are ints too!
7+
* Fixed a number of issues with ``$ref`` support (#66)
8+
* Draft4Validator is now the default
9+
* ``ValidationError.path`` is now in sequential order
10+
* Added ``ValidatorMixin``
11+
12+
113
v0.8.0
214
------
315

README.rst

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,26 @@ Features
4949
Release Notes
5050
-------------
5151

52-
``v0.8.0`` introduces full support for JSON references via the ``RefResolver``
53-
object. It also removes all of the deprecated code from ``v0.7``.
52+
``v1.0.0`` is a new major release of ``jsonschema``.
5453

55-
Other notable fixes are a fix for improper support of ``uniqueItems`` for
56-
``True`` and ``False`` (#34) and ``any`` for unknown types (#47).
54+
It includes two major new features: `support for the newly released draft 4 <https://python-jsonschema.readthedocs.org/en/latest/validate.html#jsonschema.Draft4Validator>`_
55+
of the specification (thanks to Chase Sterling) and
56+
`optional support for format
57+
<https://python-jsonschema.readthedocs.org/en/latest/validate.html#validating-formats>`_
58+
(thanks to Norman Hooper).
5759

58-
Notably, there now exists some documentation (woo hoo!). It can be found at:
60+
It also contains two major backwards incompatible changes: draft 4 is now the
61+
default for schemas without ``$schema`` specified, and ``ValidationError``\s
62+
now have ``path`` in sequential order.
5963

60-
http://python-jsonschema.readthedocs.org
64+
It also fixes a minor issue with ``long``\s not being recognized as
65+
``integer``\s and a number of issues with the support for ``$ref``.
6166

62-
There are still a few incomplete sections, but it's mostly there. Patches
63-
welcome for weak points.
67+
Also, ``ValidatorMixin`` can be used to construct concrete validators for users
68+
who wish to create their own from scratch.
69+
70+
As always, see `the documentation <http://python-jsonschema.readthedocs.org>`_
71+
for details.
6472

6573

6674
Running the Test Suite

jsonschema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
except ImportError:
2828
requests = None
2929

30-
__version__ = "1.0.0-dev"
30+
__version__ = "1.0.0"
3131

3232
PY3 = sys.version_info[0] >= 3
3333

0 commit comments

Comments
 (0)