Skip to content

Releases: getsentry/sentry-javascript

5.0.0-rc.3

25 Mar 11:03
Compare
Choose a tag to compare
5.0.0-rc.3 Pre-release
Pre-release
  • [browser] fix: Don't mangle names starting with two __
  • [utils] fix: Ensure only one logger instance

5.0.0-rc.2

22 Mar 13:47
Compare
Choose a tag to compare
5.0.0-rc.2 Pre-release
Pre-release
  • [browser] fix: Remove beacon transport.

5.0.0-rc.1

22 Mar 10:06
Compare
Choose a tag to compare
5.0.0-rc.1 Pre-release
Pre-release
  • [node] fix: Check if buffer isReady before sending/creating Promise for request.

5.0.0-rc.0

22 Mar 08:33
Compare
Choose a tag to compare
5.0.0-rc.0 Pre-release
Pre-release
  • Fix: Tag npm release with next to not make it latest

5.0.0-beta.2

22 Mar 07:35
Compare
Choose a tag to compare
5.0.0-beta.2 Pre-release
Pre-release
  • Fix: NPM release

4.6.5

22 Mar 12:29
Compare
Choose a tag to compare
  • [browser] fix: Remove beacon transport.

5.0.0-beta1

21 Mar 07:09
Compare
Choose a tag to compare
5.0.0-beta1 Pre-release
Pre-release

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

4.6.4

26 Feb 11:45
Compare
Choose a tag to compare
  • [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

4.6.3

20 Feb 14:17
Compare
Choose a tag to compare
  • [utils] fix: Normalize value before recursively walking down the tree
  • [browser] ref: Check whether client is enabled for reportDialog and log instead of throw

4.6.2

19 Feb 15:28
Compare
Choose a tag to compare
  • [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