github tomwojcik/starlette-context v0.3.4

latest releases: v0.3.6, v0.3.5
2 years ago
  • add request_cycle_context. It’s a context manager that allows for easier testing and cleaner code (Thanks @hhamana) #46
  • fix for accessing context during logging, outside of the request-response cycle. Technically it should raise an exception, but it makes sense to include the context by default (in logs) and if it’s not available, some logs are better than no logs. Now it will show context data if context is available, with a fallback to an empty dict (instead of raising an exc) #65
  • add ContextMiddleware deprecation warning
  • **context context unpacking seems to be working now

Don't miss a new starlette-context release

NewReleases is sending notifications on new releases.