Daniel Hahler
f2bf332490
Starlette.__init__: remove template_directory arg ( #421 )
...
This appears to be unused since 37ee43e
.
2019-03-06 20:11:09 +00:00
Sebastián Ramírez
8f138ce922
Add documentation for UploadFile class in the Request section ( #418 )
...
* Add documentation for UploadFile class in Request section
* Implement changes requested in code review
* Simplify upload file reading example
2019-03-04 19:25:03 +00:00
Ahti Kitsik
47207129ec
Doc hint about enabling code reload support ( #417 )
2019-03-04 15:01:16 +00:00
Tom Christie
09fc598288
Staticfiles packages ( #415 )
...
* Support StaticFiles(packages=[...])
* Add StaticFiles(packages=...) support
* Add StaticFiles(packages=...) support
2019-02-26 14:38:05 +00:00
Tom Christie
90172981f8
Remove redundant newlines
2019-02-25 13:29:54 +00:00
William Hayes
22202b97f5
Update Config docs/add settings endpoint example ( #409 )
...
Update Config docs, removing defunct DATABASE_URL references.
2019-02-25 13:28:50 +00:00
Eugene Molotov
a370ac02ab
Adds python 3.5 port note to third party packages ( #414 )
2019-02-25 10:55:14 +00:00
Santiago
ae0c9bcceb
docs: remove code from third party section ( #395 )
...
reason: code should not be present here, it's hard to mantain,
a short synopsis is enough.
Page is also smaller, more visibility to other packages.
2019-02-25 10:52:41 +00:00
Jeffrey Gelens
e77a289748
Fix lower case header value preflight request ( #411 )
2019-02-25 10:52:00 +00:00
FoxMaSk
dfb0d67b87
typo ( #412 )
2019-02-24 18:40:09 +00:00
Tom Christie
9944bb7048
Graceful error when using Jinja2Templates, but jinja2 is not installed
2019-02-23 17:49:07 +00:00
Tom Christie
92dddea776
Reinstate Lifespan Middleware, for Responder ( #405 )
...
* Reinstate Lifespan Middleware, for Responder
* Ignore coverage of deprecated LifespanMiddleware
2019-02-20 14:40:34 +00:00
Tom Christie
f3b5409dbc
Drop SQLAlchemy note, since we don't currently have any components that require it.
2019-02-19 13:45:10 +00:00
Tom Christie
7b51db7d42
Version 0.11.1
2019-02-19 13:20:53 +00:00
Tom Christie
82c610559c
Request state ( #404 )
...
* Add Mount(routes=...)
* Lifespan route instance
* Lifespan as a standard routing component
* Linting
* Linting
* Version 0.10.6
* Release notes
* Version 0.11.0
* Drop redundant import
* Drop redundant database requirements
* Include htmlcov in scripts/clean
* Drop redundant import
* Release notes
* Linting
* Add request.state
2019-02-19 13:14:53 +00:00
Jordan Eremieff
ff8336fb6b
Disable graphiql by default ( #375 )
...
* Disable graphiql by default
* Default to graphiql enabled
2019-02-19 13:14:42 +00:00
Tom Christie
e396f079a5
Version 0.11 ( #402 )
...
* Add Mount(routes=...)
* Lifespan route instance
* Lifespan as a standard routing component
* Linting
* Linting
* Version 0.10.6
* Release notes
* Version 0.11.0
* Drop redundant import
* Drop redundant database requirements
* Include htmlcov in scripts/clean
* Drop redundant import
* Release notes
* Linting
2019-02-19 12:54:57 +00:00
Jose Eduardo
590c77e03d
Improvements to schema generation ( #336 )
...
* Include mounted paths in schemas (part of #172 )
* Remove unnecessary indirection
* Refactor: cleaner interface, return a dict always
2019-02-19 12:49:30 +00:00
Jose Eduardo
2544762512
Apply linting to setup.py ( #403 )
2019-02-19 11:30:33 +00:00
Tom Christie
06adecd6ed
Lifespan route instance ( #401 )
...
* Add Mount(routes=...)
* Lifespan as a standard routing component
* Linting
2019-02-19 10:55:45 +00:00
Tom Christie
933d786627
Version 0.10.5
2019-02-18 19:33:30 +00:00
Tom Christie
a28c0e70b1
Docs tweak
2019-02-18 18:31:19 +00:00
Santiago
abf7f1ccf9
fix: jinja annotations when jinja not installed ( #399 )
2019-02-18 18:29:30 +00:00
Tom Christie
e3543aa08e
Add `routes` argument to Mount ( #400 )
...
* Add Mount(routes=...)
* Tweaks
2019-02-18 18:28:31 +00:00
Tom Christie
47a810ece8
Update schema docs
2019-02-18 16:18:41 +00:00
Tom Christie
879bbcd41a
Seperate SchemaGenerator from Application
2019-02-18 15:48:19 +00:00
Tom Christie
50cd5b93bf
Minor tweak
2019-02-18 15:36:44 +00:00
Tom Christie
1fdafe69eb
Add Starlette(routes=...)
2019-02-18 15:36:20 +00:00
Tom Christie
bfb95667a8
Add request.app
2019-02-18 15:35:42 +00:00
Tom Christie
8983508990
Version 0.10.4
2019-02-18 13:43:47 +00:00
Tom Christie
7872bea4f9
Version 0.10.4
2019-02-18 13:41:25 +00:00
Tom Christie
9b57e516cc
Docs and version bump
2019-02-18 13:38:04 +00:00
Tom Christie
b3ad311bbc
Template component ( #398 )
...
* Add Jinja2Templates component
* Fix imports
* Prevent code formatters from moving deliberatly late import
2019-02-18 13:28:18 +00:00
Tom Christie
78ff55dde3
Prevent code formatters from moving deliberatly late import
2019-02-18 13:23:33 +00:00
Tom Christie
5abdc2e4fb
Fix imports
2019-02-18 13:14:53 +00:00
Tom Christie
37ee43efc2
Add Jinja2Templates component
2019-02-18 13:12:55 +00:00
Taoufik
1db98c7c2f
tiny typo ( #397 )
2019-02-18 12:05:06 +00:00
Santiago
c1c768f916
docs: typo in databases + better links in third party ( #394 )
2019-02-17 18:19:19 +00:00
Sebastián Ramírez
abb8c14a10
Update FastAPI example to make style/difference explicit ( #393 )
2019-02-16 19:11:00 +00:00
Tom Christie
e8dff17ed4
Move to 'databases' instead of built-in DatabaseMiddleware ( #390 )
2019-02-14 16:01:51 +00:00
Eugene Molotov
69a0e80292
Add python version restriction ( #387 )
2019-02-13 12:24:58 +00:00
Taoufik
639bfe459b
Add Nejma to third party packages ( #385 )
2019-02-12 08:57:21 +00:00
Tom Christie
cdff748cea
Version 0.10.2
2019-02-11 12:14:54 +00:00
Tom Christie
204d1b596f
Don't drop explict port on HTTPS redirects ( #382 )
2019-02-11 10:26:18 +00:00
Pradip Caulagi
208b4aa207
Python 3.8 requires openssl support which is available in xenial ( #359 )
2019-02-11 08:59:53 +00:00
José Antonio Perdiguero
37782e7a55
Update Starlette API section in third-party docs ( #377 )
2019-02-05 16:09:09 +00:00
Hiroyuki Tanaka
96d50862e4
Add content_type attribute to UploadFile ( #371 )
...
* Add content_type attribute to UploadFile
* Linting
* Change: default value of UploadFile.content_type is from None to empty string
2019-02-01 09:06:33 +00:00
Tom Christie
7e1bfa8c01
Version 0.10.1
2019-01-30 15:24:17 +00:00
Tom Christie
84f3488f60
Routing for Hosts and Subdomains ( #363 )
...
* Routing for Hosts and Subdomains
* Linting
2019-01-30 15:15:59 +00:00
Tom Christie
3270762c16
MySQL driver support ( #366 )
...
* initial support for MySQL
* Work towards testing both MySQL and Postgres drivers
* Linting
* STARLETTE_TEST_DATABASE -> STARLETTE_TEST_DATABASES
* Parameterize the database tests
* Include the MySQL Database URL
* MySQL tests should create the database if it doesn't yet exist
* Explict port of MySQL database URL
* Debugging on Travis
* Pass 'args' as a single argument
* Fix query compilation for mysql
* Lookup record values for MySQL
* Coerce MySQL results to correct python_type
* cursor.fetchrow should be cursor.fetchone
* Fix call to cursor.fetchone()
* Fix for fetchval()
* Debugging
* Nested transaction for MySQL should use SAVEPOINTS
* Drop savepoint implementation
* Fix SAVEPOINT implementation for MySQL
* Coverage for MySQL
* Linting
* Tweak defaults for MySQL connections
2019-01-30 14:21:58 +00:00