@@ -21,19 +21,19 @@ v4.10.1
21
21
guidance (#982).
22
22
23
23
v4.10.0
24
- -------
24
+ =======
25
25
26
26
* Add support for referencing schemas with ``$ref `` across different versions
27
27
of the specification than the referrer's
28
28
29
29
v4.9.1
30
- ------
30
+ ======
31
31
32
32
* Update some documentation examples to use newer validator releases in their
33
33
sample code.
34
34
35
35
v4.9.0
36
- ------
36
+ ======
37
37
38
38
* Fix relative ``$ref `` resolution when the base URI is a URN or other scheme
39
39
(#544).
@@ -46,42 +46,42 @@ v4.9.0
46
46
<https://github.com/python-jsonschema/check-jsonschema> `_.
47
47
48
48
v4.8.0
49
- ------
49
+ ======
50
50
51
51
* ``best_match `` no longer traverses into ``anyOf `` and ``oneOf `` when all of
52
52
the errors within them seem equally applicable. This should lead to clearer
53
53
error messages in some cases where no branches were matched.
54
54
55
55
v4.7.2
56
- ------
56
+ ======
57
57
58
58
* Also have ``best_match `` handle cases where the ``type `` validator is an
59
59
array.
60
60
61
61
v4.7.1
62
- ------
62
+ ======
63
63
64
64
* Minor tweak of the PyPI hyperlink names
65
65
66
66
v4.7.0
67
- ------
67
+ ======
68
68
69
69
* Enhance ``best_match `` to prefer errors from branches of the schema which
70
70
match the instance's type (#728)
71
71
72
72
v4.6.2
73
- ------
73
+ ======
74
74
75
75
* Fix a number of minor typos in docstrings, mostly private ones (#969)
76
76
77
77
v4.6.1
78
- ------
78
+ ======
79
79
80
80
* Gut the (incomplete) implementation of ``recursiveRef `` on draft 2019. It
81
81
needs completing, but for now can lead to recursion errors (e.g. #847).
82
82
83
83
v4.6.0
84
- ------
84
+ ======
85
85
86
86
* Fix ``unevaluatedProperties `` and ``unevaluatedItems `` for types they should
87
87
ignore (#949)
@@ -90,13 +90,13 @@ v4.6.0
90
90
to contributors).
91
91
92
92
v4.5.1
93
- ------
93
+ ======
94
94
95
95
* Revert changes to ``$dynamicRef `` which caused a performance regression
96
96
in v4.5.0
97
97
98
98
v4.5.0
99
- ------
99
+ ======
100
100
101
101
* Validator classes for each version now maintain references to the correct
102
102
corresponding format checker (#905)
@@ -105,69 +105,69 @@ v4.5.0
105
105
No functional behavior changes are expected from the change.
106
106
107
107
v4.4.0
108
- ------
108
+ ======
109
109
110
110
* Add ``mypy `` support (#892)
111
111
* Add support for Python 3.11
112
112
113
113
v4.3.3
114
- ------
114
+ ======
115
115
116
116
* Properly report deprecation warnings at the right stack level (#899)
117
117
118
118
v4.3.2
119
- ------
119
+ ======
120
120
121
121
* Additional performance improvements for resolving refs (#896)
122
122
123
123
v4.3.1
124
- ------
124
+ ======
125
125
126
126
* Resolving refs has had performance improvements (#893)
127
127
128
128
v4.3.0
129
- ------
129
+ ======
130
130
131
131
* Fix undesired fallback to brute force container uniqueness check on
132
132
certain input types (#893)
133
133
* Implement a PEP544 Protocol for validator classes (#890)
134
134
135
135
v4.2.1
136
- ------
136
+ ======
137
137
138
138
* Pin ``importlib.resources `` from below (#877)
139
139
140
140
v4.2.0
141
- ------
141
+ ======
142
142
143
143
* Use ``importlib.resources `` to load schemas (#873)
144
144
* Ensure all elements of arrays are verified for uniqueness by ``uniqueItems ``
145
145
(#866)
146
146
147
147
v4.1.2
148
- ------
148
+ ======
149
149
150
150
* Fix ``dependentSchemas `` to properly consider non-object instances to be
151
151
valid (#850)
152
152
153
153
v4.1.1
154
- ------
154
+ ======
155
155
156
156
* Fix ``prefixItems `` not indicating which item was invalid within the instance
157
157
path (#862)
158
158
159
159
v4.1.0
160
- ------
160
+ ======
161
161
162
162
* Add Python 3.10 to the list of supported Python versions
163
163
164
164
v4.0.1
165
- ------
165
+ ======
166
166
167
167
* Fix the declaration of minimum supported Python version (#846)
168
168
169
169
v4.0.0
170
- ------
170
+ ======
171
171
172
172
* Partial support for Draft 2020-12 (as well as 2019-09).
173
173
Thanks to Thomas Schmidt and Harald Nezbeda.
@@ -200,37 +200,37 @@ v4.0.0
200
200
``Validator.is_valid ``.
201
201
202
202
v3.2.0
203
- ------
203
+ ======
204
204
205
205
* Added a ``format_nongpl `` setuptools extra, which installs only ``format ``
206
206
dependencies that are non-GPL (#619).
207
207
208
208
v3.1.1
209
- ------
209
+ ======
210
210
211
211
* Temporarily revert the switch to ``js-regex `` until #611 and #612 are
212
212
resolved.
213
213
214
214
v3.1.0
215
- ------
215
+ ======
216
216
217
217
* Regular expressions throughout schemas now respect the ECMA 262 dialect, as
218
218
recommended by the specification (#609).
219
219
220
220
v3.0.2
221
- ------
221
+ ======
222
222
223
223
* Fixed a bug where ``0 `` and ``False `` were considered equal by
224
224
``const `` and ``enum `` (#575).
225
225
226
226
v3.0.1
227
- ------
227
+ ======
228
228
229
229
* Fixed a bug where extending validators did not preserve their notion
230
230
of which validator property contains ``$id `` information.
231
231
232
232
v3.0.0
233
- ------
233
+ ======
234
234
235
235
* Support for Draft 6 and Draft 7
236
236
* Draft 7 is now the default
@@ -239,50 +239,50 @@ v3.0.0
239
239
attempted, in accordance with the specification
240
240
241
241
v2.6.0
242
- ------
242
+ ======
243
243
244
244
* Support for Python 2.6 has been dropped.
245
245
* Improve a few error messages for ``uniqueItems `` (#224) and
246
246
``additionalProperties `` (#317)
247
247
* Fixed an issue with ``ErrorTree ``'s handling of multiple errors (#288)
248
248
249
249
v2.5.0
250
- ------
250
+ ======
251
251
252
252
* Improved performance on CPython by adding caching around ref resolution
253
253
(#203)
254
254
255
255
v2.4.0
256
- ------
256
+ ======
257
257
258
258
* Added a CLI (#134)
259
259
* Added absolute path and absolute schema path to errors (#120)
260
260
* Added ``relevance ``
261
261
* Meta-schemas are now loaded via ``pkgutil ``
262
262
263
263
v2.3.0
264
- ------
264
+ ======
265
265
266
266
* Added ``by_relevance `` and ``best_match `` (#91)
267
267
* Fixed ``format `` to allow adding formats for non-strings (#125)
268
268
* Fixed the ``uri `` format to reject URI references (#131)
269
269
270
270
v2.2.0
271
- ------
271
+ ======
272
272
273
273
* Compile the host name regex (#127)
274
274
* Allow arbitrary objects to be types (#129)
275
275
276
276
v2.1.0
277
- ------
277
+ ======
278
278
279
279
* Support RFC 3339 datetimes in conformance with the spec
280
280
* Fixed error paths for additionalItems + items (#122)
281
281
* Fixed wording for min / maxProperties (#117)
282
282
283
283
284
284
v2.0.0
285
- ------
285
+ ======
286
286
287
287
* Added ``create `` and ``extend `` to ``jsonschema.validators ``
288
288
* Removed ``ValidatorMixin ``
@@ -291,30 +291,30 @@ v2.0.0
291
291
292
292
293
293
v1.3.0
294
- ------
294
+ ======
295
295
296
296
* Better error tracebacks (#83)
297
297
* Raise exceptions in ``ErrorTree ``\s for keys not in the instance (#92)
298
298
* __cause__ (#93)
299
299
300
300
301
301
v1.2.0
302
- ------
302
+ ======
303
303
304
304
* More attributes for ValidationError (#86)
305
305
* Added ``ValidatorMixin.descend ``
306
306
* Fixed bad ``RefResolutionError `` message (#82)
307
307
308
308
309
309
v1.1.0
310
- ------
310
+ ======
311
311
312
312
* Canonicalize URIs (#70)
313
313
* Allow attaching exceptions to ``format `` errors (#77)
314
314
315
315
316
316
v1.0.0
317
- ------
317
+ ======
318
318
319
319
* Support for Draft 4
320
320
* Support for format
@@ -326,7 +326,7 @@ v1.0.0
326
326
327
327
328
328
v0.8.0
329
- ------
329
+ ======
330
330
331
331
* Full support for JSON References
332
332
* ``validates `` for registering new validators
@@ -338,7 +338,7 @@ v0.8.0
338
338
339
339
340
340
v0.7
341
- ----
341
+ ====
342
342
343
343
* Partial support for (JSON Pointer) ``$ref ``
344
344
* Deprecations
349
349
350
350
351
351
v0.6
352
- ----
352
+ ====
353
353
354
354
* Bugfixes
355
355
358
358
359
359
360
360
v0.5
361
- ----
361
+ ====
362
362
363
363
* Bugfixes
364
364
367
367
368
368
369
369
v0.4
370
- ----
370
+ ====
371
371
372
372
* Preliminary support for programmatic access to error details (Issue #5).
373
373
There are certainly some corner cases that don't do the right thing yet, but
387
387
388
388
389
389
v0.3
390
- ----
390
+ ====
391
391
392
392
* Default for unknown types and properties is now to *not * error (consistent
393
393
with the schema).
0 commit comments