Upgrading sentry-sdk 0.6 to 0.7
Breaking0.6.9 → 0.7.14Platform1New11Changed7Fixed28
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- The Sanic and AIOHTTP integrations now work on Python 3.6.
Must act 1 item needs code or config changes
What you must change
Platform1
Adds Python 3.6 support to the Sanic and AIOHTTP integrations.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export Client - added:
export HttpTransport - added:
export Hub - added:
export Scope - added:
export Transport - added:
export VERSION - added:
export api_all - added:
export init - added:
export init_debug_support
- removed:
export Client - removed:
export HttpTransport - removed:
export Hub - removed:
export Scope - removed:
export Transport - removed:
export init
- changed:
method Client.close(timeout=…, shutdown_callback=…) → method Client.close(timeout=…, callback=…) - added:
method Client.flush(timeout=…, callback=…)
- added:
variable ClientOptions
- changed:
method Hub.configure_scope(callback=…) → method Hub.configure_scope() | (callback) - changed:
method Hub.push_scope(callback=…) → method Hub.push_scope() | (callback) - added:
function overload(x) - added:
method Hub.flush(timeout=…, callback=…) - added:
method Hub.iter_trace_propagation_headers()
- removed:
function iter_default_integrations() - removed:
variable IntegrationAttachment - added:
field Integration.identifier - added:
variable iter_default_integrations
- removed:
function default_shutdown_callback(pending, timeout) - added:
function default_callback(pending, timeout)
- added:
class BottleIntegration(Integration) - added:
class BottleRequestExtractor(RequestExtractor) - added:
constructor BottleIntegration(transaction_style=…) - added:
field BottleIntegration.identifier - added:
field BottleIntegration.transaction_style - added:
method BottleRequestExtractor.cookies() - added:
method BottleRequestExtractor.env() - added:
method BottleRequestExtractor.files() - added:
method BottleRequestExtractor.form() - added:
method BottleRequestExtractor.raw_data() - added:
method BottleRequestExtractor.size_of_file(file) - added:
static method BottleIntegration.setup_once()
- added:
constructor CeleryIntegration(propagate_traces=…) - added:
variable CELERY_CONTROL_FLOW_EXCEPTIONS
- removed:
function sql_to_string(sql) - changed:
function record_sql(sql, params) → function record_sql(sql, params, cursor=…) - added:
export add_global_repr_processor - added:
method DjangoRequestExtractor.parsed_body()
- added:
class FalconIntegration(Integration) - added:
class FalconRequestExtractor(RequestExtractor) - added:
class SentryFalconMiddleware(object) - added:
constructor FalconIntegration(transaction_style=…) - added:
field FalconIntegration.identifier - added:
field FalconIntegration.transaction_style - added:
method FalconRequestExtractor.cookies() - added:
method FalconRequestExtractor.env() - added:
method FalconRequestExtractor.files() - added:
method FalconRequestExtractor.form() - added:
method FalconRequestExtractor.json() - added:
method FalconRequestExtractor.raw_data() - added:
method SentryFalconMiddleware.process_request(req, resp, *args, **kwargs) - added:
static method FalconIntegration.setup_once()
- added:
method FlaskRequestExtractor.is_json() - added:
method FlaskRequestExtractor.json()
- added:
class GnuBacktraceIntegration(Integration) - added:
field GnuBacktraceIntegration.identifier - added:
static method GnuBacktraceIntegration.setup_once() - added:
variable FRAME_RE - added:
variable HEXVAL_RE - added:
variable MODULE_RE - added:
variable TYPE_RE
- added:
function serverless_function(f=…, flush=…)
- added:
class ThreadingIntegration(Integration) - added:
constructor ThreadingIntegration(propagate_hub=…) - added:
field ThreadingIntegration.identifier - added:
static method ThreadingIntegration.setup_once()
- added:
method Scope.clear_breadcrumbs() - added:
method Scope.set_span_context(span_context)
- added:
class SpanContext(object) - added:
constructor SpanContext(trace_id, span_id, recorded=…, parent=…) - added:
method SpanContext.iter_headers() - added:
method SpanContext.new_span() - added:
method SpanContext.to_traceparent() - added:
static method SpanContext.continue_from_environ(environ) - added:
static method SpanContext.continue_from_headers(headers) - added:
static method SpanContext.from_traceparent(traceparent) - added:
static method SpanContext.start_trace(recorded=…)
- removed:
method HttpTransport.copy() - removed:
method HttpTransport.shutdown(timeout, callback=…) - removed:
method Transport.copy() - removed:
method Transport.shutdown(timeout, callback=…) - added:
field Transport.parsed_dsn - added:
method HttpTransport.flush(timeout, callback=…) - added:
method Transport.flush(timeout, callback=…)
- removed:
function break_cycles(obj, memo=…) - changed:
function object_to_json(obj) → function object_to_json(obj, remaining_depth=…, memo=…) - changed:
function strip_databag(obj, remaining_depth=…) → function strip_databag(obj, remaining_depth=…, max_breadth=…) - added:
class Memo(object) - added:
constructor Memo() - added:
function add_global_repr_processor(processor) - added:
function handle_in_app_impl(frames, in_app_exclude, in_app_include) - added:
function iter_event_stacktraces(event) - added:
function strip_breadcrumbs_mut(breadcrumbs) - added:
method Memo.memoize(obj) - added:
method Memo.unmemoize(obj) - added:
variable ExcInfo - added:
variable HAS_CHAINED_EXCEPTIONS - added:
variable HAS_REAL_CONTEXTVARS - added:
variable global_repr_processors
- removed:
method BackgroundWorker.shutdown(timeout, callback=…) - added:
method BackgroundWorker.flush(timeout, callback=…)