PackageTrack
Sign in Get early access

auto_mappr

Code generation for mapping between different objects with ease.

2.16.0 11K downloads/mo #2869 most downloaded on pub.dev netglade/auto_mappr

What this package is like to depend on

Last release 2 days ago

21 Aug 2026

Release timing varies

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 35 of 35 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

37 releases · first in 2023

7 releases in the last 12 months

see the full history below

Release timeline

37 releases · Mar 2023 to Aug 2026
2024 2025 2026
Release Pre-release

Releases

latest 37
  1. 2.16.0 21 Aug 2026
    Release notes
    • Bump minimum Dart SDK version to 3.12.0.
    • Bump auto_mappr_annotation version to ^2.4.0.
    • Bump equatable version to ^2.1.0.
    • Use Equatable as a mixin instead of the deprecated EquatableMixin.
    Open source →
  2. 2.15.1 21 Aug 2026
    Release notes
    • Fix generation failing when the same mappr is included multiple times in the includes hierarchy. #256
    Open source →
  3. 2.15.0 10 Apr 2026
    Release notes
    • Bump analyzer version to >=9.0.0 <11.0.0. #255
    Open source →
  4. 2.14.0 06 Jan 2026
    Release notes
    • Bump analyzer version to >=9.0.0 <10.0.0. #253
    Open source →
  5. 2.13.0 18 Dec 2025
    Release notes
    • Added handling for classes with dynamic nested types. #252
    • Added warning when mapping dynamic types without defined type converter. #252
    Open source →
  6. 2.12.0 07 Nov 2025
    Release notes
    • Removed (unused) dependency on get_it package.
    Open source →
  7. 2.11.0 22 Oct 2025
    Release notes
    • Fix firstWhereOrNull isn't defined for the type Metadata. #246
    • Bump dependencies:
      • build to ^4.0.0
      • source_gen to ^4.0.0
      • analyzer to >=8.1.1 <9.0.0
    • Update asset resolution function to support targets outside of the current working directory. #244
    Open source →
  8. 2.10.0 20 Aug 2025
    Release notes
    • Fix overridden fields not being mapped in some cases. #243
    • Bump dependencies:
      • analyzer to >=7.4.0 <8.0.0 (same as freezed)
      • build to ^3.0.0
      • source_gen to ^3.0.0
      • build_runner to ^2.7.0
    Open source →
  9. 2.9.0 12 May 2025
    Release notes
    • Migrate to 7.4 Element model https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/element_model_migration_guide.md #237
    • Bump to netglade_analysis 16.1.0
    Open source →
  10. 2.8.1 09 May 2025
    Release notes
    • Fix constructor selection when parameter does not corresponds with class's field #234
    Open source →
  11. 2.8.0 04 Feb 2025
    Release notes
    • Bump source_gen version to ^2.0.0
    Open source →
  12. 2.7.0 28 Jan 2025
    Release notes
    • Bump analyzer version to >=6.5.0 <8.0.0
    Open source →
  13. 2.6.0 23 Jan 2025
    Release notes
    • Update dependencies
    • Update get_it version to ^8.0.0
    Open source →
  14. 2.5.0 14 May 2024
    Release notes
    • Add support for safe mapping (mapping exceptions handling). #216
    Open source →
  15. 2.4.0 26 Mar 2024
    Release notes
    • Fix nested types ignores settings about null values (whenNull and ignoreNull). #191
    • Fix not considering renaming ("from") when mapping using setters. #192
    Open source →
    Release notes
    • Fix nested types ignores settings about null values (whenNull and ignoreNull). #191
    • Fix not considering renaming ("from") when mapping using setters. #192
    Open source →
  16. 2.3.0 13 Feb 2024
    Release notes
    • Support zero argument function in custom mapping. #169
    Open source →
  17. 2.2.0 26 Nov 2023
    Release notes
    • Improve error messages. #147
    • When the source is not null, TypeConverter<Object, Object> and TypeConverter<Object, Object?> now support mapping of source field Object? -> target field Object?. #142
    • Support Field's field name mapping in reverse. #157
    Open source →
    Release notes
    • Improve error messages. #147
    • When the source is not null, TypeConverter<Object, Object> and TypeConverter<Object, Object?> now support mapping of source field Object? -> target field Object?. #142
    • Support Field's field name mapping in reverse. #157
    Open source →
  18. 2.1.1 06 Oct 2023
    Release notes
    • Fix auto_mappr_annotation dependency. #130
    • Add support for nullable type converters. #130
    Open source →
    Release notes
    • Fix auto_mappr_annotation dependency. #130
    Open source →
  19. 2.1.0 06 Oct 2023
    Release notes
    • Add support for nullable type converters. #130
    Open source →
  20. 2.0.2 04 Oct 2023
    Release notes
    • Fix null value when nullable source and target resulting in {} and not null. #129
    Open source →
  21. 2.0.1 02 Oct 2023
    Release notes
    • Fix type converters when used with reverse mappings.
    Open source →
    Release notes
    • Fix type converters when used with reverse mappings. #127
    Open source →
  22. 2.0.0 19 Sep 2023
    Release notes
    • Breaking: Allow "absorbing" modules using includes on @AutoMappr. Previous modules is now delegates. #117
    • Breaking: Remove shared AutoMappr builder that used PartBuilder, now .auto_mappr.dart is generated using LibraryBuilder. #117
    • Add type converters, use converters on AutoMappr or MapType. #119
    • Add a reverse option on MapType, which includes the reverse mapping. #115
    • Add a support for Dart 3 and Records feature. #116
    Open source →
    Release notes
    • Breaking: Allow "absorbing" modules using includes on @AutoMappr. Previous modules is now delegates. #117
    • Breaking: Remove shared AutoMappr builder that used PartBuilder, now .auto_mappr.dart is generated using LibraryBuilder. #117
    • Add type converters, use converters on AutoMappr or MapType. #119
    • Add a reverse option on MapType, which includes the reverse mapping. #115
    • Add a support for Dart 3 and Records feature. #116
    Open source →
  23. 2.0.0-beta2 11 Sep 2023 pre-release
    Release notes
    • Add type converters, use converters on AutoMappr or MapType. #119
    Open source →
    Release notes
    • Add type converters, use converters on AutoMappr or MapType. #119
    Open source →
  24. 2.0.0-beta1 08 Sep 2023 pre-release
    Release notes
    • Breaking: Allow "absorbing" modules using includes on @AutoMappr. Previous modules is now delegates. #117
    • Breaking: Remove shared AutoMappr builder that used PartBuilder, now .auto_mappr.dart is generated using LibraryBuilder. #117
    • Add a reverse option on MapType, which includes the reverse mapping. #115
    • Add a support for Dart 3 and Records feature. #116
    Open source →
    Release notes
    • Breaking: Allow "absorbing" modules using includes on @AutoMappr. Previous modules is now delegates. #117
    • Breaking: Remove shared AutoMappr builder that used PartBuilder, now .auto_mappr.dart is generated using LibraryBuilder. #117
    • Add a reverse option on MapType, which includes the reverse mapping. #115
    • Add a support for Dart 3 and Records feature. #116
    Open source →
  25. 1.7.0 28 Aug 2023
    Release notes
    • Adhere to netglade_analysis. #94
    • Update analyzer and mocktail packages. #111
    Open source →
  26. 1.6.0 21 Jul 2023
    Release notes
    • Add support for Forced non-nullable field for nullable source. #105
    Open source →
  27. 1.5.0 27 Jun 2023
    Release notes
    • Add support for library aliases, so mapping now supports types from different libraries with the same name. It also work in cases when library alias's exports. #62
    • Adhere to netglade_analysis 2.0.0.
    Open source →
  28. 1.4.0 22 May 2023
    Release notes
    • Add modules. #67
    • Split method builder into separate files. #67
    • Add when whenSourceIsNull support to enum mapping. #59
    • Add enum mapping fallback support for missing fields in the Target using whenSourceIsNull. #59
    • Fix top-level functions now work with whenSourceIsNull. #59
    Open source →
  29. 1.3.1 25 Apr 2023
    Release notes
    • Add documentation for enums and converting iterables. #52
    • Fix generator when multiple annotations are used. #51
    • Add Injectable example. #51
    Open source →
  30. 1.3.0 24 Apr 2023
    Release notes
    • Fix mapping from/to subclasses. #37
    • Add tryConvert method. #34
    • Fix selecting private constructors. #37
    • Add non factory over factory constructor selection preference. #37
    • Add required_inputs with .freezed.dart and .drift.dart by default. #31
    • Add enum mapping support. #36
    • Add try/convert{Iterable,List,Set} methods. #35
    Open source →
  31. 1.2.1 12 Apr 2023
    Release notes
    • Document how to use the convert method. #23
    • Update package's icon. #24
    Open source →
  32. 1.2.0 06 Apr 2023
    Release notes
    • Adhere lints to netglade_analysis 1.2.0. #20
    • Use tear-offs when possible.
    • Omit map when possible.
    • Omit null check of non-nullable when possible.
    Open source →
  33. 1.1.2 03 Apr 2023
    Release notes
    • Update exception messages to include suggestions for troubleshooting.
    • Add a Discord link to README.
    Open source →
  34. 1.1.1 31 Mar 2023
    Release notes
    • Add about section to README.
    • Add a note about using generated source and target classes.
    Open source →
  35. 1.1.0 29 Mar 2023
    Release notes
    • Add support for generics.
    Open source →
  36. 1.0.1 27 Mar 2023
    Release notes
    • Fix pub.dev issues.
    Open source →
  37. 1.0.0 27 Mar 2023
    Release notes
    • Initial version.
    • Add primitive objects mapping
    • Add complex objects mapping
    • Add field mapping
    • Add custom mapping
    • Add ignoring mapping
    • Add iterable objects mapping
    • Add maps objects mapping
    • Add default field value
    • Add default object value
    • Add constructor selection
    • Add positional and named constructor parameters
    • Add mapping to target (constructor parameters or public setters)
    • Add mapping from source (public instance or static getters)
    • Add nullability handling
    • Add works with equatable
    • Add works with json_serializable
    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