Releases: google/built_value.dart
Update analyzer, build, quiver
Update dependency on analyzer, build, quiver.
Breaking change: your build.dart and watch.dart now need to import build_runner/build_runner.dart instead of build/build.dart.
Tag for "Building a Chat App in Dart" article
Fix builder getters to be available before set is called
Before this fix, they would return null until a setter was used.
Minor fixes
Fix lints, fix lints in generated code.
Allow you to write "void updates" in the builder factory instead of just "updates".
Minor fixes
- Fix some analyzer hints.
- Fix exception from serializer generator if builder field is incorrect.
Lazy copying for faster updates
- Add benchmark for updating deeply nested data structures.
- Make builders copy lazily. This makes updates to deeply nested structures much faster: only the classes on the path to the update are copied, instead of the entire tree.
- Breaking change: if you hand-code the builder then you must mark the fields @virtual so they can be overriden in the generated code.
- Auto-create nested nullable builders when they're accessed. Fixes deserialization with nested nullable builder.
Add serialization from built_json
Merge built_json into built_value, built_json_generator into built_value_generator.
Fix generation for classes that implement multiple interfaces.
Add support for serializing multimaps.
Add enum_class to built_value
Merged enum_class and enum_class_generator into built_value and built_value_generator. These are intended to be used together, and make more sense as a single package.
Better checking, fixes and faster hash
Add checking for correct type arguments for Built and Builder interfaces.
Generate empty constructor with semicolon instead of {}.
Use ArgumentError.notNull for null errors.
Reject dynamic fields.
Add simple benchmark for hashing. Improve hashing performance.
Allow quiver 0.23.
Merge pull request #37 from davidmorgan/upgrade-quiver Allow quiver 0.23.