chore(deps): bump file_picker from 10.3.10 to 11.0.2#52
Merged
anilcancakir merged 1 commit intomasterfrom Apr 7, 2026
Merged
Conversation
Migrate to v11 static API — FilePicker.platform.method() replaced with FilePicker.method() across Pick facade. Includes Android CWE-22 path traversal security fix and WASM web support. BREAKING CHANGE: magic.dart re-exports file_picker — consumers using FilePicker.platform directly will get a compile error.
There was a problem hiding this comment.
Pull request overview
Updates the file_picker dependency to v11 and migrates the internal Pick facade to the new static FilePicker.* API, aligning the framework with upstream breaking changes and security/WASM improvements.
Changes:
- Bumped
file_pickerfrom^10.3.10to^11.0.2. - Updated
Pickfacade call sites to useFilePicker.pickFiles/getDirectoryPath/saveFile(static API). - Refreshed the example app lockfile and added an Unreleased changelog entry for the dependency upgrade.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pubspec.yaml | Upgrades file_picker to ^11.0.2. |
| lib/src/facades/pick.dart | Migrates facade internals from FilePicker.platform.* to v11 static API. |
| example/pubspec.lock | Updates resolved versions/hashes after dependency bump. |
| CHANGELOG.md | Documents the dependency upgrade under [Unreleased]. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
file_pickerfrom^10.3.10to^11.0.2(major version bump)FilePicker.platform.method()) to v11 static API (FilePicker.method())Breaking Change
magic.dartre-exportspackage:file_picker/file_picker.dart. Consumers usingFilePicker.platformdirectly (bypassing thePickfacade) will get a compile error. ThePickfacade API is unchanged.Changes
pubspec.yaml—file_picker: ^10.3.10→^11.0.2lib/src/facades/pick.dart— Remove.platformfrom 4 call sites (lines 297, 320, 343, 366)CHANGELOG.md— Entry under[Unreleased]Test plan
flutter test— 914 tests passeddart analyze— zero warningsdart format . --set-exit-if-changed— zero changesSupersedes #44 (Dependabot PR — only bumped pubspec, did not migrate breaking API).