Skip to content

Commit 90f7d20

Browse files
authored
Merge pull request #983 from hynek/fancy-sparkles
jsonschema deserves a ✨fancy✨ readme
2 parents 990bae7 + 837bd09 commit 90f7d20

File tree

3 files changed

+77
-50
lines changed

3 files changed

+77
-50
lines changed

CHANGELOG.rst

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ v4.10.1
2121
guidance (#982).
2222

2323
v4.10.0
24-
-------
24+
=======
2525

2626
* Add support for referencing schemas with ``$ref`` across different versions
2727
of the specification than the referrer's
2828

2929
v4.9.1
30-
------
30+
======
3131

3232
* Update some documentation examples to use newer validator releases in their
3333
sample code.
3434

3535
v4.9.0
36-
------
36+
======
3737

3838
* Fix relative ``$ref`` resolution when the base URI is a URN or other scheme
3939
(#544).
@@ -46,42 +46,42 @@ v4.9.0
4646
<https://github.com/python-jsonschema/check-jsonschema>`_.
4747

4848
v4.8.0
49-
------
49+
======
5050

5151
* ``best_match`` no longer traverses into ``anyOf`` and ``oneOf`` when all of
5252
the errors within them seem equally applicable. This should lead to clearer
5353
error messages in some cases where no branches were matched.
5454

5555
v4.7.2
56-
------
56+
======
5757

5858
* Also have ``best_match`` handle cases where the ``type`` validator is an
5959
array.
6060

6161
v4.7.1
62-
------
62+
======
6363

6464
* Minor tweak of the PyPI hyperlink names
6565

6666
v4.7.0
67-
------
67+
======
6868

6969
* Enhance ``best_match`` to prefer errors from branches of the schema which
7070
match the instance's type (#728)
7171

7272
v4.6.2
73-
------
73+
======
7474

7575
* Fix a number of minor typos in docstrings, mostly private ones (#969)
7676

7777
v4.6.1
78-
------
78+
======
7979

8080
* Gut the (incomplete) implementation of ``recursiveRef`` on draft 2019. It
8181
needs completing, but for now can lead to recursion errors (e.g. #847).
8282

8383
v4.6.0
84-
------
84+
======
8585

8686
* Fix ``unevaluatedProperties`` and ``unevaluatedItems`` for types they should
8787
ignore (#949)
@@ -90,13 +90,13 @@ v4.6.0
9090
to contributors).
9191

9292
v4.5.1
93-
------
93+
======
9494

9595
* Revert changes to ``$dynamicRef`` which caused a performance regression
9696
in v4.5.0
9797

9898
v4.5.0
99-
------
99+
======
100100

101101
* Validator classes for each version now maintain references to the correct
102102
corresponding format checker (#905)
@@ -105,69 +105,69 @@ v4.5.0
105105
No functional behavior changes are expected from the change.
106106

107107
v4.4.0
108-
------
108+
======
109109

110110
* Add ``mypy`` support (#892)
111111
* Add support for Python 3.11
112112

113113
v4.3.3
114-
------
114+
======
115115

116116
* Properly report deprecation warnings at the right stack level (#899)
117117

118118
v4.3.2
119-
------
119+
======
120120

121121
* Additional performance improvements for resolving refs (#896)
122122

123123
v4.3.1
124-
------
124+
======
125125

126126
* Resolving refs has had performance improvements (#893)
127127

128128
v4.3.0
129-
------
129+
======
130130

131131
* Fix undesired fallback to brute force container uniqueness check on
132132
certain input types (#893)
133133
* Implement a PEP544 Protocol for validator classes (#890)
134134

135135
v4.2.1
136-
------
136+
======
137137

138138
* Pin ``importlib.resources`` from below (#877)
139139

140140
v4.2.0
141-
------
141+
======
142142

143143
* Use ``importlib.resources`` to load schemas (#873)
144144
* Ensure all elements of arrays are verified for uniqueness by ``uniqueItems``
145145
(#866)
146146

147147
v4.1.2
148-
------
148+
======
149149

150150
* Fix ``dependentSchemas`` to properly consider non-object instances to be
151151
valid (#850)
152152

153153
v4.1.1
154-
------
154+
======
155155

156156
* Fix ``prefixItems`` not indicating which item was invalid within the instance
157157
path (#862)
158158

159159
v4.1.0
160-
------
160+
======
161161

162162
* Add Python 3.10 to the list of supported Python versions
163163

164164
v4.0.1
165-
------
165+
======
166166

167167
* Fix the declaration of minimum supported Python version (#846)
168168

169169
v4.0.0
170-
------
170+
======
171171

172172
* Partial support for Draft 2020-12 (as well as 2019-09).
173173
Thanks to Thomas Schmidt and Harald Nezbeda.
@@ -200,37 +200,37 @@ v4.0.0
200200
``Validator.is_valid``.
201201

202202
v3.2.0
203-
------
203+
======
204204

205205
* Added a ``format_nongpl`` setuptools extra, which installs only ``format``
206206
dependencies that are non-GPL (#619).
207207

208208
v3.1.1
209-
------
209+
======
210210

211211
* Temporarily revert the switch to ``js-regex`` until #611 and #612 are
212212
resolved.
213213

214214
v3.1.0
215-
------
215+
======
216216

217217
* Regular expressions throughout schemas now respect the ECMA 262 dialect, as
218218
recommended by the specification (#609).
219219

220220
v3.0.2
221-
------
221+
======
222222

223223
* Fixed a bug where ``0`` and ``False`` were considered equal by
224224
``const`` and ``enum`` (#575).
225225

226226
v3.0.1
227-
------
227+
======
228228

229229
* Fixed a bug where extending validators did not preserve their notion
230230
of which validator property contains ``$id`` information.
231231

232232
v3.0.0
233-
------
233+
======
234234

235235
* Support for Draft 6 and Draft 7
236236
* Draft 7 is now the default
@@ -239,50 +239,50 @@ v3.0.0
239239
attempted, in accordance with the specification
240240

241241
v2.6.0
242-
------
242+
======
243243

244244
* Support for Python 2.6 has been dropped.
245245
* Improve a few error messages for ``uniqueItems`` (#224) and
246246
``additionalProperties`` (#317)
247247
* Fixed an issue with ``ErrorTree``'s handling of multiple errors (#288)
248248

249249
v2.5.0
250-
------
250+
======
251251

252252
* Improved performance on CPython by adding caching around ref resolution
253253
(#203)
254254

255255
v2.4.0
256-
------
256+
======
257257

258258
* Added a CLI (#134)
259259
* Added absolute path and absolute schema path to errors (#120)
260260
* Added ``relevance``
261261
* Meta-schemas are now loaded via ``pkgutil``
262262

263263
v2.3.0
264-
------
264+
======
265265

266266
* Added ``by_relevance`` and ``best_match`` (#91)
267267
* Fixed ``format`` to allow adding formats for non-strings (#125)
268268
* Fixed the ``uri`` format to reject URI references (#131)
269269

270270
v2.2.0
271-
------
271+
======
272272

273273
* Compile the host name regex (#127)
274274
* Allow arbitrary objects to be types (#129)
275275

276276
v2.1.0
277-
------
277+
======
278278

279279
* Support RFC 3339 datetimes in conformance with the spec
280280
* Fixed error paths for additionalItems + items (#122)
281281
* Fixed wording for min / maxProperties (#117)
282282

283283

284284
v2.0.0
285-
------
285+
======
286286

287287
* Added ``create`` and ``extend`` to ``jsonschema.validators``
288288
* Removed ``ValidatorMixin``
@@ -291,30 +291,30 @@ v2.0.0
291291

292292

293293
v1.3.0
294-
------
294+
======
295295

296296
* Better error tracebacks (#83)
297297
* Raise exceptions in ``ErrorTree``\s for keys not in the instance (#92)
298298
* __cause__ (#93)
299299

300300

301301
v1.2.0
302-
------
302+
======
303303

304304
* More attributes for ValidationError (#86)
305305
* Added ``ValidatorMixin.descend``
306306
* Fixed bad ``RefResolutionError`` message (#82)
307307

308308

309309
v1.1.0
310-
------
310+
======
311311

312312
* Canonicalize URIs (#70)
313313
* Allow attaching exceptions to ``format`` errors (#77)
314314

315315

316316
v1.0.0
317-
------
317+
======
318318

319319
* Support for Draft 4
320320
* Support for format
@@ -326,7 +326,7 @@ v1.0.0
326326

327327

328328
v0.8.0
329-
------
329+
======
330330

331331
* Full support for JSON References
332332
* ``validates`` for registering new validators
@@ -338,7 +338,7 @@ v0.8.0
338338

339339

340340
v0.7
341-
----
341+
====
342342

343343
* Partial support for (JSON Pointer) ``$ref``
344344
* Deprecations
@@ -349,7 +349,7 @@ v0.7
349349

350350

351351
v0.6
352-
----
352+
====
353353

354354
* Bugfixes
355355

@@ -358,7 +358,7 @@ v0.6
358358

359359

360360
v0.5
361-
----
361+
====
362362

363363
* Bugfixes
364364

@@ -367,7 +367,7 @@ v0.5
367367

368368

369369
v0.4
370-
----
370+
====
371371

372372
* Preliminary support for programmatic access to error details (Issue #5).
373373
There are certainly some corner cases that don't do the right thing yet, but
@@ -387,7 +387,7 @@ v0.4
387387

388388

389389
v0.3
390-
----
390+
====
391391

392392
* Default for unknown types and properties is now to *not* error (consistent
393393
with the schema).

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ Installation
9191
$ pip install jsonschema
9292
9393
94+
<!-- start cut from PyPI -->
95+
9496
Running the Test Suite
9597
----------------------
9698

@@ -125,6 +127,8 @@ schemas can be found there.
125127
Otherwise, asking questions on Stack Overflow is another means of
126128
getting help if you're stuck.
127129

130+
<!-- end cut from PyPI -->
131+
128132

129133
About
130134
-----

0 commit comments

Comments
 (0)