Skip to content

Releases: dart-lang/native

package:native_assets_builder v0.11.1

23 Jan 11:14
1d3e70c
Compare
Choose a tag to compare
Pre-release
  • Don't recompile hooks on package_config.json having an updated timestamp.

package:native_toolchain_c v0.8.0

22 Jan 16:49
61d68b3
Compare
Choose a tag to compare
Pre-release
  • Bump package:native_assets_cli to 0.11.0.
  • Support for LLVM Clang on Windows (requires MSVC to be installed).

package:native_assets_cli v0.11.0

22 Jan 16:22
8c54373
Compare
Choose a tag to compare
Pre-release
  • Breaking change Complete overhaul of the API used in build and link hooks.
    The BuildConfig is now split in BuildInput and BuildConfig. The input is
    everything passed in to the hook. The config (a part of the input) is what
    shouldn't change on subsequent invocations of the same flutter or dart command
    for the same target. The outputDirectory is the same if the config is the
    same.
  • Breaking change The output.json is now part of BuildInput.

package:native_assets_builder v0.11.0

22 Jan 17:05
ca5f3d2
Compare
Choose a tag to compare
Pre-release
  • Breaking change Complete overhaul of the use of NativeAssetsBuildRunner
    to support pub workspaces
    (#1905).
  • Bump package:native_assets_cli to 0.11.0.

download_asset-prebuild-assets-v0.1.0-try-3

03 Jan 17:24
Compare
Choose a tag to compare

download_asset-prebuild-assets-v0.1.0-try-2

03 Jan 14:48
Compare
Choose a tag to compare

package:native_assets_builder v0.10.2

02 Jan 10:34
28757e0
Compare
Choose a tag to compare
Pre-release
  • Export types (fix for 0.10.1).

package:native_assets_builder v0.10.1

02 Jan 10:05
2251646
Compare
Choose a tag to compare
Pre-release
  • Pass in the environment for hook invocations.

package:native_toolchain_c v0.7.0

20 Dec 13:19
0cce9a6
Compare
Choose a tag to compare
Pre-release
  • For Android, produce dylibs with page-size set to 16kb by default.
    #1611
  • Make optimization level configurable from CBuilder. It defaults to -3s and
    /O3. #1267
  • Make build mode configurable form CBuilder. It defaults to release. (The
    build mode was removed from the build config of the hooks.)
  • Add libraries and libraryDirectories to CTool.
  • Bump package:native_assets_cli to 0.10.0.

package:native_assets_cli v0.10.0

20 Dec 13:02
8ff7945
Compare
Choose a tag to compare
Pre-release
  • Breaking change The library import paths changed to be per asset type.
    (This enables extensibility with custom asset types.)
  • Breaking change: Rename supportedAssetTypes to buildAssetTypes. Hooks
    should no longer fail. Instead, the code should fail at runtime if an asset is
    missing. This enables (1) code to run if an asset is missing but that code is
    not invoked at runtime, and (2) doing fallback implementations in Dart if an
    asset is missing.
  • Breaking change Move BuildMode to package:native_toolchain_c. This way
    it can be controlled in the build hook together with the OptimizationLevel.
    Most likely, every package should ship with release. BuildMode.debug
    should only be used while developing the package locally.
  • Breaking change Move HookConfig.targetOS to CodeConfig. DataAssets
    and other asset types should not depend on OS for now.
  • Breaking change: Change the behavior of testBuildHook and
    testCodeBuildHook; instead of defining tests, these methods should now be
    called from within tests.
  • Move the package:test dependency from a regular dependency (exported to
    calling packages) to a dev_dependency.