starlette.websockets.WebSocket instances are now hashable and compare by identity
#1039
A number of fixes related to running task groups in lifespan
#1213,
#1227
Deprecated/removed
The method starlette.templates.Jinja2Templates.get_env was removed
#1218
The ClassVar starlette.testclient.TestClient.async_backend was removed,
the backend is now configured using constructor kwargs
#1211
Passing an Async Generator Function or a Generator Function to starlette.router.Router(lifespan_context=) is deprecated. You should wrap your lifespan in @contextlib.asynccontextmanager.
#1227#1110
starlette.websockets.WebSocket instances are now hashable and compare by identity
#1039
A number of fixes related to running task groups in lifespan
#1213,
#1227
Deprecated/removed
The method starlette.templates.Jinja2Templates.get_env was removed
#1218
The ClassVar starlette.testclient.TestClient.async_backend was removed,
the backend is now configured using constructor kwargs
#1211
Passing an Async Generator Function or a Generator Function to starlette.router.Router(lifespan_context=) is deprecated. You should wrap your lifespan in @contextlib.asynccontextmanager.
#1227#1110
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps starlette from 0.15.0 to 0.16.0.
Release notes
Sourced from starlette's releases.
Changelog
Sourced from starlette's changelog.
Commits
e45c579
prepare release 0.16.0 (#1233)b0a6d6f
ignore charset_normalizer related warning (#1242)8a3e41a
Document the lifespan event handler parameter (#1110)537ab6a
use an async context manager factory for lifespan (#1227)254d0d9
ensure TestClient requests run in the same EventLoop as lifespan (#1213)d222b87
TestClient accepts backend and backend_options as arguments to constructor (#...906e907
reset the__eq__
and__hash__
of HTTPConnection to allow WebSockets to be...0ef4418
:wrench: Add funding option (#1219)070d749
Make Jinja2Templates.get_env private & rename (#1218)6626636
mkdocs: Set site_url (#1215)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)