NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #124 most downloaded on pub.dev
This package is the backend that invokes build hooks.
Last release 22 days ago
16 Sep 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 25 of 25 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
25 releases · first in 2025
One column per month.
Use the path separator of the target platform in native_assets.yaml.
package:code_assets dependency to ^2.1.0.Invalidate cached hook compilations when the Dart SDK version changes.
Provide the runner's logger to protocol extensions before any other method is invoked, so they can emit validation diagnostics.
dartExecutable to be an absolute path, and on Windows to include aTypeError when a hook's cachedoutput.json contains valid JSON that is not an object.package:code_assets dependency to ^2.0.0.PATHEXT to the environment variables allowlist.RUSTUP_ and CARGO_ to the environment variables allowlist.Support versions 3.x of package:package_config.
package:package_config.Fix record_use path changing caching issue.
Add GOPATH, and prefix CONAN_ to the environment variables allowlist.
GOPATH, and prefix CONAN_ to the environment variables allowlist.Add cache-isolation for recorded usages under link hooks using RecordUseConfig, and deprecate the legacy resourceIdentifiers parameters.
RecordUseConfig, and deprecate the legacy resourceIdentifiers parameters.APPDATA, LOCALAPPDATA, and prefixes DOTNET_ and NUGET_ to the
environment variables allowlist.package:code_assets to ^1.2.0.Resolved caching abstraction violation by delegating generated output file identification to ProtocolExtension.outputFiles.
ProtocolExtension.outputFiles.package:hooks to ^2.0.0.Add PROCESSOR_ARCHITECTURE to environment variables allowlist.
PROCESSOR_ARCHITECTURE to environment variables allowlist.Add toJson() and fromJson() to BuildResult to support serialization.
toJson() and fromJson() to BuildResult to support serialization.Fix quadratic deserialization performance and index corruption in Recordings.fromJson .
Recordings.fromJson.Added Recordings.+ to combine two recordings.
Recordings.+ to combine two recordings.recorded_uses.json passed to link hooks based on the
package name of the definition.CCACHE_ to the environment variables allowlist.Revert an unnecessary (and breaking) KGP migration.
HTTP(S)_PROXY and related environment variables to hooks.ANDROID_NDK, ANDROID_NDK_HOME, ANDROID_NDK_LATEST_HOME and
ANDROID_NDK_ROOT to the environment variables allowlist.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.
Add LIBCLANG_PATH to the environment variables allowlist.
LIBCLANG_PATH to the environment variables allowlist.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.Breaking change: Replaced NativeAssetsBuildRunner.hookEnvironmentVariablesFilter with NativeAssetsBuildRunner.includeHookEnvironmentVariable to accoun…
NativeAssetsBuildRunner.hookEnvironmentVariablesFilter
with NativeAssetsBuildRunner.includeHookEnvironmentVariable to account for
environment variables that start with a particular prefix (i.e., NIX_).Fix caches not being invalidated on (1) user-defines changing, (2) metadata changing, and (3) assets sent to link hooks.
Enable passing metadata from link hooks of a package to the link hooks in depending packages, by fixing the link hook execution order. This brings an
package:hooks to 0.20.0.MetadataAssets - but also means that now link hooks must be invoked,
regardless of whether assets are sent to the from a build hook.Add includeDevDependencies param to BuildLayout to enable building the assets for dev dependencies of the runPackage.
includeDevDependencies param to BuildLayout to enable building the
assets for dev dependencies of the runPackage.Add dart:developer TimelineEvents to enable performance tracing for hook invocations.
dart:developer TimelineEvents to enable performance tracing for
hook invocations.Bump the SDK constraint to at least the one from package:hooks to fix dartdoc generation on https://pub.dev.
package:hooks to fix
dartdoc generation on https://pub.dev.Breaking change Refactored error handling to use a Result type for more explicit success/failure states.
Result type for more
explicit success/failure states.package_graph.json fallback.Renamed package from native_assets_builder to hooks_runner.
native_assets_builder to hooks_runner.package:code_assets, package:data_assets, and package:hooks
0.19.0. (package:native_assets_cli was split up into these packages.)Your coding agent can read these notes before it upgrades. Set up the MCP server →