Upgrading sentry-sdk 0.8 to 0.9
Review needed0.8.1 → 0.9.5Security1New1Changed4Fixed8Other1
Review neededUpgrade verdict
4 behavior changes and a security fix.
In plain terms
- A few more headers that can contain secrets are no longer sent to Sentry unless you opt in.
Must act 1 item needs code or config changes
What you must change
Security1
Removes a few more headers containing sensitive data from being sent by default.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
function add_breadcrumb(crumb=…, hint=…, **kwargs) - added:
function capture_event(event, hint=…) - added:
function capture_exception(error=…) - added:
function capture_message(message, level=…) - added:
function configure_scope() | (callback) - added:
function flush(timeout=…, callback=…) - added:
function last_event_id() - added:
function push_scope() | (callback)
- removed:
constructor Client(*args, **kwargs) - removed:
function get_options(*args, **kwargs) - removed:
method Client.capture_event(event, hint=…, scope=…) - removed:
method Client.close(timeout=…, callback=…) - removed:
method Client.flush(timeout=…, callback=…) - removed:
property Client.dsn - changed:
class Client(object) → class Client(ClientConstructor, _Client) - added:
class get_options(ClientConstructor, Dict[str, Any]) - added:
variable Client - added:
variable MYPY - added:
variable get_options
- removed:
variable ClientOptions - added:
class ClientConstructor(object) - added:
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… - added:
variable MYPY
- removed:
function init(*args, **kwargs) - changed:
method Hub.configure_scope() | (callback) → method Hub.configure_scope(callback=…) | (callback) - changed:
method Hub.push_scope() | (callback) → method Hub.push_scope(callback=…) | (callback) - added:
class init(ClientConstructor, ContextManager[Any]) - added:
field Hub.MYPY - added:
field Hub.current - added:
field Hub.main - added:
variable MYPY - added:
variable T - added:
variable init
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
export Event - added:
export Hint - added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- added:
variable MYPY
- changed:
method Scope.apply_to_event(event, hint=…) → method Scope.apply_to_event(event, hint) - added:
variable F - added:
variable MYPY
- added:
variable MYPY - added:
variable ReprProcessor - added:
variable Segment
- added:
variable MYPY
- removed:
class ContextVar(object) - removed:
constructor ContextVar(name) - removed:
method ContextVar.get(default) - removed:
method ContextVar.set(value) - added:
variable Breadcrumb - added:
variable BreadcrumbHint - added:
variable BreadcrumbProcessor - added:
variable ContextVar - added:
variable ErrorProcessor - added:
variable Event - added:
variable EventProcessor - added:
variable Hint - added:
variable IS_THREADING_LOCAL_MONKEY_PATCHED - added:
variable MYPY
- added:
variable MYPY