Debian Codegraph @

Changes

raw
1 Revision history for JSON-Schema-Modern
2
3 0.650 2026-09-17 23:38:51Z
4 - fix syntax error on older perls
5
6 0.649 2026-09-17 21:44:20Z
7 - fix logic used to parse media-types, to handle more edge cases
8
9 0.648 2026-09-09 22:07:42Z
10 - tightened validation of "uri", "uri-reference", "iri",
11 "iri-reference" formats
12
13 0.647 2026-08-30 00:08:34Z
14 - fix error in reference checks
15
16 0.646 2026-08-29 23:49:01Z
17 - now keeping track of remote references we could not verify at
18 document construction time, for later verification when other
19 documents are loaded
20
21 0.645 2026-08-16 00:00:22Z
22 - skip more not-easily-resolveable obscure edge cases for formats in
23 acceptance tests added in TJSA 1.038
24
25 0.644 2026-08-12 22:40:50Z
26 - fix experimental warning on earlier perls
27
28 0.643 2026-08-12 17:01:19Z
29 - fix the set of characters that are encoded for the
30 application/x-www-form-urlencoded media-type to be spec-compliant
31 (Mojolicious isn't)
32 - drop optional prereqs on DateTime::Format::RFC3339 and
33 Time::Moment
34 - new utility function: canonicalize_uri()
35 - respect format constraints in validate_schema()
36
37 0.642 2026-07-19 23:29:16Z
38 - "application/x-www-form-urlencoded" media encoder and decoders now
39 support working with an arrayref of hashref tuples
40 - better handling of cached schema files via deserialization hooks
41
42 0.641 2026-06-19 20:01:55Z
43 - removed hard dependency on Getopt::Long::Descriptive and all uses
44 of Safe::Isa
45
46 0.640 2026-05-30 17:45:48Z
47 - fix application/x-www-form-urlencoded encoding of array values
48 - media-type handling fixes in anticipation of multipart support
49
50 0.639 2026-05-09 22:47:09Z
51 - config option "max_traversal_depth" has been renamed to "max_depth"
52
53 0.638 2026-04-18 19:12:38Z
54 - completely refactored media-type handler: now a singleton (shared
55 throughout the process), also supports charset encoding and enhanced
56 matching based on parameters
57
58 0.637 2026-04-08 18:31:12Z
59 - temporarily neuter a test that is sensitive to integer type
60 checks, pending an upstream fix
61
62 0.636 2026-04-08 17:09:27Z
63 - more diagnostics in is_equal() to diagnose a cpantesters failure
64
65 0.635 2026-04-07 18:06:16Z
66 - "default" data is now made directly available in the instance data
67 via the "data" attribute on JSON::Schema::Modern::Result,
68 optionally with missing values populated from "default" keywords
69 (when the "with_defaults" configuration is set)
70
71 0.634 2026-03-15 19:19:16Z
72 - fix "hostname" test failure when Data::Validate::Domain is not
73 installed
74
75 0.633 2026-03-13 22:40:42Z
76 - fix "hostname" format to reject IP addresses
77 - fix "duration" format to disallow fractional units (only added in
78 the ISO8601 2000 addendum, not valid in the ABNF in RFC3339), and
79 to disallow certain combinations of missing units
80
81 0.632 2026-01-06 18:43:29Z
82 - now checking for references that target an unknown or incorrect
83 location when schema documents are parsed
84
85 0.631 2025-12-25 00:31:41Z
86 - now allowing the use of a "$schema" keyword with a fragment, as
87 per strict reading of the specification(s)
88
89 0.630 2025-12-14 19:53:33Z
90 - new "with_defaults" option (also available in "json-schema-eval"),
91 for returning a list of missing values (from "default" keywords)
92 to add to the instance data, and a "jsonp_set" helper for
93 processing the defaults (or access it directly via the "data"
94 attribute on the Result object starting with version 0.635).
95
96 0.629 2025-12-12 18:17:28Z
97 - "json-schema-eval" script can now accept multiple --data options,
98 or multiple --validate-schema options
99
100 0.628 2025-12-07 06:50:22Z
101 - "strict" mode now ignores keywords starting with "x-".
102 - drop the use of an empty "instanceLocation" in errors resulting
103 from the parsing of a schema
104
105 0.627 2025-12-04 21:10:22Z
106 - improved efficiency of "short_circuit" mode, disabling it
107 in fewer and more tightly constrained conditions while allowing
108 other functionality to still work (e.g. "strict" mode to detect
109 unknown keywords, or when unevaluatedProperties or
110 unevaluatedItems are present)
111
112 0.626 2025-12-02 00:29:17Z
113 - now correctly disallowing booleans in draft4 subschemas
114
115 0.625 2025-11-28 22:34:54Z
116 - introduce a global schema document cache that can be used by other
117 distributions (such as OpenAPI::Modern)
118
119 0.624 2025-11-26 20:57:48Z
120 - fix strict (unknown keyword checks) validation for draft4 schemas
121
122 0.623 2025-11-17 00:14:31Z
123 - fix error when navigating a $dynamicRef after initial evaluation
124 at a subschema
125 - fix incorrect $dynamicRef target following changing scopes into a
126 subschema of a schema resource (one with an $id)
127
128 0.622 2025-11-08 22:22:19Z
129 - allow export of JSON::Schema::Modern::Utilities::is_bool
130 - adjust acceptance tests to handle new failure cases in the test
131 suite for the hostname format
132
133 0.621 2025-10-30 17:56:52Z
134 - adjust acceptance tests to handle new failure cases in the test
135 suite for hostname, idn-hostname formats
136
137 0.620 2025-10-15 23:36:52Z
138 - new "clone" method for Error objects
139 - work around an issue with using an object overload as a constant
140 on perl 5.20
141
142 0.619 2025-09-28 22:28:52Z
143 - internal changes only (breaking changes for dependencies like
144 OpenAPI::Modern)
145
146 0.618 2025-09-07 20:27:21Z
147 - the json-schema-eval executable now also handles YAML-encoded
148 schemas and data, via both files and STDIN, via string
149 autodetection
150
151 0.617 2025-08-16 20:50:11Z
152 - various internal changes for performance improvement
153
154 0.616 2025-07-26 23:15:28Z
155 - documentation notes added for which definitions can be overridden
156 (formats, media-types and encodings can; vocabularies cannot).
157 - "validate" in JSON::Schema::Modern::Document must now be provided
158 with a JSON::Schema::Modern object if a custom metaschema is used
159 by the schema (this is a forward-looking change in preparation for
160 removing the "evaluator" attribute from the JSMD object in a
161 subsequent release).
162
163 0.615 2025-07-12 16:12:36Z
164 - do not allow the use of builtin bools when Storable is too old to
165 know how to serialize them
166 - avoid experimental warnings in tests from perl versions 5.36.0 to
167 5.40.0
168
169 0.614 2025-06-28 18:51:12Z
170 - revert to using JSON::PP booleans for now
171
172 0.613 2025-06-28 18:07:20Z
173 - now checking for keyword collisions in custom vocabulary classes
174 - now using builtin booleans when available (requires perl 5.36 and
175 Cpanel::JSON::XS 4.38); reverted in 0.614
176
177 0.612 2025-06-03 22:50:17Z
178 - additional diagnostics to track down some edge case failures
179
180 0.611 2025-05-31 03:38:55Z
181 - fix integer vs number distinction in draft4 for x.0 values. This
182 comes at the expense of properly identifying other numbers as
183 integers in draft4 instead of numbers, e.g. 2e1 as a json literal,
184 as these all decode to Math::BigFloat objects.
185 - some fixes to id/$id validity checks across all drafts
186
187 0.610 2025-05-16 20:58:28Z
188 - evaluate() and evaluate_json_string() can no longer be called with
189 a JSON::Schema::Modern::Document object; now you should only pass
190 in the desired URI directly (or the raw schema), as before.
191 - fixed some issues when evaluating a schema that had a base URI
192 added to it after the document was created, including selecting
193 the proper base URI to use in error messages when there are
194 multiple choices
195
196 0.609 2025-04-20 23:40:09Z
197 - validate_schema() (and the json-schema-eval --validate-schema
198 option) now detect more errors
199
200 0.608 2025-04-11 20:57:16Z
201 - documentation now makes a note of the special licence for JSON
202 Schema schema files
203 - documentation fixes for JSM and JSM::Document regarding handling
204 of uris
205 - introduction of 'original_uri' for JSON::Schema::Modern::Document,
206 which document subclasses may wish to use for logic of their own
207 after changing the canonical uri of the document
208
209 0.607 2025-04-01 19:35:50Z
210 - now performing stricter email address validation for the 'email' and
211 'idn-email' formats
212 - some improvements to the handling of unimplemented formats (only
213 missing core formats are checked for at traverse time; custom
214 formats can be added at any time and errors can be avoided with
215 'short-circuit')
216
217 0.606 2025-03-23 00:16:35Z
218 - bump required version for optional module Data::Validate::Domain
219 (used by the 'hostname' and 'idn-hostname' formats)
220
221 0.605 2025-03-09 16:31:05Z
222 - update 'hostname' and 'idn-hostname' format validation to be more
223 lax with respect to domain names; fixes some acceptance tests
224
225 0.604 2025-03-08 23:23:05Z
226 - mark some failing format tests as todo that will be added in
227 Test::JSON::Schema::Acceptance 1.028
228
229 0.603 2025-02-28 23:35:43Z
230 - fix Sereal serialization hooks
231 - various performance improvements when dealing with base URIs
232
233 0.602 2025-02-21 00:11:32Z
234 - more checks at traverse and evaluation time for inconsistent
235 results
236 - fix Sereal deserialization hooks
237
238 0.601 2025-02-02 00:23:38Z
239 - check for builtin::Backport at install time
240
241 0.600 2025-01-31 23:23:21Z
242 BREAKING CHANGES: OpenAPI::Modern must be updated to 0.079 after
243 installing this version.
244 - the specification version can now be overridden when constructing
245 Documents directly (rather than via the evaluator), if not
246 specified by the "$schema" keyword
247 - some fixes for $id handling in earlier drafts
248 - rework of document management and URI resolution:
249 $jsm->add_schema($uri, $schema) no longer sets the $uri in the
250 document object, allowing the document to be added to the index
251 under multiple URIs. Instead, we resolve the document's indexed
252 resources against the base URI and only store the resolved form in
253 the evaluator itself. This allows the same document to be reused
254 with different base URIs if it only contains relative $ids
255 internally. add_document($uri, $document) now resolves all URI
256 resources against the provided URI, rather than adding document
257 resources as-is and adding $uri as one more resource URI.
258 - further restructuring of internal resource indexes, anchor
259 management, and traversal of subschemas from embedded non-JSON
260 Schema documents (e.g. OpenAPI documents)
261
262 0.599 2025-01-26 22:54:02Z
263 - the boolean overload in JSON::Schema::Modern::Result is now
264 deprecated: it will warn on use, and will be removed no sooner
265 than 2026-02-01.
266
267 0.598 2025-01-19 18:30:32Z
268 - fix format acceptance tests that would fail when some optional
269 modules are not installed
270 - fix some acceptance tests that used the wrong validate_formats
271 mode (since v0.592)
272
273 0.597 2024-12-07 23:30:38Z
274 - report installed version of builtin
275
276 0.596 2024-11-24 00:57:13Z
277 - properly handle changing of dialects (including swapping out
278 vocabularies and keywords) when evaluating a local subschema
279 (without a $ref)
280 - now collecting identifiers within contentSchema keywords as we do
281 for any other subschema
282
283 0.595 2024-11-07 18:57:16Z
284 - bump required version of builtin::compat
285
286 0.594 2024-11-03 17:01:42Z
287 - improved handling of numeric type checking in draft4
288 - numeric type checking is relaxed, now allowing for dualvars
289 arising from the simple case of using a number in string context
290 or a string in numeric context (only a problem in perls <5.36)
291
292 0.593 2024-10-14 18:43:23Z
293 - fix new integer type tests that fail on perls < 5.35.9
294
295 0.592 2024-10-13 19:43:20Z
296 - support added for the draft4, draft6 specification versions
297
298 0.591 2024-10-06 21:06:15Z
299 - new --dump-identifiers option in json-schema-eval executable
300 - the document form of 'add_schema' has been extracted out into
301 'add_document', with the old form deprecated
302 - is_equal() utility function, and the const and enum keywords, now
303 provide more detailed error diagnostics
304 - fix "strict" mode for draft7 documents
305
306 0.590 2024-09-07 00:48:50Z
307 - "strict" mode is now recognized by validate_schema(), to report on
308 any unrecognized keywords used in the schema being validated
309
310 0.589 2024-07-06 21:07:44Z
311 - skip unpassable tests when ivsize < 8
312
313 0.588 2024-06-28 17:14:22Z
314 - bump required version of Math::BigInt for bdiv, bmod fixes
315
316 0.587 2024-06-26 22:55:11Z
317 - fix multipleOf test that fails on some peculiar architectures
318 - document the use of Sereal for caching large evaluator objects
319
320 0.586 2024-06-23 18:46:01Z
321 - simplification of calculation for "multipleOf" keyword
322
323 0.585 2024-06-19 04:03:36Z
324 - make use of core bool functionality where it exists (perl 5.36+)
325
326 0.584 2024-05-18 21:06:35Z
327 - add 'get_entity_locations' helper sub to ::Document
328
329 0.583 2024-03-30 17:56:17Z
330 - further optimization of error and annotation construction, which
331 should significantly improve evaluation performance of large
332 documents which heavily use the 'unevaluated*' keywords (such as a
333 schema evaluated against its metaschema, or an OpenAPI document
334 evaluated against its schema)
335
336 0.582 2024-01-23 03:18:31Z
337 - change the status of some format tests that rely on optional
338 modules so they are not reported as specification failures
339 - fix forking test that failed on MSWin32
340
341 0.581 2024-01-18 05:35:16Z
342 - make automated tests much quieter when some optional modules (e.g.
343 used for format tests) are not installed
344
345 0.580 2024-01-18 04:38:33Z
346 - update a format test to be more amenable to 32-bit architectures
347
348 0.579 2024-01-15 03:32:27Z
349 - improve performance by checking for duplicates by comparing the
350 checksum of a schema rather than the content itself
351 - fix error occurring when using the FormatAssertion vocabulary in
352 an evaluator object that was loaded from a serialized object
353 - fixed custom format definitions to not allow 'integer' types, as
354 per the specification
355 - support custom format definitions that operate on more than one
356 core data type
357 - fixed handling of unrecognized formats in draft2020-12 and later
358 (but only when the FormatAssertion vocabulary is explicitly
359 requested, not with validate_formats=1)
360 - the format keyword now respects the "stringy_numbers" option
361
362 0.578 2023-12-29 23:13:44Z
363 - remove use of JSON::MaybeXS, to avoid potential use of JSON::XS;
364 now we use Cpanel::JSON::XS or JSON::PP directly, using the same
365 environment variables as in Mojo::JSON for customization.
366 - new helper interface, get_document()
367
368 0.577 2023-12-19 05:27:04Z
369 - new attribute on Error and Result objects: "recommended_response",
370 for use when validating HTTP requests
371
372 0.576 2023-12-10 06:10:57Z
373 - the "stringy_numbers" feature now also applies to the "enum",
374 "const", and "uniqueItems" keywords
375
376 0.575 2023-11-26 05:11:10Z
377 - properly handle some edge cases where the "$schema" keyword can
378 change the dialect to a different specification version with
379 different Core vocabulary keywords
380 - evaluation at non-schema locations is now prohibited
381
382 0.574 2023-11-13 00:50:55Z
383 - better detection of schema locations, for use by Document
384 subclasses
385 - fixed vocabulary ordering (from v0.567)
386 - properly handle "$dynamicRef", "$recursiveRef" and "$schema"
387 referencing a boolean schema
388 - bundled metaschemas have been updated to their latest versions
389 from https://json-schema.org
390
391 0.573 2023-10-21 23:49:03Z
392 - fix construction of default values of some attributes e.g.
393 media_types, encodings
394 - fix list context of has_errors, error_count, annotation_count
395 methods
396
397 0.572 2023-10-14 22:04:52Z
398 - boost runtime performance by removing uses of MooX::HandlesVia
399
400 0.571 2023-09-17 01:14:47Z
401 - removed duration and uuid formats for draft7 (they were not
402 defined until the next spec version)
403 - properly default format validation to true in draft7
404
405 0.570 2023-09-02 20:42:03Z
406 - small performance improvements to 'date-time' and 'date' format
407 validation
408 - new stringy_numbers option, for validating numbers more loosely
409
410 0.569 2023-07-08 23:36:06Z
411 - fixed some edge cases with ipv6 format validation
412
413 0.568 2023-06-17 07:16:54Z
414 - add media-type support for application/x-ndjson and
415 application/x-www-form-urlencoded
416
417 0.567 2023-06-03 22:11:23Z
418 - vocabularies are now evaluated in a different order: Validation
419 and Format vocabularies now come before Applicator, in order to
420 allow faster short circuiting when errors are encountered.
421
422 0.566 2023-05-11 03:34:59Z
423 - treat ambiguous types as a normal error, rather than an exception
424 which may provide incorrect location data
425
426 0.565 2023-03-12 21:19:27Z
427 - traverse and evaluate callbacks can now produce errors,
428 which are incorporated into the overall evaluation results
429 - fix bad handling of empty patterns in "pattern",
430 "patternProperties" keywords
431
432 0.564 2023-03-04 00:43:42Z
433 - further tweak performance by short-circuiting inside some
434 subschemas (but not when annotations must be collected for
435 "unevaluated" keywords)
436 - added support for 'base64url' encoding
437
438 0.563 2023-02-04 23:38:13Z
439 - documentation update: improve language around data types and
440 JSON decoder recommendations
441
442 0.562 2023-01-22 00:49:07Z
443 - bump a test prereq to fix a mismatched exception message
444
445 0.561 2023-01-07 20:57:37Z
446 - further tweak performance by only collecting annotations when
447 explicitly requested, or needed by the current evaluation scope
448
449 0.560 2022-12-20 20:00:05Z
450 - fix a test that depended on optional prereqs
451
452 0.559 2022-12-16 04:29:55Z
453 - fix regression where formats do not validate beyond a $ref (since
454 v0.556)
455
456 0.558 2022-11-26 02:43:15Z
457 - add fallback media type handling for text/*
458 - performance is (hopefully) improved by delaying some calculations
459 in annotations until they are needed
460
461 0.557 2022-10-30 21:59:04Z
462 - improvements to processing of keywords in the Content vocabulary
463 (contentEncoding, contentMediaType, contentSchema)
464 - LICENSE now provided with bundled metaschema files
465
466 0.556 2022-09-18 22:41:50Z
467 - some performance optimizations for schema traversal and evaluation
468
469 0.555 2022-09-10 21:43:11Z
470 - the "iri-reference" format is now supported, sort of (all strings
471 will be accepted as valid)
472 - "enum" no longer incorrectly errors if elements are not unique
473 - new experimental output format: "data_only", which encapsulates
474 what is produced when a JSON::Schema::Modern::Result object is
475 stringified
476
477 0.554 2022-07-24 00:08:54Z
478 - use new Slurpy type in Types::Standard
479
480 0.553 2022-06-25 03:27:14Z
481 - expanded on the documentation for serializing results.
482 - updated IETF URI references from draft-bhutton-json-schema-00
483 to draft-bhutton-json-schema-01, to reflect the updates to
484 specification draft2020-12 (implementation updates have already
485 been reflected in earlier releases, notably 0.548 and 0.550)
486
487 0.552 2022-05-03 03:31:59Z
488 - fix result serialization from exceptions (broken in 0.550)
489
490 0.551 2022-05-01 01:29:51Z
491 - the "specification_version" configuration option now accepts
492 values without "draft" in the name, to facilitate a new naming
493 convention used for future specification versions
494 - new "formatted_annotations" option for JSON::Schema::Modern::Result,
495 to allow for omitting annotations from result output
496
497 0.550 2022-04-14 04:32:32Z
498 - added 'dump' method to Result, Error and Annotation objects, for
499 easier debugging and generating test output
500 - adjusted syntax checks for $vocabulary keyword to allow for
501 bundled metaschemas
502 - new validate_schema() method, for easily validating a schema
503 against its metaschema
504
505 0.549 2022-03-22 03:55:15Z
506 - properly detect the metaschema in json-schema-eval
507 --validate-schema
508
509 0.548 2022-03-09 06:27:10Z
510 - "annotate_unknown_keywords" option removed; behaviour is now on
511 for draft2020-12 and off otherwise
512 - annotation behaviour for applicator keywords is fixed per the
513 spec, resulting in fewer redundant errors from unevaluatedItems,
514 unevaluatedProperties keywords
515
516 0.547 2022-03-03 06:08:51Z
517 - improved error stringification on document error
518
519 0.546 2022-02-23 01:33:03Z
520 - avoid use of newly-experimental signature syntax on 5.35.9
521
522 0.545 2022-02-22 04:30:36Z
523 - avoid new experimental warning on 5.35.9
524 - skip unresolvable identifiers for future drafts in acceptance
525 tests (added in TJSA 1.016)
526
527 0.544 2022-02-16 05:53:08Z
528 - add_schema() now has more consistent exception handling
529
530 0.543 2022-02-11 04:11:55Z
531 - now allowing runtime overriding of the "strict" configuration
532 - add "effective_base_uri", for adjusting the locations of errors
533 and annotations against a dynamic base (removed in version 0.620)
534
535 0.542 2022-01-23 08:17:08Z
536 - new "strict" option (and --strict flag to json-schema-eval), for
537 disallowing unknown keywords
538
539 0.541 2022-01-17 23:57:35Z
540 - add --add-schema option to json-schema-eval to allow for the
541 reference of additional schemas during evaluation
542
543 0.540 2022-01-17 18:58:36Z
544 - make "unimplemented format" errors more visible
545 - fixed serializing of results in acceptance tests
546 - add --validate-schema option to json-schema-eval to provide an
547 easy way to validate a schema against its meta-schema
548
549 0.539 2022-01-06 04:07:20Z
550 - updated error message for the "type" keyword to include the actual
551 type, as well as the expected type(s)
552
553 0.538 2021-12-31 21:18:21Z
554 - remove no-longer-needed TODO in tests that caused warnings in
555 small-int systems
556
557 0.537 2021-12-30 22:49:02Z
558 - fix number/integer differentiation on small-int systems
559 - improve division calculations if either argument is a non-integer
560
561 0.536 2021-12-30 05:32:44Z
562 - very large/small numbers are now properly accomodated in all
563 cases, including from JSON-serialized data
564
565 0.535 2021-12-28 06:38:37Z
566 - mark more tests TODO (temporarily!) for small-int systems
567
568 0.534 2021-12-27 21:05:34Z
569 - clarify exit statuses for 'json-schema-eval'
570 - fix numeric tests for architectures with small int size
571 - fix handling of unsigned ints that cannot be represented in a
572 signed int
573
574 0.533 2021-12-23 19:45:11Z
575 - fix exit statuses in json-schema-eval
576
577 0.532 2021-12-22 19:14:06Z
578 - add media_type decoders for application/schema+json,
579 application/schema-instance+json
580 - add 'json-schema-eval' executable, for ad-hoc evaluation
581
582 0.531 2021-12-06 05:39:53Z
583 - add method to add format implementations after construction
584 - treat media_type names case-insensitively, as per RFC6838,
585 and lookups support wildcards (get_media_type('text/plain')
586 will match an entry for 'text/*' or '*/*')
587
588 0.530 2021-12-03 16:44:23Z
589 - fix hash slice syntax that is not available before perl 5.28
590
591 0.529 2021-12-03 04:00:26Z
592 - added FREEZE and THAW callbacks to assist with serialization
593
594 0.528 2021-11-30 06:17:29Z
595 - evaluation callback sub signature has changed, to add $data
596 - minor performance improvement during evaluation
597
598 0.527 2021-11-26 00:53:42Z
599 - fixes to base64 and json decoders used in the Content vocabulary
600
601 0.526 2021-11-23 05:11:46Z
602 - fix evaluate() callbacks for keywords that have no
603 runtime-specific actions
604 - optional support for contentEncoding, contentMediaType and
605 contentSchema with the validate_content_schemas option and
606 "encoding", "media_type" handler registries
607 - a boolean flag "unknown" has been added to Annotation objects to
608 indicate they correspond to an unknown keyword in the schema
609
610 0.525 2021-11-17 05:35:24Z
611 - minimum Perl version raised to 5.20
612 - dropped bundling hyper-schema files, as they are not validatable
613 without vocabulary support (see issue #44)
614 - & overload added to JSON::Schema::Modern::Result, for combining
615 results
616 - add callbacks to evaluate(), to enable finding certain positions
617 of interest in a document or schema
618
619 0.524 2021-11-10 04:36:49Z
620 - some refactoring of vocabulary and document methods, to faciliate
621 re-use
622 - new utility functions: is_uri_reference, assert_keyword_exists
623 - allow specifying the metaschema_uri for a schema document
624 - add "validate" method to Document object
625 - updated draft2019-09 and added draft2020-12 hyperschema schemas
626
627 0.523 2021-10-24 05:58:27Z
628 - fix tests that were relying on an optional prereq
629 - properly gate experimental features by version
630
631 0.522 2021-10-22 22:26:29Z
632 - 'date-time' format now properly handles leap seconds
633
634 0.521 2021-10-04 05:36:10Z
635 - fix issues when referencing a schema in a metaschema:
636 whose vocabulary is not known, but its keywords can still be
637 validated, or which does not use the $vocabulary keyword at all
638
639 0.520 2021-09-27 05:56:11Z
640 - support arbitrary metaschemas in the "$schema" keyword
641 - support custom vocabulary classes, for use in metaschemas that use
642 the "$vocabulary" keyword
643
644 0.519 2021-09-21 03:56:13Z
645 - fix tests that were relying on an optional prereq
646
647 0.518 2021-09-18 22:00:42Z
648 - skip some regex tests when Unicode library is too old for those
649 character classes being tested
650 - specification versions can now change, via the $schema keyword,
651 within schema resources in a single document or via $ref to another
652 resource
653
654 0.517 2021-08-28 04:34:17Z
655 - restore some optional modules used for format validation to the
656 prereq list that were mistakenly dropped in version 0.515
657 - date-time, date and time formats no longer match non-ascii digits
658
659 0.516 2021-08-14 19:53:16Z
660 - fix email format tests on older prereqs
661 - avoid errors when enabling validate_formats before evaluating but
662 after loading a schema
663
664 0.515 2021-08-03 04:07:02Z
665 - no longer calling a keyword's callback during traverse() if that
666 keyword has an error
667 - better handling of blessed data types and other references
668 - new config option scalarref_booleans, which will treat \0, \1 in
669 data as json booleans
670 - support for the most recent specification version, draft2020-12
671
672 0.514 2021-07-22 05:17:08Z
673 - add_schema() now dies with the errors themselves, rather than an
674 object that serializes to an unhelpful value in uncaught die()s.
675
676 0.513 2021-06-26 19:45:51Z
677 - skip acceptance test for integer overflow when nvsize is too
678 large to produce the expected error
679 - support for specification version draft7, through the "$schema"
680 keyword and the new 'specification_version' constructor option
681
682 0.512 2021-06-09 02:29:23Z
683 - distribution has been renamed from JSON-Schema-Draft201909 to
684 JSON-Schema-Modern. JSON::Schema::Draft201909 lives on as a
685 compatibility wrapper.
686
687 0.028 2021-06-08 02:48:07Z
688 - fix validation regex for the $anchor keyword
689 - unevaluatedItems and unevaluatedProperties keywords are now
690 applied after all other keywords in the applicator vocabulary
691 (true/false results are not affected, but the order of annotations
692 and errors will change)
693 - calculate the canonical uri correctly after navigating a $ref:
694 using the closest resource identifier to the destination, not the
695 one that was used in the $ref
696
697 0.027 2021-05-15 18:13:21Z
698 - fixed error strings used for failing "dependentRequired"
699 - in terse output format, do not discard non-summary errors from
700 schema-form of items
701 - keywords in the applicator vocabulary are now applied before the
702 keywords in the validation vocabulary (true/false results are not
703 affected, but the order of annotations and errors will change)
704 - improved validation of the "date-time", "date" and "time" formats
705
706 0.026 2021-04-08 20:13:27Z
707 - fix scoping of annotations from uncle keywords (siblings of the
708 schema's parent) that were improperly visible to unevaluatedItems,
709 unevaluatedProperties
710 - 'result' attribute in JSON::Schema::Draft201909::Result has been
711 renamed to 'valid', to better match what it represents (a boolean)
712
713 0.025 2021-03-30 05:36:14Z
714 - minor changes to error strings to distinguish between issues that
715 can be determined from static inspection of schema(s), and those
716 that only arise during runtime evaluation (such as URIs that
717 map to missing schema documents, or inconsistent configuration
718 values).
719 - more validity checks at traversal time of $ref, $schema,
720 $vocabulary values
721 - update ipv4 format validation to reject leading zeroes in octets,
722 helping avoid a newly-discovered vulnerability in netmasks
723
724 0.024 2021-03-23 21:53:42Z
725 - the default value for "validate_formats" is once again false (it
726 became true in v0.020), to properly conform to the specification
727
728 0.023 2021-02-21 18:36:32Z
729 - fix "try/catch is experimental" warnings in perl 5.33.7
730
731 0.022 2021-02-07 17:33:14Z
732 - fix erroneous use of postfix dereference (closes #42).
733
734 0.021 2021-02-06 18:50:42Z
735 - [Pp]roperties$ keywords now always produce annotations when
736 evaluating successfully, even if there were no matching properties
737 - added the "strict_basic" output format, for strict (but incorrect)
738 adherence to the draft 2019-09 specification
739
740 0.020 2021-01-02 17:12:09Z
741 - the default value for "validate_formats" is now true, to reflect
742 the most typical usecase.
743 - gracefully handle the erroneous schema { "type": null }
744 - fixes to relative-json-pointer format validation
745 - new "annotate_unknown_keywords" config option
746
747 0.019 2020-12-08 18:40:10Z
748 - further improvements to the "terse" output format
749 - add_schema will now die with a Result object rather than a
750 listref of Error objects, when the document contains errors.
751
752 0.018 2020-12-07 18:22:07Z
753 - now can correctly evaluate schemas containing unevaluatedItems,
754 unevaluatedProperties keywords without the user having to
755 explicitly set collect_annotations => 1 in the constructor
756 - fix error in "terse" output formatting that mistakenly dropped
757 some unevaluatedProperties errors
758
759 0.017 2020-11-24 19:15:18Z
760 - refactor keyword implementations into separate vocabulary classes,
761 to faciliate future support for custom vocabularies
762 - traverse the schema before evaluation, for more correct
763 and complete extraction of identifiers and invalid syntax
764 - add callbacks to traverse(), to easily find keywords of interest
765
766 0.016 2020-11-18 18:18:40Z
767 - further fixes to infinite loop detection
768 - fix dereference error when evaluating "definitions",
769 "dependencies"
770 - when adding two schema documents with no canonical uri, preserve
771 knowledge of other identifiers found in the first document
772 - add_schema() no longer adds additional URIs to the document
773 object, only the evaluator
774
775 0.015 2020-10-20 03:08:36Z
776 - fixed infinity/overflow checks for older perls
777
778 0.014 2020-10-16 19:21:17Z
779 - ensure "enum" value is an array
780 - do not evaluate non-arrays against "unevaluatedItems"
781 - fix detection of bad $recursiveAnchor
782 - fix canonical uri calculation for $schema, $recursiveAnchor, and
783 infinite loop detection
784 - for output_format=terse, do not omit the important errors for
785 unevaluated* when annotation collection is disabled
786
787 0.013 2020-09-15 19:14:53Z
788 - detect more cases of resource identifier collisions
789 - fix resolution of relative $ids
790 - new "terse" output format
791
792 0.012 2020-08-13 20:23:21Z
793 - now using unicode semantics for pattern matching
794
795 0.011 2020-08-04 22:16:46Z
796 - better normalization of uris in errors
797 - now detecting infinite loops separately from deep traversal
798 - optionally collect annotations
799 - support for the "unevaluatedItems" and "unevaluatedProperties"
800 keywords
801
802 0.010 2020-07-23 16:50:18Z
803 - fixed error generation for validator keywords with numeric
804 arguments (e.g. minimum, multipleOf)
805 - new "get" method for fetching the schema found at a URI
806 - improved "ipv6" format validation
807
808 0.009 2020-07-07 19:54:44Z
809 - no longer allowing adding another schema document with a duplicate
810 uri but different schema content (some collision checks were too
811 lax).
812 - fix behaviour of $recursiveRef without an $recursiveAnchor in the
813 initial target scope
814
815 0.008 2020-06-22 04:24:06Z
816 - fix bad syntax used in a test
817
818 0.007 2020-06-21 21:20:33Z
819 - raise some inadequate prereq declarations
820 - fix incorrect canonical uri when evaluating a (sub)schema using a
821 non-canonical uri
822
823 0.006 2020-06-19 20:54:40Z
824 - add support for evaluation against a uri
825 - add "add_schema" interface for using additional schema documents
826 within the implementation
827 - support using the "format" keyword as an assertion, with the
828 "validate_formats" option
829
830 0.005 2020-06-09 01:54:05Z
831 - fix some edge cases with usage of $recursiveAnchor, $recursiveRef
832 - fixed several issues with resource identification within schema
833 documents
834
835 0.004 2020-06-02 19:14:32Z
836 - add support for $recursiveAnchor and $recursiveRef
837 - support use of "$ref":"https://json-schema.org/draft/2019-09/schema"
838 by loading common metaschemas from a local cache
839
840 0.003 2020-05-31 20:10:02Z
841 - add infinite recursion detection
842 - process properties in sorted order, for consistent ordering of
843 results
844 - mark a numeric comparison test as TODO on 32-bit machines (see
845 GHI #10)
846
847 0.002 2020-05-27 22:28:15Z
848 - fix incorrect prereq needed for tests
849 - add support for $id and $anchor in single schema documents
850
851 0.001 2020-05-21 15:51:00Z
852 - Initial release [as JSON-Schema-Draft201909].