PackageTrack
Sign in Get early access

automap

A lightweight object mapper for Dart, with support for automatic JSON-based mapping and manual mapping expressions.

0.1.0 leynier/automap-dart

What this package is like to depend on

Last release 9 days ago

15 Aug 2026

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 4 of 4 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

4 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

4 releases · Apr 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 4
  1. 0.1.0 15 Aug 2026
    Release notes

    Full Changelog: v0.0.3...v0.1.0

    Open source →
    Release notes

    Note: this release drops support for Dart 2 and contains breaking changes.

    Breaking changes

    • Require Dart 3 (sdk: ^3.0.0).
    • Rename MapDoesNotExistError to MapDoesNotExistException and MapDuplicateError to MapDuplicateException; every exception now extends the new sealed AutoMapperException base class.
    • AutoMapper now has a private constructor: use the AutoMapper.I singleton, or AutoMapper.reset() to get a fresh instance.
    • Manual map expressions now receive Map<String, dynamic> params instead of a raw Map.
    • MapException now exposes message, cause and stackTrace fields.
    • AutoMapperModel is now an abstract interface class.

    Features

    • Add AutoMapper.reset() to replace the singleton instance, useful to isolate state between tests.
    • Deprecate addMap in favor of addAutoMap (kept as a delegating alias).
    • Wrap failures thrown by mapping expressions in MapException, preserving the original cause and stack trace; programming errors (Error) are no longer masked and propagate untouched.
    • Validate the result of mapping expressions and throw a descriptive MapException instead of failing with an opaque cast error.
    • Throw a descriptive MapDoesNotExistException when an auto map exists but the source does not implement AutoMapperModel.

    Maintenance

    • Migrate from the discontinued lint package to package:lints with strict-casts, strict-raw-types and strict-inference.
    • Add a full test suite and GitHub Actions CI and release workflows.
    • Remove the stale Flutter .metadata artifact.
    Open source →
  2. 0.0.3 24 Apr 2021
    Release notes
    • Add lint style badge to README.md
    • Update repository in pubspec.yaml
    Open source →
  3. 0.0.2 23 Apr 2021
    Release notes
    • Fix description
    Open source →
  4. 0.0.1 23 Apr 2021
    Release notes
    • Initial implementation
    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