protobuf-1.0.1
mraleph
released this
28 Oct 14:29
·
309 commits
to master
since this release
This releases bundles together a bunch of changes since 1.0.1:
1.1.0
- Require at least Dart SDK 2.7.0 to enable usage of extension methods.
- Introduce extension methods
GeneratedMessage.rebuild
and
GeneratedMessage.deepCopy
replacingcopyWith
andclone
. Using these
alternatives can result in smaller binaries, because it is defined once
instead of once per class. Useprotoc_plugin
from 19.1.0 to generate
deprecation warnings forcopyWith
andclone
methods. GeneratedMessage.getExtension
throws when reading trying to read an
extension that is present in the unknown fields.
We consider this change a bug-fix because depending on the old behavior is
indicative of a bug in your program.
1.0.4
- Requires sdk 2.3.0
- Update pedantic to 1.9.2
1.0.3
- Enable hashCode memoization for frozen protos.
- Add
timeout
toClientContext
1.0.2
- Fix hashcode of bytes fields.
- Fix issue with the
permissiveEnums
option tomergeFromProto3Json
.
The comparison did not work properly. - Fix binary representation of negative int32 values.