sum_types 0.2.0 sum_types: ^0.2.0 copied to clipboard
sum_types and sum_types_generator packages together define a code generator enabling sum-types in Dart.
0.2.0 #
- 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.1.5+1 #
- Update README.md.
0.1.5 #
- Support generic sum-types.
- Restructure the example project.
0.1.4 #
- Allow nesting sum-types (by mentioning anchors).
- Stop using
dynamic
andNull
as empty-case markers, use onlyvoid
.
0.1.3 #
- Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (
XRecordBase<Self>
,X.dump(·)
,X.load(·)
)
0.1.2+4 #
- Update README.md and the package description.
0.1.2+3 #
- Attempt to not publish uncommited changes.
0.1.2+2 #
- Extend README.md.
- Include analysis_options.yaml.
0.1.2+1 #
- Relax dependency constraints to improve compatibility.
0.1.2 #
- Integrate an example into the package.
0.1.1 #
- Include a change-log file.
0.1.0 #
- Define the annotations for
sum_types_generator
. - Include
Unit
type, required by the generator.