Releases: google/built_value.dart
Releases · google/built_value.dart
Add `Int32` serializer
- Add
Int32serializer.
Bump version of `analyzer`
- Bump version of
analyzer.
Remove JSON from error message, fix generation
- Remove JSON from
DeserializationErrormessage to prevent data accidentally
leaking into logs. The JSON is still available on theDeserializationError
object. - Fix generation for fields that are
Functiontypes that are declared
separately, for example in amixindefined in another source file, and use
named or positional parameters.
Fix mixin generation
- Fix support for generating enum mixins for Dart 3. Instead of triggering mixin generation with
abstract class TestEnumMixin = Object with _$TestEnumMixinit must now be triggered withtypedef TestEnumMixin = _$TestEnumMixin.
Records support
- 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
@nullableannotation from failure-to-instantiate message.
Dart 3 support, Uint8ListSerializer
- 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
- Increase minimum version of
analyzer. - Fix generation with the type
Never.
Deserialization fix, minor improvements
- 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`
- Prepare for breaking analyzer changes.
- Bump version of
analyzer.
Bump version of `analyzer`
- Bump version of
analyzer.