json_schema_builder 0.1.7
json_schema_builder: ^0.1.7 copied to clipboard
A full-featured package used to build and validate JSON schemas in Dart.
json_schema_builder Change Log #
0.1.7 #
- Feature: Add
Schema.validateSync, a synchronous validation entry point for schemas whose references all resolve without fetching. Validation itself is now a synchronous core, and the existingSchema.validateis a thin asynchronous wrapper around it that fetches the remote references it needs into theSchemaRegistryup front, in parallel. Behavior ofvalidateis unchanged. - Feature: Add
SchemaRegistry.resolveSyncandSchemaRegistry.fetch, which split reference resolution from fetching, andSchemaRegistry.prefetchDependencies, which fetches the schemas a schema refers to in parallel so that it can then be validated synchronously. - Feature: Export
SchemaFetchExceptionand the newSchemaResolutionRequiredException, whichvalidateSyncthrows when a reference can only be resolved by fetching.
0.1.6 #
- Feature: Export
SchemaRegistryto support managing schema references during component validation.
0.1.5 #
- Internal: publishing workflow automation.
0.1.4 #
- Fix: Remove
package:intldependency (#682, #686). - Internal: Enable stricter dynamic-related analysis (#652).
- Internal: Use null-aware elements per latest lint update (#690).
- Internal: Update test_and_fix script and json_schema_builder infrastructure.
0.1.3 #
- Use
email_validatorpackage to validate emails instead of a regular expression. - Reduce required version for
metapackage to 1.16.0.
0.1.2 #
- Add dartdoc comments to all public APIs.
- Treat failures to fetch remote schemas as validation failures.
- Add web compatibility using conditional imports for
dart:io.
0.1.1 #
- Fix homepage link
0.1.0 #
- Initial version.