Skip to content

Releases: google/built_value.dart

Add `Int32` serializer

30 Oct 15:22

Choose a tag to compare

  • Add Int32 serializer.

Bump version of `analyzer`

21 Sep 14:55

Choose a tag to compare

  • Bump version of analyzer.

Remove JSON from error message, fix generation

24 Aug 09:21

Choose a tag to compare

  • Remove JSON from DeserializationError message to prevent data accidentally
    leaking into logs. The JSON is still available on the DeserializationError
    object.
  • Fix generation for fields that are Function types that are declared
    separately, for example in a mixin defined in another source file, and use
    named or positional parameters.

Fix mixin generation

05 Jun 12:26

Choose a tag to compare

  • Fix support for generating enum mixins for Dart 3. Instead of triggering mixin generation with abstract class TestEnumMixin = Object with _$TestEnumMixin it must now be triggered with typedef TestEnumMixin = _$TestEnumMixin.

Records support

22 May 13:56

Choose a tag to compare

  • Add support for value types with record fields. Serialization with records is not yet supported.
  • Fix generator failure due to top level record field.
  • Migrate benchmark and examples to null safety.
  • Remove pre-null-safe test cases.
  • Remove analyzer plugin.
  • Remove reference to @nullable annotation from failure-to-instantiate message.

Dart 3 support, Uint8ListSerializer

03 May 12:01

Choose a tag to compare

  • Add Uint8ListSerializer.
  • Generate Dart-3-compatible code if needed.
  • Stop using deprecated analyzer API.
  • Fix codegen for optional fields with $ in the name.

Analyzer version, codegen fix

03 Mar 13:43

Choose a tag to compare

  • Increase minimum version of analyzer.
  • Fix generation with the type Never.

Deserialization fix, minor improvements

11 Jan 13:27

Choose a tag to compare

  • Fix generated deserialization code when there is a manually written builder
    with nullable fields.
  • Drop dev dependency on quiver.
  • Disable all linting of generated code.
  • Change generated hash code implementation so it formats better when there are
    many fields.

Bump version of `analyzer`

27 Oct 13:04

Choose a tag to compare

  • Prepare for breaking analyzer changes.
  • Bump version of analyzer.

Bump version of `analyzer`

19 Aug 15:54

Choose a tag to compare

  • Bump version of analyzer.