From 55ce189eb3ce94dab06f54a22e79ee1ded86a7b1 Mon Sep 17 00:00:00 2001 From: Dmitrii Zolotov Date: Thu, 1 Oct 2026 17:18:25 +0300 Subject: [PATCH] fix: Allow code_assets 2.x in forge2d forge2d asked for code_assets ^1.2.1, so an app that also depends on a package built against code_assets 2 (flutter_soloud, for one) could not resolve. The constraint now takes both majors. The lower end stays, because hooks 2.1 and later need meta 1.19, which Flutter 3.44.0 does not ship. The build hook uses nothing that differs between the two. --- packages/forge2d/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/forge2d/pubspec.yaml b/packages/forge2d/pubspec.yaml index 4d7cdbcd..20ffad29 100644 --- a/packages/forge2d/pubspec.yaml +++ b/packages/forge2d/pubspec.yaml @@ -8,7 +8,7 @@ environment: sdk: ^3.12.0 dependencies: - code_assets: ^1.2.1 + code_assets: ">=1.2.1 <3.0.0" ffi: ^2.1.4 hooks: ^2.0.0 logging: ^1.3.0