Open
Description
Summary
Litestar v3 is coming soon*! 🚀
We’re thrilled to announce that Litestar v3 is on the horizon, bringing a host of exciting new features, improvements, and some breaking changes to make your development experience even better. Here’s what you can expect
Things to do for v3
- Remove
StaticFileConfig
- Drop support for implicit Optional Default Parameters
- Replace OpenAPI Controller with Plugins
- Elimination of
OpenAPIController
Subclassing - Changes to Endpoint Configuration
- Modification to
root_schema_site
Handling
- Elimination of
- Remove deprecated
app
parameter forResponse.to_asgi_response
- Remove deprecated scope state utilities
- Remove deprecated utility function
is_sync_or_async_generator
- Remove of semantic HTTP route handler classes in favour of functional style decorators
- Remove of deprecated
litestar.middleware.exceptions
module andExceptionHandlerMiddleware
- Overhaul route handler configuration (feat!: static handler configuration #3900)
- Remove
litestar.contrib
namespace - Improve "file system" abstractions
- Remove all deprecated items scheduled for removal in 3.0
- Remove pagination
- Don't use `future.annotations, only use stringized annotations where strictly necessary / clean up signature namsepaces
- Deprecate plugin protocols in favour of abstract base classes
- Remove deprecated plugin protocols
- Use native event loop in
AsyncTestClient
- Drop Python 3.8 support (feat(core)!: drop Python 3.8 support #4010)
- Add CLI
shell
command - Improve and simplify logging interface (Better Logging Interface (Also simplified) #2858)
- Update sentry integration
- Add migration guide :)
We will update this issue with information about the release, how to prepare, upcoming pre-releases etc.
If you've got any questions, remarks or additions, this is the place to leave them :)
Metadata
Assignees
Type
Projects
Status
No status
Activity