Skip to content

package:native_assets_builder v0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mkustermann mkustermann released this 04 Nov 21:38
· 75 commits to main since this release
16ed7ac
  • Also lock BuildConfig and LinkConfig 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 the 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.
  • Remove link-dry-run concept as it's unused by Flutter Tools & Dart SDK
  • Bump native_assets_cli to 0.9.0.
  • Breaking change: Remove asset-type specific logic from package:native_assets_builder.
    Bundling tools have to now supply supportedAssetTypes and corresponding
    validation routines.
  • Breaking change: The 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.
  • 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.