sentry-javascript

Official Sentry SDKs for JavaScript

MIT License

Downloads
373.3M
Stars
7.9K
Committers
546

Bot releases are hidden (Show)

sentry-javascript - 7.96.0

Published by lforst 9 months ago

Note: This release was incomplete. Not all Sentry SDK packages were released for this version. Please upgrade to 7.98.0

directly.

Important Changes

Deprecations

This release includes some deprecations for integrations in @sentry/browser and frontend framework SDKs
(@sentry/react, @sentry/vue, etc.). Please take a look at our
migration guide for more details.

  • feat(browser): Export functional integrations & deprecate classes (#10267)

Web Vitals Fix for LCP and CLS

This release fixes an issue with the Web Vitals integration where LCP and CLS were not being captured correctly,
increasing capture rate by 10-30% for some apps. LCP and CLS capturing issues were introduced with version 7.75.0.

  • fix(tracing): Ensure web vitals are correctly stopped/captured (#10323)

Other Changes

  • fix(node): Fix node-cron types and add test (#10315)
  • fix(node): Fix downleveled types entry point (#10321)
  • fix(node): LocalVariables integration should use setupOnce (#10307)
  • fix(replay): Fix type for options of replayIntegration (#10325)

Work in this release contributed by @Shubhdeep12. Thank you for your contribution!

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB
@sentry/browser - Webpack (gzipped) 22.5 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.45 KB
@sentry/react - Webpack (gzipped) 22.55 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB
@sentry/nextjs Client - Webpack (gzipped) 50.4 KB
@sentry-internal/feedback - Webpack (gzipped) 17.21 KB
sentry-javascript - 6.5.1

Published by HazAT over 3 years ago

  • [nextjs] fix: Prevent webpack 5 from crashing server (#3642)
  • [eslint] build: Upgrade to eslint 7.27.0 (#3639)
  • [nextjs] test: Add nextjs integration tests for Server and Browser (#3632)
  • [browser] ref: Don't send session duration in browser environments (#3616)
  • [hub] fix: Correctly compute session durations (#3616)
sentry-javascript - 5.29.0

Published by HazAT almost 4 years ago

  • [tracing] feat: MongoDB Tracing Support (#3072)
  • [tracing] feat: MySQL Tracing Support (#3088)
  • [tracing] feat: PostgreSQL Tracing Support (#3064)
  • [tracing] fix: Add sentry-trace header to outgoing http(s) requests in node (#3053)
  • [node] fix: Revert express tracing integration type to use any (#3093)
sentry-javascript - 5.28.0

Published by HazAT almost 4 years ago

  • [browser] fix: Handle expo file dir stack frames (#3070)
  • [vue] feat: @sentry/vue (#2953)
  • [node] ref: Revamp express route info extraction (#3084)
  • [browser] fix: Dont append dsn twice to report dialog calls (#3079)
  • [ember] fix: Use correct import from @sentry/browser (#3077)
  • [node] ref: Express integration span name change and path unification (#3078)
sentry-javascript - 5.27.6

Published by HazAT almost 4 years ago

  • [hub] fix: Don't invoke scope updates in scope listeners
sentry-javascript - 5.27.5

Published by HazAT almost 4 years ago

  • [hub] fix: Sync ScopeListeners (#3065)
  • [tracing] fix: Typo in constant name in @sentry/tracing (#3058)
sentry-javascript - 5.27.4

Published by HazAT almost 4 years ago

  • [core] fix: Remove globalThis usage (#3033)
  • [react] ref: Add React 17.x to peerDependencies (#3034)
  • [tracing] fix: Express transaction name (#3048)
  • [serverless] fix: AWS Execution duration (#3032)
  • [serverless] fix: Add optional parameter to AWSServices integration (#3030)
  • [serverless] fix: Wrap google cloud functions with a Proxy(). (#3035)
  • [hub] fix: stop using @types/node in @sentry/hub (#3050)
sentry-javascript - 5.27.3

Published by kamilogorek almost 4 years ago

  • [hub] fix: Make sure that getSession exists before calling it (#3017)
  • [browser] feat: Add DOMException.code as tag if it exists (#3018)
  • [browser] fix: Call removeEventListener twice only when necessary (#3016)
  • [tracing] fix: Schedule the execution of the finish to let all the spans being closed first (#3022)
  • [tracing] fix: Adjust some web vitals to be relative to fetchStart and some other improvements (#3019)
  • [tracing] fix: Add transaction name as tag on error events (#3024)
sentry-javascript - 5.27.2

Published by HazAT almost 4 years ago

  • [apm] ref: Delete sentry/apm package (#2990)
  • [types] fix: make requestHandler options an own type (#2995)
  • [core] fix: Use 'production' as default value for environment key (#3013)
sentry-javascript - 5.27.1

Published by HazAT almost 4 years ago

  • [hub] fix: Preserve original user data for explicitly updated scopes (#2991)
  • [ember] fix: prevent unexpected errors on transition (#2988)
sentry-javascript - 5.27.0

Published by kamilogorek almost 4 years ago

  • [browser] feat: Sessions Health Tracking (#2973)
  • [core] fix: Correct processing flag in BaseClient (#2983)
  • [node] feat: use req.cookies if available instead of parsing (#2985)
  • [core] ref: Use SentryError for prepareEvent rejections (#2973)
  • [core] ref: Errors handling in prepareEvent pipeline (#2987)
  • [serverless] feat: Implement tracing of Google Cloud Requests (#2981)
  • [serverless] ref: Set global event processor and pass scope data for transactions (#2975)
  • [tracing] feat: Add secure connect navigation timing (#2980)
  • [tracing] feat: Capture time spent redirecting before loading the current page (#2986)
  • [tracing] feat: Capture browser navigator information (#2966)
  • [tracing] feat: Express router methods tracing (#2972)
  • [tracing] ref: Only report FCP or FP if the page wasn't hidden prior to their instrumentation (#2979)
sentry-javascript - 5.26.0

Published by kamilogorek about 4 years ago

  • [serverless] feat: Implement error handling and tracing for Google Cloud Functions (#2945)
  • [serverless] feat: Enable tracing for AWSLambda (#2945)
  • [serverless] feat: Add AWSResources integration (#2945)
  • [browser] feat: Implement X-Sentry-Rate-Limits handling for transports (#2962)
  • [tracing] feat: Add measurements support and web vitals (#2909)
  • [tracing] feat: Add web vitals: CLS and TTFB (#2964)
  • [angular] ref: Make @angular/common a peerDependency instead of dependency (#2961)
  • [ember] feat: Add more render instrumentation (#2902)
  • [ember] ref: Use @embroider/macros instead of runInDebug (#2873)
  • [hub] ref: Do not allow for popping last layer and unify getter methods (#2955)
sentry-javascript - 5.25.0

Published by kamilogorek about 4 years ago

  • [tracing] fix: Expose startTransaction in CDN bundle (#2938)
  • [tracing] fix: Allow unsampled transactions to be findable by getTransaction() (#2952)
  • [tracing] fix: Reimplement timestamp computation (#2947)
  • [tracing] ref: Clean up sampling decision inheritance (#2921) (#2944)
  • [react] fix: Makes normalizeTransactionName take a callback function in router-v3 (#2946)
  • [ember] feat: Add more render instrumentation to @sentry/ember (#2902)
  • [types] ref: Use correct types for event.context and allow for context removal (#2910)
  • [types] ref: Make name required on transaction class (#2949)
  • [build] feat: Update to use extends w. Volta (#2930)
sentry-javascript - 5.24.2

Published by HazAT about 4 years ago

  • [utils] fix: Check that performance is available before calling it in RN (#2924)
sentry-javascript - 5.24.1

Published by HazAT about 4 years ago

  • [types] fix: Remove Location type to avoid dom lib dependency (#2922)
sentry-javascript - 5.24.0

Published by HazAT about 4 years ago

  • [angular] fix: Make sure that message exist before returning it in angular error handler (#2903)
  • [integrations] feat: Add referrer to data collected by UserAgent integration (#2912)
  • [core] fix: Make sure that body is not exposed in the breadcrumb by default (#2911)
  • [core] feat: Give access to XHR requests body in breadcrumb hint (#2904)
  • [core] fix: Add a wrapper around performance for React Native (#2915)
  • [integrations] fix: Make Vue tracing options optional (#2897)
  • [integrations] ref: Remove unnecessary eventID check in offline integration (#2890)
  • [tracing] feat: Add hook for trace sampling function to SDK options (#2820)
sentry-javascript - 5.23.0

Published by kamilogorek about 4 years ago

  • [serverless] feat: Introduce @sentry/serverless with AWSLambda support (#2886)
  • [ember] feat: Add performance instrumentation for routes (#2784)
  • [node] ref: Remove query strings from transaction and span names (#2857)
  • [angular] ref: Strip query and fragment from Angular tracing URLs (#2874)
  • [tracing] ref: Simplify shouldCreateSpanForRequest (#2867)
sentry-javascript - 5.22.3

Published by HazAT about 4 years ago

  • [integrations] fix: Window type (#2864)
sentry-javascript - 5.22.2

Published by HazAT about 4 years ago

  • [integrations] fix: Fix localforage typing (#2861)
sentry-javascript - 5.22.1

Published by HazAT about 4 years ago

  • [integrations] fix: Add localforage typing (#2856)
  • [tracing] fix: Make sure BrowserTracing is exported in CDN correctly (#2855)