NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1383 most downloaded on pub.dev
sum_types and sum_types_generator packages together define a code generator enabling sum-types in Dart.
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
Set SDK version to '>=3.0.0 <4.0.0'
'>=3.0.0 <4.0.0'analyzer versions 6.x.xUpdate analyzer constraint to '>=4.6.0 <6.0.0'
analyzer constraint to '>=4.6.0 <6.0.0'Support types visible through qualified imports (import … as …;)
One column per quarter.
import … as …;)Fix a few warnings in the generated code
dynamic type in the generator and the generated codeUpdate analyzer constraint to '>=2.0.0 <5.0.0'
analyzer constraint to '>=2.0.0 <5.0.0'housekeeper to use dart pub and dart rundependency_validator command line parameters (they seem to not be needed anymore)- Depend on analyser ^2.0.0
analyser ^2.0.0Adopt Dart 2.12 / Flutter 2 null-safety
Allow "analyzer" versions below 0.40.0
Make sure no dependency_overrides are used in the example project
dependency_overrides are used in the example project- Fix load(·) method generation.
load(·) method generation.Fix inter-package dependencies.
This is a major update with backward-incompatible changes!
- Update README.md.
Restructure the example project.
Allow nesting sum-types (by mentioning anchors).
dynamic and Null as empty-case markers, use only void.Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (XRecordBase , X.dump(·), X.
XRecordBase<Self>, X.dump(·), X.load(·))Relax dependency constraints to improve compatibility.
- Extend README.md. - Include analysis_options.yaml.
Attempt to not publish uncommited changes.
Update README.md and the package description.
Integrate an example into the package.
- Include a change-log file.
Define the annotations for sum_types_generator.
sum_types_generator.Unit type, required by the generator.Your coding agent can read these notes before it upgrades. Set up the MCP server →