flutter_file_picker/CHANGELOG.md

90 lines
3.4 KiB
Markdown
Raw Normal View History

## 1.3.0
**Breaking changes**
* `FileType.CAMERA` is no longer available, if you need it, you can use this package along with [image_picker](https://pub.dartlang.org/packages/image_picker).
**New features**
* You can now pick multiple files by using the `getMultiFilePath()` method which will return a `Map<String,String>` with all paths from selected files, where the key matches the file name and the value its path. Optionally, it also supports filtering by file extension, otherwise all files will be selectable. Nevertheless, you should keep using `getFilePath()` for single path picking.
* You can now use `FileType.AUDIO` to pick audio files. In iOS this will let you select from your music library. Paths from DRM protected files won't be loaded (see README for more details).
**Bug fixes and updates**
* This package is no longer attached to the [image_picker](https://pub.dartlang.org/packages/image_picker), and because of that, camera permission is also no longer required.
* Fixes an issue where sometimes the _InputStream_ wasn't being properly closed. Also, its exception is now being forward to the plugin caller.
* Fixes an issue where the picker, when canceled, wasn't calling the result callback on the underlying platforms.
2019-02-12 11:50:51 +00:00
## 1.2.0
2019-01-26 18:38:20 +00:00
2019-02-12 11:50:51 +00:00
**Breaking change**
Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to [also migrate](https://developer.android.com/jetpack/androidx/migrate) if they're using the original support library.
2019-01-26 18:38:20 +00:00
2018-12-27 15:13:03 +00:00
## 1.1.1
* Updates README file.
2018-12-27 14:02:24 +00:00
## 1.1.0
**Breaking changes**
* `FileType.PDF` was removed since now it can be used along with custom file types by using the `FileType.CUSTOM` and providing the file extension (e.g. PDF, SVG, ZIP, etc.).
* `FileType.CAPTURE` is now `FileType.CAMERA`
**New features**
* Now it is possible to provide a custom file extension to filter file picking options by using `FileType.CUSTOM`
**Bug fixes and updates**
* Fixes file names from cloud on Android. Previously it would always display **Document**
* Fixes an issue on iOS where an exception was being thrown after canceling and re-opening the picker.
* Fixes an issue where collision could happen with request codes on Android.
* Adds public documentation to `file_picker`
* Example app updated.
* Updates .gitignore
2018-12-07 00:24:21 +00:00
## 1.0.3
* Fixes `build.gradle`.
2018-12-06 16:11:46 +00:00
## 1.0.2
* Minor update of README file.
2018-12-06 16:05:10 +00:00
## 1.0.1
* Adds comments for public API
2018-12-06 16:11:46 +00:00
## 1.0.0
2018-12-06 14:43:01 +00:00
* **Version 1.0** release.
* Adds support for ANY and VIDEO files.
* Fixes an issue where permissions were recursively asked on Android.
* Fixes an issue where some paths from document files couldn't be loaded with Android 8.0.
* Updates README file to match changes.
* General refactor & cleanup.
## 0.1.6
* Replaces commons dependency with FilePath class on Android, to handle path resolution on different SDK.
2018-09-11 15:04:14 +00:00
## 0.1.5
* Minor correction on README file.
## 0.1.4
* Changed Meta minimum version due to versioning conflict with flutter_localization.
2018-06-23 01:22:04 +00:00
## 0.1.3
* Updated readme.
## 0.1.2
* Changed license from Apache 2.0 to MIT.
* Adds demo screenshot.
## 0.1.1
* Adds license information (Apache 2.0).
* Adds CHANGELOG details.
## 0.1.0
* Initial realise.
* Supports picking paths from files on local storage, cloud.
* Supports picking paths from both gallery & camera due to [image_picker](https://pub.dartlang.org/packages/image_picker) dependency.