NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #408 most downloaded on pub.dev
This package is the backend that invokes build hooks.
Last release 1 years ago
29 Apr 2025
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 30 of 31 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
32 releases · first in 2023
Bump package:native_assets_cli to 0.18.0.
package:native_assets_cli to 0.18.0.Bump package:native_assets_cli to 0.17.0.
package:native_assets_cli to 0.17.0.Pass in path to pubspec (to read user-defines) in this package rather than in the SDKs using this package.
One column per quarter.
package:native_assets_cli to 0.16.0.Bump package:native_assets_cli to 0.15.0.
package:native_assets_cli to 0.15.0.Nothing published for this version
Bump package:native_assets_cli to 0.14.0.
package:native_assets_cli to 0.14.0.ToBuild Routing.Bump package:native_assets_cli to 0.13.0 and required fixes.
package:native_assets_cli to 0.13.0 and required fixes.HookInput and HookOutput version.Organized the ProtocolExtensions in a class.
ProtocolExtensions in a class.package:native_assets_cli to 0.12.0.Don't recompile hooks on package_config.json having an updated timestamp.
package_config.json having an updated timestamp.Breaking change Complete overhaul of the use of NativeAssetsBuildRunner to support pub workspaces (#1905).
NativeAssetsBuildRunner
to support pub workspaces
(#1905).package:native_assets_cli to 0.11.0.- Export types (fix for 0.10.1).
Pass in the environment for hook invocations.
Breaking change BuildConfig.targetOS is now only provided if buildAssetTypes contains the code asset.
BuildConfig.targetOS is now only provided if
buildAssetTypes contains the code asset.NativeAssetsBuildRunner and PackageLayout now take a
FileSystem from package:file/file.darts.package:native_assets_cli to 0.10.0.Breaking change: Remove asset-type specific logic from package:native_assets_builder. Bundling tools have to now supply supportedAssetTypes and corres…
BuildConfig and LinkConfig outputDirectoryShared when invoking
hooks to prevent concurrency issues with shared output caching.package:native_assets_builder for testing the
dart-lang/native repository to make it clear those are not intended to be used
by end-users.native_assets_cli to 0.9.0.package:native_assets_builder.
Bundling tools have to now supply supportedAssetTypes and corresponding
validation routines.NativeAssetsBuildRunner.link() command will now
produce a LinkResult containing all assets for the application (not just
those that happened to have a linker). This removes the need for a bundling
tool to combine parts of BuildResult and LinkResult and possibly checking
consistency of the sum of those parts. Effectively this means: Any asset that
doesn't have an explicit linker will get a NOP linker that emits as outputs
it's inputs.package:native_assets_builder. Users of this package can know hook into the
build/link hook configuration that is used and e.g. initialize code
configuration. Similarly users of this package now have to provide a callback
to verify the consistency of the used hook configuration.Added a validation step on the output of the build and link hooks (both as a per package, and as in all the packages together).
native_toolchain_c to 0.5.4 and native_assets_cli to 0.8.0.Fix some more cases of: BuildConfig.dependencies and LinkConfig.dependencies no longer have to specify Dart sources.
BuildConfig.dependencies and
LinkConfig.dependencies no longer have to specify Dart sources.DataAsset test projects report all assets from assets/ dir and default the
asset names to the path inside the package.dart and or flutter invocations.package:native_assets_cli to 0.7.3.BuildRunner now automatically invokes build hooks again if any of their Dart sources changed.
BuildRunner now automatically invokes build hooks again if any of their Dart
sources changed.BuildRunner.build and BuildRunner.buildDryRun now have a required linkingEnabled parameter.
BuildRunner.build and BuildRunner.buildDryRun now have a required
linkingEnabled parameter.Use HookConfig.targetIosSdk and HookConfig.targetMacosSdk optional values, and add examples to fail builds based on this.
HookConfig.targetIosSdk and HookConfig.targetMacosSdk optional
values, and add examples to fail builds based on this.Add support for hook/link.dart including dry runs. Link hooks that do not have assets for link sent to them, are not run. Link hooks are not ordered.
hook/link.dart including dry runs.
Link hooks that do not have assets for link sent to them, are not run.
Link hooks are not ordered.package:native_assets_cli to 0.6.0.resources.json to the build directory.Nothing published for this version
Breaking change Completely rewritten API in native_assets_cli.
native_assets_cli.build.dart to hook/build.dart.
https://github.com/dart-lang/native/issues/823
(Backwards compatibility, fallback to toplevel build.dart.)package:native_assets_cli to 0.5.0.Breaking change: Hide implementation of KernelAssets.
KernelAssets.Breaking change: Split out the KernelAssets from normal Assets.
KernelAssets from normal Assets.Reintroduce AssetRelativePath, it's used in dart build.
AssetRelativePath, it's used in dart build.Documentation updates.
runPackageName to avoid native assets for packages that
the root package depends on but the package being run doesn't.package:native_assets_cli to 0.4.1.test/data/ to test_data/.Fix extensions of nested types to use fully qualified generated wrapper names.
Quicker build planning for 0 or 1 packages with native assets (#128).
Take a PackageLayout argument for build and dryRun (flutter#134427).
PackageLayout argument for build and dryRun
(flutter#134427).Provide a PackageLayout constructor for already parsed PackageConfig (flutter#134427).
PackageLayout constructor for already parsed PackageConfig
(flutter#134427).Bump ffigen and swift2objc versions.
NativeAssetsBuildRunners methods now return an object
(#105).NativeAssetsBuildRunners methods now return value now
contain a success bool instead of throwing
(#106). Error messages are
streamed to the logger.out/ sub directory for building native assets
(#98).NativeAssetsBuildRunner now supports multiple calls
(#102).- Initial version.
Your coding agent can read these notes before it upgrades. Set up the MCP server →