Skip to content

Ack 1.7.0-beta.4

Pre-release
Pre-release

Choose a tag to compare

@leoafarias leoafarias released this 06 Oct 00:49
· 4 commits to main since this release
0023d15

Ack 1.7.0-beta.4

All five packages are aligned at 1.7.0-beta.4: ack, ack_generator, ack_json_schema_builder, ack_mcp_dart, and ack_firebase_ai.

Changes

  • Ack.fromJsonSchema() now validates the supported date-time format automatically. Unsupported format labels continue to produce diagnostics.
  • Valid timestamps preserve their original text, including fractional precision, UTC offset, and announced leap seconds.
  • Ack.string().datetime() now accepts lowercase t and z on announced leap seconds.
  • The JSON Schema builder bridge inherits date-time validation when used with ack 1.7.0-beta.4 or later, without a new API or dependency minimum.
final timestamp = Ack.fromJsonSchema({
  'type': 'string',
  'format': 'date-time',
});
timestamp.parse('2024-02-29T12:34:56.123456789+02:00');

Ack's strict JSON Schema importer supports a documented subset; this release does not claim full JSON Schema Draft 2020-12 support.

Upgrading

No new generator or annotation migration is introduced in beta.4. When upgrading from beta.2 or earlier, the beta.3 breaking migrations still apply: annotations moved into ack, @Schemable() is the unified entry point, and JsonKey is no longer re-exported. See the repository changelog for the full migration details.

Validation

The reviewed release commit passed CI, browser tests, release preflight, schema validation, API compatibility checks, and zero-warning publish dry runs for all five packages.

Release commit: 0023d152288fb69b2967d230481fe8b681606d8b.