Skip to content

Releases: google/built_value.dart

Update analyzer, build, quiver

19 Dec 10:13
Compare
Choose a tag to compare

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

09 Dec 08:18
Compare
Choose a tag to compare

Before this fix, they would return null until a setter was used.

Minor fixes

06 Dec 09:51
Compare
Choose a tag to compare

Fix lints, fix lints in generated code.

Allow you to write "void updates" in the builder factory instead of just "updates".

Minor fixes

29 Nov 10:40
Compare
Choose a tag to compare
  • Fix some analyzer hints.
  • Fix exception from serializer generator if builder field is incorrect.

Lazy copying for faster updates

28 Nov 15:43
Compare
Choose a tag to compare
  • 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

25 Nov 08:48
Compare
Choose a tag to compare

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

17 Nov 14:48
Compare
Choose a tag to compare

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

11 Nov 13:36
Compare
Choose a tag to compare

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.

19 Oct 07:57
Compare
Choose a tag to compare
Merge pull request #37 from davidmorgan/upgrade-quiver

Allow quiver 0.23.