Releases: google/protobuf.dart
Releases · google/protobuf.dart
Dart 2 fixes
- Breaking change: Added generics to RpcClient.invoke(). Proto files must be rebuilt using Dart protoc_plugin version 0.8.0 or newer to match.
- Dart 2 fixes.
Better hashing for lists
- Fix hashing for PbList.
More Dart 2
- Fix type in PbList.fold() for Dart 2.
- Small performance tweaks for DDC.
Performance and Dart 2.0
- Added fast getters for common types.
- Only pass index instead of both tag and index to accessors.
- Delegate more methods to underlying list in PbList.
- Small fixes for Dart 2.0.
Enum values
- Added enumValues to FieldInfo. Fixes #63.
- Small performance optimization when deserializing repeated messages from JSON.
- Type annotations for strong mode.
Prepare for Dart 2
- Use real generic syntax instead of comment-based.
- Support v2 dev SDKs.
JSON parsing of unknown enum values
- Unknown enum values are now ignored when parsing JSON, instead of throwing an exception.
0.5.3+2
fixed binary protos using dart2js
- all tests pass for binary protos using dart2js
Mixins, performance
- make PbMixin constructor public for use within protoc plugin
- improve operator== performance
- drop dependency on package:crypto