Skip to content

Releases: google/built_value.dart

Bump `source_gen` dependency

22 Mar 08:19
c161995
Compare
Choose a tag to compare
v8.0.4

Release 8.0.4. (#1010)

Fix error message, bump `package:build`

17 Mar 09:37
6174198
Compare
Choose a tag to compare
  • Fix error message for builder factory not installed.
  • Bump version of build.

Bump analyzer, quiver versions

09 Mar 10:39
d6841f4
Compare
Choose a tag to compare
v8.0.2

Bump packages, release 8.0.2. (#1001)

Sound null safety fix, other fixes

09 Mar 10:32
73a3847
Compare
Choose a tag to compare

8.0.1

  • Update chat example to webdev.
  • Allow nulls when serializing/deserializing for better JSON interop.
  • Fix generation bugs around enum wire name and polymorphism.
  • Fix generation with generics for analysis with strict-raw-types.
  • Add test coverage around generation for generic serialization.
  • Add test coverage around initialization with generics.

Note that you are unlikely to be able to use this version due to version issues; 8.0.2 will be released next for that.

Null safety

09 Feb 13:12
cb4e34f
Compare
Choose a tag to compare
  • Stable null safe release.
  • Add toJson and fromJson convenience methods to Serializers.

Private classes, enum `wireNumber`, memoizable `hashCode`

23 Apr 09:38
Compare
Choose a tag to compare
  • Support private Built classes. Note that private classes cannot be made
    serializable.
  • Support serializing enums to ints: add wireNumber to
    @BuiltValueEnumConst.
  • Support memoizing hashCode, so it's computed lazily once. Write an abstract
    getter int get hashCode; then annotate it with @memoized to turn this on
    for a built_value class.
  • Trim built_value_test dependencies: depend on matcher instead of test.
  • Fix enum generator error messages when value and valueOf are missing.

Fix for dollars in field names

07 Feb 10:00
Compare
Choose a tag to compare
  • Fix unescaped string usages while generating ValueSourceClass.
  • Fix analyzer use: don't rely on toString on types.

Fix `analyzer` lower bound

16 Jan 16:19
Compare
Choose a tag to compare
  • Fix analyzer lower bound: was 0.39.0, needs to be 0.39.3.

Fix regressions mixin, tweak strict analysis compliance

16 Jan 13:16
Compare
Choose a tag to compare
  • Fix regression in a corner case when determining which fields to generate
    based on mixins.
  • Tweak generation changes for implicit-casts: false and
    implicit-dynamic: false. Relax casts again where possible.

Comply with strict-raw-types, implicit-casts: false, implicit-dynamic: false

15 Jan 13:37
Compare
Choose a tag to compare
  • Make generated code comply with analyzer option strict-raw-types.
  • Allow Serialiers declaration to comply with strict-raw-types, or to
    continue to use raw types as before.
  • Make generated code comply with analyzer options implicit-casts: false
    and implicit-dynamic: false.