Skip to content

Releases: google/built_value.dart

Improved build performance

03 Apr 12:52
8b118ac
Compare
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
Compare
Choose a tag to compare
  • Fix for new warning about operator== param type.

StandardJsonPlugin improvement, EnumClass fix

24 Jan 10:46
4b19bd9
Compare
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
Compare
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.

Add `Int32` serializer

30 Oct 15:22
Compare
Choose a tag to compare
  • Add Int32 serializer.

Bump version of `analyzer`

21 Sep 14:55
Compare
Choose a tag to compare
  • Bump version of analyzer.

Remove JSON from error message, fix generation

24 Aug 09:21
Compare
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
Compare
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
Compare
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
Compare
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.