NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #31 most downloaded on pub.dev
A library that contains a Dart API for the JSON-based protocol for `hook/build.dart` and `hook/link.dart`.
Last release 1 months ago
18 Aug 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 20 of 21 stable releases
4 versions withdrawn
withdrawn after publishing
13 years old
25 releases · first in 2013
Add ProtocolExtension.setupLogger , which the hooks runner calls to provide the logger used for validation diagnostics before any other method is invo
ProtocolExtension.setupLogger, which the hooks runner calls to provideHookInputUserDefines.path mangling absolute Windows paths: the driveHookInputUserDefines.baseUri, which can be used to resolve pathsAdded Architecture.arm64e .
Architecture.arm64e.LinkInput.recordedUses out of experimental.One column per quarter.
Update documentation for user-defines.
Updated documentation for hook caching behavior and semi-hermetic environment variables.
Breaking change : Overrode == and hashCode in OS , Architecture , and Sanitizer to support custom targets. These objects can no longer be used as keys…
package:hooks to ^2.2.0.== and hashCode in OS, Architecture, and Sanitizer to support custom targets. These objects can no longer be used as keys of const maps and sets.
final (runtime) maps and sets instead of const, or use the string representations (e.g., OS.name, Architecture.name) as keys if const is required.ProtocolExtension into a base class instead of an interface, with default implementations for all methods including the newly added outputFiles.Fix JNI build errors on Linux arm64.
recordedUsagesFile in LinkInput.recordedUses getter to LinkInput.package:record_use.Revert an unnecessary (and breaking) KGP migration.
The YAML configuration format is deprecated and will be removed in a future release.
classes in the config file as a config error- Stable release.
Document input.packageRoot in more places.
input.packageRoot in more places.Improved documentation on debugging and added a documentation index.
Polished README.md, Dartdocs, and examples.
Change the length of the checksum used for outputDirectory to 10 hexadecimal characters to avoid running out of path length on Windows.
outputDirectory to 10 hexadecimal
characters to avoid running out of path length on Windows.Deprecate HookOutputBuilder.addDependency and HookOutputBuilder.addDependencies in favor of HookOutputBuilder.dependencies.add and HookOutputBuilder.d…
HookOutputBuilder.addDependency and
HookOutputBuilder.addDependencies in favor of
HookOutputBuilder.dependencies.add and
HookOutputBuilder.dependencies.addAll.Breaking change Rename EncodedAsset.jsonPath to EncodedAsset.encodingJsonPath. This field only governs the EncodedAsset.encoding field, not the whole…
EncodedAsset.jsonPath to
EncodedAsset.encodingJsonPath. This field only governs the EncodedAsset.encoding field, not the whole object.Support Architecture.arm64e for macOS and iOS.
Architecture.arm64e for macOS and iOS.package:code_assets dependency to ^2.1.0.package:file FileSystem, exposed asCBuilder.run, CLinker.run, CLibrary.build, andCLibrary.link (defaulting to LocalFileSystem), so file system access can beFix native_toolchain_c failing with MSSSMS installed by requiring vswhere to only show output that includes the necessary build tools
package:code_assets dependency to ^2.0.0.package:process ProcessManager, exposed asCBuilder.run, CLinker.run, CLibrary.build, andCLibrary.link (defaulting to LocalProcessManager), so process invocationsMark this package as in preview.
Nothing published for this version
Added links to the build and link methods as primary entry points.
build and link methods as primary entry points.Split up package:native_assets_cli in package:hooks, package:code_assets, and package:data_assets.
package:native_assets_cli in package:hooks,
package:code_assets, and package:data_assets.Nothing published for this version
Nothing published for this version
- Initial version.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →