Upgrading sentry-sdk 0.10 to 0.11
Review needed0.10.2 → 0.11.2New3Changed1Fixed9
Review neededUpgrade verdict
1 behavior change.
In plain terms
- Events from aiohttp requests now include the transaction name.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API 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.
- added:
function start_span(span=…, **kwargs)
- removed:
method Hub.finish_span(span) - removed:
method Hub.span(span=…, **kwargs)
- added:
class BeamIntegration(Integration) - added:
field BeamIntegration.identifier - added:
function raise_exception(client) - added:
static method BeamIntegration.setup_once() - added:
variable INSPECT_FUNC - added:
variable USED_FUNC - added:
variable WRAPPED_FUNC
- removed:
export format_sql
- added:
class SqlalchemyIntegration(Integration) - added:
field SqlalchemyIntegration.identifier - added:
static method SqlalchemyIntegration.setup_once()
- added:
variable E - added:
variable T - added:
variable U
- removed:
function maybe_create_breadcrumbs_from_span(hub, span) - changed:
constructor Span(trace_id=…, span_id=…, parent_span_id=…, same_process_as_parent=…, sampled=…, transaction=…, op=…, description=…) → constructor Span(trace_id=…, span_id=…, parent_span_id=…, same_process_as_parent=…, sampled=…, transaction=…, op=…, description=…, hub=…) - changed:
function record_sql_queries(hub, queries, label=…) → function record_sql_queries(hub, cursor, query, params_list, paramstyle, executemany) - changed:
method Span.finish() → method Span.finish(hub=…) - added:
method Span.is_success() - added:
method Span.set_failure() - added:
method Span.set_success()
- removed:
function concat_strings(chunks, strip_string=…, max_length=…) - removed:
function format_and_strip(template, params, strip_string=…, max_length=…) - removed:
function slim_string(value, length=…) - removed:
variable IS_THREADING_LOCAL_MONKEY_PATCHED - default changed:
function strip_string(value, max_length=…)max_lengthwas 512now None - added:
variable Annotated - added:
variable T