NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #864 most downloaded on pub.dev
JSON Schema implementation in Dart
Last release 12 months ago
08 Oct 2025
Release timing varies
gaps range from 2 weeks to 10 months
Most releases are documented
notes for 27 of 44 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
50 releases · first in 2013
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This patch release includes the following changes:
Notes created on Wednesday, October 08 05:39 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This patch release includes the following changes:
#197 Avoid nullable schemaPath and instancePath
#198 Add lib/fix_data.yaml for automatic migration with dart fix.
#199 Avoid empty instancePath when propertyNames is violated
#205 RM-273259 Release json_schema 5.2.1
Notes created on Friday, February 28 03:54 PM UTC
One column per quarter.
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This minor release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This minor release includes the following changes:
#188 Avoid unnecessary null pointer exception if reference schema is given
#189 Fix ValidationResults.toString().
#191 Mark an additionalProperty as evaluated.
#192 export ValidationResults
#193 Fix formatting
#195 RM-252173 Release json_schema 5.2.0
Notes created on Wednesday, July 24 08:50 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This patch release includes the following changes:
#185 Rewrite publish workflow to include --skip-validation flag
#186 RM-251862 Release json_schema 5.1.7
Notes created on Wednesday, April 03 11:27 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This patch release includes the following changes:
#182 Fix names in publish workflow
#183 RM-251856 Release json_schema 5.1.6
Notes created on Tuesday, April 02 09:13 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This patch release includes the following changes:
#180 Fix publish workflow
#181 RM-251847 Release json_schema 5.1.5
Notes created on Tuesday, April 02 08:51 PM UTC
Build: (waiting for build to complete) Skynet Results: (waiting for Skynet results) Pipeline: (waiting for pipeline to start) This patch release inclu
Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
Pipeline: (waiting for pipeline to start)
This patch release includes the following changes:
#177 Add a CODEOWNERS file
#178 3546 Added publish workflow
#179 RM-212468 Release json_schema 5.1.4
Notes created on Tuesday, April 02 08:23 PM UTC
Build: https://ci.webfilings.com/build/4942381 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4942381/latest Pipeline: No Pipeline
Build: https://ci.webfilings.com/build/4942381
Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4942381/latest
Pipeline: No Pipeline
This patch release includes the following changes:
#170 Update Changelog
#173 Widen range of rfc_6901
#174 RM-201970 Release json_schema 5.1.3
Notes created on Tuesday, September 12 12:45 PM UTC
Build: https://ci.webfilings.com/build/4728073 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4728073/latest Pipeline: No Pipeline
Build: https://ci.webfilings.com/build/4728073
Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4728073/latest
Pipeline: No Pipeline
This patch release includes the following changes:
#168 chore(package): widen range on http
#169 RM-197426 Release json_schema 5.1.2
Notes created on Thursday, July 06 06:34 PM UTC
Build: https://ci.webfilings.com/build/4636583 Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4636583/latest Pipeline: No Pipeline
Build: https://ci.webfilings.com/build/4636583
Skynet Results: https://wf-skynet-hrd.appspot.com/apps/test/smithy/4636583/latest
Pipeline: No Pipeline
This patch release includes the following changes:
#160 Apply recommended linting rules
#165 RM-197334 Release json_schema 5.1.1
Notes created on Tuesday, June 06 02:37 PM UTC
Add an JsonSchema.empty({SchemaVersion schemaVersion}) constructor
JsonSchema.empty({SchemaVersion schemaVersion}) constructorlogging and collection dependenciesClean up pubspec, add .pubignore
Nothing published for this version
Nothing published for this version
Remove usages of .slice to help downstream packages work around a dart2js compiler bug
.slice to help downstream packages work around a dart2js compiler bugFix bug where type getter would throw when typeList was null
type getter would throw when typeList was nullJsonSchema.schemaMap is now truly unmodifiable (was before in practice anyway) and hashCode is cached by taking advantage of that.
resolvePathJsonSchema.schemaMap is now truly unmodifiable (was before in practice anyway) and hashCode is cached by taking advantage of that.Validator.evaluatedProperties was accidentally made public, pull it back to private.now returns ValidationResult instead of bool like validateWithResults (now deprecated).
json_schema 4.0 continues our journey to support additional new versions of the JSON Schema specification (Draft 2019-09 and Draft 2020-12)! Custom vocabulary and format support is also included in this release! In addition to those major features, we have better support for certain built-in formats, as well as improved spec test compliance.
We have greatly reduced the number of dependencies in preparation for a null-safety release (which we're planning in another major release). This has also come with a new Makefile instead our old dart_dev based commands (see README).
SchemaVersion.draft2019_09)SchemaVersion.draft2020_12)List<CustomVocabulary> customVocabularies can be passed to all JsonSchema factories.CustomVocabularyCustomKeywordValidationContextMap<String, Function> customFormats can be passed to and JsonSchema factory.ValidationContextvalidateWithResults in favor of validate which now returns the same thing (ValidationResults).DefaultValidators and related globals in favor of passing customFormats to the JsonSchema factories.bin/schemadot.dart, lib/schema_dot.dart and related exampleslib/browser.dart and lib/vm.dart and associated globals createSchemaFromUrlBrowser, configureJsonSchemaForBrowser, globalCreateJsonSchemaFromUrl createSchemaFromUrlVm, configureJsonSchemaForVm and resetGlobalTransportPlatform. These were for configuring the runtime environment, which now happens automatically.JsonSchema.createSchemaAsync in favor of JsonSchema.createAsyncJsonSchema.createSchema in favor of JsonSchema.createJsonSchema.createSchemaFromUrl in favor of JsonSchema.createFromUrlRefProvider.asyncSchema, RefProvider.syncSchema, RefProvider.asyncJson, and RefProvider.syncJson in favor of RefProvider.async and RefProvider.async, which are easier to use.JsonSchema.refMapvalidate:
ValidationResult instead of bool like validateWithResults (now deprecated).resolvePath with 2019-09 and 2020-12:
$refs alongside other keywords, which wasn't allowed in earlier drafts, can't always be resolved.
We make a best-effort to resolve authoritatively and fall back to throwing an error if the resolution is ambiguous. In future releases, we may release
support for resolving this sort of ambiguity (properties + ref, sub-property of a $ref and as sub-property conflicting, etc) based on user-preference.$dynamicRefs cannot yet be resolved using this method (you will only receive the ref itself.)Nothing published for this version
Nothing published for this version
Nothing published for this version
Deprecate JsonSchema.validateWithErrors
Validator.validateWithResults (This new method gives the most complete and customizable validation results)JsonSchema.validateWithResultsJsonSchema.validateValidator.validateJsonSchema.validateWithErrorsValidator.errorsValidator.errorObjectsNothing published for this version
Deprecate non-json RefProviders
Nothing published for this version
* Removed support for Dart 1
Nothing published for this version
Add note about root path in error string when instance path is empty
ValidationError classUse deep equality to compare maps, fixing equality when enums are present
New validateWithErrors method on JsonSchema returns all validation errors as a list of objects
validateWithErrors method on JsonSchema returns all validation errors as a list of objectsValidationError objects include both instance & schema paths for each errorNothing published for this version
Nothing published for this version
Nothing published for this version
json_schema is no longer bound to dart:io and works in the browser!
examplescreateSchemaAsynccreateSchema and createSchemaAsyncRefProvider and RefProviderAsyncvalidate with parseJson = trueNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
* Code cleanup * Strong mode * Switch build tools to dart_dev
Update dependency constraint on the args package.
args package.Nothing published for this version
Nothing published for this version
Nothing published for this version
Add a dependency on the args package.
args package.Add a dependency on the logging package.
logging package.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →