Upgrading sentry-sdk 0.11 to 0.12
Breaking0.11.2 → 0.12.3Breaking1New3Changed2Fixed5Other1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Django Channels 2.0 apps on Python 3.5 or 3.6 will break unless you install the aiocontextvars package.
Must act 1 item needs code or config changes
What you must change
Breaking1
Automatically injects the ASGI middleware for Django Channels 2.0, breaking Channels 2.0 apps on Python 3.5 or 3.6 unless aiocontextvars is installed.
aiocontextvarsAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
variable F
- added:
variable F - added:
variable T
- added:
variable F
- changed:
constructor DjangoIntegration(transaction_style=…) → constructor DjangoIntegration(transaction_style=…, middleware_spans=…) - added:
export EventProcessor - added:
export HAS_REAL_CONTEXTVARS - added:
export NotImplementedType - added:
export logger - added:
export patch_django_middlewares - added:
field DjangoIntegration.middleware_spans
- added:
function patch_django_middlewares() - added:
variable F - added:
variable import_string_name
- added:
variable Excepthook
- changed:
function serverless_function(f=…, flush=…) → function serverless_function(f, flush=…) | (f=…, flush=…) - added:
function overload(x) - added:
variable F
- added:
variable F
- added:
variable T
- removed:
class MetaNode(object) - removed:
class Serializer(object) - removed:
constructor MetaNode() - removed:
constructor Serializer() - removed:
method MetaNode.annotate(**meta) - removed:
method MetaNode.enter(segment) - removed:
method MetaNode.is_databag() - removed:
method MetaNode.is_path(path) - removed:
method MetaNode.should_repr_strings() - removed:
method MetaNode.startswith_path(path) - removed:
method Serializer.enter(segment) - removed:
method Serializer.serialize_event(obj) - added:
function partial_serialize(client, data, should_repr_strings=…, is_databag=…) - added:
function serialize(event, **kwargs)
- changed:
method Span.init_finished_spans() → method Span.init_finished_spans(maxlen) - changed:
method Span.to_json() → method Span.to_json(client)
- added:
class CaptureInternalException(object) - added:
function capture_internal_exception(exc_info) - added:
variable disable_capture_event