-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore(deps): update dependency flask-cors to v6.0.1 #13420
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
chore(deps): update dependency flask-cors to v6.0.1 #13420
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request is an automated dependency update managed by Renovate. Its primary purpose is to upgrade the flask-cors
library to its latest patch version, 6.0.1
. This brings in recent fixes and changes from the upstream library, including important security patches and behavioral changes introduced in v6.0.0
.
Highlights
- Dependency Update: I've updated the
flask-cors
dependency to version6.0.1
inrequirements.txt
. - Version Specificity: The update applies to both Python 3.9+ (from
6.0.0
) and Python 3.8 (from5.0.0
), consolidating both conditions to use6.0.1
. - Included Fixes: This update includes changes from
v5.0.1
(packaging improvements) andv6.0.0
(breaking changes related to path specificity ordering, CVE fixes for path matching and unquoting, and case-sensitive path matching).
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
Feature | Command | Description |
---|---|---|
Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/
folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configureGemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This PR updates flask-cors
to v6.0.1
, which includes security fixes and consolidates the dependency version across different Python environments. Be aware that flask-cors v6.0.0
(part of v6.0.1
) introduced breaking changes related to path matching (specificity, case-sensitivity, URL unquoting). Review these and ensure they don't negatively impact the application, particularly for Python 3.8 users who are upgrading from v5.0.0
. The requirements.txt
can be simplified by merging the two flask-cors
lines into one, as v6.0.1
supports Python 3.8+.
flask-cors==6.0.1; python_version >= "3.9" | ||
flask-cors==6.0.1; python_version == "3.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update transitions flask-cors
from v5.0.0
to v6.0.1
for Python 3.8 environments, and from v6.0.0
to v6.0.1
for Python 3.9+.
flask-cors v6.0.0
(incorporated into v6.0.1
) introduced breaking changes:
- Path specificity ordering was altered to enhance specificity.
- Paths are now matched in a case-sensitive manner.
urllib.parse.unquote_plus
was switched tourllib.parse.unquote
.
Confirm that the application's behavior, particularly for the /auth/info/firebase
endpoint and its clients, remains correct after this update. Give special attention to path casing and the handling of any +
characters in URLs, if relevant to your client interactions or path configurations. Ensure that existing tests, such as test_cors
, sufficiently cover the expected CORS behavior with the new version.
flask-cors==6.0.1; python_version >= "3.9" | ||
flask-cors==6.0.1; python_version == "3.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matches comment, prevents issues with EOL package updates
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
==5.0.0
->==6.0.1
==6.0.0
->==6.0.1
Release Notes
corydolphin/flask-cors (flask-cors)
v6.0.0
Compare Source
Breaking
Path specificity ordering has changed to improve specificity. This may break users who expected the previous incorrect ordering.
What's Changed
Full Changelog: corydolphin/flask-cors@5.0.1...6.0.0
v5.0.1
Compare Source
What's Changed
This primarily changes packaging to use uv and a new release pipeline, along with some small documentation improvements
New Contributors
Full Changelog: corydolphin/flask-cors@5.0.0...5.0.01
Configuration
📅 Schedule: 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: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.