Skip to content

Update dependency file_picker to v13 - #528

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/file_picker-13.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/file_picker-13.x

Conversation

@renovate

@renovate renovate Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
file_picker (source) dependencies major ^12.0.0-beta.2 → ^13.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

vicajilau/flutter_file_picker (file_picker)

v13.4.0

Compare Source

  • Added FilePicker.pickDirectory(), which returns the Uri of the picked directory: the content:// tree URI on Android, which is what the app can read through the Storage Access Framework, and a file URI on the other platforms. On Android it throws when the pick fails, while the other platforms keep returning null for a failure, as getDirectoryPath() does. Requires android_file_picker 2.2.0 and file_picker_platform_interface 4.3.0.

  • On Android, AndroidSAFOptions.copyToCache from android_file_picker 2.2.0 lets a pick skip the copy into the app cache and report the content:// URI of the document instead, for large files such as videos. The plugin does not read those URIs, so readAsBytes() and readAsByteStream() do not work for them. #​1839

  • Deprecated FilePicker.getDirectoryPath() in favor of pickDirectory(). It keeps working until a future major version.

  • Deprecated FilePicker.pickFileAndDirectoryPaths(). Only iOS and macOS can select files and directories in the same dialog, so in 14.0.0 it will only be on FilePickerDarwin, from package:file_picker_darwin. On Android, Linux and Windows it only selects files, use pickFiles() there. It keeps working until then.

    if (FilePickerPlatform.instance case final FilePickerDarwin darwin) {
      final paths = await darwin.pickFileAndDirectoryPaths();
    }

v13.3.3

Compare Source

  • Requires android_file_picker 2.1.5, file_picker_linux 2.0.4, windows_file_picker 2.0.2 and file_picker_web 4.2.1, with fixes for status callbacks, saving, cached and compressed files on Android, FileType.media on Windows and web, and empty files on every platform. See their changelogs for the details.
  • file_picker_darwin stays at 2.4.2 or newer, since 2.5.0 requires Flutter 3.41. Apps on Flutter 3.41 or newer get 2.5.1, which stops clearTemporaryFiles() on iOS from deleting the app's own temporary files, with flutter pub upgrade.

v13.3.2

Compare Source

  • Requires android_file_picker 2.1.3 and file_picker_darwin 2.4.2, with fixes for Android picks that could never complete and for onFileSaving when saving fails.

v13.3.1

Compare Source

  • Raised the minimum versions of the platform implementations to the ones with the latest fixes, so updating file_picker also brings them in even when a lockfile pins older ones.

v13.3.0

Compare Source

  • Added FilePickerViewScope (package:file_picker/file_picker_view_scope.dart), which provides a picker per Flutter view, so in a multi-window macOS app each picker opens in its own window. Requires file_picker_darwin ^2.4.0.

v13.2.0

Compare Source

  • Deprecated the type and allowedExtensions parameters of FilePicker.saveFile(), which never had any effect. They will be removed in 14.0.0. #​2278

v13.1.0

Compare Source

  • Added support for UIScene on iOS.

v13.0.0

Compare Source

General
  • BREAKING CHANGE: PlatformFile.length() now returns Future<int?> instead of Future<int>, matching lengthSync(). null means the length could not be determined (e.g. a failed disk read), distinct from a genuinely empty file, which still returns 0. Previously both cases returned 0, with no way to tell them apart. #​2197
  • BREAKING CHANGE: Removed the parameters deprecated since the 12.0.0 federated rewrite: allowMultiple and withData/withReadStream/readSequential on pickFiles(), lockParentWindow on pickFiles()/pickFile()/getDirectoryPath()/saveFile(), cancelUploadOnWindowBlur on pickFiles()/pickFile(), and androidSafOptions on pickFiles()/pickFile()/getDirectoryPath(). Use pickFile() for single-file selection, PlatformFile.readAsBytes()/readAsByteStream() to read file data, WindowsOptions.lockParentWindow/LinuxOptions.lockParentWindow, WebOptions.cancelUploadOnWindowBlur, and androidOptions respectively. #​2202
  • Raised lower bounds of all platform implementation packages: file_picker_platform_interface ^4.0.0, android_file_picker ^2.0.0, file_picker_darwin ^2.0.0, file_picker_linux ^2.0.0, windows_file_picker ^2.0.0, and file_picker_web ^4.0.0.
Web
  • Fixed FilePickerWebOptions.readSequential having no effect (file_picker_web 4.0.0). #​2206
Android & iOS
  • Removed the dead native code paths behind withData (android_file_picker 2.0.0, file_picker_darwin 2.0.0). #​2202

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/file_picker-13.x branch 10 times, most recently from 69198fa to 4cc19ed Compare September 21, 2026 17:55
@renovate
renovate Bot force-pushed the renovate/file_picker-13.x branch from 4cc19ed to 53bf678 Compare September 25, 2026 01:03
@renovate
renovate Bot force-pushed the renovate/file_picker-13.x branch 2 times, most recently from c5aa77e to 3e37576 Compare October 26, 2026 11:22
@renovate
renovate Bot force-pushed the renovate/file_picker-13.x branch from 3e37576 to 141489f Compare November 1, 2026 12:26
@renovate
renovate Bot force-pushed the renovate/file_picker-13.x branch from 141489f to bf2a711 Compare November 10, 2026 08:38
@renovate
renovate Bot force-pushed the renovate/file_picker-13.x branch from bf2a711 to 40029ee Compare November 17, 2026 02:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants