Skip to content

Releases: arabold/serverless-sentry-lib

v2.5.2

22 Jun 15:39
Compare
Choose a tag to compare
  • Fixed invalid @sentry/integrations peer dependency definition. Sorry :(

v2.5.1

22 Jun 15:16
Compare
Choose a tag to compare
  • @sentry/integrations is a peer dependency now. Make sure to install it in your project!

v2.5.0

21 Jun 11:05
Compare
Choose a tag to compare
  • Added support for @sentry/node v7. This is the recommended version now!
  • @sentry/integrations is a peer dependency only now.
  • Updated dependencies

v2.4.0

24 May 22:30
Compare
Choose a tag to compare
  • Updated dependencies

v2.3.0

04 Sep 21:10
Compare
Choose a tag to compare
  • Override existing unhandledRejection and uncaughtException listeners when captureUnhandledRejections or captureUncaughtExceptions are enabled and invoke them after we handled them. At the same time we disable Sentry's default integrations for both to avoid duplicate reporting. This works around a custom listener registered by AWS Lambda internally that prevents proper automatic handling with Sentry. Thanks to ffxsam for reporting the original issue. By updating the execution order of the listeners we keep side effects to a minimum. Please report back if you encounter any weird or unexpected behavior!
  • Upgraded all dependencies, use Typescript 4.0

v2.2.0

04 Sep 21:09
Compare
Choose a tag to compare
  • Reset the scope on every Lambda start (if no custom Sentry client instance is used). This should avoid breadcrumbs and extras from previous runs "bleed" into subsequent Lambda invocations. Thanks to demsey2 for reporting the original issue.
  • Added a new flushTimeout option to control how long we want to wait for data being written to Sentry before the Lambda shuts down or between invocations.
  • Deprecated captureMemoryWarnings and captureTimeoutWarnings in favor of new options captureMemory and captureTimeouts which allow more customization. Thanks to keanolane for suggesting of custom timeouts. This only affects users invoking withSentry with custom options. If you're using serverless-sentry-plugin to set all options you won't have to change anything.
  • Fixed an issue with custom tags, extras and user traits not being set when passed as options to withSentry. Thanks to blelump for reporting and providing a pull request.

v2.0.0

16 May 23:05
Compare
Choose a tag to compare
  • Rewrite using TypeScript. The use of TypeScript in your project is fully optional, but if you do, we got you covered!
  • Added new default uncaught exception handler.
  • Dropped support for Node.js 6 and 8. The only supported versions are Node.js 10 and 12.
  • Upgrade from Sentry SDK raven to the Unified Node.js SDK @sentry/node.
  • Simplified integration using withSentry higher order function. Passing the Sentry instance is now optional.
  • Thank you @aheissenberger and @Vadorequest for their contributions to this release! 🤗

v2.0.0-rc.1

10 May 14:06
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release
  • Changed code generation to ES5 with commonjs for better compatibility with legacy code

v2.0.0-rc.0

10 May 13:51
Compare
Choose a tag to compare
v2.0.0-rc.0 Pre-release
Pre-release

0- Rewrite using TypeScript. The use of TypeScript in your project is fully optional, but if you do, we got you covered!

  • Dropped support for Node.js 6 and 8. The only supported versions are Node.js 10 and 12.
  • Upgrade from sentry SDK raven to new Unified Node.js SDK @sentry/node
  • ⚠️ ravenClient is now sentryClient
  • ⚠️ remove global sls_sentry for backward compatibility with oldserverless-sentry-plugin 0.2.x/0.3.x
  • Thank you @aheissenberger and @Vadorequest for their contributions to this release! 🤗

1.1.2

22 Aug 22:57
Compare
Choose a tag to compare
  • Fixed async/await (Promises) handling in Node 8.10. Thanks to shouki-s for the contribution.