Upgrading sentry-sdk 0.5 to 0.6
Breaking0.5.5 → 0.6.9Platform1New4Changed2Fixed16
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- The SDK can now run on AWS Lambda functions using Python 3.7.
Must act 1 item needs code or config changes
What you must change
Platform1
Adds support for the Python 3.7 runtime on AWS Lambda.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
class AioHttpIntegration(Integration) - added:
field AioHttpIntegration.identifier - added:
static method AioHttpIntegration.setup_once()
- removed:
export run_wsgi_app - removed:
method DjangoRequestExtractor.url() - added:
export SentryWsgiMiddleware - added:
export add_global_event_processor - added:
export get_template_frame_from_exception - added:
export walk_exception_chain
- added:
function get_template_frame_from_exception(exc_value)
- removed:
function transaction_from_function(func)
- removed:
method FlaskRequestExtractor.url()
- added:
function authenticated_userid(request)
- removed:
constructor SanicRequestExtractor(request) - removed:
method SanicRequestExtractor.url()
- added:
class TornadoIntegration(Integration) - added:
class TornadoRequestExtractor(RequestExtractor) - added:
field TornadoIntegration.identifier - added:
method TornadoRequestExtractor.content_length() - added:
method TornadoRequestExtractor.cookies() - added:
method TornadoRequestExtractor.files() - added:
method TornadoRequestExtractor.form() - added:
method TornadoRequestExtractor.is_json() - added:
method TornadoRequestExtractor.raw_data() - added:
method TornadoRequestExtractor.size_of_file(file) - added:
static method TornadoIntegration.setup_once()
- added:
class SentryWsgiMiddleware(object) - added:
constructor SentryWsgiMiddleware(app) - added:
function get_client_ip(environ) - added:
function get_host(environ) - added:
function get_request_url(environ) - added:
function wsgi_decoding_dance(s, charset=…, errors=…)
- changed:
constructor Auth(scheme, host, project_id, public_key, secret_key=…, version=…, client=…) → constructor Auth(scheme, host, project_id, public_key, secret_key=…, version=…, client=…, path=…) - added:
function break_cycles(obj, memo=…) - added:
function transaction_from_function(func) - added:
function walk_exception_chain(exc_info) - added:
variable CYCLE_MARKER