From 4d5518648b197f0aec250fa372e666c4a2d7afaa Mon Sep 17 00:00:00 2001 From: Moritz Date: Fri, 13 Sep 2024 14:33:47 +0200 Subject: [PATCH] Publish `0.8.3` (#1560) * Publish `0.5.4` * Move methods around * Fix pubspec * Set test data to new version --- pkgs/native_assets_builder/CHANGELOG.md | 3 ++- pkgs/native_assets_builder/pubspec.yaml | 4 +--- .../test_data/add_asset_link/pubspec.yaml | 6 +++--- .../test_data/drop_dylib_link/pubspec.yaml | 6 +++--- .../native_assets_builder/test_data/native_add/pubspec.yaml | 6 +++--- .../test_data/native_add_add_source/pubspec.yaml | 6 +++--- .../test_data/native_add_duplicate/pubspec.yaml | 6 +++--- .../test_data/native_dynamic_linking/pubspec.yaml | 6 +++--- .../test_data/native_subtract/pubspec.yaml | 6 +++--- .../test_data/treeshaking_native_libs/pubspec.yaml | 6 +++--- .../example/build/native_add_library/pubspec.yaml | 6 +++--- .../example/build/native_dynamic_linking/pubspec.yaml | 6 +++--- .../example/build/use_dart_api/pubspec.yaml | 6 +++--- 13 files changed, 36 insertions(+), 37 deletions(-) diff --git a/pkgs/native_assets_builder/CHANGELOG.md b/pkgs/native_assets_builder/CHANGELOG.md index 6e6bc9a6c..8d3067167 100644 --- a/pkgs/native_assets_builder/CHANGELOG.md +++ b/pkgs/native_assets_builder/CHANGELOG.md @@ -1,9 +1,10 @@ -## 0.8.3-wip +## 0.8.3 - Added a validation step on the output of the build and link hooks (both as a per package, and as in all the packages together). - Fixed caching bug for link hooks [#1515](https://github.com/dart-lang/native/pull/1515). +- Bump `native_toolchain_c` to `0.5.4` and `native_assets_cli` to `0.8.0`. ## 0.8.2 diff --git a/pkgs/native_assets_builder/pubspec.yaml b/pkgs/native_assets_builder/pubspec.yaml index 3b6718b37..da792de19 100644 --- a/pkgs/native_assets_builder/pubspec.yaml +++ b/pkgs/native_assets_builder/pubspec.yaml @@ -1,11 +1,9 @@ name: native_assets_builder description: >- This package is the backend that invokes build hooks. -version: 0.8.3-wip +version: 0.8.3 repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_builder -publish_to: none - environment: sdk: '>=3.3.0 <4.0.0' diff --git a/pkgs/native_assets_builder/test_data/add_asset_link/pubspec.yaml b/pkgs/native_assets_builder/test_data/add_asset_link/pubspec.yaml index 60df3946d..1328c6016 100644 --- a/pkgs/native_assets_builder/test_data/add_asset_link/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/add_asset_link/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: lints: ^3.0.0 diff --git a/pkgs/native_assets_builder/test_data/drop_dylib_link/pubspec.yaml b/pkgs/native_assets_builder/test_data/drop_dylib_link/pubspec.yaml index a4825338e..2cef7202c 100644 --- a/pkgs/native_assets_builder/test_data/drop_dylib_link/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/drop_dylib_link/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: lints: ^3.0.0 diff --git a/pkgs/native_assets_builder/test_data/native_add/pubspec.yaml b/pkgs/native_assets_builder/test_data/native_add/pubspec.yaml index 864ea7f0f..858e3ec9a 100644 --- a/pkgs/native_assets_builder/test_data/native_add/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/native_add/pubspec.yaml @@ -12,9 +12,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_builder/test_data/native_add_add_source/pubspec.yaml b/pkgs/native_assets_builder/test_data/native_add_add_source/pubspec.yaml index c36270a45..de33de022 100644 --- a/pkgs/native_assets_builder/test_data/native_add_add_source/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/native_add_add_source/pubspec.yaml @@ -12,9 +12,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_builder/test_data/native_add_duplicate/pubspec.yaml b/pkgs/native_assets_builder/test_data/native_add_duplicate/pubspec.yaml index eea4ae3af..4189dea87 100644 --- a/pkgs/native_assets_builder/test_data/native_add_duplicate/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/native_add_duplicate/pubspec.yaml @@ -14,9 +14,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_builder/test_data/native_dynamic_linking/pubspec.yaml b/pkgs/native_assets_builder/test_data/native_dynamic_linking/pubspec.yaml index ec709fe7c..09f78556b 100644 --- a/pkgs/native_assets_builder/test_data/native_dynamic_linking/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/native_dynamic_linking/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.2 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_builder/test_data/native_subtract/pubspec.yaml b/pkgs/native_assets_builder/test_data/native_subtract/pubspec.yaml index d707000d6..3f3857c16 100644 --- a/pkgs/native_assets_builder/test_data/native_subtract/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/native_subtract/pubspec.yaml @@ -12,9 +12,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_builder/test_data/treeshaking_native_libs/pubspec.yaml b/pkgs/native_assets_builder/test_data/treeshaking_native_libs/pubspec.yaml index 57e9e14b4..a6b2c054d 100644 --- a/pkgs/native_assets_builder/test_data/treeshaking_native_libs/pubspec.yaml +++ b/pkgs/native_assets_builder/test_data/treeshaking_native_libs/pubspec.yaml @@ -12,9 +12,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_cli/example/build/native_add_library/pubspec.yaml b/pkgs/native_assets_cli/example/build/native_add_library/pubspec.yaml index 0287bfb20..88b64ba0b 100644 --- a/pkgs/native_assets_cli/example/build/native_add_library/pubspec.yaml +++ b/pkgs/native_assets_cli/example/build/native_add_library/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../../native_assets_cli/ - # native_toolchain_c: ^0.5.3 - native_toolchain_c: - path: ../../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_cli/example/build/native_dynamic_linking/pubspec.yaml b/pkgs/native_assets_cli/example/build/native_dynamic_linking/pubspec.yaml index 10a8d1cfb..011231f0f 100644 --- a/pkgs/native_assets_cli/example/build/native_dynamic_linking/pubspec.yaml +++ b/pkgs/native_assets_cli/example/build/native_dynamic_linking/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../../native_assets_cli/ - # native_toolchain_c: ^0.5.2 - native_toolchain_c: - path: ../../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../../native_toolchain_c/ dev_dependencies: ffigen: ^8.0.2 diff --git a/pkgs/native_assets_cli/example/build/use_dart_api/pubspec.yaml b/pkgs/native_assets_cli/example/build/use_dart_api/pubspec.yaml index 4d725fef0..72802383d 100644 --- a/pkgs/native_assets_cli/example/build/use_dart_api/pubspec.yaml +++ b/pkgs/native_assets_cli/example/build/use_dart_api/pubspec.yaml @@ -12,9 +12,9 @@ dependencies: native_assets_cli: ^0.8.0 # native_assets_cli: # path: ../../../../native_assets_cli/ - # native_toolchain_c: ^0.5.2 - native_toolchain_c: - path: ../../../../native_toolchain_c/ + native_toolchain_c: ^0.5.4 + # native_toolchain_c: + # path: ../../../../native_toolchain_c/ dev_dependencies: ffigen: ^10.0.0