Skip to content

Commit 8b9b8f8

Browse files
committed
prepare for version 1.8.1
1 parent 8408d16 commit 8b9b8f8

File tree

1 file changed

+57
-18
lines changed

1 file changed

+57
-18
lines changed

CHANGELOG.md

Lines changed: 57 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.8.1
2+
3+
- Add optional `int step` argument to `FlutterDownloader.initialize()`
4+
- Improve README
5+
- Slightly refactor example app
6+
17
## 1.8.0+1
28

39
- Fix broken images in README on pub.dev
@@ -15,11 +21,14 @@
1521
## 1.7.4
1622

1723
- fix bug SSL on Android
18-
- merged PRs: [#635](https://github.com/fluttercommunity/flutter_downloader/pull/635), [#637](https://github.com/fluttercommunity/flutter_downloader/pull/637)
24+
- merged PRs:
25+
[#635](https://github.com/fluttercommunity/flutter_downloader/pull/635),
26+
[#637](https://github.com/fluttercommunity/flutter_downloader/pull/637)
1927

2028
## 1.7.3
2129

22-
- fix bug [#614](https://github.com/fluttercommunity/flutter_downloader/issues/614)
30+
- fix bug
31+
[#614](https://github.com/fluttercommunity/flutter_downloader/issues/614)
2332

2433
## 1.7.2
2534

@@ -64,7 +73,8 @@
6473

6574
## 1.4.4
6675

67-
- add `debug` (optional) parameter in `initialize()` method that supports disable logging to console
76+
- add `debug` (optional) parameter in `initialize()` method that supports
77+
disable logging to console
6878

6979
## 1.4.3
7080

@@ -104,9 +114,14 @@
104114

105115
## 1.3.0
106116

107-
- **BREAKING CHANGES**: the plugin has been refactored to support update download events with background isolate. In order to support background execution in Dart, the `callback`, that receives events from platform codes, now must be a static or top-level function. There's also an additional native configuration required on both of iOS and Android. See README for detail.
117+
- **BREAKING CHANGES**: the plugin has been refactored to support update
118+
download events with background isolate. In order to support background
119+
execution in Dart, the `callback`, that receives events from platform codes,
120+
now must be a static or top-level function. There's also an additional native
121+
configuration required on both of iOS and Android. See README for detail.
108122
- Android: upgrade `WorkManager` to v2.2.0.
109-
- Fix bug `SecurityException` when saving image/videos to internal storage in Android
123+
- Fix bug `SecurityException` when saving image/videos to internal storage in
124+
Android
110125
- Fix bug cannot save videos in Android.
111126

112127
## 1.2.2
@@ -115,11 +130,14 @@
115130

116131
## 1.2.1
117132

118-
- Android: hot-fix unregister `BroadcastReceiver` in case using `FlutterFragmentActivity`
133+
- Android: hot-fix unregister `BroadcastReceiver` in case using
134+
`FlutterFragmentActivity`
119135

120136
## 1.2.0
121137

122-
- Android: support `FlutterFragmentActivity`, fix bug downloaded image/video files not shown in Gallery application, improved HTTP redirection implementation, fix bug cannot open apk file in some cases
138+
- Android: support `FlutterFragmentActivity`, fix bug downloaded image/video
139+
files not shown in Gallery application, improved HTTP redirection
140+
implementation, fix bug cannot open apk file in some cases
123141

124142
## 1.1.9
125143

@@ -128,8 +146,13 @@
128146

129147
## 1.1.8
130148

131-
- Fix bug in iOS: from iOS 8, absolute path to app's sandbox changes every time you relaunch the app, hence `savedDir` path is needed to truncate the changing part before saving it to DB and recreate the absolute path every time it loaded from DB. Currently, the plugin only supports save files in `NSDocumentDirectory`.
132-
- Fix bug is iOS: setting wrong status of task in case that the application is terminated
149+
- Fix bug in iOS: from iOS 8, absolute path to app's sandbox changes every time
150+
you relaunch the app, hence `savedDir` path is needed to truncate the changing
151+
part before saving it to DB and recreate the absolute path every time it
152+
loaded from DB. Currently, the plugin only supports save files in
153+
`NSDocumentDirectory`.
154+
- Fix bug is iOS: setting wrong status of task in case that the application is
155+
terminated
133156
- Android: upgrade dependencies
134157

135158
## 1.1.7
@@ -148,8 +171,10 @@
148171

149172
## 1.1.4
150173

151-
- add `remove()` feature to delete task (in DB) and downloaded file as well (optional).
152-
- support clean up callback by setting callback as `null` in `registerCallback()`
174+
- add `remove()` feature to delete task (in DB) and downloaded file as well
175+
(optional).
176+
- support clean up callback by setting callback as `null` in
177+
`registerCallback()`
153178
- Android: upgrade `WorkManager` to version 1.0.0-beta01
154179

155180
## 1.1.3
@@ -168,7 +193,10 @@
168193
## 1.1.0
169194

170195
- Android: upgrade `WorkManager` library to version v1.0.0-alpha11
171-
- **BREAKING CHANGE**: `initialize()` is removed (to deal with the change of the initialization of `WorkManager` in v1.0.0-alpha11). The plugin initializes itself with default configurations. If you would like to change the default configuration, you can follows the instruction in `README.md`
196+
- **BREAKING CHANGE**: `initialize()` is removed (to deal with the change of the
197+
initialization of `WorkManager` in v1.0.0-alpha11). The plugin initializes
198+
itself with default configurations. If you would like to change the default
199+
configuration, you can follows the instruction in `README.md`
172200

173201
## 1.0.6
174202

@@ -196,13 +224,22 @@
196224

197225
## 1.0.0
198226

199-
- **NEW** features: initialize, loadTasksWithRawQuery, pause, resume, retry, open
227+
- **NEW** features: initialize, loadTasksWithRawQuery, pause, resume, retry,
228+
open
200229
- **IMPORTANT**: the plugin must be initialized by `initialize()` at first
201-
- **BREAKING CHANGE**: `clickToOpenDownloadedFile` now renames to `openFileFromNotification` (to prevent confusing from `open` feature). Static property `maximumConcurrentTask` has been removed, this configuration now moves into `initialize()` method.
202-
- full support SQLite on both Android and iOS side, the plugin now itself manages its states persistently and exposes `loadTasksWithRawQuery` api that helps developers to load tasks from SQLite database with customized conditions
203-
- support localizing Android notification messages with `messages` parameter of `initialize()` method
230+
- **BREAKING CHANGE**: `clickToOpenDownloadedFile` now renames to
231+
`openFileFromNotification` (to prevent confusing from `open` feature). Static
232+
property `maximumConcurrentTask` has been removed, this configuration now
233+
moves into `initialize()` method.
234+
- full support SQLite on both Android and iOS side, the plugin now itself
235+
manages its states persistently and exposes `loadTasksWithRawQuery` api that
236+
helps developers to load tasks from SQLite database with customized conditions
237+
- support localizing Android notification messages with `messages` parameter of
238+
`initialize()` method
204239
- full support opening and previewing downloaded file with `open()` method
205-
- (iOS integration) no need to override `application:handleEventsForBackgroundURLSession:completionHandler:` manually anymore, the plugin now itself takes responsibility for handling it
240+
- (iOS integration) no need to override
241+
`application:handleEventsForBackgroundURLSession:completionHandler:` manually
242+
anymore, the plugin now itself takes responsibility for handling it
206243

207244
## 0.1.1
208245

@@ -230,7 +267,9 @@
230267
## 0.0.6
231268

232269
- upgrade WorkManager to v1.0.0-alpha03
233-
- change default value of `showNotification` to `true` (it makes sense on Android 8.0 and above, it helps our tasks not to be killed by system when the app goes to background)
270+
- change default value of `showNotification` to `true` (it makes sense on
271+
Android 8.0 and above, it helps our tasks not to be killed by system when the
272+
app goes to background)
234273

235274
## 0.0.5
236275

0 commit comments

Comments
 (0)