ack_annotations 1.4.0
ack_annotations: ^1.4.0 copied to clipboard
Annotations for Ack schema-first models and class-first schema generation
1.4.0 #
1.3.0 #
Changed #
- Align with the coordinated Ack 1.3 release introducing
ack_mcp_dart; this package has no runtime or public API changes from 1.2.0.
1.2.0 #
Added #
- Add
@AckInfer()for immutable schema-first model generation. Custom names are exact and annotated libraries declare.ack.dartplus.ack.g.dart. - Add class-first
@AckModel(),@AckField, constraint annotations, unknown-property modes, exact schema facade names, and the generated JSON marker used by Ack-owned output.
Deprecated #
- Deprecate only
@AckType(). It will be removed in Ack 2.0.0; use@AckInfer()for schema-first models or@AckModel()for class-first models. Its Ack 1.1 name suffixing and generated extension-type APIs remain unchanged until removal.
Changed #
- Raise the minimum Dart SDK to 3.9.
- Make the new
AckInferand internal JSON marker annotation classes final. - Finalize the pre-release class-first API as
AckUnknownPropertyPolicy,unknownProperties, andcaptureField, with no deprecated aliases.
1.1.0 #
- See release notes for details.
1.0.1 #
- See release notes for details.
1.0.0 #
- See release notes for details.
1.0.0-beta.12 #
Breaking #
- Remove
AckModel,AckField, and decorator annotations.ack_annotationsnow exposes only@AckType().
1.0.0-beta.11 #
- See release notes for details.
1.0.0-beta.10 #
- See release notes for details.
1.0.0-beta.9 #
- See release notes for details.
1.0.0-beta.8 #
- See release notes for details.
1.0.0-beta.7 #
- See release notes for details.
1.0.0-beta.6 #
Improvements #
- AckType: Refined annotation parameters and improved type handling (#50).
- AckField: Improved field annotation correctness (#50).
- Breaking:
AckField.requiredwas replaced byrequiredMode(AckFieldRequiredMode.auto|required|optional). Migrate@AckField(required: true)to@AckField(requiredMode: AckFieldRequiredMode.required)andrequired: falsetorequiredMode: AckFieldRequiredMode.optional.
1.0.0-beta.5 - 2026-01-14 #
Improvements #
- Documentation: Fixed broken links and added missing API documentation (#57).
- Dependencies: Updated
metadependency to latest version (#56).
1.0.0-beta.4 - 2025-12-29 #
- Dependency version bump to align with ack v1.0.0-beta.4.
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.