Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork16.7k
Conversation
40785db to15a3e82Compare 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 freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
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.
Removed:
script_infois no longer passed as the first arg / matching kwarg to an app factory function. It is no longer passed as the first arg to many internal CLI functions.config.from_json, useconfig.from_file(path, json.load)instead.jsonfunctions no longer take anencodingparameter.safe_join, usewerkzeug.utils.safe_joininstead.total_seconds, usetimedelta.total_secondsinstead.Some parameters to
send_fileandsend_from_directorywere renamed to be more accurate to what they did when moving the implementations to Werkzeug. These old names were deprecated in Flask's wrappers. The deprecation period has been extended to 2.2.attachment_filenameis renamed todownload_name,cache_timeoutis renamed tomax_age,add_etagsis renamed toetag, andfilenameis renamed topath.