From 85e1aa58dc356512fdfa01ef894a49d68f0b5907 Mon Sep 17 00:00:00 2001 From: Abonur Date: Tue, 17 Mar 2026 20:16:36 +0100 Subject: [PATCH] fix: widen archive and intl version constraints for Flutter 3.27+ compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - archive: ^3.3.7 → >=3.3.7 <5.0.0 archive 4.x is backward-compatible; WebF only uses GZipDecoder which is stable. - intl: ^0.19.0 → >=0.19.0 <0.21.0 Flutter SDK 3.27+ pins intl 0.20.2 via flutter_localizations, causing resolution failures with ^0.19.0 (which caps at <0.20.0). Both changes allow WebF to be used in projects targeting Flutter 3.27+ without requiring dependency_overrides. --- webf/pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webf/pubspec.yaml b/webf/pubspec.yaml index b88b4312cd..6804b53bf1 100644 --- a/webf/pubspec.yaml +++ b/webf/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: async: ^2.8.2 # Pure dart module. quiver: ^3.2.1 # Pure dart module. source_span: ^1.9.0 # Pure dart module. - archive: ^3.3.7 # Pure dart module. + archive: ">=3.3.7 <5.0.0" # Pure dart module. web_socket_channel: ^3.0.1 flutter_svg: ^2.0.17 webf_easy_refresh: ^3.4.1 @@ -27,7 +27,7 @@ dependencies: shelf_web_socket: ^2.0.1 crypto: ^3.0.6 logging: ^1.3.0 - intl: ^0.19.0 + intl: ">=0.19.0 <0.21.0" vector_math: ^2.1.2 dio: ^5.4.0 http: ^1.5.0