]>
git.ipfire.org Git - thirdparty/starlette.git/log
Daniel Hahler [Tue, 7 Jan 2020 14:00:10 +0000 (15:00 +0100)]
typing: remove unused "type: ignore" comments (#779)
* typing: remove unused "type: ignore" comments
Found via:
> mypy --warn-unused-ignores --ignore-missing-imports starlette
Using:
> mypy 0.770+dev.
cdd91ba819646b0138b05a8e9180faba4ef0ff92 .dirty
* fixup! typing: remove unused "type: ignore" comments
Daniel Hahler [Tue, 7 Jan 2020 09:40:30 +0000 (10:40 +0100)]
ci: Travis: use py38 (#781)
Yang Keming [Mon, 6 Jan 2020 10:48:20 +0000 (18:48 +0800)]
update 3rd packages: add spectree (#783)
Tomasz Wójcik [Sun, 29 Dec 2019 15:11:12 +0000 (16:11 +0100)]
add starlette-context to 'third party packages' docs (encode#420) (#770)
Emil Stenström [Sat, 21 Dec 2019 21:49:27 +0000 (22:49 +0100)]
Add space so example is copy-pastable (#766)
Tom Christie [Tue, 17 Dec 2019 11:14:57 +0000 (11:14 +0000)]
Ignore gnarly type check in WSGI implementation (#756)
* Ignore gnarly type check in WSGI implementation
* Linting
Trim21 [Tue, 17 Dec 2019 09:57:02 +0000 (17:57 +0800)]
support Path in Config (#755)
* support Path in Config
* fix broken tests
podhmo [Mon, 16 Dec 2019 16:58:33 +0000 (01:58 +0900)]
add import Route (#752)
Eneko Illarramendi [Tue, 10 Dec 2019 14:58:44 +0000 (15:58 +0100)]
Document custom filters for Jinja2 (#737)
Tom Christie [Mon, 25 Nov 2019 09:13:12 +0000 (09:13 +0000)]
Update database.md
Tom Christie [Fri, 22 Nov 2019 11:28:12 +0000 (11:28 +0000)]
Update routing.md
Fulvio Esposito [Fri, 22 Nov 2019 11:26:14 +0000 (12:26 +0100)]
Drop double square brackets tests in install script (#718)
sh doesn't support double square brackets tests which are a bash feature.
This commit replace them with single square brackets tests
Jake Howard [Fri, 22 Nov 2019 11:22:15 +0000 (11:22 +0000)]
Show nicer warning when `ujson` isn't installed (#728)
Tom Christie [Wed, 20 Nov 2019 15:10:15 +0000 (15:10 +0000)]
Tweak app signatures (#723)
Florian Apolloner [Fri, 15 Nov 2019 12:06:59 +0000 (13:06 +0100)]
Added support for publishing wheel files. Fixes #668 (#719)
Jeff Triplett [Wed, 13 Nov 2019 18:56:47 +0000 (12:56 -0600)]
:pencil: Fixes example typo in README (#717)
Thanks!
Tom Christie [Wed, 13 Nov 2019 12:27:50 +0000 (12:27 +0000)]
Version 0.13.0
Tom Christie [Wed, 13 Nov 2019 12:25:18 +0000 (12:25 +0000)]
Version 0.13 (#704)
* Version 0.13
* Fix misnamed requirement
* Updating routing docs
* Update routing docs
* Update docs
* Simpler Middleware signature
* Update middleware docs
* Update exception docs
* Allow 'None' in middleware lists, for easy disabling of middleware.
* Update README
Adam Johnson [Tue, 12 Nov 2019 13:47:35 +0000 (13:47 +0000)]
List Scout APM as a third party package (#710)
Hsiaoming Yang [Tue, 12 Nov 2019 13:43:15 +0000 (22:43 +0900)]
Add Authlib into third party packages. (#712)
Grégoire Détrez [Thu, 7 Nov 2019 15:18:50 +0000 (16:18 +0100)]
Fix a small typo in CORS middleware documentation (#708)
Tom Christie [Wed, 6 Nov 2019 21:16:41 +0000 (21:16 +0000)]
Handle trailing slash redirects properly. (#707)
* Handle trailing slash redirects properly.
Currently we have behavior so that if:
* A `/some-path/`route exists.
* A `/some-path` route does not exist.
Then if a request to `/some-path` is made, we'll redirect to the trailing slash case.
We ought to also handle the converse case, so that if...
* A `/some-path`route exists.
* A `/some-path/` route does not exist.
Then if a request to `/some-path/` is made, we'll redirect to the no trailing slash case.
Closes #633
* Update routing.py
* Update routing.py
Tom Christie [Wed, 6 Nov 2019 20:57:00 +0000 (20:57 +0000)]
Strip whitespace on response headers (#706)
Strip leading/trailing whitespace on response headers.
Closes #664
Tom Christie [Wed, 6 Nov 2019 10:44:00 +0000 (10:44 +0000)]
Update release-notes.md
Florimond Manca [Tue, 5 Nov 2019 16:12:53 +0000 (17:12 +0100)]
Remove Bocadillo from third party packages (#684)
Tom Christie [Mon, 4 Nov 2019 15:08:53 +0000 (15:08 +0000)]
Version 0.12.13
Tom Christie [Mon, 4 Nov 2019 15:08:24 +0000 (15:08 +0000)]
Support app configuration on initialization. (#702)
* Add on-app-init middleware definitions
* Support on_startup, on_shutdown args
Tom Christie [Fri, 1 Nov 2019 15:30:20 +0000 (15:30 +0000)]
Version 0.12.12
Tom Christie [Fri, 1 Nov 2019 15:19:07 +0000 (15:19 +0000)]
Fix url_for with double mounts (#701)
Tom Christie [Fri, 1 Nov 2019 14:13:11 +0000 (14:13 +0000)]
Version 0.12.11
Tom Christie [Fri, 1 Nov 2019 14:11:00 +0000 (14:11 +0000)]
Include 'root_path' when returning URLs from request.url_for (#699)
* Include 'root_path' when returning URLs from request.url_for
* Preserve root_path for mounted apps
Tom Christie [Fri, 1 Nov 2019 13:27:42 +0000 (13:27 +0000)]
Resolve latest mypy issues (#700)
* Resolve latest mypy issues
* Linting
Daniel Hahler [Tue, 15 Oct 2019 14:18:44 +0000 (16:18 +0200)]
tests: minor: use "test_" prefix (#636)
The test was run previously, but this is clearer.
Tom Christie [Tue, 15 Oct 2019 12:44:00 +0000 (13:44 +0100)]
Version 0.12.10
Aaron Gunderson [Tue, 15 Oct 2019 12:43:33 +0000 (08:43 -0400)]
[docs] update RedirectResponse status code (#634)
The redirect response changed the status code it returns by default but the docs were not updated to reflect the change. Small fix to keep up to date.
https://github.com/encode/starlette/commit/
3f702238247c99089eac76880965b32bd050f3cb
Josha Inglis [Tue, 15 Oct 2019 12:41:35 +0000 (23:41 +1100)]
don't return "error" in graphql response when no error occurs (#623)
Fixes #622
Signed-off-by: Josha Inglis <joshainglis@gmail.com>
Mantas Zimnickas [Tue, 15 Oct 2019 12:40:56 +0000 (15:40 +0300)]
Update docs about html mode for static files (#624)
nwalsh1995 [Tue, 15 Oct 2019 12:40:30 +0000 (05:40 -0700)]
fix typo (#621)
Ashin Abraham [Tue, 15 Oct 2019 12:39:56 +0000 (18:09 +0530)]
Added Documentation For Bugsnag Integration in Starlette (#638)
Igor Nehoroshev [Tue, 15 Oct 2019 12:35:53 +0000 (15:35 +0300)]
Add link to EarlyDataMiddleware (#666)
Igor Nehoroshev [Tue, 15 Oct 2019 12:35:37 +0000 (15:35 +0300)]
Fix __init__ code in custom HTTP middleware example (#665)
Daniel Hahler [Tue, 15 Oct 2019 12:34:49 +0000 (14:34 +0200)]
Add HTTPException.__repr__ (#628)
Dušan Josipović [Tue, 15 Oct 2019 12:33:51 +0000 (14:33 +0200)]
Enable flag parameters (#672)
* Enable flag parameters
* Add tests for blank query param
George Bogodukhov [Mon, 14 Oct 2019 09:49:42 +0000 (20:19 +1030)]
Merge pull request #674 from dmontagu/run_in_threadpool-type-hint
Add type hint for run_in_threadpool return type
David Montague [Mon, 14 Oct 2019 09:34:51 +0000 (02:34 -0700)]
Add type hint for run_in_threadpool return type
George Bogodukhov [Mon, 14 Oct 2019 09:20:05 +0000 (19:50 +1030)]
Merge pull request #673 from dmontagu/patch-6
Update datastructures.py
dmontagu [Mon, 14 Oct 2019 08:08:21 +0000 (01:08 -0700)]
Update datastructures.py
Fix assert error message in `URL.__init__`
Igor Nehoroshev [Thu, 10 Oct 2019 09:07:30 +0000 (12:07 +0300)]
Add 425 Too Early status code (#660)
Tom Christie [Wed, 2 Oct 2019 11:57:40 +0000 (12:57 +0100)]
Merge pull request #653 from dmontagu/large-body-perf
Performantly build large request bodies
David Montague [Wed, 2 Oct 2019 07:12:34 +0000 (00:12 -0700)]
Update for new mypy
David Montague [Wed, 2 Oct 2019 06:53:59 +0000 (23:53 -0700)]
Performantly build the request body
Tom Christie [Wed, 4 Sep 2019 08:36:35 +0000 (09:36 +0100)]
Merge pull request #620 from elyobo/document-request-app-prop
Document the `request.app` property.
Liam O'Boyle [Wed, 4 Sep 2019 01:56:26 +0000 (11:56 +1000)]
Add "accessing the app instance" to docs/application.md
Along the lines of @tomchristie's suggestion in #620 but stressing the
use of `request.app`.
Tom Christie [Mon, 2 Sep 2019 13:24:25 +0000 (14:24 +0100)]
Version 0.12.9
Tom Christie [Mon, 2 Sep 2019 13:23:36 +0000 (14:23 +0100)]
Merge pull request #629 from jlaine/send-push-promise
Add support for server push
Jeremy Lainé [Sun, 1 Sep 2019 22:36:19 +0000 (00:36 +0200)]
Add support for server push
This adds support for HTTP/2 and HTTP/3 server push by adding a
Request.send_push_promise method, which signals to push-enabled
servers that a push should be sent.
Liam O'Boyle [Tue, 27 Aug 2019 22:11:03 +0000 (08:11 +1000)]
Document the `request.app` property.
* Mention it in the Request documentation
* Mention it in the Application documentation in the context of
accessing the application state
Tom Christie [Tue, 27 Aug 2019 09:01:20 +0000 (10:01 +0100)]
Merge pull request #618 from encode/app-state
Application state
Tom Christie [Tue, 27 Aug 2019 08:53:50 +0000 (09:53 +0100)]
Merge pull request #613 from perdy/master
Add Flama to frameworks docs
Tom Christie [Tue, 27 Aug 2019 08:52:50 +0000 (09:52 +0100)]
Merge pull request #614 from perdy/starlette-prometheus-docs
Add Starlette Prometheus to plugins and middlewares docs
Tom Christie [Tue, 27 Aug 2019 08:41:04 +0000 (09:41 +0100)]
Application state
José Antonio Perdiguero López [Fri, 23 Aug 2019 12:33:45 +0000 (14:33 +0200)]
Add Starlette Prometheus to plugins and middlewares docs
José Antonio Perdiguero López [Fri, 23 Aug 2019 11:40:24 +0000 (13:40 +0200)]
Add Flama to frameworks docs
Tom Christie [Mon, 19 Aug 2019 10:32:43 +0000 (11:32 +0100)]
Merge pull request #601 from abersheeran/master
Fix html escape
abersheeran [Fri, 16 Aug 2019 16:40:27 +0000 (00:40 +0800)]
Fix html escape
云中君 [Fri, 16 Aug 2019 16:12:12 +0000 (00:12 +0800)]
Fix html escape
Tom Christie [Fri, 16 Aug 2019 09:42:51 +0000 (10:42 +0100)]
Version 0.12.8
Tom Christie [Fri, 16 Aug 2019 09:42:09 +0000 (10:42 +0100)]
Merge pull request #597 from taoufik07/patch-8
Parse scope with HTTPConnection instead of Request in SessionMiddleware
Taoufik [Thu, 15 Aug 2019 18:32:51 +0000 (20:32 +0200)]
Fix #483 parse scope with HTTPConnection in sessions
Tom Christie [Fri, 16 Aug 2019 09:11:01 +0000 (10:11 +0100)]
Merge pull request #541 from keakon/master
remove unused code
Tom Christie [Fri, 16 Aug 2019 09:09:41 +0000 (10:09 +0100)]
Merge pull request #596 from mdawar/patch-1
Remove LifespanContext import
keakon [Thu, 15 Aug 2019 07:16:21 +0000 (15:16 +0800)]
Merge branch 'master' of https://github.com/encode/starlette
* 'master' of https://github.com/encode/starlette: (56 commits)
Version 0.12.7
Version 0.12.6
multipart: fallback to latin-1 on decode error
utf-8 is better for default multipart encoding
Version 0.12.5
Version 0.12.4
Black-ify
Setting a finish size to SpooledTemporaryFile.
Fix test case for https redirects
Update httpsredirect.py
Version 0.12.3
ci: Travis: re-add py38
Move assignments to help mypy
Linting
Fix collapse button control initial states
Tweak exception debug HTML
Removed rogue newline
Added datasette-auth-github to third party middleware
Version 0.12.2
Version 0.12.1
...
Pierre Mdawar [Wed, 14 Aug 2019 12:20:56 +0000 (15:20 +0300)]
Remove LifespanContext import
Tom Christie [Thu, 1 Aug 2019 16:38:14 +0000 (17:38 +0100)]
Version 0.12.7
Tom Christie [Thu, 1 Aug 2019 16:17:51 +0000 (17:17 +0100)]
Merge pull request #488 from florimondmanca/fix/startup-error-handling
Send lifespan.startup.failed if exception occurs during startup
Tom Christie [Mon, 29 Jul 2019 13:21:49 +0000 (14:21 +0100)]
Version 0.12.6
Tom Christie [Mon, 29 Jul 2019 13:21:11 +0000 (14:21 +0100)]
Merge branch 'master' of https://github.com/encode/starlette
Tom Christie [Mon, 29 Jul 2019 13:20:59 +0000 (14:20 +0100)]
Merge pull request #589 from ciscorn/fix-multipart-encoding
Default multipart encoding should be utf-8 instead of latin-1
Taku Fukada [Mon, 29 Jul 2019 12:56:29 +0000 (21:56 +0900)]
multipart: fallback to latin-1 on decode error
Taku Fukada [Sun, 28 Jul 2019 14:19:47 +0000 (23:19 +0900)]
utf-8 is better for default multipart encoding
Tom Christie [Thu, 25 Jul 2019 09:05:54 +0000 (10:05 +0100)]
Version 0.12.5
Tom Christie [Thu, 25 Jul 2019 09:04:27 +0000 (10:04 +0100)]
Merge pull request #562 from jaceksnet/multipart-encoding-fix
allow use of characters out of latin-1 in multipart form values
Tom Christie [Tue, 16 Jul 2019 11:58:05 +0000 (12:58 +0100)]
Version 0.12.4
Tom Christie [Tue, 16 Jul 2019 11:57:37 +0000 (12:57 +0100)]
Merge pull request #582 from haizaar/master
Setting a finite size to SpooledTemporaryFile.
Zaar Hai [Tue, 16 Jul 2019 11:36:19 +0000 (21:36 +1000)]
Black-ify
Zaar Hai [Tue, 16 Jul 2019 11:31:47 +0000 (21:31 +1000)]
Setting a finish size to SpooledTemporaryFile.
Fixes #579
Tom Christie [Tue, 16 Jul 2019 08:21:31 +0000 (09:21 +0100)]
Fix test case for https redirects
Tom Christie [Mon, 15 Jul 2019 12:16:14 +0000 (13:16 +0100)]
Update httpsredirect.py
Tom Christie [Mon, 15 Jul 2019 08:50:14 +0000 (09:50 +0100)]
Version 0.12.3
Tom Christie [Mon, 15 Jul 2019 08:48:58 +0000 (09:48 +0100)]
Merge pull request #535 from dmontagu/patch-1
Update staticfiles.py
Tom Christie [Sun, 14 Jul 2019 15:40:28 +0000 (16:40 +0100)]
Merge pull request #575 from blueyed/travis-py38
ci: Travis: re-add py38
Daniel Hahler [Sat, 13 Jul 2019 16:08:13 +0000 (18:08 +0200)]
ci: Travis: re-add py38
Ref: https://github.com/encode/starlette/pull/547
Tom Christie [Sun, 14 Jul 2019 07:26:00 +0000 (08:26 +0100)]
Merge pull request #576 from blueyed/fix-mypy
Move assignments to help mypy
Daniel Hahler [Sat, 13 Jul 2019 16:16:53 +0000 (18:16 +0200)]
Move assignments to help mypy
Fixes:
> error: No binding for nonlocal 'request_complete' found
mypy 0.720
Tom Christie [Tue, 9 Jul 2019 13:57:37 +0000 (14:57 +0100)]
Merge pull request #572 from encode/tweak-exception-debug-html
Tweak exception debug HTML
Tom Christie [Tue, 9 Jul 2019 13:49:47 +0000 (14:49 +0100)]
Linting
Tom Christie [Tue, 9 Jul 2019 13:47:47 +0000 (14:47 +0100)]
Fix collapse button control initial states
Tom Christie [Tue, 9 Jul 2019 13:28:24 +0000 (14:28 +0100)]
Tweak exception debug HTML
Tom Christie [Mon, 8 Jul 2019 16:14:23 +0000 (17:14 +0100)]
Merge pull request #571 from simonw/patch-2
Added datasette-auth-github to third party middleware
Simon Willison [Mon, 8 Jul 2019 16:06:47 +0000 (09:06 -0700)]
Removed rogue newline