Sentry

Latest version: v23.7.1

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 174 of 223

1.3.1

- Fix detection of contextvars compatibility with Gevent versions >=20.9.0 1157

1.03

- Regain ability to set encoding (thanks Stuart Skelton)

1.3.0

});


Set a global tag

_Old_:

js
Raven.setTagsContext({ key: 'value' });


_New_:

js
Sentry.configureScope((scope) => {
scope.setTag('key', 'value');
});


Capture custom exception

_Old_:

js
try {
throwingFunction();
} catch (e) {
Raven.captureException(e, { extra: { debug: false } });
}


_New_:

js
try {
throwingFunction();
} catch (e) {
Sentry.withScope((scope) => {
scope.setExtra('debug', false);
Sentry.captureException(e);
});
}


Capture a message

_Old_:

js
Raven.captureMessage('test', 'info', { extra: { debug: false } });


_New_:

js
Sentry.withScope((scope) => {
scope.setExtra('debug', false);
Sentry.captureMessage('test', 'info');
});


Breadcrumbs

_Old_:

js
Raven.captureBreadcrumb({
message: 'Item added to shopping cart',
category: 'action',
data: {
isbn: '978-1617290541',
cartSize: '3',
},
});


_New_:

js
Sentry.addBreadcrumb({
message: 'Item added to shopping cart',
category: 'action',
data: {
isbn: '978-1617290541',
cartSize: '3',
},
});

1.2.2

- fix(android): Crash if stacktrace.frames is empty (742)

1.2.1

- Add Support for Electron 8

1.2.1beta

Fixes and improvements to the NLog integration: 207 by josh-degraw

Page 174 of 223

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.