Skip to content

Support latest rxdart version and align Dart SDK version #457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions flutter_cache_manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
8 changes: 4 additions & 4 deletions flutter_cache_manager/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 10 additions & 10 deletions flutter_cache_manager/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions flutter_cache_manager_firebase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 1 addition & 0 deletions flutter_cache_manager_firebase/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include: package:flutter_lints/flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class FirebaseHttpFileService extends HttpFileService {
Future<FileServiceResponse> get(String url,
{Map<String, String>? 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);
}
}
11 changes: 6 additions & 5 deletions flutter_cache_manager_firebase/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Loading