NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #248 most downloaded on pub.dev
Runtime library for protocol buffers support. Use with package:protoc_plugin to generate Dart code for your '.proto' files.
Latest stable
6.1.0
Last release 2 months ago
11 Sep 2026
Release timing varies
gaps range from 3 weeks to 1.6 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
95 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Unknown enum values are now ignored when parsing JSON, instead of throwing an exception.
all tests pass for binary protos using dart2js
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Performance: Avoid excessive cloning in merge.
* Resolved a strong-mode error.
make PbMixin constructor public for use within protoc plugin
Experimental support for strong mode.
Require at least Dart SDK 1.13.
Require at least Dart SDK 1.13.
Removed dependency on pkg/crypto.
Bugfix: remove dependency on pkg/crypto for real.
pkg/crypto for real.Performance: eliminate some dynamic calls.
Use a more refined implementation of Map in PbMapMixin
Map in PbMapMixinReorganized internals to improve performance. We now store field values in a list instead of a map. Private properties and methods are all moved to th
Support the latest version of package fixnum.
fixnum.Renamed FieldType to PbFieldType.
added FieldType class. It turned out that FieldType is a commonly used name, even in .proto files. This is renamed to PbFieldType in 0.4.2, so use tha
This release changes how getters work for message fields, to detect a common mistake.
This release changes how getters work for message fields, to detect a common mistake.
Previously, the protobuf API didn't report any error for an incorrect usage of setters. For example, if field "foo" is a message field of type Foo, this code would silently have no effect:
var msg = new SomeMessage();
msg.foo.bar = 123;
This is because "msg.foo" would call "new Foo()" and return it without saving it.
The example can be fixed like this:
var msg = new SomeMessage();
msg.foo = new Foo();
msg.foo.bar = 123;
Or equivalently:
var msg = new SomeMessage()
..foo = (new Foo()..bar = 123);
Starting in 0.4.0, the default value of "msg.foo" is an immutable instance of Foo. You can read the default value of a field the same as before, but writes will throw UnsupportedError.
(You also need version 0.4.0 of dart-protoc-plugin to get the new behavior.)
Add meta.dart which declares reserved names for the plugin.
Includes GeneratedService and RpcClient interfaces. (They are used in stubs generated for service definitions.)
Includes GeneratedService and RpcClient interfaces. (They are used in stubs generated for service definitions.)
Add experimental mixins_meta library
* More docs.
This release adds two new methods that are useful if you need to customize how JSON serialization is done. Make sure you also use the matching release
This release adds two new methods that are useful if you need to customize how JSON serialization is done. Make sure you also use the matching release of dart-protoc-plugin.
Allow constants as field initial values as well as creation thunks to reduce generated code size.
Allow constants as field initial values as well as creation thunks to reduce generated code size.
Improve the performance of reading a protobuf buffer.
Fixed truncation error in least significant bits with large Int64 constants.
Bugfix for incorrect decoding of protobuf messages: Uint8List views with non-zero offsets were handled incorrectly.
Simplify some types used in is checks and correct PbList to match the
Bugfix for setRange(): Do not assume Iterable has a sublist() method.
setRange(): Do not assume Iterable has a sublist() method.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.