PackageTrack
Sign in Get early access

sum_types

sum_types and sum_types_generator packages together define a code generator enabling sum-types in Dart.

0.4.0 69K downloads/mo #1286 most downloaded on pub.dev werediver/sum-types-dart

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.8 years

Nearly every release is documented

notes for 23 of 23 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

23 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

23 releases · Aug 2019 to Nov 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 23
  1. 0.4.0 06 Nov 2024
    Release notes
    • Set SDK version to '>=3.0.0 <4.0.0'
    • Allow analyzer versions 6.x.x
    Open source →
  2. 0.3.5 28 Jan 2023
    Release notes
    • Update analyzer constraint to '>=4.6.0 <6.0.0'
    Open source →
  3. 0.3.4 11 Nov 2022
    Release notes
    • Support types visible through qualified imports (import … as …;)
    Open source →
  4. 0.3.3 25 Oct 2022
    Release notes
    • Fix a few warnings in the generated code
    • Remove the use of dynamic type in the generator and the generated code
    Open source →
  5. 0.3.2 11 Jul 2022
    Release notes
    • Update analyzer constraint to '>=2.0.0 <5.0.0'
    • Update housekeeper to use dart pub and dart run
    • Drop dependency_validator command line parameters (they seem to not be needed anymore)
    Open source →
  6. 0.3.1 08 Feb 2022
    Release notes
    • Depend on analyser ^2.0.0
    Open source →
  7. 0.3.0 23 Jun 2021
    Release notes
    • Adopt Dart 2.12 / Flutter 2 null-safety
    Open source →
  8. 0.2.1 19 Oct 2019
    Release notes
    • Fix load(·) method generation.
    Open source →
  9. 0.2.1+1 16 Nov 2019
    Release notes
    • Allow "analyzer" versions below 0.40.0
    Open source →
  10. 0.2.1+2 16 Nov 2019
    Release notes
    • Make sure no dependency_overrides are used in the example project
    Open source →
  11. 0.2.0 19 Oct 2019
    Release notes
    • This is a major update with backward-incompatible changes!
    • Implement a new generation scheme with user-defined top-level classes. The new scheme improves interoperability with other code generators and simplifies sum-type annotations a lot.
    Open source →
  12. 0.2.0+1 19 Oct 2019
    Release notes
    • Fix inter-package dependencies.
    Open source →
  13. 0.1.5 12 Oct 2019
    Release notes
    • Support generic sum-types.
    • Restructure the example project.
    Open source →
  14. 0.1.5+1 12 Oct 2019
    Release notes
    • Update README.md.
    Open source →
  15. 0.1.4 19 Sep 2019
    Release notes
    • Allow nesting sum-types (by mentioning anchors).
    • Stop using dynamic and Null as empty-case markers, use only void.
    Open source →
  16. 0.1.3 13 Sep 2019
    Release notes
    • Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (XRecordBase<Self>, X.dump(·), X.load(·))
    Open source →
  17. 0.1.2 26 Aug 2019
    Release notes
    • Integrate an example into the package.
    Open source →
  18. 0.1.2+1 27 Aug 2019
    Release notes
    • Relax dependency constraints to improve compatibility.
    Open source →
  19. 0.1.2+2 27 Aug 2019
    Release notes
    • Extend README.md.
    • Include analysis_options.yaml.
    Open source →
  20. 0.1.2+3 27 Aug 2019
    Release notes
    • Attempt to not publish uncommited changes.
    Open source →
  21. 0.1.2+4 29 Aug 2019
    Release notes
    • Update README.md and the package description.
    Open source →
  22. 0.1.1 26 Aug 2019
    Release notes
    • Include a change-log file.
    Open source →
  23. 0.1.0 26 Aug 2019
    Release notes
    • Define the annotations for sum_types_generator.
    • Include Unit type, required by the generator.
    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