Skip to content

Commit 512a4fa

Browse files
committed
Merge branch 'develop'
2 parents d124fe0 + a35074a commit 512a4fa

File tree

134 files changed

+1630
-1095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+1630
-1095
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
2828
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030

3131
# Make sure the stable version of Flutter is available
32-
- uses: subosito/flutter-action@v1
32+
- uses: subosito/flutter-action@v2
3333
with:
3434
channel: 'stable'
3535

@@ -40,7 +40,7 @@ jobs:
4040

4141
# Run Flutter Format to ensure formatting is valid
4242
- name: Run Flutter Format
43-
run: flutter format --set-exit-if-changed .
43+
run: dart format --set-exit-if-changed .
4444
working-directory: ${{env.source-directory}}
4545

4646
analyze:
@@ -55,10 +55,10 @@ jobs:
5555
# Steps represent a sequence of tasks that will be executed as part of the job
5656
steps:
5757
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v3
5959

6060
# Make sure the stable version of Flutter is available
61-
- uses: subosito/flutter-action@v1
61+
- uses: subosito/flutter-action@v2
6262
with:
6363
channel: 'stable'
6464

@@ -85,15 +85,16 @@ jobs:
8585
# Steps represent a sequence of tasks that will be executed as part of the job
8686
steps:
8787
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
88-
- uses: actions/checkout@v2
88+
- uses: actions/checkout@v3
8989

9090
# Ensure correct JAVA version is installed.
91-
- uses: actions/setup-java@v1
91+
- uses: actions/setup-java@v3
9292
with:
93-
java-version: '12.x'
93+
distribution: 'zulu'
94+
java-version: '17'
9495

9596
# Make sure the stable version of Flutter is available
96-
- uses: subosito/flutter-action@v1
97+
- uses: subosito/flutter-action@v2
9798
with:
9899
channel: 'stable'
99100

@@ -120,10 +121,10 @@ jobs:
120121
# Steps represent a sequence of tasks that will be executed as part of the job
121122
steps:
122123
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
123-
- uses: actions/checkout@v2
124+
- uses: actions/checkout@v3
124125

125126
# Make sure the stable version of Flutter is available
126-
- uses: subosito/flutter-action@v1
127+
- uses: subosito/flutter-action@v2
127128
with:
128129
channel: 'stable'
129130

@@ -150,10 +151,10 @@ jobs:
150151
# Steps represent a sequence of tasks that will be executed as part of the job
151152
steps:
152153
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
153-
- uses: actions/checkout@v2
154+
- uses: actions/checkout@v3
154155

155156
# Make sure the stable version of Flutter is available
156-
- uses: subosito/flutter-action@v1
157+
- uses: subosito/flutter-action@v2
157158
with:
158159
channel: 'stable'
159160

@@ -185,10 +186,10 @@ jobs:
185186
# Steps represent a sequence of tasks that will be executed as part of the job
186187
steps:
187188
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
188-
- uses: actions/checkout@v2
189+
- uses: actions/checkout@v3
189190

190191
# Make sure the stable version of Flutter is available
191-
- uses: subosito/flutter-action@v1
192+
- uses: subosito/flutter-action@v2
192193
with:
193194
channel: 'stable'
194195

@@ -224,10 +225,10 @@ jobs:
224225
- run: sudo apt-get install -y ninja-build libgtk-3-dev libblkid-dev
225226

226227
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
227-
- uses: actions/checkout@v2
228+
- uses: actions/checkout@v3
228229

229230
# Make sure the stable version of Flutter is available
230-
- uses: subosito/flutter-action@v1
231+
- uses: subosito/flutter-action@v2
231232
with:
232233
channel: 'stable'
233234

@@ -264,10 +265,10 @@ jobs:
264265
# Steps represent a sequence of tasks that will be executed as part of the job
265266
steps:
266267
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
267-
- uses: actions/checkout@v2
268+
- uses: actions/checkout@v3
268269

269270
# Make sure the stable version of Flutter is available
270-
- uses: subosito/flutter-action@v1
271+
- uses: subosito/flutter-action@v2
271272
with:
272273
channel: 'stable'
273274

@@ -292,10 +293,10 @@ jobs:
292293
# Steps represent a sequence of tasks that will be executed as part of the job
293294
steps:
294295
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
295-
- uses: actions/checkout@v2
296+
- uses: actions/checkout@v3
296297

297298
# Make sure the stable version of Flutter is available
298-
- uses: subosito/flutter-action@v1
299+
- uses: subosito/flutter-action@v2
299300
with:
300301
channel: 'stable'
301302

@@ -310,8 +311,8 @@ jobs:
310311
working-directory: ${{env.source-directory}}
311312

312313
# Upload code coverage information
313-
- uses: codecov/codecov-action@v1
314+
- uses: codecov/codecov-action@v3
314315
with:
315-
file: ${{env.source-directory}}/coverage/lcov.info # optional
316-
name: CacheManager # optional
317-
fail_ci_if_error: true
316+
files: ${{env.source-directory}}/coverage/lcov.info
317+
name: CacheManager
318+
fail_ci_if_error: true

flutter_cache_manager/.gitignore

Lines changed: 16 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,44 @@
11
# Miscellaneous
22
*.class
3-
*.lock
43
*.log
54
*.pyc
65
*.swp
76
.DS_Store
87
.atom/
98
.buildlog/
109
.history
11-
.project
1210
.svn/
13-
bin/
11+
migrate_working_dir/
1412

1513
# IntelliJ related
1614
*.iml
1715
*.ipr
1816
*.iws
1917
.idea/
2018

21-
# Android Studio related
22-
android/.classpath
23-
android/.settings/
24-
25-
# Visual Studio Code related
26-
.vscode/
27-
28-
# Flutter repo-specific
29-
/bin/cache/
30-
/bin/mingit/
31-
/dev/benchmarks/mega_gallery/
32-
/dev/bots/.recipe_deps
33-
/dev/bots/android_tools/
34-
/dev/docs/doc/
35-
/dev/docs/lib/
36-
/dev/docs/pubspec.yaml
37-
/packages/flutter/coverage/
38-
version
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
3923

4024
# Flutter/Dart/Pub related
4125
**/doc/api/
26+
**/ios/Flutter/.last_build_id
4227
.dart_tool/
4328
.flutter-plugins
29+
.flutter-plugins-dependencies
4430
.packages
4531
.pub-cache/
4632
.pub/
47-
build/
48-
flutter_*.png
49-
linked_*.ds
50-
unlinked.ds
51-
unlinked_spec.ds
52-
flutter_export_environment.sh
33+
/build/
5334

54-
# Android related
55-
**/android/**/gradle-wrapper.jar
56-
**/android/.gradle
57-
**/android/captures/
58-
**/android/gradlew
59-
**/android/gradlew.bat
60-
**/android/local.properties
61-
**/android/**/GeneratedPluginRegistrant.java
35+
# Symbolication related
36+
app.*.symbols
6237

63-
# iOS/XCode related
64-
**/ios/**/*.mode1v3
65-
**/ios/**/*.mode2v3
66-
**/ios/**/*.moved-aside
67-
**/ios/**/*.pbxuser
68-
**/ios/**/*.perspectivev3
69-
**/ios/**/*sync/
70-
**/ios/**/.sconsign.dblite
71-
**/ios/**/.tags*
72-
**/ios/**/.vagrant/
73-
**/ios/**/DerivedData/
74-
**/ios/**/Icon?
75-
**/ios/**/Pods/
76-
**/ios/**/.symlinks/
77-
**/ios/**/profile
78-
**/ios/**/xcuserdata
79-
**/ios/.generated/
80-
**/ios/Flutter/App.framework
81-
**/ios/Flutter/Flutter.framework
82-
**/ios/Flutter/Generated.xcconfig
83-
**/ios/Flutter/app.flx
84-
**/ios/Flutter/app.zip
85-
**/ios/Flutter/flutter_assets/
86-
**/ios/ServiceDefinitions.json
87-
**/ios/Runner/GeneratedPluginRegistrant.*
38+
# Obfuscation related
39+
app.*.map.json
8840

89-
# Exceptions to above rules.
90-
!**/ios/**/default.mode1v3
91-
!**/ios/**/default.mode2v3
92-
!**/ios/**/default.pbxuser
93-
!**/ios/**/default.perspectivev3
94-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
95-
example/.flutter-plugins-dependencies
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

flutter_cache_manager/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [3.3.2] - 2024-04-25
2+
* Updates dependencies to their latest versions.
3+
4+
## [3.3.1] - 2023-07-03
5+
* Support Dart 3.0.0 for http ^1.0.0 and file ^7.0.0
6+
* Update example
7+
* Add topics
8+
19
## [3.3.0] - 2021-11-29
210
* Added option to manage the log level. Doesn't print failed downloads by default anymore. You can set it like this:
311
```dart
Lines changed: 1 addition & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1 @@
1-
include: package:pedantic/analysis_options.1.8.0.yaml
2-
3-
analyzer:
4-
strong-mode:
5-
implicit-casts: false
6-
# implicit-dynamic: false
7-
errors:
8-
unused_import: warning
9-
unused_local_variable: warning
10-
dead_code: warning
11-
invalid_override_of_non_virtual_member: error
12-
13-
linter:
14-
rules:
15-
- always_declare_return_types
16-
- annotate_overrides
17-
- avoid_empty_else
18-
- avoid_function_literals_in_foreach_calls
19-
- avoid_init_to_null
20-
- avoid_void_async
21-
- await_only_futures
22-
# - avoid_implementing_value_types
23-
- avoid_null_checks_in_equality_operators
24-
- avoid_renaming_method_parameters
25-
- avoid_return_types_on_setters
26-
- avoid_returning_null
27-
- avoid_returning_null_for_void
28-
- avoid_types_as_parameter_names
29-
- avoid_relative_lib_imports
30-
- avoid_unused_constructor_parameters
31-
- camel_case_types
32-
- cancel_subscriptions
33-
#- cascade_invocations
34-
#- comment_references
35-
#- constant_identifier_names
36-
- control_flow_in_finally
37-
- directives_ordering
38-
- empty_catches
39-
- empty_constructor_bodies
40-
- empty_statements
41-
- hash_and_equals
42-
#- implementation_imports
43-
- invariant_booleans
44-
- iterable_contains_unrelated_type
45-
- library_names
46-
- library_prefixes
47-
- list_remove_unrelated_type
48-
- no_adjacent_strings_in_list
49-
- no_duplicate_case_values
50-
- non_constant_identifier_names
51-
- omit_local_variable_types
52-
#- only_throw_errors
53-
- overridden_fields
54-
- package_api_docs
55-
- package_names
56-
- package_prefixed_library_names
57-
- prefer_adjacent_string_concatenation
58-
- prefer_collection_literals
59-
- prefer_conditional_assignment
60-
- prefer_const_constructors
61-
- prefer_contains
62-
- prefer_equal_for_default_values
63-
- prefer_final_fields
64-
- prefer_initializing_formals
65-
#- prefer_int_literals
66-
#- prefer_interpolation_to_compose_strings
67-
- prefer_is_empty
68-
- prefer_is_not_empty
69-
- prefer_single_quotes
70-
- prefer_typing_uninitialized_variables
71-
- recursive_getters
72-
- slash_for_doc_comments
73-
- sort_pub_dependencies
74-
- test_types_in_equals
75-
- throw_in_finally
76-
- type_init_formals
77-
- unawaited_futures
78-
- unnecessary_await_in_return
79-
- unnecessary_brace_in_string_interps
80-
- unnecessary_getters_setters
81-
- unnecessary_lambdas
82-
- unnecessary_null_aware_assignments
83-
- unnecessary_statements
84-
- unnecessary_this
85-
- unrelated_type_equality_checks
86-
- use_rethrow_when_possible
87-
- valid_regexps
88-
# Additional Dart 2.3 lints
89-
- prefer_spread_collections
90-
- prefer_if_elements_to_conditional_expressions
91-
- prefer_for_elements_to_map_fromIterable
1+
include: package:flutter_lints/flutter.yaml

0 commit comments

Comments
 (0)