diff --git a/flutter_cache_manager/CHANGELOG.md b/flutter_cache_manager/CHANGELOG.md index a857d3b0..6b7e0bc5 100644 --- a/flutter_cache_manager/CHANGELOG.md +++ b/flutter_cache_manager/CHANGELOG.md @@ -1,3 +1,6 @@ +## [3.3.3] - 2024-07-23 +* Updates dependencies ([#457](https://github.com/Baseflow/flutter_cache_manager/pull/457)) + ## [3.3.2] - 2024-04-25 * Updates dependencies to their latest versions. diff --git a/flutter_cache_manager/example/pubspec.yaml b/flutter_cache_manager/example/pubspec.yaml index acace8eb..de16453a 100644 --- a/flutter_cache_manager/example/pubspec.yaml +++ b/flutter_cache_manager/example/pubspec.yaml @@ -3,21 +3,21 @@ description: A project that showcases usage of flutter_cache_manager publish_to: none version: 1.0.0+1 environment: - sdk: '>=2.17.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: baseflow_plugin_template: ^2.1.2 - cupertino_icons: ^1.0.5 + cupertino_icons: ^1.0.8 flutter: sdk: flutter flutter_cache_manager: path: ../ - url_launcher: ^6.1.10 + url_launcher: ^6.2.1 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.1 + flutter_lints: ^3.0.2 flutter: uses-material-design: true diff --git a/flutter_cache_manager/pubspec.yaml b/flutter_cache_manager/pubspec.yaml index b2e98f35..d220e136 100644 --- a/flutter_cache_manager/pubspec.yaml +++ b/flutter_cache_manager/pubspec.yaml @@ -1,29 +1,29 @@ 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.2 +version: 3.3.3 homepage: https://github.com/Baseflow/flutter_cache_manager/tree/develop/flutter_cache_manager topics: - cache - cache-manager environment: - sdk: '>=2.17.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: - clock: ^1.1.0 - collection: ^1.18.0 + clock: ^1.1.1 + collection: ^1.16.0 file: ^7.0.0 flutter: sdk: flutter - http: ^1.2.1 + http: ^1.1.0 path: ^1.9.0 - path_provider: ^2.1.3 - rxdart: ^0.27.7 - sqflite: ^2.3.3 + path_provider: ^2.1.2 + rxdart: '>=0.27.7 <0.29.0' + sqflite: ^2.3.0 uuid: ^4.4.0 dev_dependencies: - build_runner: ^2.0.0 + build_runner: ^2.4.0 flutter_lints: ^3.0.2 flutter_test: sdk: flutter - mockito: ^5.0.0 + mockito: ^5.4.4 diff --git a/flutter_cache_manager_firebase/CHANGELOG.md b/flutter_cache_manager_firebase/CHANGELOG.md index 4c46c62e..2c1a7547 100644 --- a/flutter_cache_manager_firebase/CHANGELOG.md +++ b/flutter_cache_manager_firebase/CHANGELOG.md @@ -1,3 +1,6 @@ +## [2.0.3] - 2024-07-23 +* Updates dependencies ([#457](https://github.com/Baseflow/flutter_cache_manager/pull/457)) + ## [2.0.2] - 2024-04-25 * Updates dependencies to their latest versions. diff --git a/flutter_cache_manager_firebase/analysis_options.yaml b/flutter_cache_manager_firebase/analysis_options.yaml new file mode 100644 index 00000000..f9b30346 --- /dev/null +++ b/flutter_cache_manager_firebase/analysis_options.yaml @@ -0,0 +1 @@ +include: package:flutter_lints/flutter.yaml diff --git a/flutter_cache_manager_firebase/lib/src/firebase_cache_manager.dart b/flutter_cache_manager_firebase/lib/src/firebase_cache_manager.dart index 492f9f02..d474901f 100644 --- a/flutter_cache_manager_firebase/lib/src/firebase_cache_manager.dart +++ b/flutter_cache_manager_firebase/lib/src/firebase_cache_manager.dart @@ -7,7 +7,7 @@ import 'firebase_http_file_service.dart'; class FirebaseCacheManager extends CacheManager { static const key = 'firebaseCache'; - static late final FirebaseCacheManager _instance = FirebaseCacheManager._(); + static final FirebaseCacheManager _instance = FirebaseCacheManager._(); factory FirebaseCacheManager() { return _instance; diff --git a/flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart b/flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart index bc2c9554..c73710bc 100644 --- a/flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart +++ b/flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart @@ -9,8 +9,8 @@ class FirebaseHttpFileService extends HttpFileService { Future get(String url, {Map? headers}) async { var ref = FirebaseStorage.instance.ref().child(url); - var _url = await ref.getDownloadURL(); + var downloadUrl = await ref.getDownloadURL(); - return super.get(_url); + return super.get(downloadUrl); } } diff --git a/flutter_cache_manager_firebase/pubspec.yaml b/flutter_cache_manager_firebase/pubspec.yaml index 4ffd2c0c..86489caa 100644 --- a/flutter_cache_manager_firebase/pubspec.yaml +++ b/flutter_cache_manager_firebase/pubspec.yaml @@ -1,19 +1,20 @@ name: flutter_cache_manager_firebase description: CacheManager implementation for firebase_storage. Uses the gs:// as key and translates to https:// -version: 2.0.2 +version: 2.0.3 homepage: https://github.com/Baseflow/flutter_cache_manager environment: - sdk: ">=2.12.0 <4.0.0" + sdk: ">=3.0.0 <4.0.0" dependencies: flutter: sdk: flutter - flutter_cache_manager: ^3.0.0 - firebase_storage: ^11.7.4 - path_provider: ^2.1.3 + flutter_cache_manager: ^3.3.2 + firebase_storage: '>=11.7.4 <13.0.0' + path_provider: ^2.1.2 path: ^1.9.0 dev_dependencies: + flutter_lints: ^3.0.2 flutter_test: sdk: flutter