- Set SDK version to
'>=3.0.0 <4.0.0'
- Allow
analyzer
versions 6.x.x
- Update
analyzer
constraint to'>=4.6.0 <6.0.0'
- Support types visible through qualified imports (
import … as …;
)
- Fix a few warnings in the generated code
- Remove the use of
dynamic
type in the generator and the generated code
- Update
analyzer
constraint to'>=2.0.0 <5.0.0'
- Update
housekeeper
to usedart pub
anddart run
- Drop
dependency_validator
command line parameters (they seem to not be needed anymore)
- Depend on
analyser
^2.0.0
- Adopt Dart 2.12 / Flutter 2 null-safety
- Allow "analyzer" versions up to 0.42.0
- Make sure no
dependency_overrides
are used in the example project
- Allow "analyzer" versions below 0.40.0
- Fix
load(·)
method generation.
- Fix inter-package dependencies.
- 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.
- Update README.md.
- Support generic sum-types.
- Restructure the example project.
- Allow nesting sum-types (by mentioning anchors).
- Stop using
dynamic
andNull
as empty-case markers, use onlyvoid
.
- Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (
XRecordBase<Self>
,X.dump(·)
,X.load(·)
)
- Update README.md and the package description.
- Attempt to not publish uncommited changes.
- Extend README.md.
- Include analysis_options.yaml.
- Relax dependency constraints to improve compatibility.
- Integrate an example into the package.
- Include a change-log file.
- Define the annotations for
sum_types_generator
. - Include
Unit
type, required by the generator.