Skip to content

Releases: dart-lang/native

package:native_toolchain_c v0.6.0

05 Nov 11:38
a3749d2
Compare
Choose a tag to compare
  • Address analyzer info diagnostic about multi-line if requiring a block body.
  • Bump package:native_assets_cli to 0.9.0. This makes
    package:native_toolchain_c now take BuildOutputBuilder and
    LinkOutputBuilder objects.

package:native_assets_cli v0.9.0

04 Nov 14:52
b1f41b4
Compare
Choose a tag to compare
  • Add BuildConfig and LinkConfig outputDirectoryShared.
  • Remove package:native_assets_cli/locking.dart with runUnderDirectoryLock.
    Hook writers should not use this, the native_assets_builder does this.
  • Fix example packages with RecordUse annotations
    #1586.
  • Remove v1.0 / v1.1 related serialization
  • Update SDK constraint to 3.5.0+
  • Remove (deprecated) support for accepting yaml as config
  • Remove usage of package:cli_config and package:args: it minimizes
    dependencies and it simplifies logic any hook has to do (as it no longer has
    to look into environment variables, arguments and json file, determine which
    has presence over other, etc)
  • Use DART_HOOK_TESTING prefix for environment variables used for testing on
    Dart CI
  • No longer try to resolve uris encoded in config.json against any base uri.
    The hook/{build,link}.dart invoker has to ensure the uris it encodes can be
    opened as-is (i.e. without resolving against any base uri)
  • Breaking change Moved some methods to be extension methods.
  • Some classes in the BuildConfig and BuildOutput now expose fromJson and
    toJson.
  • Breaking change Removed Asset class, removed {Build,Link}Output.assets*.
    Hook writers should now use e.g. output.dataAssets.add(DataAsset(...))
    instead of output.addAsset(DataAsset(...)).
  • Breaking change Introduce builder classes that construct hook configs and
    hook outputs.

package:native_assets_builder v0.9.0

04 Nov 21:38
16ed7ac
Compare
Choose a tag to compare
  • 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.

package:native_toolchain_c v0.5.4

13 Sep 12:18
e2f7d13
Compare
Choose a tag to compare
Pre-release
  • Bump package:native_assets_cli to 0.8.0.

package:native_assets_cli v0.8.0

13 Sep 11:49
3a12b0a
Compare
Choose a tag to compare
Pre-release
  • Add URI for the recorded usages file to the LinkConfig.
  • Added a validation step in the build and link methods.

package:native_assets_builder v0.8.3

13 Sep 12:37
4d55186
Compare
Choose a tag to compare
Pre-release
  • 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_c to 0.5.4 and native_assets_cli to 0.8.0.

package:native_toolchain_c v0.5.3

02 Sep 09:51
83e38fe
Compare
Choose a tag to compare
Pre-release
  • Fix internal bug in LinkerOptions.
  • Bump package:native_assets_cli to 0.7.3.

package:native_assets_cli v0.7.3

02 Sep 09:33
6b0e226
Compare
Choose a tag to compare
Pre-release
  • Fix some more cases of: BuildConfig.dependencies and
    LinkConfig.dependencies no longer have to specify Dart sources.
  • DataAsset examples report all assets from assets/ dir and default the
    asset names to the path inside the package.
  • Add package:native_assets_cli/test.dart with testBuildHook helper method
    for testing build hooks.
  • Add package:native_assets_cli/locking.dart with runUnderDirectoryLock.

package:native_assets_builder v0.8.2

02 Sep 11:12
d293d78
Compare
Choose a tag to compare
Pre-release
  • Fix some more cases of: 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.
  • Automatically locks build directories to prevent concurrency issues with
    multiple concurrent dart and or flutter invocations.
  • Bump package:native_assets_cli to 0.7.3.

package:ffi v2.1.3

12 Aug 10:00
e06a8d3
Compare
Choose a tag to compare
  • Use package:dart_flutter_team_lints.
  • Migrate from DynamicLibrary.process() to @Native external functions.
    #1401