From 721943194945623062792dd3356f1ad1cbe070e2 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 5 Nov 2024 08:00:10 -0800 Subject: [PATCH] [vector_graphics*] Relax dependency constraints of vector_graphics, vector_graphics_codec, vector_graphics_compiler, flutter_svg (#8018) Relax the dependency constrraints of the vector graphics packages. Since there are no actual changes to the vector_graphics_codec package and the listed version is already published, I don't think it needs a version bump to remove the publish key. Fixes https://github.com/flutter/flutter/issues/157626 --- packages/vector_graphics/CHANGELOG.md | 4 ++++ packages/vector_graphics/pubspec.yaml | 11 +++-------- packages/vector_graphics_codec/pubspec.yaml | 3 --- packages/vector_graphics_compiler/CHANGELOG.md | 4 ++++ packages/vector_graphics_compiler/pubspec.yaml | 8 ++------ third_party/packages/flutter_svg/CHANGELOG.md | 5 +++++ third_party/packages/flutter_svg/pubspec.yaml | 9 ++++----- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/vector_graphics/CHANGELOG.md b/packages/vector_graphics/CHANGELOG.md index de88a770fce1..a51da2ef8737 100644 --- a/packages/vector_graphics/CHANGELOG.md +++ b/packages/vector_graphics/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.14 + +* Relaxes dependency constraint on vector_graphics_codec. + ## 1.1.13 * Fix execution on the web with WebAssembly. diff --git a/packages/vector_graphics/pubspec.yaml b/packages/vector_graphics/pubspec.yaml index 03e6c562bbb1..2b74c23555ab 100644 --- a/packages/vector_graphics/pubspec.yaml +++ b/packages/vector_graphics/pubspec.yaml @@ -2,10 +2,7 @@ name: vector_graphics description: A vector graphics rendering package for Flutter using a binary encoding. repository: https://github.com/flutter/packages/tree/main/packages/vector_graphics issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+vector_graphics%22 -# See https://github.com/flutter/flutter/issues/157626 before publishing a new -# version. -publish_to: none -version: 1.1.13 +version: 1.1.14 environment: sdk: ^3.4.0 @@ -15,14 +12,12 @@ dependencies: flutter: sdk: flutter http: ^1.0.0 - # See https://github.com/flutter/flutter/issues/157626 - vector_graphics_codec: ">=1.1.11+1 <= 1.1.12" + vector_graphics_codec: ^1.1.11+1 dev_dependencies: flutter_test: sdk: flutter - # See https://github.com/flutter/flutter/issues/157626 - vector_graphics_compiler: ">=1.1.11+1 <= 1.1.12" + vector_graphics_compiler: ^1.1.11+1 platforms: android: diff --git a/packages/vector_graphics_codec/pubspec.yaml b/packages/vector_graphics_codec/pubspec.yaml index ae46c84c6fec..78af4cdae4a1 100644 --- a/packages/vector_graphics_codec/pubspec.yaml +++ b/packages/vector_graphics_codec/pubspec.yaml @@ -2,9 +2,6 @@ name: vector_graphics_codec description: An encoding library for the binary format used in `package:vector_graphics` repository: https://github.com/flutter/packages/tree/main/packages/vector_graphics_codec issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+vector_graphics%22 -# See https://github.com/flutter/flutter/issues/157626 before publishing a new -# version. -publish_to: none version: 1.1.12 environment: diff --git a/packages/vector_graphics_compiler/CHANGELOG.md b/packages/vector_graphics_compiler/CHANGELOG.md index 51e080adfa83..b955e2646e57 100644 --- a/packages/vector_graphics_compiler/CHANGELOG.md +++ b/packages/vector_graphics_compiler/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.13 + +* Relaxes dependency constraint on vector_graphics_codec. + ## 1.1.12 * Transfers the package source from https://github.com/dnfield/vector_graphics diff --git a/packages/vector_graphics_compiler/pubspec.yaml b/packages/vector_graphics_compiler/pubspec.yaml index ae92d689012e..fca28d4f1472 100644 --- a/packages/vector_graphics_compiler/pubspec.yaml +++ b/packages/vector_graphics_compiler/pubspec.yaml @@ -2,10 +2,7 @@ name: vector_graphics_compiler description: A compiler to convert SVGs to the binary format used by `package:vector_graphics`. repository: https://github.com/flutter/packages/tree/main/packages/vector_graphics_compiler issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+vector_graphics%22 -# See https://github.com/flutter/flutter/issues/157626 before publishing a new -# version. -publish_to: none -version: 1.1.12 +version: 1.1.13 executables: vector_graphics_compiler: @@ -18,8 +15,7 @@ dependencies: meta: ^1.7.0 path: ^1.8.0 path_parsing: ^1.0.1 - # See https://github.com/flutter/flutter/issues/157626 - vector_graphics_codec: ">=1.1.11+1 <= 1.1.12" + vector_graphics_codec: ^1.1.11+1 # This uses an exact upper range because it is an external dependency (see # https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#dependencies # for more information), and this mitigates transitive risk exposure to diff --git a/third_party/packages/flutter_svg/CHANGELOG.md b/third_party/packages/flutter_svg/CHANGELOG.md index 9f135f77191b..6d85db33835a 100644 --- a/third_party/packages/flutter_svg/CHANGELOG.md +++ b/third_party/packages/flutter_svg/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.0.13 + +* Relaxes the dependency constraints on vector_graphics, vector_graphics_codec, + and vector_graphics_compiler. + ## 2.0.12 * Adds `missing_code_block_language_in_doc_comment` lint. diff --git a/third_party/packages/flutter_svg/pubspec.yaml b/third_party/packages/flutter_svg/pubspec.yaml index c0183b44db42..4fa0faee48c4 100644 --- a/third_party/packages/flutter_svg/pubspec.yaml +++ b/third_party/packages/flutter_svg/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_svg description: An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files. repository: https://github.com/flutter/packages/tree/main/third_party/packages/flutter_svg issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_svg%22 -version: 2.0.12 +version: 2.0.13 environment: sdk: ^3.4.0 @@ -12,10 +12,9 @@ dependencies: flutter: sdk: flutter http: ^1.0.0 - # See https://github.com/flutter/flutter/issues/157626 - vector_graphics: ">=1.1.11+1 <= 1.1.12" - vector_graphics_codec: ">=1.1.11+1 <= 1.1.12" - vector_graphics_compiler: ">=1.1.11+1 <= 1.1.12" + vector_graphics: ^1.1.11+1 + vector_graphics_codec: ^1.1.11+1 + vector_graphics_compiler: ^1.1.11+1 dev_dependencies: flutter_test: