Skip to content

Releases: google/built_value.dart

Update dependencies

04 Sep 09:34
b6a07f5

Choose a tag to compare

  • Require analyzer ^8.0.0.
  • Allow built_value_generator to use build 4.0.0.
  • Allow built_value_generator to use source_gen 4.0.0.

Use `build 3.0.0`

18 Jul 08:15
e650eda

Choose a tag to compare

  • Use build ^3.0.0.
  • Use source_gen ^3.0.0.

Use `build ^3.0.0-dev`

08 Jul 10:44
3aa5d69

Choose a tag to compare

Pre-release
  • Use build ^3.0.0-dev.
  • Use source_gen ^3.0.0-dev.

Serialize mutable collections

28 May 08:22
8060463

Choose a tag to compare

  • Add mutable collection serializers so built_value can serialize List,
    Set and Map. It's still recommended to avoid mutable collections inside
    value types as they break hashing, comparison and caching; the intended use
    case is that you have one top level mutable collection of your immutable
    value types.

Improvements to generation

27 May 08:18
ee254cb

Choose a tag to compare

  • Stop generating unnecessary new keywords.
  • Stop generating explicit null checks in constructors: these are not needed
    with sound null safety.
  • Stop generating checks for dynamic in generics in constructors: accidental
    use of dynamic is better avoided with lints than a runtime check.

Improved build performance

18 Dec 10:47
5ed844f

Choose a tag to compare

  • Generate code that formats faster with current "short" style. Both versions
    are fast with the coming "tall" style.
  • Mark @nullable deprecated: it does nothing and should not be used.

The build is almost 2x faster than before.

Improved build performance

03 Apr 12:52
8b118ac

Choose a tag to compare

  • Improve build performance when there are lots of built_value classes.

Fix for new `operator==` warning

19 Feb 09:58
f8aec37

Choose a tag to compare

  • Fix for new warning about operator== param type.

StandardJsonPlugin improvement, EnumClass fix

24 Jan 10:46
4b19bd9

Choose a tag to compare

  • In StandardJsonPlugin, add support for specifying types that should be left as List.
  • Allow non alphanumeric characters in EnumClass names.

Allow serializing record fields

24 Nov 16:04

Choose a tag to compare

  • Allow classes with record fields to be serialized if they use a typedef for
    the record type and install a custom Serializer for it.