From a889af8205bbec943be9f58350e08f0d6836a775 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 20 Dec 2024 12:22:23 +0100 Subject: [PATCH] [native_assets_cli] Publish 0.10.0 --- pkgs/native_assets_cli/CHANGELOG.md | 8 ++++---- pkgs/native_assets_cli/pubspec.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/native_assets_cli/CHANGELOG.md b/pkgs/native_assets_cli/CHANGELOG.md index 4d01bed7a..f3c89e78c 100644 --- a/pkgs/native_assets_cli/CHANGELOG.md +++ b/pkgs/native_assets_cli/CHANGELOG.md @@ -1,5 +1,7 @@ -## 0.10.0-wip +## 0.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` 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 @@ -10,14 +12,12 @@ 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`. `DataAsset`s - and other asset types might now support varying on the target OS. + 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. -- Update pubspec.yaml of examples to use 0.9.0 of `package:native_assets_cli`. -- Consolidate [CodeAsset] specific things into `lib/src/code_assets/*` ## 0.9.0 diff --git a/pkgs/native_assets_cli/pubspec.yaml b/pkgs/native_assets_cli/pubspec.yaml index d72d7b095..64a100b72 100644 --- a/pkgs/native_assets_cli/pubspec.yaml +++ b/pkgs/native_assets_cli/pubspec.yaml @@ -4,10 +4,10 @@ description: >- native assets CLI. # Note: Bump BuildConfig.version and BuildOutput.version on breaking changes! -version: 0.10.0-wip +version: 0.10.0 repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli -publish_to: none +# publish_to: none topics: - ffi