Upgrading sentry-sdk 0.18 to 0.19
Breaking0.18.0 → 0.19.5Breaking1New5Changed2Fixed9
BreakingUpgrade verdict
1 breaking change.
In plain terms
- The experimental setting for automatic integration detection is gone. The regular setting now does the same job and is turned on by default.
Must act 1 item needs code or config changes
What you must change
Breaking1
Removes
_experiments.auto_enabling_integrations in favor of auto_enabling_integrations, which is now enabled by default._experiments.auto_enabling_integrationsauto_enabling_integrationsAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
1 default value changed. Same names, same signatures: imports and type checks still pass, but calls that leave this argument out now get the new value.
- removed:
export VERSION - removed:
export api_all - removed:
export init_debug_support
- added:
class Attachment(object) - added:
constructor Attachment(bytes=…, filename=…, path=…, content_type=…, add_to_transactions=…) - added:
method Attachment.to_envelope_item()
- changed:
constructor ClientConstructor(dsn=…, with_locals=…, max_breadcrumbs=…, release=…, environment=…, server_name=…, shutdown_timeout=…, integrations=…, in_app_include=…, in_app_exclude=…, default_integrations=…, dist=…, transport=…, sample_rate=…, send_default_pii=…, http_proxy=…, https_proxy=…, ignore_errors=…, request_bodies=…, before_send=…, before_breadcrumb=…, debug=…, attach_stacktrace=…, ca_ce… → constructor ClientConstructor(dsn=…, with_locals=…, max_breadcrumbs=…, release=…, environment=…, server_name=…, shutdown_timeout=…, integrations=…, in_app_include=…, in_app_exclude=…, default_integrations=…, dist=…, transport=…, transport_queue_size=…, sample_rate=…, send_default_pii=…, http_proxy=…, https_proxy=…, ignore_errors=…, request_bodies=…, before_send=…, before_breadcrumb=…, debug=…, at… - added:
variable DEFAULT_MAX_BREADCRUMBS - added:
variable DEFAULT_QUEUE_SIZE
- added:
constructor AioHttpIntegration(transaction_style=…) - added:
variable TRANSACTION_STYLE_VALUES
- added:
function get_lambda_bootstrap()
- added:
class Boto3Integration(Integration) - added:
field Boto3Integration.identifier - added:
static method Boto3Integration.setup_once()
- added:
function wrap_async_view(hub, callback)
- added:
variable iscoroutinefunction - added:
variable wrap_async_view
- added:
method Scope.add_attachment(bytes=…, filename=…, path=…, content_type=…, add_to_transactions=…)
- changed:
constructor Transaction(name=…, **kwargs) → constructor Transaction(name=…, parent_sampled=…, **kwargs) - changed:
method Span.to_json(client) → method Span.to_json() - added:
method Transaction.to_json()
- added:
function get_default_environment(release=…) - added:
function get_default_release() - added:
method TimeoutThread.stop()
- default changed:
constructor BackgroundWorker(queue_size=…)queue_sizewas 30now DEFAULT_QUEUE_SIZE - added:
method BackgroundWorker.on_full_queue(callback)