Skip to content
Myr

Merge branch '2.2.x'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents 21aaf0e, 45b2c99 · Browse files · 3 files+11 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+11 added−2 removed

  • other:+11 added−2 removed

3 files+11 added−2 removed

modified:src/flask/__init__.py+1 added-1 removed
40 unmodified lines
41from .templating import render_template_string as render_template_string42from .templating import stream_template as stream_template43from .templating import stream_template_string as stream_template_string4445__version__ = "2.2.1"45__version__ = "2.3.0.dev"464748def __getattr__(name):49 if name == "_app_ctx_stack":
22 unmodified lines
modified:src/flask/app.py+1 added-1 removed
825 unmodified lines
826 root_path = self.root_path827 if instance_relative:828 root_path = self.instance_path829 defaults = dict(self.default_config)830 defaults["ENV"] = os.environ.get("FLASK_ENV") or "development"830 defaults["ENV"] = os.environ.get("FLASK_ENV") or "production"831 defaults["DEBUG"] = get_debug_flag()832 return self.config_class(root_path, defaults)833834 def make_aborter(self) -> Aborter:
1714 unmodified lines
modified:CHANGES.rst+9 added
2 unmodified lines
34Unreleased567Version 2.2.28-------------910Unreleased1112- Fix the default value for ``app.env`` to be ``"production"``. This13 attribute remains deprecated. :issue:`4740`141516Version 2.2.117-------------1819Released 2022-08-03
1391 unmodified lines