Repository navigation
Ack 1.7.0-beta.6
Pre-release
Pre-release
All five packages are aligned at 1.7.0-beta.6: ack, ack_generator, ack_json_schema_builder, ack_mcp_dart, and ack_firebase_ai.
What's Changed
Added
- Evaluation path on imported schema errors (#208):
JsonSchemaValidationErrornow includeskeywordLocation(and serializes it intoMap()), reporting the evaluation path from the root schema to the failing keyword across each$reftraversal.
Fixed
- Consistent
uniqueItemserror path (#207): ImporteduniqueItemsvalidation failures now report the array path (for example#) instead of the duplicate element index, matching nativeAck.list(...).unique().
Performance
- Faster validation and schema imports (#209, #210):
safeParseandsafeEncodecache default root context names per schema type, andAck.fromJsonSchema()reuses compiledpatternregular expressions and validates copied JSON inputs in fewer passes. Error output is unchanged.
Upgrading
No new breaking changes or generator migrations are introduced in 1.7.0-beta.6. When upgrading from 1.6.2 or earlier 1.7.0 betas:
- From
1.7.0-beta.4or earlier: Importedpatternexpressions compile in ECMA-262 Unicode mode (uflag); see the1.7.0-beta.5release notes. - From
1.7.0-beta.2or earlier: Annotations ship inpackage:ackwith@Schemable()as the unified entry point; see the1.7.0-beta.3changelog.