s/1.0/0.11/ in versionadded/versionchanged markers
Before adoption: this commit came in with the history the project adopted, so no landing records it.
closes #1817
authored by ThiefMaster · committed by ThiefMaster · parent bdbca92 · Browse files · 9 files·+19 added−19 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
9 files+19 added−19 removed
- other:+19 added−19 removed
Provenance
- Commit
c5900a1- Tree
35f6fa2- Author
ThiefMaster <adrian@planetcoding.net>- Committer
ThiefMaster <adrian@planetcoding.net>- Parent
bdbca92
9 files changed+19 added−19 removed
modified:docs/cli.rst+1 added-1 removed
1 unmodified line2 3 Command Line Interface4 ======================5 6-.. versionadded:: 1.06+.. versionadded:: 0.117 8 .. currentmodule:: flask9 10 One of the nice new features in Flask 1.0 is the built-in integration of249 unmodified linesmodified:docs/config.rst+1 added-1 removed
239 unmodified lines240 241 .. versionadded:: 0.10242 ``JSON_AS_ASCII``, ``JSON_SORT_KEYS``, ``JSONIFY_PRETTYPRINT_REGULAR``243 244-.. versionadded:: 1.0244+.. versionadded:: 0.11245 ``SESSION_REFRESH_EACH_REQUEST``, ``TEMPLATES_AUTO_RELOAD``,246 ``LOGGER_HANDLER_POLICY``, ``EXPLAIN_TEMPLATE_LOADING``247 248 Configuring from Files216 unmodified linesmodified:docs/errorhandling.rst+1 added-1 removed
61 unmodified lines62 You are however not limited to :exc:`~werkzeug.exceptions.HTTPException`63 or HTTP status codes but can register a handler for every exception class you64 like.65 66-.. versionchanged:: 1.066+.. versionchanged:: 0.1167 68 Errorhandlers are now prioritized by specificity of the exception classes69 they are registered for instead of the order they are registered in.70 283 unmodified linesmodified:flask/app.py+9 added-9 removed
118 unmodified lines119 .. versionadded:: 0.8120 The `instance_path` and `instance_relative_config` parameters were121 added.122 123- .. versionadded:: 1.0123+ .. versionadded:: 0.11124 The `root_path` parameter was added.125 126 :param import_name: the name of the application package127 :param static_url_path: can be used to specify a different path for the30 unmodified lines158 response_class = Response159 160 #: The class that is used for the Jinja environment.161 #:162- #: .. versionadded:: 1.0162+ #: .. versionadded:: 0.11163 jinja_environment = Environment164 165 #: The class that is used for the :data:`~flask.g` instance.166 #:30 unmodified lines197 #:198 #: 1. Default values for certain config options.199 #: 2. Access to config values through attributes in addition to keys.200 #:201- #: .. versionadded:: 1.0201+ #: .. versionadded:: 0.11202 config_class = Config203 204 #: The debug flag. Set this to ``True`` to enable debugging of the205 #: application. In debug mode the debugger will kick in when an unhandled274 unmodified lines480 481 #: A list of shell context processor functions that should be run482 #: when a shell context is created.483 #:484- #: .. versionadded:: 1.0484+ #: .. versionadded:: 0.11485 self.shell_context_processors = []486 487 #: all the attached blueprints in a dictionary by name. Blueprints488 #: can be attached multiple times so this dictionary does not tell193 unmodified lines682 the Jinja2 globals and filters after initialization. Override683 this function to customize the behavior.684 685 .. versionadded:: 0.5686- .. versionchanged:: 1.0686+ .. versionchanged:: 0.11687 ``Environment.auto_reload`` set in accordance with688 ``TEMPLATES_AUTO_RELOAD`` configuration option.689 """690 options = dict(self.jinja_options)80 unmodified lines771 """Returns the shell context for an interactive shell for this772 application. This runs all the registered shell context773 processors.774 775- .. versionadded:: 1.0775+ .. versionadded:: 0.11776 """777 rv = {'app': self, 'g': g}778 for processor in self.shell_context_processors:779 rv.update(processor())112 unmodified lines892 The `use_cookies` parameter was added as well as the ability893 to override the client to be used by setting the894 :attr:`test_client_class` attribute.895 896- .. versionchanged:: 1.0896+ .. versionchanged:: 0.11897 Added `**kwargs` to support passing additional keyword arguments to898 the constructor of :attr:`test_client_class`.899 """900 cls = self.test_client_class67 unmodified lines968 969 def iter_blueprints(self):970 """Iterates over all blueprints by the order they were registered.971 972- .. versionadded:: 1.0972+ .. versionadded:: 0.11973 """974 return iter(self._blueprint_order)975 976 @setupmethod440 unmodified lines1417 @setupmethod1418 def shell_context_processor(self, f):1419 """Registers a shell context processor function.1420 1421- .. versionadded:: 1.01421+ .. versionadded:: 0.111422 """1423 self.shell_context_processors.append(f)1424 return f1425 580 unmodified linesmodified:flask/blueprints.py+1 added-1 removed
405 unmodified lines406 function, akin to the :meth:`~flask.Flask.register_error_handler`407 application-wide function of the :class:`~flask.Flask` object but408 for error handlers limited to this blueprint.409 410- .. versionadded:: 1.0410+ .. versionadded:: 0.11411 """412 self.record_once(lambda s: s.app._register_error_handler(413 self.name, code_or_exception, f))modified:flask/config.py+3 added-3 removed
174 unmodified lines175 root path.176 :param silent: set to ``True`` if you want silent failure for missing177 files.178 179- .. versionadded:: 1.0179+ .. versionadded:: 0.11180 """181 filename = os.path.join(self.root_path, filename)182 183 try:9 unmodified lines193 def from_mapping(self, *mapping, **kwargs):194 """Updates the config like :meth:`update` ignoring items with non-upper195 keys.196 197- .. versionadded:: 1.0197+ .. versionadded:: 0.11198 """199 mappings = []200 if len(mapping) == 1:201 if hasattr(mapping[0], 'items'):36 unmodified lines238 dictionary should be lowercase239 :param trim_namespace: a flag indicating if the keys of the resulting240 dictionary should not include the namespace241 242- .. versionadded:: 1.0242+ .. versionadded:: 0.11243 """244 rv = {}245 for k, v in iteritems(self):246 if not k.startswith(namespace):12 unmodified linesmodified:flask/json.py+1 added-1 removed
233 unmodified lines234 "id": 42235 }236 237 238- .. versionchanged:: 1.0238+ .. versionchanged:: 0.11239 Added support for serializing top-level arrays. This introduces a240 security risk in ancient browsers. See :ref:`json-security` for details.241 242 This function's response will be pretty printed if it was not requested30 unmodified linesmodified:flask/sessions.py+1 added-1 removed
261 unmodified lines262 permanent.263 264 This check is usually skipped if sessions get deleted.265 266- .. versionadded:: 1.0266+ .. versionadded:: 0.11267 """268 if session.modified:269 return True270 save_each = app.config['SESSION_REFRESH_EACH_REQUEST']92 unmodified linesmodified:flask/wrappers.py+1 added-1 removed
111 unmodified lines112 """Indicates if this request is JSON or not. By default a request113 is considered to include JSON data if the mimetype is114 :mimetype:`application/json` or :mimetype:`application/*+json`.115 116- .. versionadded:: 1.0116+ .. versionadded:: 0.11117 """118 mt = self.mimetype119 if mt == 'application/json':120 return True84 unmodified lines