PackageTrack
Sign in Get early access

adeptgenerator

This generator creates a function that returns a new instance of the annotated ClassType by creating a copy of the currentData and replacing its fields with the newData

15.0.0

What this package is like to depend on

Last release 6 days ago

17 Aug 2026

Ships unpredictably

gaps range from 8 days to 1.4 years

Nearly every release is documented

notes for 35 of 35 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

35 releases · first in 2020

8 releases in the last 12 months

see the full history below

Release timeline

35 releases · Jul 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 35
  1. 15.0.0 17 Aug 2026
    Release notes

    Added

    • Fields contributed by a mixin are now generated as fields of the annotated class by the clone, copyWith, diff and isEmpty generators.

    Changed

    • Field types are now resolved against the annotated class, so type arguments of generic superclasses and mixins are substituted instead of emitting the raw type parameter.
    • copyWith now assigns mixin fields with a cascade after the constructor call and skips final mixin fields.

    Fixed

    • A field declared more than once across the hierarchy is now generated only once, honoring the most derived declaration and its @CloneKey, @CopyWithKey, @DiffKey or @IsEmptyKey annotation.
    • Private fields declared in another library are no longer generated.
    Open source →
  2. 14.2.0 31 Jul 2026
    Release notes

    Changed

    • Allow analyzer: ">=10.0.0 <15.0.0"
    Open source →
  3. 14.1.0 03 Jun 2026
    Release notes

    Changed

    • Allow analyzer: ">=10.0.0 <14.0.0"
    Open source →
  4. 14.0.0 17 Feb 2026
    Release notes

    Changed

    • Collections are now cloned using .toList(), .toSet(), .toMap() accordingly.
    Open source →
  5. 13.2.0 13 Feb 2026
    Release notes

    Changed

    • Allow analyzer: ">=8.0.0 <11.0.0"
    Open source →
  6. 13.1.0 26 Nov 2025
    Release notes

    Changed

    • Allow analyzer: ">=8.0.0 <10.0.0"
    Open source →
  7. 13.0.1 19 Sep 2025
    Release notes

    Removed

    • Removed unnecessary log printing.
    Open source →
  8. 13.0.0 10 Sep 2025
    Release notes

    Changed

    • Updated dependencies analyzer to use build: ^4.0.0, source_gen: ^4.0.1 and analyzer: ^8.1.1
    Open source →
  9. 12.0.0 28 Jul 2025
    Release notes

    Changed

    • Updated dependencies analyzer to use build: ^3.0.0, source_gen: ^3.0.0 and adeptannotations: ^7.0.0
    Open source →
  10. 11.0.0 22 Apr 2025
    Release notes

    Changed

    • Updated dependencies analyzer to use ^7.0.0 and source_gen to use ^2.0.0
    Open source →
  11. 10.0.2+1 27 Nov 2023
    Release notes

    Changed

    • Updated analyzer dependency to use '>=5.12.0 <7.0.0'
    Open source →
  12. 10.0.1+1 06 Oct 2023
    Release notes

    Fixed

    • Synthetic fields without getter or setter are ignored when generating copyWith code.
    Open source →
  13. 10.0.0+1 29 Sep 2023
    Release notes

    Added

    • Added support for isEmpty and isNotEmpty code generation.
    Open source →
  14. 9.0.0+1 28 Sep 2023
    Release notes

    Added

    • Added support for copyWith code generation
    Open source →
  15. 8.0.0+1 19 May 2023
    Release notes

    Changed

    • Update dependency constraints to sdk: '>=3.0.0 <4.0.0' flutter: '>=3.3.0'
    • Update dependencies to be compatible with Flutter 3.10.0
    Open source →
  16. 7.0.0+19 06 Feb 2023
    Release notes

    Changed

    • Updated to support latest Flutter 3.7 and adeptannotations: ^3.0.0+9
    Open source →
  17. 6.0.0+18 04 Feb 2023
    Release notes

    Changed

    • Updated to support latest Flutter 3.7
    Open source →
  18. 5.0.0+17 18 Nov 2022
    Release notes

    Changed

    • analyzer updated to breaking change version ^5.0.0
    Open source →
  19. 4.0.0+16 08 Jul 2022
    Release notes

    Changed

    • analyzer updated to breaking change version
    Open source →
  20. 3.0.3+15 04 Apr 2022
    Release notes

    Fixed

    • Minor bug fixed
    Open source →
  21. 3.0.2+14 21 Feb 2022
    Release notes

    Changed

    • analyzer dependency breaking change upgraded
    Open source →
  22. 3.0.1+13 15 Sep 2021
    Release notes

    Fixed

    • Synthetic fields bug fixed when validating for getter and setter.
    Open source →
  23. 3.0.0+12 14 Sep 2021
    Release notes

    Changed

    • analyzer dependency breaking change upgraded
    Open source →
  24. 2.1.0+11 12 Aug 2021
    Release notes

    Added

    • @CloneKey added cloneFunction to be used for specific cloning on a field.
    • @CloneKey added considerEmptyCollectionAsNull to ignore data from collections if it's empty as it were null.
    • @DiffKey added diffFunction to be used for specific diff on a field.
    Open source →
  25. 2.0.1+10 03 May 2021
    Release notes

    Added

    • Support for @CloneKey defaultValue to be used if the currentData or newData is null.
    • Support for @DiffKey defaultValue to be used if currentData and newData are equal.
    Open source →
  26. 2.0.0+9 15 Apr 2021
    Release notes

    Added

    • Support for null-safety
    Open source →
  27. 1.3.1+7 28 Jan 2021
    Release notes

    Changed

    • Dependencies updated
    Open source →
  28. 1.3.1+8 29 Jan 2021
    Release notes

    Fixed

    • Analyzer dependency version conflicts fixed
    Open source →
  29. 1.3.0+6 23 Oct 2020
    Release notes

    Added

    • New generator for @Differentiable() and @DiffKey annotations from adeptannotations package.
    • New property forceCurrentData on @CloneKey() annotation
    Open source →
  30. 1.2.2+5 21 Oct 2020
    Release notes

    Changed

    • Updated dependencies
    Open source →
  31. 1.2.1+4 10 Oct 2020
    Release notes

    Changed

    • Updated dependencies
    Open source →
  32. 1.2.0+3 31 Aug 2020
    Release notes
    • Generator updated to work with ignoreSynthetic from Cloneable annotation
    • Static, const and final fields excluded from cloning
    • Validations added to ensure synthetics fields are properly defined to be used in cloning
    Open source →
  33. 1.1.0+2 13 Aug 2020
    Release notes
    • CloneKey ignore flag is taken into account to ignore fields while cloning
    Open source →
  34. 1.0.0 30 Jul 2020
    Release notes
    • First release
    Open source →
  35. 1.0.0+1 30 Jul 2020
    Release notes
    • Readme updated
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive