ack_generator 1.0.1 copy "ack_generator: ^1.0.1" to clipboard
ack_generator: ^1.0.1 copied to clipboard

Code generator for AckType extension-type generation

1.0.1 #

1.0.0 #

1.0.0-beta.12 #

Breaking #

  • Remove class-based schema generation. ack_generator now supports only top-level @AckType() schema variables and getters.

1.0.0-beta.11 #

1.0.0-beta.10 #

1.0.0-beta.9 #

1.0.0-beta.8 #

1.0.0-beta.7 #

1.0.0-beta.6 #

Bug Fixes #

  • Primitives: Comprehensive fixes for primitives and correctness (#50).

Improvements #

  • Analyzer: Refactored field analyzer, model analyzer, and schema AST analyzer for correctness (#50).
  • Builders: Improved type builder, field builder, and schema builder (#50).
  • Generator: Centralized null/default handling in generator output (#65).
  • AckType factories: Generate direct schema.parseAs(...) / schema.safeParseAs(...) calls and stop emitting _$ackParse / _$ackSafeParse helpers.

1.0.0-beta.5 - 2026-01-14 #

Features #

  • Doc comments: Support doc comments for schema descriptions (#61). Field and class doc comments are now used to populate schema descriptions.

Bug Fixes #

  • List types: Resolve list element types with method chain modifiers (#60). Fixed type resolution for complex list schemas with chained method calls.
  • AckType casts: Fix @AckType schema ref casts and improve nested schema handling (#59).

Improvements #

  • Dependencies: Updated ack, ack_annotations, meta and test dependencies to latest versions (#56).

1.0.0-beta.4 - 2025-12-29 #

Bug Fixes #

  • Primitives: Comprehensive fixes for primitive schema generation and correctness.
  • Typed list getters: Support Ack.list(schemaRef) for typed list getters (#47).
  • Field descriptions: Add field descriptions to generated schema output (#44).
  • Extension types: Generate extension types for all AckType schemas; skip for nullable AckType schemas.

Improvements #

  • Circular dependency handling: Improved circular dependency handling and reduced duplication.
  • Analyzer compatibility: Updated for analyzer >=7.x <9 API changes (#41).
  • Consolidated naming utilities: Removed duplicate naming utility functions.
  • Documentation: Fixed stale documentation for extension type generation.

1.0.0-beta.3 - 2025-10-27 #

1.0.0-beta.2 - 2025-10-09 #

1.0.0-beta.1 - 2025-10-06 #