PackageTrack
Sign in Get early access

carp_serializable

Polymorphic JSON serialization based on json_serializable annotations.

3.0.0 145K downloads/mo #971 most downloaded on pub.dev cph-cachet/carp.sensing-flutter

What this package is like to depend on

Last release 12 days ago

12 Aug 2026

Ships fairly regularly

a new release about every 7 months

Most releases are documented

notes for 6 of 7 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

7 releases · first in 2022

1 release in the last 12 months

see the full history below

Release timeline

7 releases · Aug 2022 to Aug 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 3.0.0 12 Aug 2026
    Release notes
    • BREAKING replaced the built-in Uuid class with the uuid package, which is now re-exported
      • the old generator seeded a Random with DateTime.now().microsecond — the sub-millisecond component (0-999), not a point in time. Being deterministic, it could only ever emit 1000 distinct ids on any device in any run, so ids collided heavily once more than a handful were generated
      • ids are now generated with v4() (random) rather than v1() (time- and MAC-based), so they no longer embed device identity or creation time
      • migration: Uuid().v1 (getter) becomes const Uuid().v4() (method)
    Open source →
  2. 2.0.1 02 Apr 2025
    Release notes
    • bumped Flutter version to 3
    Open source →
  3. 2.0.0 22 Sep 2024
    Release notes

    API level 2.0 for all packages as released on pub.dev

    Open source →
    Release notes
    • type safe annotation in class factor method, like this; FromJsonFactory().fromJson<A>(json)
    • graceful handling of errors when a non-known JSON type is encountered by allowing for a "notAvailable" parameter to the fromJson factory method, like this; FromJsonFactory().fromJson<B>(json, notAvailable: B(-1))
    • refactor of universal unique IDs (UUIDs) to using the Uuid().v1 construct
    • extending unit test coverage (incl., e.g. exceptions)
    • improvement to examples in the example.dart file and documentation in the API doc and README
    Open source →
  4. 1.2.0 01 May 2024
    Release notes
    • added support for generating universal unique IDs (UUIDs) via the UUID.v1 construct
    Open source →
  5. 1.1.1 24 Nov 2023
    Release notes
    • Dart type annotation in json is changed from $type to __type since there were conflict in the Javascript world. This also follows the CARP Core serialization approach.
    • fix of linter errors
    Open source →
  6. 1.1.0 15 Mar 2023

    Nothing published for this version

  7. 1.0.0 09 Aug 2022
    Release notes
    • Initial release extracted from carp_core version 0.40.0
    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