Skip to content

Releases: getsentry/sentry-javascript

4.6.0

14 Feb 14:01
Compare
Choose a tag to compare
  • [loader] fix: Detect if init has been called in an onload callback
  • [core] fix: Use correct frame for inboundFilter methods
  • [core] ref: Multiple init calls have been changed to "latest wins" instead of "ignore all after first"
  • [core] feat: Introduce flush method which currently is an alias for close
  • [node] feat: If options.dsn is undefined when calling init we try to load it from process.env.SENTRY_DSN
  • [node] feat: Expose flush and close on Sentry.*
  • [node] feat: Add sentry to express error handler response which contains the event_id of the error

4.5.4

11 Feb 14:35
Compare
Choose a tag to compare
  • [browser] fix: DOMError and DOMException should be error level events
  • [browser] ref: Log error if Ember/Vue instances are not provided
  • [utils] fix: Dont mutate original input in decycle util function
  • [utils] fix: Skip non-enumerable properties in decycle util function
  • [utils] ref: Update wrap method to hide internal Sentry flags
  • [utils] fix: Make internal Sentry flags non-enumerable in fill util

4.5.3

21 Jan 13:03
Compare
Choose a tag to compare
  • [browser]: fix: Fix UnhandledPromise: [object Object]
  • [core]: fix: Error in extraErrorData integration where event would not be send in case of non assignable object property.
  • [hub]: feat: Support non async event processors

4.5.2

16 Jan 15:45
Compare
Choose a tag to compare
  • [utils] fix: Decycling for objects to no produce an endless loop
  • [browser] fix: event for unhandledRejection
  • [loader] fix: Handle unhandledRejection the same way as it would be thrown

4.5.1

14 Jan 10:26
Compare
Choose a tag to compare
  • [utils] fix: Don't npm ignore esm for utils

4.5.0

10 Jan 14:39
Compare
Choose a tag to compare
  • [core] feat: Deprecate captureEvent, prefer sendEvent for transports. sendEvent now takes a string (body)
    instead of Event object.
  • [core] feat: Use correct buffer for requests in transports
  • [core] feat: (beta) provide esm build
  • [core] ref: Change way how transports are initialized
  • [core] ref: Rename RequestBuffer to PromiseBuffer, also introduce limit
  • [core] ref: Make sure that captureMessage input is a primitive
  • [core] fix: Check if value is error object in extraErrorData integration
  • [browser] fix: Prevent empty exception values
  • [browser] fix: Permission denied to access property name
  • [node] feat: Add file cache for providing pre/post context in frames
  • [node] feat: New option frameContextLines, if set to 0 we do not provide source code pre/post context, default is
    7 lines pre/post
  • [utils] fix: Use custom serializer inside serialize method to prevent circular references

4.4.2

13 Dec 19:05
Compare
Choose a tag to compare
  • [node] Port memory-leak tests from raven-node
  • [core] feat: ExtraErrorData integration
  • [hub] ref: use safeNormalize on any data we store on Scope
  • [utils] feat: Introduce safeNormalize util method to unify stored data
  • [loader] Support multiple onLoad callbacks

4.4.1

29 Nov 19:05
Compare
Choose a tag to compare
  • [core] Bump dependencies to remove flatmap-stream

4.4.0

27 Nov 15:40
Compare
Choose a tag to compare
  • [node] HTTP(S) Proxy support
  • [node] Expose lastEventId method
  • [browser] Correctly detect and remove wrapped function frames

4.3.4

21 Nov 08:37
Compare
Choose a tag to compare
  • [utils] fix: Broken tslib import - Fixes #1757