package:native_assets_builder v0.9.0
mkustermann
released this
04 Nov 21:38
·
10 commits
to main
since this release
- Also lock
BuildConfig
andLinkConfig
outputDirectoryShared
when 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 thepackage:native_assets_builder
for 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_cli
to0.9.0
. - Breaking change: Remove asset-type specific logic from
package:native_assets_builder
.
Bundling tools have to now supplysupportedAssetTypes
and corresponding
validation routines. - Breaking change: The
NativeAssetsBuildRunner.link()
command will now
produce aLinkResult
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 ofBuildResult
andLinkResult
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. - 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.