-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(release)!: Version 3.0 #3364
base: main
Are you sure you want to change the base?
Commits on Jun 21, 2024
-
docs!: update to v3 style (#3324)
* Trigger documentation build * Trigger documentation build * docs: update to v3 style * docs: move some things to litestar.dev repo, change versioning, add environment tag * docs: update landing page * chore: update lockfile * chore: add AA upper constraint * fix(docs): re-colonize * docs: enable sphinx-togglebutton * docs: use current year var * deps: update deps * fix(docs): do not link __name__ for now * fix(docs): use correct link to page --------- Co-authored-by: Peter Schutt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5b01df - Browse repository at this point
Copy the full SHA e5b01dfView commit details -
refactor!: Remove deprecated
StaticFileConfig
(#3357)* Remove deprecated StaticFiles and StaticFilesConfig * remove special casing of static files app from handlers/router * remove outdated docs sections * Add what's new section * Rename tests for consistency
Configuration menu - View commit details
-
Copy full SHA for 2d291d0 - Browse repository at this point
Copy the full SHA 2d291d0View commit details -
feat!: no implicit default for optional params (#3361)
This PR changes behavior of parameters that are typed in a union with `None`. Prior behavior was to implicitly default their value to `None` if a value wasn't provided making an apparently non-optional parameter (i.e., no declared default) actually optional. Surprising behavior at best, dangerous at worst. New behavior is to throw a client error when a parameter without a default is not provided.
Configuration menu - View commit details
-
Copy full SHA for 13c8827 - Browse repository at this point
Copy the full SHA 13c8827View commit details -
refactor: removes deprecated OpenAPIController (#3360)
* refactor: removes deprecated OpenAPIController This PR removes all deprecated elements of OpenAPIConfig and the OpenAPIController, removes any obsolete tests and refactors tests that were parametrized to test both OpenAPIController and the router-based approach. * docs: What's new entry * Update docs/usage/openapi/ui_plugins.rst Co-authored-by: Jacob Coffee <[email protected]> * Update litestar/openapi/config.py * fix: remove whitespace * fix: import table formatting (i hope) --------- Co-authored-by: Jacob Coffee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7edb992 - Browse repository at this point
Copy the full SHA 7edb992View commit details -
refactor!: Remove deprecated
app
param of `Response.to_asgi_respons……e` (#3393) * Remove 'app' parameter from `.to_asgi_response`
Configuration menu - View commit details
-
Copy full SHA for bf35e0f - Browse repository at this point
Copy the full SHA bf35e0fView commit details -
refactor!: Remove deprecated utils (#3394)
Remove the deprecated utility functions, `get_litestar_scope_state``, ``set_litestar_scope_state``, ``delete_litestar_scope_state``, and ``is_sync_or_async_generator``.
Configuration menu - View commit details
-
Copy full SHA for 58389bf - Browse repository at this point
Copy the full SHA 58389bfView commit details -
refactor(routing)!: Refactor routes and route handlers (#3386)
* remove handler names * Remove option handler creation from HTTPRoute * Remove methods attribute from BaseRoute * Move kwargs model to handlers and creation to on_registration * Store kwargs model on handlers instead of routes * Simplify HTTPRoute route_handler_map creation * Simplify Router.route_handler_method_map * Relax typing of HTTPRoute * Move handling logic to route handlers * Remove scope_type * Don't pass route to HTTPRouteHandler during handling * Don't pass scope to handle methods * Resolve and establish connections in routes; Only pass connections to handlers --------- Co-authored-by: Jacob Coffee <[email protected]> Co-authored-by: Peter Schutt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b941c2c - Browse repository at this point
Copy the full SHA b941c2cView commit details -
docs!: update to v3 style (#3324) (#3432)
fix(docs): adjust build script
Configuration menu - View commit details
-
Copy full SHA for be571f1 - Browse repository at this point
Copy the full SHA be571f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a82ef - Browse repository at this point
Copy the full SHA d1a82efView commit details -
Configuration menu - View commit details
-
Copy full SHA for d257b4f - Browse repository at this point
Copy the full SHA d257b4fView commit details -
fix: Port CVE-2024-32982 path traversal fix to v3.0 (#3524)
* Backport static files path traversal fix
Configuration menu - View commit details
-
Copy full SHA for 46745e3 - Browse repository at this point
Copy the full SHA 46745e3View commit details -
feat!: Make route handlers functional decorators (#3436)
* make route handlers functional decorators
Configuration menu - View commit details
-
Copy full SHA for a4c6ff3 - Browse repository at this point
Copy the full SHA a4c6ff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f17e373 - Browse repository at this point
Copy the full SHA f17e373View commit details -
test: Remove test for warnings when subclassing route handler decorat…
…ors (#3529) Remove deprecated test
Configuration menu - View commit details
-
Copy full SHA for 8910ceb - Browse repository at this point
Copy the full SHA 8910cebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a28c6 - Browse repository at this point
Copy the full SHA 96a28c6View commit details -
fix(typing): "Fix" typing for
Controller.as_router
(#3571)ignore type error
Configuration menu - View commit details
-
Copy full SHA for a5018d3 - Browse repository at this point
Copy the full SHA a5018d3View commit details -
feat!: Remove deprecated
litestar.middleware.exceptions
module and …Configuration menu - View commit details
-
Copy full SHA for 20c0062 - Browse repository at this point
Copy the full SHA 20c0062View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de5a82 - Browse repository at this point
Copy the full SHA 7de5a82View commit details