You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Bugfix] getSingleFile now downloads a new file before completing as the outdated file might have been deleted.
20
30
21
31
## [3.1.3] - 2021-11-05
32
+
22
33
* Disabled resizing of cached gifs as this was broken.
23
34
24
35
## [3.1.2] - 2021-06-17
36
+
25
37
* removeFile function now completes after the file is removed from disk and not earlier ([#323](https://github.com/Baseflow/flutter_cache_manager/pull/323))
26
38
* Image resizing doesn't block ui anymore and doesn't use image package but existing Flutter components ([#319](https://github.com/Baseflow/flutter_cache_manager/pull/319))
27
39
28
40
## [3.1.1] - 2021-06-03
41
+
29
42
* Move File to separate file. You can add it using the following import:
43
+
30
44
```dart
31
45
import 'package:flutter_cache_manager/file.dart' as cache_file;
32
46
```
33
47
34
48
## [3.1.0] - 2021-05-28
49
+
35
50
* Export File from package file ([#302](https://github.com/Baseflow/flutter_cache_manager/pull/302))
36
51
* Bugfix for eTag on Flutter Web ([#304](https://github.com/Baseflow/flutter_cache_manager/pull/315))
37
52
* Bugfix for loading multiple images simultaneously ([#315](https://github.com/Baseflow/flutter_cache_manager/pull/315))
38
53
39
54
## [3.0.2] - 2021-05-10
55
+
40
56
* Include rxdart 0.27 as possible dependency
41
57
42
58
## [3.0.1] - 2021-03-29
59
+
43
60
* Include file 6.0.0 as possible dependency
44
61
45
62
## [3.0.0] - 2021-03-27
63
+
46
64
* Bug fix on removing a relatively new file from cache
47
65
* Migration to nullsafety.
48
66
49
67
## [3.0.0-nullsafety.3] - 2021-03-26
68
+
50
69
* Add null-check on id in removeFile
51
70
52
71
## [3.0.0-nullsafety.2] - 2021-03-22
72
+
53
73
* Fix sqflite warning
54
74
55
75
## [3.0.0-nullsafety.1] - 2021-03-02
76
+
56
77
* Bug fix for NonStoringObjectProvider.
57
78
58
79
## [3.0.0-nullsafety.0] - 2021-02-25
80
+
59
81
* Migration to nullsafety.
60
82
61
83
## [2.1.2] - 2021-03-09
84
+
62
85
* Update dependencies
63
86
* Bug fix for JsonCacheInfoRepository when file is corrupted.
64
87
65
88
## [2.1.1] - 2021-01-14
89
+
66
90
* Update minimal dependency sqflite
67
91
* Small fix for non-existing directory (PR [#264](https://github.com/Baseflow/flutter_cache_manager/pull/264))
68
92
69
93
## [2.1.0] - 2020-12-21
94
+
70
95
* Added ImageCacheManager with support for image resizing.
71
96
* Upgrade dependencies.
72
97
73
98
## [2.0.0] - 2020-10-16
99
+
74
100
* Restructured the configuration of the CacheManager. Look at the ReadMe for more information.
75
101
* Added queueing mechanism for downloading new files. By default, the cache manager downloads a maximum of 10 files
76
102
at the same time.
@@ -84,14 +110,15 @@ import 'package:flutter_cache_manager/file.dart' as cache_file;
84
110
***BREAKING CHANGE** A CacheInfoRepository is now assumed to allow multiple connections, which means you can call
85
111
'open' multiple times and the repo keeps track on the number of connections.
86
112
87
-
88
113
## [2.0.0-beta.1] - 2020-10-10
114
+
89
115
* Reintroduced BaseCacheManager interface for backwards compatibility.
90
116
* Renamed putExistFile to putFileStream. This is equally efficient, but more clear in what it does.
91
117
92
118
## [2.0.0-beta] - 2020-10-01
119
+
93
120
* Added option for a key different from the url.
94
-
* Added a new CacheInfoRepository: JsonCacheInfoRepository, which is not used by default on the existing platforms,
121
+
* Added a new CacheInfoRepository: JsonCacheInfoRepository, which is not used by default on the existing platforms,
95
122
but can be used on any.
96
123
* Added support for Windows and Linux using the JsonCacheInfoRepository by default.
97
124
* Added support for adding an existing file.
@@ -101,49 +128,56 @@ but can be used on any.
101
128
***BREAKING CHANGE** A CacheInfoRepository is now assumed to allow multiple connections, which means you can call
102
129
'open' multiple times and the repo keeps track on the number of connections.
103
130
104
-
105
131
## [1.4.2] - 2020-09-10
132
+
106
133
* Compatibility with Flutter version 1.22.
107
134
108
135
## [1.4.1] - 2020-06-14
136
+
109
137
* Bugfix: CacheManager returned a file that didn't exist when the file was removed by the OS (or any other external system)
110
138
while the app was active. This also prevented the CacheManager to redownload the file ([PR #190](https://github.com/Baseflow/flutter_cache_manager/pull/190)).
111
139
112
140
## [1.4.0] - 2020-06-04
141
+
113
142
* Allow cleaning of memory cache ([PR #183](https://github.com/Baseflow/flutter_cache_manager/pull/183)).
114
143
* Bugfix: Cleaning doesn't want to delete a file twice anymore ([PR #185](https://github.com/Baseflow/flutter_cache_manager/pull/185)).
115
144
116
145
## [1.3.0] - 2020-05-28
146
+
117
147
* Basic web support. (At least it downloads the file for you.)
118
148
* Support for the following mimetypes:
119
-
* application/vnd.android.package-archive (apk)
120
-
* audio/x-aac (aac)
121
-
* video/quicktime (mov)
149
+
* application/vnd.android.package-archive (apk)
150
+
* audio/x-aac (aac)
151
+
* video/quicktime (mov)
122
152
123
153
## [1.2.2] - 2020-04-16
154
+
124
155
* Support for RxDart 0.24.x
125
156
126
157
## [1.2.1] - 2020-04-14
158
+
127
159
* Fixed optional parameters in the Content-Type header ([#164](https://github.com/Baseflow/flutter_cache_manager/issues/164)).
128
160
129
161
## [1.2.0] - 2020-04-10
162
+
130
163
* Added getFileStream to CacheManager
131
-
* getFileStream has an optional parameter 'withProgress' to receive progress.
132
-
* getFileStream returns a FileResponse which is either a FileInfo or a DownloadProgress.
164
+
* getFileStream has an optional parameter 'withProgress' to receive progress.
165
+
* getFileStream returns a FileResponse which is either a FileInfo or a DownloadProgress.
133
166
* Changes to FileFetcher and FileFetcherResponse:
134
-
* FileFetcher is now replaced with a FileService which is a class instead of a function.
135
-
* FileServiceResponse doesn't just give magic headers, but concrete implementation of the needed information.
136
-
* FileServiceResponse gives a contentStream instead of content for more efficient handling of the data.
137
-
* FileServiceResponse contains contentLength with information about the total size of the content.
167
+
* FileFetcher is now replaced with a FileService which is a class instead of a function.
168
+
* FileServiceResponse doesn't just give magic headers, but concrete implementation of the needed information.
169
+
* FileServiceResponse gives a contentStream instead of content for more efficient handling of the data.
170
+
* FileServiceResponse contains contentLength with information about the total size of the content.
138
171
* Changes in CacheStore for testability:
139
-
* CleanupRunMinInterval can now be set.
140
-
* Expects a mockable directory instead of a path.
172
+
* CleanupRunMinInterval can now be set.
173
+
* Expects a mockable directory instead of a path.
141
174
* Added CacheInfoRepository interface to possibly replace the current CacheObjectProvider based on sqflite.
142
175
* Changes in WebHelper
143
176
* Files are now always saved with a new name. Files are first saved to storage before old file is removed.
144
177
* General code quality improvements
145
178
146
179
## [1.1.3] - 2019-10-17
180
+
147
181
* Use try-catch in WebHelper so VM understands that errors are not uncaught.
148
182
149
183
## [1.1.2] - 2019-10-16
@@ -203,7 +237,7 @@ while the app was active. This also prevented the CacheManager to redownload the
203
237
204
238
## [0.0.4+1] - 2018-02-16
205
239
206
-
* Fixed nullpointer when non-updated file (a 304 response) has no cache-control period.
240
+
* Fixed nullpointer when non-updated file (a 304 response) has no cache-control period.
0 commit comments