Skip to content

chore(deps): bump file_picker from 6.2.1 to 12.0.0 - #681

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/file_picker-12.0.0
Open

chore(deps): bump file_picker from 6.2.1 to 12.0.0#681
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/file_picker-12.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor

Bumps file_picker from 6.2.1 to 12.0.0.

Changelog

Sourced from file_picker's changelog.

12.0.0

Breaking Changes

  • Minimum Requirements: Raised minimum supported versions to Flutter 3.38 / Dart 3.10.
  • iOS Target: Raised minimum supported iOS deployment target to 14.0. Removed DKImagePickerController / DKPhotoGallery dependency chain.
  • API Modifications:
    • saveFile(): fileName and bytes are now required parameters across all platforms.
    • pickFiles(): allowMultiple now defaults to true. Use pickFile() for single file selection (allowMultiple is deprecated).
    • Deprecated withData, withReadStream, and readSequential on pickFiles()/pickFile() in favor of PlatformFile.readAsBytes() and PlatformFile.readAsByteStream().
    • Deprecated top-level lockParentWindow and cancelUploadOnWindowBlur parameters in favor of platform-specific option classes (WindowsOptions, LinuxOptions, WebOptions).

Architecture

  • Federated Plugin: Refactored file_picker into a federated architecture with dedicated platform implementation packages (file_picker_platform_interface, android_file_picker, file_picker_darwin, file_picker_linux, windows_file_picker, and file_picker_web).

Features & Enhancements

  • New API: Added pickFile() static method as a convenience wrapper for single file selection.
  • Platform Options: Introduced WindowsOptions, LinuxOptions (with acceptLabel and parentWindow), and WebOptions.
  • Android: Added support for Storage Access Framework (SAF) Persistable URI Grants (AndroidSAFOptions, AndroidSAFHandle, AndroidPlatformFile). Optimized image compression to prevent OutOfMemoryError.
  • iOS & macOS: Unified native implementations into shared Darwin sources. Selection order is now preserved when picking multiple files on iOS.
  • Exception Handling: Exported IllegalCharacterInFileNameException in file_picker.dart.

12.0.0-beta.8

General

  • Exported IllegalCharacterInFileNameException in file_picker.dart so exception handling can be performed by callers. #2077

Android

  • Decodes images with inSampleSize in compressImage to prevent excessive memory usage and OutOfMemoryError on large images. #2083

Desktop & Web

  • Added WindowsOptions (with parentWindowHandle and lockParentWindow), LinuxOptions (with parentWindow and lockParentWindow), and WebOptions (with cancelUploadOnWindowBlur). #2079
  • LinuxOptions.parentWindow automatically formats raw decimal and hex X11 window IDs as x11:0x..., while preserving Wayland handle strings.
  • Deprecated top-level lockParentWindow parameter in favor of WindowsOptions.lockParentWindow and LinuxOptions.lockParentWindow.
  • Deprecated top-level cancelUploadOnWindowBlur parameter in favor of WebOptions.cancelUploadOnWindowBlur.

macOS

  • Passes the custom dialogTitle when selecting a directory via getDirectoryPath(). #2087

12.0.0-beta.7

Web

  • Ensures XFile.fromData is only used on the web if bytes is not null, preventing potential null check errors.

12.0.0-beta.6

General

  • Improved PlatformFile.readAsBytes() so picked files can be read even when withData was not used and the file only has a local path or a stream source.
  • FileType.custom now shares a consistent allowedExtensions validation across platforms, throwing ArgumentError when filters are missing or used with a non-custom file type.
  • The ffi, win32, and flutter_lints dependencies have been updated.

Android

  • Prevents unresolved references when extracting hashCode under a forced JVM version. #2070

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [file_picker](https://github.com/miguelpruivo/flutter_file_picker) from 6.2.1 to 12.0.0.
- [Changelog](https://github.com/miguelpruivo/flutter_file_picker/blob/v12.0.0/CHANGELOG.md)
- [Commits](https://github.com/miguelpruivo/flutter_file_picker/commits/v12.0.0)

---
updated-dependencies:
- dependency-name: file_picker
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants