Releases: dart-lang/native
Releases · dart-lang/native
package:native_assets_builder v0.11.1
- Don't recompile hooks on
package_config.json
having an updated timestamp.
package:native_toolchain_c v0.8.0
- 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
- Breaking change Complete overhaul of the API used in build and link hooks.
TheBuildConfig
is now split inBuildInput
andBuildConfig
. 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. TheoutputDirectory
is the same if the config is the
same. - Breaking change The
output.json
is now part ofBuildInput
.
package:native_assets_builder v0.11.0
- 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
download_asset-prebuild-assets-v0.1.0-try-2
package:native_assets_builder v0.10.2
- Export types (fix for 0.10.1).
package:native_assets_builder v0.10.1
- Pass in the environment for hook invocations.
package:native_toolchain_c v0.7.0
- 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 torelease
. (The
build mode was removed from the build config of the hooks.) - Add
libraries
andlibraryDirectories
toCTool
. - Bump
package:native_assets_cli
to 0.10.0.
package:native_assets_cli v0.10.0
- Breaking change The library import paths changed to be per asset type.
(This enables extensibility with custom asset types.) - Breaking change: Rename
supportedAssetTypes
tobuildAssetTypes
. 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
topackage:native_toolchain_c
. This way
it can be controlled in the build hook together with theOptimizationLevel
.
Most likely, every package should ship withrelease
.BuildMode.debug
should only be used while developing the package locally. - Breaking change Move
HookConfig.targetOS
toCodeConfig
.DataAsset
s
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.