pigeon_generator
Integrate build_runner with pigeon code generation to automate the process of generating platform channels.
3.1.1
3.7K downloads/mo
#4294 most downloaded on pub.dev
melvinotieno/pigeon_generator
What this package is like to depend on
Last release 6 months ago
21 Feb 2026
Release timing varies
gaps range from 2 weeks to 8 months
Nearly every release is documented
notes for 11 of 11 stable releases
1 version withdrawn
withdrawn after publishing
2 years old
12 releases · first in 2024
3 releases in the last 12 months
see the full history below
Release timeline
12 releases · Sep 2024 to Feb 2026
2025
2026
Releases
latest 12-
3.1.121 Feb 2026Release notes
Open source →- Updates minimum supported SDK version to Dart 3.9.
- Updates minimum Pigeon version to 26.1.3.
- Removes all references to the deprecated
dartTestOutoption.
Release notes
Open source →- Updates minimum supported SDK version to Dart 3.9.
- Updates minimum Pigeon version to 26.1.3.
- Removes all references to the deprecated
dartTestOutoption.
-
3.1.016 Nov 2025Release notes
Open source →- Updates minimum Pigeon version to 26.1.0.
- Removes deprecated dartTestOut option.
Release notes
Open source →- Updates minimum Pigeon version to 26.1.0.
- Removes deprecated dartTestOut option.
-
3.0.115 Sep 2025Release notes
Open source →- Fixes issues caused by YamlMap and YamlList not being a subtype of Map and List respectively.
Release notes
Open source →- Fixes issues caused by YamlMap and YamlList not being a subtype of Map and List respectively.
-
3.0.024 Aug 2025Release notes
Open source →- Fixes a crash when using the command
dart run build_runner watch.
Breaking Changes
- Minimum Pigeon version is now 26.0.0.
- We now have to explicitly indicate the output folder through the
out_folderoption in the build.yaml file.
Release notes
Open source →- Fixes a crash when using the command
dart run build_runner watch.
Breaking Changes
- Minimum Pigeon version is now 26.0.0.
- We now have to explicitely indicate the output folder through the
out_folderoption in the build.yaml file.
- Fixes a crash when using the command
-
2.0.623 Dec 2024Release notes
Open source →- Support for android library projects. The generator will attempt to find package name from android/build.gradle (assuming it is a library project), if android/app/build.gradle is not found.
Release notes
Open source →- Support for android library projects. The generator will attempt to find package name from android/build.gradle (assuming it is a library project), if android/app/build.gradle is not found.
-
2.0.523 Dec 2024 withdrawn -
2.0.410 Oct 2024Release notes
Open source →- Fix null pointer exception when dart config is not set in build.yaml.
- Reimplement errorClassName for Kotlin removed in the previous version.
Release notes
Open source →- Fix null pointer exception when dart config is not set in build.yaml.
- Reimplement errorClassName for Kotlin removed in the previous version.
-
2.0.309 Oct 2024Release notes
Open source →- Added support for options, i.e. for dart, DartOptions, for kotlin, KotlinOptions etc. This means settings such as module for gobject, package for android and java etc will move to options. See build.example.yaml for more details.
- Ability to override the options for specific input files by using ConfigurePigeon annotation provided by Pigeon.
- Add a default prefix
Pigeonfor Objective-C code generation.
Release notes
Open source →- Added support for options, i.e. for dart, DartOptions, for kotlin, KotlinOptions etc. This means settings such as module for gobject, package for android and java etc will move to options. See build.example.yaml for more details.
- Ability to override the options for specific input files by using ConfigurePigeon annotation provided by Pigeon.
- Add a default prefix
Pigeonfor Objective-C code generation.
-
2.0.202 Oct 2024Release notes
Open source →- Added skip_outputs option to build.yaml to skip generating outputs for specific platforms.
- Generate errorClassName for Kotlin. See this comment.
Release notes
Open source →- Added skip_outputs option to build.yaml to skip generating outputs for specific platforms.
- Generate errorClassName for Kotlin. See this comment.
-
2.0.125 Sep 2024Release notes
Open source →- For iOS and macOS, the default pigeons folder is capitalized, i.e.
ios/Runner/Pigeonsfor iOS andmacos/Runner/Pigeonsfor macOS
- For iOS and macOS, the default pigeons folder is capitalized, i.e.
-
2.0.024 Sep 2024Release notes
Open source →- Added validation checks for all outputs requiring them to be folders.
- Added validation to check if copyright header file exists if provided in config.
- Use out_template config to customize the generated file names.
- Automatically generate the java/kotlin package folder structure based on applicationId in build.gradle.
- All configurations are now done in build.yaml file instead of pigeon.yaml file.
-
1.0.019 Sep 2024