sentry-javascript

Official Sentry SDKs for JavaScript

MIT License

Downloads
373.3M
Stars
7.9K
Committers
546

Bot releases are hidden (Show)

sentry-javascript - 4.6.5

Published by HazAT over 5 years ago

  • [browser] fix: Remove beacon transport.
sentry-javascript - 5.0.0-rc.1

Published by HazAT over 5 years ago

  • [node] fix: Check if buffer isReady before sending/creating Promise for request.
sentry-javascript - 5.0.0-rc.0

Published by HazAT over 5 years ago

  • Fix: Tag npm release with next to not make it latest
sentry-javascript - 5.0.0-beta.2

Published by HazAT over 5 years ago

  • Fix: NPM release
sentry-javascript - 5.0.0-beta1

Published by HazAT over 5 years ago

Migration from v4

This major bump brings a lot of internal improvements. If you were using the SDK without any special abilities,
basically, the way we describe it in the docs, you should be fine by just updating it. This is a breaking release
since we removed some methods from the public API and removed some classes from the default export.

  • breaking [node] fix: Events created from exception shouldn't have top-level message attribute
  • [utils] ref: Update wrap method to hide internal sentry flags
  • [utils] fix: Make internal Sentry flags non-enumerable in fill utils
  • [utils] ref: Move SentryError + PromiseBuffer to utils
  • breaking [core] ref: Use SyncPromise internally, this reduces memory pressure by a lot.
  • breaking [browser] ref: Removed BrowserBackend from default export.
  • breaking [node] ref: Removed BrowserBackend from default export.
  • breaking [core] feat: Disable client once flushed using close method
  • ref: Move internal ExtendedError to a types package
  • breaking [core] ref: Pass Event to sendEvent instead of already stringified data
  • [utils] feat: Introduce isSyntheticEvent util
  • breaking [utils] ref: remove isArray util in favor of Array.isArray
  • breaking [utils] ref: Remove isNaN util in favor of Number.isNaN
  • breaking [utils] ref: Remove isFunction util in favor of typeof === 'function'
  • breaking [utils] ref: Remove isUndefined util in favor of === void 0
  • breaking [utils] ref: Remove assign util in favor of Object.assign
  • breaking [utils] ref: Remove includes util in favor of native includes
  • breaking [utils] ref: Rename serializeKeysToEventMessage to keysToEventMessage
  • breaking [utils] ref: Rename limitObjectDepthToSize to normalizeToSize and rewrite its internals
  • breaking [utils] ref: Rename safeNormalize to normalize and rewrite its internals
  • breaking [utils] ref: Remove serialize, deserialize, clone and serializeObject functions
  • breaking [utils] ref: Rewrite normalization functions by removing most of them and leaving just normalize and
    normalizeToSize
  • breaking [core] ref: Extract all pluggable integrations into a separate @sentry/integrations package
  • breaking [core] ref: Move extraErrorData integration to @sentry/integrations package
  • [core] feat: Add maxValueLength option to adjust max string length for values, default is 250.
  • [hub] feat: Introduce setExtras, setTags, clearBreadcrumbs.
  • breaking [all] feat: Move Mechanism to Exception
  • [browser/node] feat: Add synthetic to Mechanism in exception.
  • [browser/node] fix: Use addExceptionTypeValue in helpers
  • [browser] ref: Remove unused TraceKit code
  • breaking [all] build: Expose module in package.json as entry point for esm builds.
  • breaking [all] build: Use es6 target instead of esnext for ESM builds
  • [all] feat: Prefix all private methods with _
  • [all] build: Use terser instead of uglify
  • [opentracing] feat: Introduce @sentry/opentracing providing functions to attach opentracing data to Sentry Events
  • breaking [core] ref: Dedupe Integration is now optional, it is no longer enabled by default.
  • breaking [core] ref: Removed default client fingerprinting for messages
  • [node] ref: Remove stack-trace dependencies
sentry-javascript - 4.6.4

Published by kamilogorek over 5 years ago

  • [utils] fix: Prevent decycling from referencing original objects
  • [utils] fix: Preserve correct name when wrapping
  • [raven-node] test: Update raven-node tests for new node version
sentry-javascript - 4.6.3

Published by kamilogorek over 5 years ago

  • [utils] fix: Normalize value before recursively walking down the tree
  • [browser] ref: Check whether client is enabled for reportDialog and log instead of throw
sentry-javascript - 4.6.2

Published by kamilogorek over 5 years ago

  • [utils] fix: Preserve function prototype when filling
  • [utils] fix: use a static object as fallback of the global object
  • [node] feat: Read from SENTRY_RELEASE and SENTRY_ENVIRONMENT if present
sentry-javascript - 4.6.1

Published by kamilogorek over 5 years ago

  • [utils] fix: Patch tslib_1__default regression and add additional tests around it
sentry-javascript - 4.6.0

Published by kamilogorek over 5 years ago

  • [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
sentry-javascript - 4.5.4

Published by HazAT over 5 years ago

  • [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
sentry-javascript - 4.5.3

Published by HazAT over 5 years ago

  • [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
sentry-javascript - 4.5.2

Published by HazAT almost 6 years ago

  • [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
sentry-javascript - 4.5.1

Published by HazAT almost 6 years ago

  • [utils] fix: Don't npm ignore esm for utils
sentry-javascript - 4.5.0

Published by HazAT almost 6 years ago

  • [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
sentry-javascript - 4.4.2

Published by HazAT almost 6 years ago

  • [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
sentry-javascript - 4.4.1

Published by HazAT almost 6 years ago

  • [core] Bump dependencies to remove flatmap-stream
sentry-javascript - 4.4.0

Published by kamilogorek almost 6 years ago

  • [node] HTTP(S) Proxy support
  • [node] Expose lastEventId method
  • [browser] Correctly detect and remove wrapped function frames
sentry-javascript - 4.3.4

Published by HazAT almost 6 years ago

  • [utils] fix: Broken tslib import - Fixes #1757
sentry-javascript - 4.3.3

Published by HazAT almost 6 years ago

  • [build] ref: Dont emit TypeScript helpers in every file separately
  • [node] fix: Move stacktrace types from devDeps to deps as its exposed
  • [browser] misc: Added browser examples page