Commit Graph

4683 Commits

Author SHA1 Message Date
David Lord 4f01c68a4b
fix issue link 2022-07-13 14:02:50 -07:00
David Lord 187d7179f6
Merge pull request #4694 from pallets/release-2.1.3
release version 2.1.3
2022-07-13 13:54:33 -07:00
David Lord 134aebe601
release version 2.1.3 2022-07-13 13:51:42 -07:00
David Lord a7859c6947
Merge pull request #4693 from Yourun-proger/msg_app_ctx
error message for `render_template` outside app context
2022-07-13 13:50:05 -07:00
Yourun-Proger 58f3536a8f
error for render_template outside app context 2022-07-13 13:45:42 -07:00
David Lord 7096b2c4b1
update requirements 2022-07-13 13:39:51 -07:00
David Lord 94233fc8c0
Merge pull request #4681 from earlruby/patch-1
New URL for the Quart project
2022-07-08 10:28:01 -07:00
Earl C. Ruby III 6751f68560
New URL for the Quart project
The Quart project moved from Gitlab (https://gitlab.com/pgjones/quart) to Github (https://github.com/pallets/quart). There is a message at the top of the Gitlab page announcing the move.
2022-07-08 10:21:42 -07:00
David Lord cafe68e1ed
Merge pull request #4675 from tiesjan/2.1.x
Document serialization of Decimal in JSONEncoder
2022-07-06 05:33:05 -07:00
Ties Jan Hefting 9dfcb90c92
Document serialization of Decimal in JSONEncoder
The Flask JSONEncoder serializes Decimal types to strings, but this
behavior is missing from the docs. The docs are updated accordingly.
2022-07-06 11:47:50 +02:00
David Lord e4c4fd5771
Merge pull request #4674 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-04 15:55:54 -07:00
pre-commit-ci[bot] e9d0000fc1
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0)
- [github.com/asottile/reorder_python_imports: v3.1.0 → v3.3.0](https://github.com/asottile/reorder_python_imports/compare/v3.1.0...v3.3.0)
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)
2022-07-04 22:37:19 +00:00
David Lord ab6a8b0330
relax routes cli match order 2022-07-02 21:02:00 -07:00
David Lord 12d3f4fdf0
Merge pull request #4658 from pallets/docs-extension-dev
rewrite extension development docs
2022-06-28 16:38:09 -07:00
David Lord b46bfcfa63
rewrite extension development docs 2022-06-28 16:28:33 -07:00
David Lord 0a01248b5c
Merge pull request #4654 from hankhank10/main 2022-06-28 06:27:24 -07:00
hankhank10 64ab59817d
show separate HTTP method route decorators in quickstart 2022-06-28 06:24:46 -07:00
David Lord f6be300c42
Merge pull request #4652 from hankhank10/2.1.x 2022-06-23 06:00:33 -07:00
hankhank10 abcb6c9677
Update javascript.rst 2022-06-23 05:54:56 -07:00
David Lord 9c50b8fc1c
fix formatting 2022-06-13 06:08:45 -07:00
David Lord a9878c018b
remove mod_wsgi-standalone 2022-06-12 16:03:51 -07:00
David Lord b0a144d0c0
Merge pull request #4637 from pallets/docs-deploy
rewrite deployment docs
2022-06-12 14:03:55 -07:00
David Lord 2ea77c2782
rewrite deployment docs 2022-06-12 14:00:00 -07:00
David Lord 9398630a8f
Merge pull request #4636 from pallets/docs-javascript 2022-06-11 14:03:01 -07:00
David Lord 2f3c87dcb8
rewrite javascript docs 2022-06-11 13:44:46 -07:00
David Lord ebc0d30dd1
Merge pull request #4630 from mirskiy/docs-mention-relative
Update send_from_directory docstring to mention relative root for `directory`
2022-06-09 09:24:26 -07:00
Dan Mirsky 9934528c8f Update send_from_directory docstring 2022-06-09 09:12:10 -07:00
David Lord 6f6e3289da
remove javascript fetch polyfill 2022-06-08 07:30:29 -07:00
David Lord c7f2ab8e7a
Merge pull request #4610 from eprigorodov/feature-4602-namespace-path 2022-06-06 09:26:53 -07:00
David Lord b06df0a792
remove outdated instance path test 2022-06-06 09:17:53 -07:00
David Lord 3ba37d2afe
fix uninstalled package tests under tox 2022-06-06 08:24:05 -07:00
Evgeny Prigorodov 88bcf78439
instance_path for namespace packages uses path closest to submodule 2022-06-06 08:16:00 -07:00
David Lord fb89745408
Merge pull request #4579 from lecovi/docs/#4574-test-typing 2022-06-05 15:54:08 -07:00
David Lord 48766754b8
add typing tests to mypy config 2022-06-05 15:49:41 -07:00
David Lord 5e40aa22af
Merge pull request #4620 from Numerlor/remove-extra-backtick
Remove extra backtick in docs
2022-06-05 15:45:22 -07:00
David Lord 3351a8677e
add errorhandler type check tests 2022-06-05 15:44:28 -07:00
David Lord 81be290ec8
view function is actually type checked 2022-06-05 15:43:53 -07:00
Numerlor 72cae9ce2b
Remove extra backtick 2022-06-05 02:57:49 +02:00
David Lord 696d7c620d
Merge pull request #4617 from nk9/2.1.x
Fix incorrect references to `query` in testing doc
2022-06-01 16:10:31 -07:00
Nick Kocharhook 5d31ce1031
Fix incorrect references to query in testing doc
The [EnvironBuilder doc](https://werkzeug.palletsprojects.com/en/2.1.x/test/#werkzeug.test.EnvironBuilder) shows that the correct name for the keyword argument is `query_string`, not `query`. Using `query` results in an error.

I've fixed the two places this appears in the testing doc.
2022-06-01 12:16:21 -07:00
lecovi 8c6f1d96de
add example code for testing typing tools 2022-06-01 11:34:51 -07:00
David Lord 21d32ee067
update requirements 2022-06-01 11:23:09 -07:00
David Lord 83e9680649
Merge pull request #4603 from f3ndot/use-correct-response-type-for-after-request-callable
Fix type annotation for `after_request` callable type
2022-05-23 13:56:19 -07:00
David Lord 61f62e6005
access flask types through namespace alias 2022-05-23 13:21:22 -07:00
Justin Bull 8cb950671f
use bound typevar to accept Flask and Werkzeug Response classes 2022-05-23 13:21:22 -07:00
David Lord a4f63e0390
start version 2.1.3 2022-05-23 10:54:02 -07:00
David Lord 60ac0c5092
Merge pull request #4595 from nkabrown/add-installation-tutorial-link
Add link to additional packaging info
2022-05-23 10:44:48 -07:00
Nathan Brown c45c81938a
Add link to additional packaging info 2022-05-23 10:42:51 -07:00
David Lord ab76703532
Merge pull request #4581 from lecovi/docs/#3871-celery-config
docs: new configuration format for celery
2022-05-23 10:19:59 -07:00
lecovi 9252be9c9e
docs: new configuration format for celery 2022-05-23 10:16:45 -07:00