Skip to content

Release v1.0.0-beta.7

Pre-release
Pre-release

Choose a tag to compare

@leoafarias leoafarias released this 24 Feb 20:34
09b67bf

Release v1.0.0-beta.7

This release adds top-level enum/literal schema constructors, deprecates chained string schema methods, and improves the code generator's nested schema resolution.

Key Features

  • Top-level enum and literal schemas: New Ack.enumString(), Ack.literal(), and Ack.enumValues() constructors for creating enum and literal schemas directly (#73)
  • Schema result mapping: New SchemaResult.map() for transforming validated values
  • Cross-file schema resolution: Generator now resolves nested schemas across files with strict typing (#77)

Deprecations

  • StringSchema.literal() and StringSchema.enumString() are deprecated — use Ack.literal() and Ack.enumString() instead (#74)

Improvements

  • Refactored AckType conversion helpers for cleaner generated code (#72)
  • Major improvements to schema AST analyzer for correctness in complex nested scenarios

Packages

Package Version
ack 1.0.0-beta.7
ack_annotations 1.0.0-beta.7
ack_generator 1.0.0-beta.7
ack_firebase_ai 1.0.0-beta.7
ack_json_schema_builder 1.0.0-beta.7