Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[image_picker] Upgrade mime to v2 #7875

Closed
wants to merge 1 commit into from

Conversation

emersion
Copy link

We don't use extensionFromMime() so the breaking change doesn't impact us:
https://github.com/dart-lang/tools/blob/main/pkgs/mime/CHANGELOG.md#200

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. You must list at least one issue.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

We don't use extensionFromMime() so the breaking change doesn't
impact us:
https://github.com/dart-lang/tools/blob/main/pkgs/mime/CHANGELOG.md#200
@emersion
Copy link
Author

Oh, contributing requires a CLA. Sorry, I do not wish to surrender my copyright.

@emersion emersion closed this Oct 15, 2024
@emersion emersion deleted the upgrade-mime branch October 15, 2024 10:50
@cbracken
Copy link
Member

@emersion totally understandable.

I'm curious if the looser version constraint is causing a problem for you somewhere. If so, enough info for us to file an issue in the issue tracker would be enough to cause an existing contributor to jump out of the woodwork and bump the constraint to 2.0.0.

@emersion
Copy link
Author

Good point, opened flutter/flutter#156905

cbracken added a commit to cbracken/packages that referenced this pull request Oct 15, 2024
Provides version interop for projects that depend on mime version 2.0.0
and later.

The breaking version change was due to a change in the return value of
`extensionFromMime`, which is unused in `image_picker`.

See: https://github.com/dart-lang/tools/blob/main/pkgs/mime/CHANGELOG.md#200

Issue: flutter#7875
@cbracken
Copy link
Member

New patch out at #7879. Thanks for filing the issue. Also thanks for your work on several pieces of software I use daily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants