Skip to content

Releases: google/built_value.dart

Reduced dynamic calls

20 Feb 11:10
416e896

Choose a tag to compare

  • Reduce use of dynamic calls in generated operator== when there are
    functions: only use dynamic calls if the class also has type parameters.

Require `analyzer ^10.0.0`

15 Jan 08:54
97c5920

Choose a tag to compare

  • Require analyzer ^10.0.0, stop using removed and deprecated methods from
    earlier versions.

Allow analyzer 10.0.0

13 Jan 10:53
5701511

Choose a tag to compare

  • Allow analyzer 10.0.0.

Allow `analyzer 9.0.0`

21 Nov 09:41
fb35e5d

Choose a tag to compare

  • Allow analyzer 9.0.0.

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.