Skip to content

v2.2.0

Choose a tag to compare

@arabold arabold released this 04 Sep 21:09
· 18 commits to master since this release
  • 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.