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