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
Releases
latest 23-
0.4.006 Nov 2024 -
0.3.528 Jan 2023 -
0.3.411 Nov 2022 -
0.3.325 Oct 2022Release notes
Open source →- Fix a few warnings in the generated code
- Remove the use of
dynamictype in the generator and the generated code
-
0.3.211 Jul 2022Release notes
Open source →- Update
analyzerconstraint to'>=2.0.0 <5.0.0' - Update
housekeeperto usedart pubanddart run - Drop
dependency_validatorcommand line parameters (they seem to not be needed anymore)
- Update
-
0.3.108 Feb 2022 -
0.3.023 Jun 2021 -
0.2.119 Oct 2019 -
0.2.1+116 Nov 2019 -
0.2.1+216 Nov 2019 -
0.2.019 Oct 2019Release notes
Open source →- 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.
-
0.2.0+119 Oct 2019 -
0.1.512 Oct 2019 -
0.1.5+112 Oct 2019 -
0.1.419 Sep 2019Release notes
Open source →- Allow nesting sum-types (by mentioning anchors).
- Stop using
dynamicandNullas empty-case markers, use onlyvoid.
-
0.1.313 Sep 2019Release notes
Open source →- Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (
XRecordBase<Self>,X.dump(·),X.load(·))
- Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (
-
0.1.226 Aug 2019 -
0.1.2+127 Aug 2019 -
0.1.2+227 Aug 2019 -
0.1.2+327 Aug 2019 -
0.1.2+429 Aug 2019 -
0.1.126 Aug 2019 -
0.1.026 Aug 2019Release notes
Open source →- Define the annotations for
sum_types_generator. - Include
Unittype, required by the generator.
- Define the annotations for