ack 1.0.0-beta.4
ack: ^1.0.0-beta.4 copied to clipboard
A simple validation library for Dart
1.0.0-beta.4 - 2025-12-29 #
Breaking Changes #
- WellKnownFormat: Reduced to 7 core formats (
email,uri,uuid,date,dateTime,ipv4,ipv6). Removed formats:hostname,idn_email,idn_hostname,uri_reference,uri_template,iri,iri_reference,time,duration,int32,int64,float,double,json_pointer,relative_json_pointer,regex,enum_,byte,binary. Custom format strings are still supported via theformatproperty. withDescriptiondeprecated: Usedescribe()instead for setting schema descriptions.
Bug Fixes #
- JsonSchema.toJson: Now correctly adds null branch to
anyOf/oneOfcompositions whennullable: true, producing valid JSON Schema Draft-07 format.
Improvements #
- DRY refactoring: Consolidated duplicate primitive schema parsers into one.
- Hardened schema type handling: Improved map validation and schema type handling.
- Consolidated JSON schema utilities: Reduced duplication across JSON schema utilities.
1.0.0-beta.3 - 2025-10-27 #
- See release notes for details.
1.0.0-beta.2 - 2025-10-09 #
- See release notes for details.
1.0.0-beta.1 - 2025-10-06 #
- See release notes for details.