NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #465 most downloaded on pub.dev
Code generator tool to make communication between Flutter and the host platform type-safe and easier.
Latest stable
30.0.4
Last release 2 days ago
17 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
285 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
[front-end] Fixed bug where codecs weren't generating support for types that only show up in type arguments.
[objc] Updated assert message for incomplete implementations of protocols.
[java] Made it so @async handlers in @HostApi() can report errors explicitly.
@async handlers in @HostApi() can report errors
explicitly.Your coding agent can read these notes before it upgrades. Set up the MCP server →
[front-end] Fixed bug where classes only referenced as type arguments for generics weren't being generated.
[objc] BREAKING CHANGE: logic for generating selectors has changed. void add(Input value) will now translate to -(void)addValue:(Input*)value, methods…
one_language flag for allowing Pigeon to only generate
code for one platform.void add(Input value) will now translate to
-(void)addValue:(Input*)value, methods with no arguments will translate to
...WithError: or ...WithCompletion:.@ObjCSelector for specifying custom objc selectors.BREAKING CHANGE - the configurePigeon function has been migrated to a @ConfigurePigeon annotation. See ./pigeons/message.dart for an example. The anno…
analyzer instead of dart:mirrors.
dart:mirrors doesn't support null-safe code so there were a class of
features we couldn't implement without this migration.configurePigeon function has been migrated to a
@ConfigurePigeon annotation. See ./pigeons/message.dart for an example.
The annotation can be attached to anything in the file to take effect.bugfix in front-end parser for recursively referenced datatypes.
bugfix in iOS async handlers of functions with no arguments.
* Added support for enums.
Java: Fixed issue where multiple async HostApis can generate multiple Result interfaces.
BREAKING CHANGE - Pigeon files must be null-safe now. That means the fields inside of the classes must be declared nullable ( non-null fields aren't y…
// Version 0.1.x
class Foo {
int bar;
String baz;
}
// Version 0.2.x
class Foo {
int? bar;
String? baz;
}
--no-dart_null_safety flag.runCommandLine return an the status code.More Java linter and linter fixes.
Java code generator enhancements:
Fixed decode method on generated Flutter classes that use null-safety and have null values.
Implemented @async HostApi's for iOS.
@async HostApi's for iOS.Fixed a bug introduced in 0.1.17 where methods without arguments were no longer being called.
Split out test code generation for Dart into a separate file via the --dart_test_out flag.
Fixed running in certain environments where NNBD is enabled by default.
Added support for running in versions of Dart that support NNBD.
[Windows] Fixed executing from drives other than C:.
Fixed execution on Windows with certain setups where Dart didn't allow backslashes in import statements.
import statements.Fixed assert failure with creating a PlatformException as a result of an exception in Java handlers.
Added flag to generate null safety annotated Dart code --dart_null_safety.
--dart_null_safety.Fixed bug that prevented running pigeon on Windows (introduced in 0.1.8).
pigeon on Windows (introduced in 0.1.8).Fixed bug where executing pigeon without arguments would crash (introduced in 0.1.8).
Started spawning pigeon_lib in an isolate instead of a subprocess. The subprocess could have lead to errors if the dart version on $PATH didn't match
Fixed Dart compilation for later versions that support null safety, opting out of it for now.
Fixed unused variable linter warning in Dart code under certain conditions.
Made array datatypes correctly get imported and exported avoiding the need to add extra imports to generated code.
Fixed nullability for NSError's in generated objc code.
Added error message if supported datatypes are used as arguments or return types directly, without an enclosing class.
Removed static analysis warnings from generated Java code.
* Updated the Readme.md.
Fixed issue where nested types didn't work if they weren't present in the Api.
Fixed some Obj-C linter problems.
Fixed setting an API to null in Java.
Added support for void argument functions.
Suppressed or got rid of warnings in generated Dart code.
Added support for void return types.
Fixed runtime exception in Android with values of ints less than 2^32.
Fixed primitive types for Android Java.
Added support for Android Java.
Added Host->Flutter calls for Objective-C
* Fixed warning in the README.md
* Initial release.
One column per quarter.