Upgrading sentry-sdk 0.1 to 0.2
Unknown0.1.3 → 0.2.2
UnknownUpgrade verdict
None of the 2 releases in this range publish notes, so breaking changes can't be ruled out.
In plain terms
- Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
function init(*args, **kwargs) - added:
export Client - added:
export EventHint - added:
export HttpTransport - added:
export Hub - added:
export Scope - added:
export Transport
- removed:
method Client.drain_events(timeout=…) - removed:
static method Client.disabled() - removed:
variable NO_DSN - changed:
constructor Client(dsn=…, *args, **kwargs) → constructor Client(*args, **kwargs) - changed:
method Client.capture_event(event, scope=…) → method Client.capture_event(event, hint=…, scope=…) - changed:
method Client.close() → method Client.close(timeout=…, shutdown_callback=…) - added:
function get_options(*args, **kwargs)
- added:
variable INTEGRATIONS
- added:
function init_debug_support()
- removed:
class AnnotatedValue(object) - removed:
class Event(Mapping) - removed:
constructor AnnotatedValue(value, metadata) - removed:
constructor Event(data=…) - removed:
function convert_types(obj) - removed:
function flatten_metadata(obj) - removed:
function strip_databag(obj, remaining_depth=…) - removed:
function strip_event(event) - removed:
function strip_frame(frame) - removed:
function strip_string(value, assume_length=…, max_length=…) - removed:
method Event.get(*a, **kw) - removed:
method Event.iter_frames() - removed:
method Event.set_exception(exc_type, exc_value, tb, with_locals) - removed:
method Event.setdefault(*a, **kw)
- removed:
method Hub.add_event_processor(factory) - removed:
method Hub.capture_internal_exception(error=…) - changed:
method Hub.add_breadcrumb(*args, **kwargs) → method Hub.add_breadcrumb(crumb=…, hint=…, **kwargs) - changed:
method Hub.capture_event(event) → method Hub.capture_event(event, hint=…) - added:
method Hub.last_event_id()
- removed:
constructor Integration(**kwargs) - changed:
method Integration.install(client) → method Integration.install() - added:
export logger - added:
function get_default_integrations() - added:
function setup_integrations(integrations, with_defaults=…)
- added:
class AtexitIntegration(Integration) - added:
constructor AtexitIntegration(callback=…) - added:
field AtexitIntegration.identifier - added:
function default_shutdown_callback(pending, timeout) - added:
method AtexitIntegration.install()
- changed:
method CeleryIntegration.install(client) → method CeleryIntegration.install()
- added:
class DedupeIntegration(Integration) - added:
field DedupeIntegration.identifier - added:
method DedupeIntegration.install()
- removed:
constructor DjangoIntegration() - changed:
method DjangoIntegration.install(client) → method DjangoIntegration.install()
- removed:
constructor ExcepthookIntegration() - changed:
method ExcepthookIntegration.install(client) → method ExcepthookIntegration.install()
- removed:
constructor FlaskIntegration() - removed:
variable current_user - changed:
method FlaskIntegration.install(client) → method FlaskIntegration.install() - added:
function event_processor(event) - added:
variable flask_login
- changed:
method LoggingIntegration.install(client) → method LoggingIntegration.install() - added:
function ignore_logger(name)
- added:
class StdlibIntegration(Integration) - added:
constructor StdlibIntegration() - added:
field StdlibIntegration.identifier - added:
method StdlibIntegration.install() - added:
method StdlibIntegration.install_httplib()
- removed:
class Hub(object) - removed:
class Scope(object) - removed:
export Hub - removed:
export Scope - removed:
field Hub.current - removed:
field Hub.main - removed:
field Scope.fingerprint - removed:
field Scope.request - removed:
field Scope.transaction - removed:
field Scope.user - removed:
method Scope.clear() - removed:
method Scope.remove_context(key) - removed:
method Scope.remove_extra(key) - removed:
method Scope.remove_tag(key) - removed:
method Scope.set_context(key, value) - removed:
method Scope.set_extra(key, value) - removed:
method Scope.set_tag(key, value)
- removed:
field Scope.fingerprint - removed:
field Scope.request - removed:
field Scope.transaction - removed:
field Scope.user - changed:
method Scope.apply_to_event(event) → method Scope.apply_to_event(event, hint=…) - added:
method Scope.add_error_processor(func, cls=…) - added:
method Scope.add_event_processor(func) - added:
method Scope.fingerprint(value) - added:
method Scope.transaction(value) - added:
method Scope.user(value)
- removed:
function send_event(pool, event, auth) - removed:
function spawn_thread(transport) - removed:
method Transport.close() - removed:
method Transport.drain_events(timeout) - removed:
method Transport.start() - removed:
variable logger - changed:
constructor Transport(dsn, http_proxy=…, https_proxy=…) → constructor Transport(options=…) - added:
class HttpTransport(Transport) - added:
constructor HttpTransport(options) - added:
function make_transport(options) - added:
method HttpTransport.capture_event(event) - added:
method HttpTransport.kill() - added:
method HttpTransport.shutdown(timeout, callback=…) - added:
method Transport.kill() - added:
method Transport.shutdown(timeout, callback=…)
- removed:
class SkipEvent(Exception) - changed:
function exceptions_from_error_tuple(exc_type, exc_value, tb, with_locals=…) → function exceptions_from_error_tuple(exc_info, with_locals=…) - changed:
function get_source_context(frame) → function get_source_context(frame, tb_lineno) - added:
class AnnotatedValue(object) - added:
class EventHint(object) - added:
constructor AnnotatedValue(value, metadata) - added:
constructor EventHint(exc_info=…) - added:
function convert_types(obj) - added:
function event_from_exception(exc_info, with_locals=…, processors=…) - added:
function exc_info_from_error(error) - added:
function flatten_metadata(obj) - added:
function handle_in_app(event, in_app_exclude=…, in_app_include=…) - added:
function iter_event_frames(event) - added:
function strip_databag(obj, remaining_depth=…) - added:
function strip_event(event) - added:
function strip_frame(frame) - added:
function strip_string(value, assume_length=…, max_length=…) - added:
static method EventHint.with_exc_info(exc_info=…) - added:
variable logger
- added:
class BackgroundWorker(object) - added:
constructor BackgroundWorker() - added:
method BackgroundWorker.kill() - added:
method BackgroundWorker.shutdown(timeout, callback=…) - added:
method BackgroundWorker.start() - added:
method BackgroundWorker.submit(callback) - added:
property BackgroundWorker.is_alive