Skip to content

Commit

Permalink
[native_assets_cli] Publish 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes committed Dec 20, 2024
1 parent 7adf6bf commit a889af8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pkgs/native_assets_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions pkgs/native_assets_cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a889af8

Please sign in to comment.