Repository navigation
package:native_assets_cli v0.9.0
Pre-release
Pre-release
·
1102 commits
to main
since this release
- Add
BuildConfigandLinkConfigoutputDirectoryShared. - Remove
package:native_assets_cli/locking.dartwithrunUnderDirectoryLock.
Hook writers should not use this, thenative_assets_builderdoes 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_configandpackage: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_TESTINGprefix for environment variables used for testing on
Dart CI - No longer try to resolve uris encoded in
config.jsonagainst any base uri.
Thehook/{build,link}.dartinvoker 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
BuildConfigandBuildOutputnow exposefromJsonand
toJson. - Breaking change Removed
Assetclass, removed{Build,Link}Output.assets*.
Hook writers should now use e.g.output.dataAssets.add(DataAsset(...))
instead ofoutput.addAsset(DataAsset(...)). - Breaking change Introduce builder classes that construct hook configs and
hook outputs.