From 00928b679e2b289bd991a071321ff1ed701180a6 Mon Sep 17 00:00:00 2001 From: Maurits van Beusekom Date: Thu, 25 Apr 2024 18:39:37 +0200 Subject: [PATCH 1/2] Update dependencies --- flutter_cache_manager/CHANGELOG.md | 3 +++ .../lib/src/result/download_progress.dart | 3 +-- flutter_cache_manager/pubspec.yaml | 20 +++++++++---------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/flutter_cache_manager/CHANGELOG.md b/flutter_cache_manager/CHANGELOG.md index beb2c28d..a857d3b0 100644 --- a/flutter_cache_manager/CHANGELOG.md +++ b/flutter_cache_manager/CHANGELOG.md @@ -1,3 +1,6 @@ +## [3.3.2] - 2024-04-25 +* Updates dependencies to their latest versions. + ## [3.3.1] - 2023-07-03 * Support Dart 3.0.0 for http ^1.0.0 and file ^7.0.0 * Update example diff --git a/flutter_cache_manager/lib/src/result/download_progress.dart b/flutter_cache_manager/lib/src/result/download_progress.dart index 4dffb0e6..54b6b576 100644 --- a/flutter_cache_manager/lib/src/result/download_progress.dart +++ b/flutter_cache_manager/lib/src/result/download_progress.dart @@ -2,8 +2,7 @@ import 'package:flutter_cache_manager/src/result/file_response.dart'; /// Progress of the file that is being downloaded from the [originalUrl]. class DownloadProgress extends FileResponse { - const DownloadProgress(String originalUrl, this.totalSize, this.downloaded) - : super(originalUrl); + const DownloadProgress(super.originalUrl, this.totalSize, this.downloaded); /// download progress as an double between 0 and 1. /// When the final size is unknown or the downloaded size exceeds the total diff --git a/flutter_cache_manager/pubspec.yaml b/flutter_cache_manager/pubspec.yaml index 903d4c94..b2e98f35 100644 --- a/flutter_cache_manager/pubspec.yaml +++ b/flutter_cache_manager/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_cache_manager description: Generic cache manager for flutter. Saves web files on the storages of the device and saves the cache info using sqflite. -version: 3.3.1 +version: 3.3.2 homepage: https://github.com/Baseflow/flutter_cache_manager/tree/develop/flutter_cache_manager topics: - cache @@ -10,20 +10,20 @@ environment: dependencies: clock: ^1.1.0 - collection: ^1.15.0 - file: '>=6.1.4 <8.0.0' + collection: ^1.18.0 + file: ^7.0.0 flutter: sdk: flutter - http: '>=0.13.0 <2.0.0' - path: ^1.8.0 - path_provider: ^2.0.0 - rxdart: '>=0.26.0 <0.28.0' - sqflite: ^2.0.0+4 - uuid: '>=3.0.0 <5.0.0' + http: ^1.2.1 + path: ^1.9.0 + path_provider: ^2.1.3 + rxdart: ^0.27.7 + sqflite: ^2.3.3 + uuid: ^4.4.0 dev_dependencies: build_runner: ^2.0.0 - flutter_lints: ^2.0.1 + flutter_lints: ^3.0.2 flutter_test: sdk: flutter mockito: ^5.0.0 From e2761887bde0c237c38e008704ded5010faae1b3 Mon Sep 17 00:00:00 2001 From: Maurits van Beusekom Date: Thu, 25 Apr 2024 18:45:27 +0200 Subject: [PATCH 2/2] Update dependencies --- flutter_cache_manager_firebase/CHANGELOG.md | 3 +++ flutter_cache_manager_firebase/pubspec.yaml | 8 ++++---- .../test/flutter_cache_manager_firebase_test.dart | 2 -- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/flutter_cache_manager_firebase/CHANGELOG.md b/flutter_cache_manager_firebase/CHANGELOG.md index ea848a30..4c46c62e 100644 --- a/flutter_cache_manager_firebase/CHANGELOG.md +++ b/flutter_cache_manager_firebase/CHANGELOG.md @@ -1,3 +1,6 @@ +## [2.0.2] - 2024-04-25 +* Updates dependencies to their latest versions. + ## [2.0.1] - 2021-08-27 * Update dependencies diff --git a/flutter_cache_manager_firebase/pubspec.yaml b/flutter_cache_manager_firebase/pubspec.yaml index aceaa2c4..95e819cb 100644 --- a/flutter_cache_manager_firebase/pubspec.yaml +++ b/flutter_cache_manager_firebase/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_cache_manager_firebase description: CacheManager implementation for firebase_storage. Uses the gs:// as key and translates to https:// -version: 2.0.1 +version: 2.0.2 homepage: https://github.com/Baseflow/flutter_cache_manager environment: @@ -10,9 +10,9 @@ dependencies: flutter: sdk: flutter flutter_cache_manager: ^3.0.0 - firebase_storage: ">=8.0.0 <11.0.0" - path_provider: ^2.0.0 - path: ^1.8.0 + firebase_storage: ^11.7.4 + path_provider: ^2.1.3 + path: ^1.9.0 dev_dependencies: flutter_test: diff --git a/flutter_cache_manager_firebase/test/flutter_cache_manager_firebase_test.dart b/flutter_cache_manager_firebase/test/flutter_cache_manager_firebase_test.dart index 0b45f02c..d30207dd 100644 --- a/flutter_cache_manager_firebase/test/flutter_cache_manager_firebase_test.dart +++ b/flutter_cache_manager_firebase/test/flutter_cache_manager_firebase_test.dart @@ -1,5 +1,3 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:flutter_cache_manager_firebase/flutter_cache_manager_firebase.dart'; void main() {}