Skip to content
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

fix!: response cookie extraction #3045

Open
wants to merge 22 commits into
base: v3.0
Choose a base branch
from

Commits on Apr 7, 2024

  1. fix!: response cookie extraction

    floxay authored and provinzkraut committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    46afdc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21de2dd View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. docs!: update to v3 style (litestar-org#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]>
    2 people authored and provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d54c886 View commit details
    Browse the repository at this point in the history
  2. refactor!: Remove deprecated StaticFileConfig (litestar-org#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
    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    3da79c4 View commit details
    Browse the repository at this point in the history
  3. feat!: no implicit default for optional params (litestar-org#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.
    peterschutt authored and provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    809eb32 View commit details
    Browse the repository at this point in the history
  4. refactor: removes deprecated OpenAPIController (litestar-org#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]>
    2 people authored and provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    9b8ab54 View commit details
    Browse the repository at this point in the history
  5. refactor!: Remove deprecated app param of `Response.to_asgi_respons…

    …e` (litestar-org#3393)
    
    * Remove 'app' parameter from `.to_asgi_response`
    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    b5f9b42 View commit details
    Browse the repository at this point in the history
  6. refactor!: Remove deprecated utils (litestar-org#3394)

    Remove the deprecated utility functions, `get_litestar_scope_state``, ``set_litestar_scope_state``, ``delete_litestar_scope_state``, and ``is_sync_or_async_generator``.
    peterschutt authored and provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    daaf061 View commit details
    Browse the repository at this point in the history
  7. refactor(routing)!: Refactor routes and route handlers (litestar-org#…

    …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]>
    3 people committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    1ae559f View commit details
    Browse the repository at this point in the history
  8. docs!: update to v3 style (litestar-org#3324) (litestar-org#3432)

    fix(docs): adjust build script
    JacobCoffee authored and provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d547b35 View commit details
    Browse the repository at this point in the history
  9. Fix rebase issue

    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d961c1e View commit details
    Browse the repository at this point in the history
  10. Resolve merge conflicts

    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    4f0a490 View commit details
    Browse the repository at this point in the history
  11. fix: Port CVE-2024-32982 path traversal fix to v3.0 (litestar-org#3524)

    * Backport static files path traversal fix
    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    cdbd911 View commit details
    Browse the repository at this point in the history
  12. feat!: Make route handlers functional decorators (litestar-org#3436)

    * make route handlers functional decorators
    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    8fc3194 View commit details
    Browse the repository at this point in the history
  13. Fix merge artifact

    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    8ee9d14 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4bb17d6 View commit details
    Browse the repository at this point in the history
  15. fix merge artifacts

    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    548450d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5536d72 View commit details
    Browse the repository at this point in the history
  17. feat!: Remove deprecated litestar.middleware.exceptions module and …

    …deprecated params of internal `ExceptionHandlerMiddleware` (litestar-org#3435)
    
    * refactor!: Remove deprecated `app` param of `Response.to_asgi_response` (litestar-org#3393)
    * Remove 'app' parameter from `.to_asgi_response`
    * Remove debug param
    * Remove exception_handlers param
    * Remove litestar.middleware.exceptions
    provinzkraut committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    01bc44b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f2c1e78 View commit details
    Browse the repository at this point in the history
  19. chore: Port fix for litestar-org#3593 to v3 (litestar-org#3638)

    Port parse_values_from_connection_kwargs changes
    provinzkraut authored Jul 21, 2024
    Configuration menu
    Copy the full SHA
    e0b918b View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    ab4ee44 View commit details
    Browse the repository at this point in the history