David Lord
6b0c8cdac1
Merge branch '2.0.x'
2021-11-16 06:30:19 -08:00
Henry Kobin
e679a85b80
made ImportError verbose in cli.py
2021-11-15 14:00:23 -08:00
Bojan Delić
46b39e2698
fix errorhandler type check
2021-11-15 13:35:24 -08:00
David Lord
ea66c68553
Merge branch '2.0.x'
2021-11-15 13:26:06 -08:00
David Lord
564bb27efa
deprecate as_tuple
2021-11-15 13:13:18 -08:00
David Lord
15a3e82823
extend deprecation for renamed send_file params
2021-11-12 09:52:16 -08:00
David Lord
48f2afbf90
same blueprint cannot be registered with same name
2021-11-12 09:52:16 -08:00
David Lord
f8cdc78ce1
remove deprecated total_seconds
2021-11-12 09:52:16 -08:00
David Lord
b7501776a1
remove deprecated safe_join
2021-11-12 09:52:16 -08:00
David Lord
218534a9f2
remove deprecated json encoding parameter
2021-11-12 09:52:16 -08:00
David Lord
2bd7aed1a4
remove deprecated config.from_json
2021-11-12 09:52:16 -08:00
David Lord
e21e003f62
remove deprecated script_info factory arg
2021-11-12 09:52:16 -08:00
David Lord
1cf43e08e3
Merge branch '2.0.x'
2021-10-04 07:36:44 -07:00
David Lord
174fe4453a
release version 2.0.2
2021-10-04 07:26:47 -07:00
David Lord
5684f48f70
Merge branch '2.0.x'
2021-10-03 20:39:19 -07:00
Matthias Paulsen
166a2a6207
Fix callback order for nested blueprints
...
Handlers registered via url_value_preprocessor, before_request,
context_processor, and url_defaults are called in downward order: First
on the app and last on the current blueprint.
Handlers registered via after_request and teardown_request are called
in upward order: First on the current blueprint and last on the app.
2021-10-03 20:27:24 -07:00
David Lord
afc13b9390
Merge remote-tracking branch 'origin/2.0.x'
2021-08-05 19:48:47 -07:00
na2shell
9f0da9b770
cli loader handles kwargs in app factory
2021-08-05 19:32:43 -07:00
Rohan salwan
aa6dd09c2c
correctly handle raising deferred errors in cli lazy loading
2021-08-05 19:14:51 -07:00
default-303
892ae95509
jsonify encodes decimal to str
2021-08-05 18:36:13 -07:00
Yourun-Proger
9a2adfba4d
static_folder can be a pathlib.Path
2021-08-05 18:16:20 -07:00
Grey Li
ba6db2e307
Merge remote-tracking branch 'origin/2.0.x' into main
2021-06-26 23:35:24 +08:00
pgjones
a44c722860
Fix registering a blueprint twice with differing names
...
Previously the blueprint recorded aspects (before request, after
request etc) would only be added to the app if it was the first
registration of the blueprint instance. However only the record-once
aspects (app-before requests, app-after request) should be added once
on registration of the instance, whereas everything else should be
added on every unique name registration. This ensures that these
trigger under the new name as well as the old.
2021-06-14 17:18:47 +00:00
pgjones
63893a427b
Improve the changelog entry
...
The fix to the teardown_request also applies to all teardown_*
methods.
2021-06-06 11:09:03 +01:00
Pascal Corpet
6a4e7e948d
improve typing for app.errorhandler decorator
2021-06-01 19:25:27 +01:00
Miguel Grinberg
270eb2df2a
Support View and MethodView instances with async handlers
2021-06-01 18:08:19 +00:00
Adrian Moennich
6f5870a791
Merge remote-tracking branch 'upstream/2.0.x'
2021-05-29 20:55:23 +02:00
default-303
8e589daaf2
Fix typing of jinja decorators ( #4109 )
2021-05-29 20:54:35 +02:00
Marat Sharafutdinov
a960236117
Fix type annotation for before_request and before_app_request decorators
2021-05-25 18:29:52 +00:00
Pascal Corpet
f7adb2c813
improve typing for teardown_request
2021-05-24 19:28:57 +00:00
David Lord
7161776824
Merge branch '2.0.x'
2021-05-21 08:56:18 -07:00
David Lord
e22021d531
start version 2.0.2.dev0
2021-05-21 08:55:31 -07:00
David Lord
fe2d744b53
release version 2.0.1
2021-05-21 08:50:31 -07:00
David Lord
7ab934f6bc
improve typing for stream_with_context
2021-05-21 08:42:44 -07:00
David Lord
9409be6e34
warn when registering same blueprint with same name
2021-05-21 15:04:30 +01:00
David Lord
63b306743f
changelog for blueprint registered name
2021-05-21 15:04:30 +01:00
Alex Hedges
a82cc31af8
Update CHANGES.rst
2021-05-21 08:09:05 +00:00
David Lord
83f7efa047
Merge branch '2.0.x'
2021-05-20 21:05:59 -07:00
David Lord
10425fb9b1
re-add deprecated Config.from_json method
2021-05-20 13:50:13 -07:00
David Lord
9039534eee
Merge pull request #4055 from pallets/converter-session
...
converters have access to session
2021-05-14 08:17:37 -07:00
David Lord
a7b02b3a07
converters have access to session
2021-05-14 08:11:09 -07:00
David Lord
636f195bb5
Merge branch '2.0.x'
2021-05-13 18:47:43 -07:00
David Lord
8648750997
Merge branch '1.1.x' into 2.0.x
2021-05-13 18:47:06 -07:00
David Lord
64a5d7a018
release version 1.1.4
2021-05-13 18:22:56 -07:00
brettlangdon
3ace642ef3
Use compat fspath instead of os.fspath
...
When 7ba35c4 was cherry-picked it introduced the
usage of os.fspath which is not supported on
Python <3.6
2021-05-13 18:17:00 -07:00
David Lord
1ce0f774c9
Merge branch '2.0.x'
2021-05-13 16:36:10 -07:00
David Lord
5bd959fbec
Merge branch '1.1.x' into 2.0.x
2021-05-13 16:34:58 -07:00
David Lord
661bbcdb90
release version 1.1.3
2021-05-13 16:22:57 -07:00
David Lord
6d8b4ce9d0
set maximum versions of pallets dependencies
2021-05-13 16:16:45 -07:00
David Lord
4240ace597
Merge remote-tracking branch 'origin/2.0.x'
2021-05-13 16:01:23 -07:00