]>
git.ipfire.org Git - thirdparty/starlette.git/log
Jordan Eremieff [Mon, 28 Jan 2019 10:26:29 +0000 (21:26 +1100)]
Add section for Mangum to third-party plugins (#361)
* Add section for Mangum to third-party plugins
* Update middleware -> adapter
Henrik Ossipoff Hansen [Sat, 26 Jan 2019 13:02:11 +0000 (14:02 +0100)]
Default rollback_on_shutdown to false in DatabaseMiddleware (#357)
Taoufik [Fri, 25 Jan 2019 23:12:32 +0000 (23:12 +0000)]
Update link to https (#356)
Tom Christie [Fri, 25 Jan 2019 22:39:31 +0000 (22:39 +0000)]
Datastructure cleanups (#355)
* Version 0.10.0
* Datastructure cleanups
* Tweak release notes
Henrik Ossipoff Hansen [Fri, 25 Jan 2019 22:20:17 +0000 (23:20 +0100)]
Use correct name for yaml.dump (#354)
This commit changes the incorrectly named yaml.dumps to yaml.dump.
Steinn Eldjárn Sigurðarson [Fri, 25 Jan 2019 20:27:40 +0000 (20:27 +0000)]
Pass on include_in_schema param (#352)
Tom Christie [Fri, 25 Jan 2019 15:45:18 +0000 (15:45 +0000)]
Add executor_class to GraphQLApp (#350)
Tom Christie [Fri, 25 Jan 2019 15:27:39 +0000 (15:27 +0000)]
WebSockets now default to sending JSON using text dataframes (#349)
Tom Christie [Fri, 25 Jan 2019 14:40:33 +0000 (14:40 +0000)]
Example ASGI apps now ensure scope['type'] is expected message type. (#348)
Tom Christie [Fri, 25 Jan 2019 14:00:35 +0000 (14:00 +0000)]
WebSocket support for auth (#347)
tchan09 [Fri, 25 Jan 2019 13:06:09 +0000 (08:06 -0500)]
Fix typo in scope check for 'websocket' (#335)
* Fix typo in scope check for websocket
* Allow for websocket requests
* Let Requests be http specific
* Use HTTPConnection in place of Requests
* Update signature to work with websocket requests
* Formatter per black
Tom Christie [Fri, 25 Jan 2019 13:04:04 +0000 (13:04 +0000)]
MultiDict (#345)
* Add MultiDict
* Add tests for MultiDict
* Ensure MultiDict behaves as discussed in #345
* Proper name for variable
Tom Christie [Fri, 25 Jan 2019 13:00:28 +0000 (13:00 +0000)]
Don't force isort on tests
Tom Christie [Thu, 24 Jan 2019 15:44:23 +0000 (15:44 +0000)]
Add FormData.close() (#344)
Daniel Hahler [Thu, 24 Jan 2019 12:56:15 +0000 (13:56 +0100)]
minor: fix typo: s/fragement/fragment (#346)
Tom Christie [Wed, 23 Jan 2019 11:19:21 +0000 (11:19 +0000)]
Add ImmutableMultiDict (#343)
Tom Christie [Wed, 23 Jan 2019 09:04:33 +0000 (09:04 +0000)]
Version 0.9.11
Tom Christie [Tue, 22 Jan 2019 20:36:11 +0000 (20:36 +0000)]
Use urlsplit, not urlparse (#341)
Tom Christie [Tue, 22 Jan 2019 19:47:47 +0000 (19:47 +0000)]
Multi item form data (#339)
* Add a multidict FormData structure
Tom Christie [Tue, 22 Jan 2019 17:29:39 +0000 (17:29 +0000)]
Ensure query params behavior matches standard mappings. (#338)
* QueryParams behavior as standard mapping
Taoufik [Tue, 22 Jan 2019 16:24:46 +0000 (16:24 +0000)]
f-strings everywhere (#334)
* f-strings everywhere
Daniel Hahler [Mon, 21 Jan 2019 09:29:34 +0000 (10:29 +0100)]
doc: exceptions: keep original status_code (#331)
It is considered to be best practice for a not-found page to also use
status code 404.
This changes the examples for the 404 and 500 pages to keep the
exceptions status code.
Pierre Vanliefland [Fri, 18 Jan 2019 12:59:27 +0000 (13:59 +0100)]
Session cookie expires (#326)
* Set Max-Age on session cookies
* Format max-age as int
Tom Christie [Wed, 16 Jan 2019 12:00:06 +0000 (12:00 +0000)]
Minor cleanups (#324)
* Minor cleanups
* Linting
Florimond Manca [Tue, 15 Jan 2019 12:36:19 +0000 (13:36 +0100)]
merge DebugGenerator into ServerErrorMiddleware (#323)
Tom Christie [Tue, 15 Jan 2019 11:16:02 +0000 (11:16 +0000)]
Version 0.9.10
Tom Christie [Tue, 15 Jan 2019 09:59:59 +0000 (09:59 +0000)]
Add `request.is_disconnected()` (#320)
* Add request.is_disconnected()
* Add request.is_disconnected
Tom Christie [Mon, 14 Jan 2019 12:39:40 +0000 (12:39 +0000)]
Ignore database coverage if STARLETTE_TEST_DATABASE is unset (#319)
* Ignore database coverage if STARLETTE_TEST_DATABASE is unset
* Skip black on 3.7 :(
Tom Christie [Mon, 14 Jan 2019 12:28:16 +0000 (12:28 +0000)]
Apply URL escaping to form encoded key names. (#318)
Tom Christie [Mon, 14 Jan 2019 11:22:43 +0000 (11:22 +0000)]
Tweaks to CONTRIBUTING docs and install script
Florimond Manca [Mon, 14 Jan 2019 11:12:41 +0000 (12:12 +0100)]
Install script (#300)
* add install script
* add -p option, include script in contributing notes, add script compatibility note
* fix dead links
* use debug mode, fix default python executable
* add comment on line selecting python executable
Tom Christie [Mon, 14 Jan 2019 11:11:18 +0000 (11:11 +0000)]
Support HEAD for GraphQL
Tom Christie [Mon, 14 Jan 2019 11:07:23 +0000 (11:07 +0000)]
Drop body from responses on HEAD requests (#317)
* Drop body from responses on HEAD requests
* Linting
* Endpoints supporting HEAD should automatically support GET
Tom Christie [Thu, 10 Jan 2019 15:37:50 +0000 (15:37 +0000)]
Flexible requires decorator (#314)
* Remove unused imports, with 'autoflake'
* Flexible 'requires' decorator
* Linting
* Exclude coverage on uncalled line
* Merge master
Tom Christie [Thu, 10 Jan 2019 14:35:32 +0000 (14:35 +0000)]
Remove unused imports, with 'autoflake' (#313)
Tom Christie [Thu, 10 Jan 2019 13:46:46 +0000 (13:46 +0000)]
Support `@requires` as a method decorator (#312)
* Support requires method decorator
* Add annotation
* Update docs for requires as a method decorator
Mickaël Schoentgen [Tue, 8 Jan 2019 15:12:26 +0000 (16:12 +0100)]
Fix several ResourceWarning: unclosed file (#310)
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
Taku Fukada [Tue, 8 Jan 2019 09:32:31 +0000 (18:32 +0900)]
Pass operationName to GraphQL executor (#309)
Tom Christie [Mon, 7 Jan 2019 14:21:39 +0000 (14:21 +0000)]
type of subprotocol is str, not List[str] (#308)
* type of subprotocol is str, not List[str]
* Force upgrade cached requirements
* Attempt to force clean test re-run
* Always force latest requirements
Steven Loria [Mon, 7 Jan 2019 10:11:34 +0000 (19:11 +0900)]
Add webargs-starlette to Third Party Packages page (#306)
Sebastián Ramírez [Fri, 4 Jan 2019 09:44:42 +0000 (13:44 +0400)]
Fix multi field forms parsing after already having read the body (#287)
* Fix multi field forms parsing after already having read the body
* Lint / Format additional tests
* Remove unused test app section in form tests
Steven Loria [Thu, 3 Jan 2019 16:15:42 +0000 (11:15 -0500)]
Fix documentation for Secret and DatabaseURL (#303)
Carlo [Wed, 2 Jan 2019 12:44:20 +0000 (13:44 +0100)]
include license file (#299)
Florimond Manca [Wed, 2 Jan 2019 11:47:36 +0000 (12:47 +0100)]
Add contributing guidelines (#292)
* add draft for contribution guidelines
* recommend using the test script
* add linting guidelines
* add hint for new branch command, do not imply any branch naming convention
Florimond Manca [Wed, 26 Dec 2018 17:13:51 +0000 (18:13 +0100)]
fix population of content-type and content-length headers (#291)
Tom Christie [Wed, 19 Dec 2018 10:16:20 +0000 (10:16 +0000)]
Merge branch 'tiangolo-third-parties'
Tom Christie [Wed, 19 Dec 2018 10:16:03 +0000 (10:16 +0000)]
Minor tweaks to third party package docs
Sebastián Ramírez [Tue, 18 Dec 2018 20:31:01 +0000 (00:31 +0400)]
Add Third Parties section to docs
Pierre Vanliefland [Tue, 18 Dec 2018 13:29:19 +0000 (14:29 +0100)]
Fix CommaSeparatedStrings code block (#282)
Sebastián Ramírez [Tue, 18 Dec 2018 12:33:32 +0000 (16:33 +0400)]
Add tests for fixed path handling and docs (#280)
* Add tests for fixed path handling and docs
* Mark as not covered route made to never match
* Simplify docs -> routing: example for /users/me
Pierre Vanliefland [Tue, 18 Dec 2018 12:32:28 +0000 (13:32 +0100)]
Add on_error parameter to AuthenticationMiddleware (#281)
* Add on_error parameter to AuthenticationMiddleware to customise responses when auth fails
* Fine-tuning, type hints
Xavier Barbosa [Tue, 18 Dec 2018 10:26:06 +0000 (11:26 +0100)]
Fix mixed uploaded files and data (#277)
* Fix mixed uploaded files and data
* dropped requirement to requests_toolbelt
Igor Nehoroshev [Mon, 17 Dec 2018 16:33:41 +0000 (18:33 +0200)]
Add security flags to session cookie (#276)
* Add security flags to session cookie
Flags: Secure, HttpOnly and SameSite=lax
* Remove Secure flag
* Add options for security flags in SessionMiddleware
* Add tests for secure session
* Lint files that Travis would like to reformat
Only related to pull request
* Return space between imports
* Add documentation for session security flags options
* Format default values
Tom Christie [Fri, 14 Dec 2018 16:23:26 +0000 (16:23 +0000)]
Docs for CommaSeparatedStrings
Tom Christie [Fri, 14 Dec 2018 16:22:31 +0000 (16:22 +0000)]
Add `CommaSeparatedStrings` datatype (#274)
* Add CommaSeparatedStrings datatype
* Version 0.9.9
Tom Christie [Fri, 14 Dec 2018 14:56:31 +0000 (14:56 +0000)]
Add BackgroundTasks for multiple jobs. Support GraphQL background tasks. (#273)
Tom Christie [Fri, 14 Dec 2018 09:58:27 +0000 (09:58 +0000)]
Add request.client (#272)
* Add request.client
* Docs for request.client
Tom Christie [Fri, 14 Dec 2018 09:39:04 +0000 (09:39 +0000)]
Refactor LifespanHandler (#271)
Tom Christie [Thu, 13 Dec 2018 15:40:45 +0000 (15:40 +0000)]
Add HTTPConnection. Base class for both Request and WebSocket. (#270)
Tom Christie [Thu, 13 Dec 2018 15:16:25 +0000 (15:16 +0000)]
Add TemplateResponse. (#269)
* Add TemplateResponse. Expose .template and .context info to test client.
* Only send 'http.response.template' if the extension is include
* Add TemplateResponse to documentation
Jordan Eremieff [Thu, 13 Dec 2018 12:14:31 +0000 (23:14 +1100)]
Support text json in decode method for websocket endpoints, handle malformed JSON (#257)
Daniel Hahler [Tue, 11 Dec 2018 13:09:09 +0000 (14:09 +0100)]
tests: skip test_database without DATABASE_URL (#263)
* tests: skip test_database without DATABASE_URL
(instead of causing a collection error)
* fixup! tests: skip test_database without DATABASE_URL
Daniel Hahler [Tue, 11 Dec 2018 13:08:21 +0000 (14:08 +0100)]
Fix grammar with assertion message (#266)
It should probably also not be an `assert` in the first place (which
might be optimized out)?!
Daniel Hahler [Tue, 11 Dec 2018 13:07:16 +0000 (14:07 +0100)]
README: minor revisit [ci skip] (#265)
Daniel Hahler [Tue, 11 Dec 2018 13:06:12 +0000 (14:06 +0100)]
setup.py: add asyncpg to "full" extras_require (#264)
Daniel Hahler [Tue, 11 Dec 2018 13:05:09 +0000 (14:05 +0100)]
Remove _TestClient indirection (#262)
pytest can be instructed with `__test__ = False` to ignore the class
during discovery.
Pierre Vanliefland [Mon, 10 Dec 2018 16:51:43 +0000 (17:51 +0100)]
Update authentication.md (#260)
* Update authentication.md
Fixed imports and fixed except syntax
* Update authentication.md
AuthenticationMiddleware: backend parameter should be a backend instance, not a class
Tom Christie [Mon, 10 Dec 2018 14:37:30 +0000 (14:37 +0000)]
Add executemany (#259)
Tom Christie [Fri, 7 Dec 2018 14:57:18 +0000 (14:57 +0000)]
Version 0.9.7
Tom Christie [Fri, 7 Dec 2018 13:07:12 +0000 (13:07 +0000)]
Fix SQLAlchemy link
Tom Christie [Fri, 7 Dec 2018 13:05:31 +0000 (13:05 +0000)]
Authentication (#256)
* Authentication
* Fleshing out authentication support
* Version 0.9.6
Raja Simon [Fri, 7 Dec 2018 12:45:36 +0000 (18:15 +0530)]
Fix file path argument (#255)
Sebastián Ramírez [Fri, 7 Dec 2018 09:15:06 +0000 (13:15 +0400)]
Add py.typed marker to setup.py (#253)
Tom Christie [Fri, 7 Dec 2018 08:59:06 +0000 (08:59 +0000)]
Update database docs
Tom Christie [Thu, 6 Dec 2018 10:52:38 +0000 (10:52 +0000)]
Add scripts/clean
Tom Christie [Thu, 6 Dec 2018 10:46:06 +0000 (10:46 +0000)]
Version 0.9.5
Tom Christie [Thu, 6 Dec 2018 09:55:09 +0000 (09:55 +0000)]
Update config docs
Tom Christie [Wed, 5 Dec 2018 16:38:45 +0000 (16:38 +0000)]
Version 0.9.4 (#251)
Tom Christie [Wed, 5 Dec 2018 14:28:18 +0000 (14:28 +0000)]
Use Starlette 'environ' when reading config
Tom Christie [Wed, 5 Dec 2018 12:38:54 +0000 (12:38 +0000)]
Add Secret
Tom Christie [Wed, 5 Dec 2018 12:28:18 +0000 (12:28 +0000)]
Add Environ, DatabaseURL
Tom Christie [Wed, 5 Dec 2018 11:54:34 +0000 (11:54 +0000)]
Version 0.9.3
Tom Christie [Wed, 5 Dec 2018 11:53:38 +0000 (11:53 +0000)]
Add Config() (#250)
* Add Config()
* Fix STARLETTE_TEST_DATABASE in tests
Tom Christie [Wed, 5 Dec 2018 11:35:30 +0000 (11:35 +0000)]
Fix 'postgresql:' database URL check
Tom Christie [Wed, 5 Dec 2018 10:15:39 +0000 (10:15 +0000)]
Merge branch 'master' of https://github.com/encode/starlette
Tom Christie [Wed, 5 Dec 2018 10:15:32 +0000 (10:15 +0000)]
Tweak database docs
Simon Willison [Tue, 4 Dec 2018 20:21:36 +0000 (12:21 -0800)]
Typo (#249)
Tom Christie [Tue, 4 Dec 2018 16:45:44 +0000 (16:45 +0000)]
Version 0.9.2
Tom Christie [Tue, 4 Dec 2018 16:25:27 +0000 (16:25 +0000)]
Database, not Databases
Tom Christie [Tue, 4 Dec 2018 16:05:33 +0000 (16:05 +0000)]
Hide password in URL.__repr__ (#247)
Tom Christie [Tue, 4 Dec 2018 16:05:16 +0000 (16:05 +0000)]
Add DatabaseMiddleware (#243)
* Add `DatabaseMiddleware`
Pierre Vanliefland [Tue, 4 Dec 2018 12:55:10 +0000 (13:55 +0100)]
Add context with request when executing GraphQL query (#244)
Add context with request when executing GraphQL query
Santiago [Tue, 4 Dec 2018 11:34:42 +0000 (12:34 +0100)]
docs(schemas): fixed url to starlette-apispec (#246)
Tom Christie [Wed, 28 Nov 2018 13:36:22 +0000 (13:36 +0000)]
Version 0.9.1 (#239)
Tom Christie [Wed, 28 Nov 2018 11:51:17 +0000 (11:51 +0000)]
Lifespan as middleware (#225)
* Lifespan as middleware
* 3.6 compat
* Add annotations
* Handle exceptions from applications within LifespanMiddleware
* Lifespan moves to middleware. TestClient can be used as a context manager.
Tom Christie [Wed, 28 Nov 2018 11:49:39 +0000 (11:49 +0000)]
Merge branch 'master' of https://github.com/encode/starlette
Tom Christie [Wed, 28 Nov 2018 11:49:28 +0000 (11:49 +0000)]
Version 0.9
Santiago [Sat, 24 Nov 2018 15:48:27 +0000 (16:48 +0100)]
docs(schemas): added third party block (#237)
Tom Christie [Fri, 23 Nov 2018 16:29:03 +0000 (16:29 +0000)]
Version 0.8.8
Santiago [Fri, 23 Nov 2018 15:20:07 +0000 (16:20 +0100)]
refactor: schemas now have better support for third party packages (#197)