native_assets_builder 0.9.0 
native_assets_builder: ^0.9.0 copied to clipboard
This package is the backend that invokes build hooks.
0.9.0 #
- Also lock 
BuildConfigandLinkConfigoutputDirectorySharedwhen invoking hooks to prevent concurrency issues with shared output caching. - Fix test packages with RecordUse annotations #1586.
 - Update SDK constraint to 3.5.0+
 - Rename the environment variables we use to communicate CCompilerConfig from
Dart CI test runner to the 
package:native_assets_builderfor testing the dart-lang/native repository to make it clear those are not intended to be used by end-users. - Remove link-dry-run concept as it's unused by Flutter Tools & Dart SDK
 - Bump 
native_assets_clito0.9.0. - Breaking change: Remove asset-type specific logic from 
package:native_assets_builder. Bundling tools have to now supplysupportedAssetTypesand corresponding validation routines. - Breaking change: The 
NativeAssetsBuildRunner.link()command will now produce aLinkResultcontaining 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 ofBuildResultandLinkResultand 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. - Breaking change Removes knowledge about code & data assets from
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. 
0.8.3 #
- 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).
 - Fixed caching bug for link hooks #1515.
 - Bump 
native_toolchain_cto0.5.4andnative_assets_clito0.8.0. 
0.8.2 #
- Fix some more cases of: 
BuildConfig.dependenciesandLinkConfig.dependenciesno longer have to specify Dart sources. DataAssettest projects report all assets fromassets/dir and default the asset names to the path inside the package.- Automatically locks build directories to prevent concurrency issues with
multiple concurrent 
dartand orflutterinvocations. - Bump 
package:native_assets_clito 0.7.3. 
0.8.1 #
BuildRunnernow automatically invokes build hooks again if any of their Dart sources changed.- Add more data asset test files.
 
0.8.0 #
BuildRunner.buildandBuildRunner.buildDryRunnow have a requiredlinkingEnabledparameter.
0.7.1 #
- Use 
HookConfig.targetIosSdkandHookConfig.targetMacosSdkoptional values, and add examples to fail builds based on this. - Add data asset test project.
 
0.7.0 #
- Add support for 
hook/link.dartincluding dry runs. Link hooks that do not have assets for link sent to them, are not run. Link hooks are not ordered. - Fix test.
 - Bump 
package:native_assets_clito 0.6.0. - Copy 
resources.jsonto the build directory. 
0.6.0 #
- Breaking change Completely rewritten API in 
native_assets_cli. - Breaking change Move 
build.darttohook/build.dart. https://github.com/dart-lang/native/issues/823 (Backwards compatibility, fallback to toplevelbuild.dart.) - Bump 
package:native_assets_clito 0.5.0. 
0.5.0 #
- Breaking change: Hide implementation of 
KernelAssets. 
0.4.0 #
- Breaking change: Split out the 
KernelAssets from normalAssets. 
0.3.2 #
- Reintroduce 
AssetRelativePath, it's used indart build. 
0.3.1 #
- Add support for 
runPackageNameto avoid native assets for packages that the root package depends on but the package being run doesn't. - Bump 
package:native_assets_clito 0.4.1. - Moved test projects from 
test/data/totest_data/. 
0.2.2 #
- Take a 
PackageLayoutargument forbuildanddryRun(flutter#134427). 
0.2.1 #
- Provide a 
PackageLayoutconstructor for already parsedPackageConfig(flutter#134427). 
0.2.0 #
- Breaking change 
NativeAssetsBuildRunners methods now return an object (#105). - Breaking change 
NativeAssetsBuildRunners methods now return value now contain a success bool instead of throwing (#106). Error messages are streamed to the logger. - Use an 
out/sub directory for building native assets (#98). - Check asset ids on having having a package uri with the owning package (#96).
 NativeAssetsBuildRunnernow supports multiple calls (#102).
0.1.0 #
- Initial version.