Upgrading sentry-sdk 0.12 to 0.13
Review needed0.12.3 → 0.13.5New4Changed3Fixed8
Review neededUpgrade verdict
3 behavior changes.
In plain terms
- Transaction events are now sent with an updated format for their status field.
- An outdated warning message is gone, but nothing about how the package behaves changes.
- This version is the first officially tested on Python 3.8. No code changed for it, so older versions might work there too.
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.
- added:
function set_context(key, value) - added:
function set_extra(key, value) - added:
function set_level(value) - added:
function set_tag(key, value) - added:
function set_user(value)
- removed:
field Hub.scope - added:
property Hub.scope
- added:
function get_aiohttp_request_data(hub, request) - added:
variable BODY_NOT_READ_MESSAGE
- added:
function patch_redis_client(cls)
- added:
export SparkIntegration - added:
export SparkWorkerIntegration
- added:
class SentryListener(SparkListener) - added:
class SparkIntegration(Integration) - added:
class SparkListener(object) - added:
class SparkListener.Java - added:
constructor SentryListener() - added:
field SparkIntegration.identifier - added:
field SparkListener.Java.implements - added:
function patch_spark_context_init() - added:
method SentryListener.onJobEnd(jobEnd) - added:
method SentryListener.onJobStart(jobStart) - added:
method SentryListener.onStageCompleted(stageCompleted) - added:
method SentryListener.onStageSubmitted(stageSubmitted) - added:
method SparkListener.onApplicationEnd(applicationEnd) - added:
method SparkListener.onApplicationStart(applicationStart) - added:
method SparkListener.onBlockManagerAdded(blockManagerAdded) - added:
method SparkListener.onBlockManagerRemoved(blockManagerRemoved) - added:
method SparkListener.onBlockUpdated(blockUpdated) - added:
method SparkListener.onEnvironmentUpdate(environmentUpdate) - added:
method SparkListener.onExecutorAdded(executorAdded) - added:
method SparkListener.onExecutorBlacklisted(executorBlacklisted) - added:
method SparkListener.onExecutorBlacklistedForStage(executorBlacklistedForStage) - added:
method SparkListener.onExecutorMetricsUpdate(executorMetricsUpdate) - added:
method SparkListener.onExecutorRemoved(executorRemoved) - added:
method SparkListener.onJobEnd(jobEnd) - added:
method SparkListener.onJobStart(jobStart) - added:
method SparkListener.onNodeBlacklisted(nodeBlacklisted) - added:
method SparkListener.onNodeBlacklistedForStage(nodeBlacklistedForStage) - added:
method SparkListener.onNodeUnblacklisted(nodeUnblacklisted) - added:
method SparkListener.onOtherEvent(event) - added:
method SparkListener.onSpeculativeTaskSubmitted(speculativeTask) - added:
method SparkListener.onStageCompleted(stageCompleted) - added:
method SparkListener.onStageSubmitted(stageSubmitted) - added:
method SparkListener.onTaskEnd(taskEnd) - added:
method SparkListener.onTaskGettingResult(taskGettingResult) - added:
method SparkListener.onTaskStart(taskStart) - added:
method SparkListener.onUnpersistRDD(unpersistRDD) - added:
static method SparkIntegration.setup_once()
- added:
class SparkWorkerIntegration(Integration) - added:
field SparkWorkerIntegration.identifier - added:
static method SparkWorkerIntegration.setup_once()
- added:
method Scope.set_level(value) - added:
method Scope.set_user(value)
- removed:
function partial_serialize(client, data, should_repr_strings=…, is_databag=…) - added:
variable serializable_str_types
- removed:
function record_http_request(hub, url, method) - removed:
method Span.set_failure() - removed:
method Span.set_success() - added:
method Span.set_http_status(http_status) - added:
method Span.set_status(value)