Official Sentry SDKs for JavaScript
MIT License
Bot releases are visible (Hide)
Published by getsentry-bot over 1 year ago
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.95 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 69.13 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 20.28 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 60.38 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.9 KB |
@sentry/browser - Webpack (minified) | 71.51 KB |
@sentry/react - Webpack (gzipped + minified) | 21.92 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 50.58 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 30.11 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 28.16 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 49.42 KB |
@sentry/replay - Webpack (gzipped + minified) | 43.1 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 69.51 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 61.82 KB |
Published by getsentry-bot over 1 year ago
This release adds support for distributed tracing without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the tracePropagationTargets
option, which controls what requests to attach the sentry-trace
and baggage
HTTP headers to (which is what propagates tracing information).
Sentry.init({
tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
});
feat(tracing): Add tracing without performance to browser and client Sveltekit (#8458)
feat(node): Add tracing without performance to Node http integration (#8450)
feat(node): Add tracing without performance to Node Undici (#8449)
feat(node): Populate propagation context using env variables (#8422)
feat(core): Support AggregateErrors
in LinkedErrors
integration (#8463)
This release adds support for AggregateErrors
. AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the Exception Groups Changelog Post for more details.
Exception Group support requires Self-Hosted Sentry version 23.5.1 or newer.
networkDetailDenyUrls
(#8439)This release adds a new option networkDetailDenyUrls
to the Replay
integration. This option allows you to specify a list of URLs that should not be captured by the Replay
integration, which can be used alongside the existing networkDetailAllowUrls
for finely grained control of which URLs should have network details captured.
Sentry.init({
integrations: [
new Sentry.Integrations.Replay({
networkDetailDenyUrls: [/^http:\/\/example.com\/test$/],
}),
],
});
getModule
for Electron SDK (#8488)user.id
to be a number (#8330)crossorigin
attribute on report dialog (#8424)tunnelRoute
when doing static exports (#8471)basePath
option for tunnelRoute
(#8454)basename
option of createBrowserRouter
(#8457)@sentry/node
exports. (#8509)redirect
and catch
responses (#8467)Work in this release contributed by @mrdulin, @donaldxdonald & @ziyad-elabid-nw. Thank you for your contributions!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.95 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 69.13 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 20.28 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 60.38 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.9 KB |
@sentry/browser - Webpack (minified) | 71.51 KB |
@sentry/react - Webpack (gzipped + minified) | 21.92 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 50.58 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 30.11 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 28.16 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 49.42 KB |
@sentry/replay - Webpack (gzipped + minified) | 43.1 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 69.51 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 61.82 KB |
Published by getsentry-bot over 1 year ago
This release version bumps the internally used typescript version from 3.8.x to 4.9.x.
We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
This means that this change should be fully backwards compatible and not have any noticable user impact,
but if you still encounter issues please let us know.
Instead of passing tracePropagationTargets
to the BrowserTracing
integration, you can now define them on the top level:
Sentry.init({
tracePropagationTargets: ['api.site.com'],
});
TryCatch
integration by default (#8367)The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default.
This integration conflicted with the SentryErrorHander
, sometimes leading to duplicated errors and/or missing data on events.
When capturing non-errors via Sentry.captureException()
, e.g. Sentry.captureException({ prop: "custom object" })
,
we now generate a more helpful value for the synthetic exception. Instead of e.g. Non-Error exception captured with keys: currentTarget, isTrusted, target, type
, you'll now get messages like:
Object captured as exception with keys: prop1, prop2
Event `MouseEvent` (type=click) captured as exception
Event `ErrorEvent` captured as exception with message `Script error.`
http.response.status_code
to span.data
(#8366)trace
if tracing is enabled (#8357)clickCount
as optional (#8376)autoDiscoverNodePerformanceMonitoringIntegrations
from SDK (#8382)fetch
if the SDK client is valid (#8381)sessionStorage
check (#8394)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.49 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 67.59 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.82 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.9 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.43 KB |
@sentry/browser - Webpack (minified) | 69.87 KB |
@sentry/react - Webpack (gzipped + minified) | 21.46 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.81 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 29.39 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 27.48 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 49.34 KB |
@sentry/replay - Webpack (gzipped + minified) | 43.11 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 68.82 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 61.38 KB |
Published by getsentry-bot over 1 year ago
This beta version bumps the internally used typescript version from 3.8.x to 4.9.x.
We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
This means that this change should be fully backwards compatible and not have any noticable user impact.
However, since this touches the whole code base, we decided to release this as a beta first in order to ensure this is fully stable.
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.38 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 67.24 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.72 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.61 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.34 KB |
@sentry/browser - Webpack (minified) | 69.53 KB |
@sentry/react - Webpack (gzipped + minified) | 21.37 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.29 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 29.03 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 27.04 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 49.34 KB |
@sentry/replay - Webpack (gzipped + minified) | 43.08 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 68.37 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 61.27 KB |
Published by getsentry-bot over 1 year ago
window.open
for slow clicks (#8308)debug_meta
before sending (#8347)next
in Vue router 4 instrumentation (#8351)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.17 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 66.13 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.71 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.6 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.33 KB |
@sentry/browser - Webpack (minified) | 69.52 KB |
@sentry/react - Webpack (gzipped + minified) | 21.36 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.28 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.79 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 27.03 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 49.37 KB |
@sentry/replay - Webpack (gzipped + minified) | 43.1 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 68.4 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 61.29 KB |
Published by getsentry-bot over 1 year ago
EventType
from @sentry-internal/rrweb
(#8334)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.12 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.86 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.65 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.34 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.28 KB |
@sentry/browser - Webpack (minified) | 69.26 KB |
@sentry/react - Webpack (gzipped + minified) | 21.31 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.23 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.74 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.98 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.6 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.26 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.63 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.54 KB |
Published by getsentry-bot over 1 year ago
@sentry-internal/rrweb
(#8329)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.12 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.86 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.65 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.34 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.28 KB |
@sentry/browser - Webpack (minified) | 69.26 KB |
@sentry/react - Webpack (gzipped + minified) | 21.31 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.23 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.74 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.98 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.6 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.26 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.63 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.54 KB |
Published by getsentry-bot over 1 year ago
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.12 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.86 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.65 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.34 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.28 KB |
@sentry/browser - Webpack (minified) | 69.26 KB |
@sentry/react - Webpack (gzipped + minified) | 21.31 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.23 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.74 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.98 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.68 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.26 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.63 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.54 KB |
Published by getsentry-bot over 1 year ago
feat(core): Add default entries to ignoreTransactions
for Healthchecks #8191
All SDKs now filter out health check transactions by default.
These are transactions where the transaction name matches typical API health check calls, such as /^.*healthy.*$/
or /^. *heartbeat.*$/
. Take a look at this list to learn which regexes we currently use to match transaction names.
We believe that these transactions do not provide value in most cases and we want to save you some of your quota by filtering them out by default.
These filters are implemented as default values for the top level ignoreTransactions
option.
You can disable this filtering by manually specifiying the InboundFilters
integration and setting the disableTransactionDefaults
option:
Sentry.init({
//...
integrations: [new InboundFilters({ disableTransactionDefaults: true })],
})
feat(replay): Add mutationBreadcrumbLimit
and mutationLimit
to Replay Options (#8228)
The previously experimental options mutationBreadcumbLimit
and mutationLimit
have been promoted to regular Replay integration options.
A high number of DOM mutations (in a single event loop) can cause performance regressions in end-users' browsers.
Use mutationBreadcrumbLimit
to send a breadcrumb along with your recording if the mutation limit was reached.
Use mutationLimit
to stop recording if the mutation limit was reached.
feat(sveltekit): Add source maps support for Vercel (lambda) (#8256)
The SvelteKit SDK can now be used if you deploy your SvelteKit app to Vercel.
By default, the SDK's Vite plugin will detect the used adapter and adjust the source map uploading config as necessary.
If you want to override the default adapter detection, you can specify the adapter
option in the sentrySvelteKit
options:
// vite.config.js
export default defineConfig({
plugins: [
sentrySvelteKit({
adapter: 'vercel',
}),
sveltekit(),
],
});
Currently, the Vite plugin will configure itself correctly for @sveltejs/adapter-auto
, @sveltejs/adapter-vercel
and @sveltejs/adapter-node
.
Important: The SvelteKit SDK is not yet compatible with Vercel's edge runtime.
It will only work for lambda functions.
loadContext
through wrapped document request function (#8268)magicast
to support satisfied
keyword (#8254)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.12 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.86 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.65 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.34 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.28 KB |
@sentry/browser - Webpack (minified) | 69.26 KB |
@sentry/react - Webpack (gzipped + minified) | 21.31 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.23 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.74 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.98 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.58 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.28 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.63 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.55 KB |
Published by getsentry-bot over 1 year ago
os.uptime()
throwing because of EPERM (#8206)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.05 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.69 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.59 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.16 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.21 KB |
@sentry/browser - Webpack (minified) | 69.08 KB |
@sentry/react - Webpack (gzipped + minified) | 21.23 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.16 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.67 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.91 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.25 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.1 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.22 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.12 KB |
Published by getsentry-bot over 1 year ago
beforeAddRecordingEvent
Replay option (#8124)withSentryConfig
isomorphic (#8166)maskFn
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.03 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.68 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.59 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.15 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.2 KB |
@sentry/browser - Webpack (minified) | 69.07 KB |
@sentry/react - Webpack (gzipped + minified) | 21.22 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.16 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.67 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.9 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.24 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.1 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.21 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.11 KB |
Published by getsentry-bot over 1 year ago
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.03 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.63 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.57 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.09 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.17 KB |
@sentry/browser - Webpack (minified) | 69.04 KB |
@sentry/react - Webpack (gzipped + minified) | 21.19 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.12 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.65 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.89 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 48.13 KB |
@sentry/replay - Webpack (gzipped + minified) | 42.02 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 67.09 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 59.99 KB |
Published by getsentry-bot over 1 year ago
This release adds support Vercel Cron Jobs in the Next.js SDK.
The SDK will automatically create Sentry Cron Monitors for your Vercel Cron Jobs configured via vercel.json
when deployed on Vercel.
You can opt out of this functionality by setting the automaticVercelMonitors
option to false
:
// next.config.js
const nextConfig = {
sentry: {
automaticVercelMonitors: false,
},
};
(Note: Sentry Cron Monitoring is currently in beta and subject to change. Help us make it better by letting us know what you think. Respond on GitHub or write to us at [email protected])
ignoreErrors
check (#8089)addTracingExtensions
was not documented in MIGRATION.md (#8101)createCheckinEnvelope
to core package (#8082)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.03 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.63 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.57 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.09 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.17 KB |
@sentry/browser - Webpack (minified) | 69.04 KB |
@sentry/react - Webpack (gzipped + minified) | 21.19 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.12 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.65 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.89 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 47.7 KB |
@sentry/replay - Webpack (gzipped + minified) | 41.57 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 66.6 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 59.48 KB |
Published by getsentry-bot over 1 year ago
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.02 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.62 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.55 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.08 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.16 KB |
@sentry/browser - Webpack (minified) | 69.03 KB |
@sentry/react - Webpack (gzipped + minified) | 21.18 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.09 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.64 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.87 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 47.35 KB |
@sentry/replay - Webpack (gzipped + minified) | 41.13 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 66.3 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 59.18 KB |
Published by getsentry-bot over 1 year ago
load
when typed explicitly (#8049)Replay rrweb
changes:
@sentry-internal/rrweb
was updated from 1.106.0 to 1.108.0:
:
in CSS rule from Safari (#86)Work in this release contributed by @sreetamdas. Thank you for your contribution!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.01 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.62 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.55 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.08 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.16 KB |
@sentry/browser - Webpack (minified) | 69.03 KB |
@sentry/react - Webpack (gzipped + minified) | 21.18 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.09 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.64 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.86 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 47.35 KB |
@sentry/replay - Webpack (gzipped + minified) | 41.13 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 66.3 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 59.18 KB |
Published by getsentry-bot over 1 year ago
load
functions with proxy module (#7994)@sentry/sveltekit
now auto-wraps load
functions in
+(page|layout).(ts|js)
files (universal loads)+(page|layout).server.(ts|js)
files (server-only loads)This means that you don't have to manually add the wrapLoadWithSentry
and wrapServerLoadWithSentry
functions around your load functions. The SDK will not interfere with already wrapped load
functions.
For more details, take a look at the Readme
peerDependencies
to Angular 16 (#8035)We now officially support Angular 16 in @sentry/angular-ivy
.
Note that @sentry/angular
does not support Angular 16.
Note: This release contains a bug with generating cron monitors. We recommend you wait till the next release of the JS SDK to use cron monitoring functionality
This release adds Sentry cron monitoring support to the Node SDK.
To monitor your cron jobs, send check-ins everytime you execute your cron jobs to Sentry. You can do this with the captureCheckIn
method exported from the SDK. First you must send an in_progress
, checkin, then you can send one with status ok
or error
based on what happened with your cron job.
const Sentry = require('@sentry/node');
// ...
Sentry.captureCheckIn({
// make sure this is the same slug as what you set up your
// Sentry cron monitor with.
monitorSlug: 'dailyEmail',
status: 'in_progress',
});
const startTime = timeInSeconds();
runTask();
Sentry.captureCheckIn({
monitorSlug: 'dailyEmail',
status: 'ok',
duration: timeInSeconds() - startTime,
});
http.method
to node http spans (#7991)RewriteFrames
(#7995)Integration
type declaration as union type (#8016)undefined
to undefined
instead of "[undefined]"
(#8017)Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.01 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.62 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.55 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.08 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.16 KB |
@sentry/browser - Webpack (minified) | 69.03 KB |
@sentry/react - Webpack (gzipped + minified) | 21.18 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.09 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.64 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.86 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 46.86 KB |
@sentry/replay - Webpack (gzipped + minified) | 40.67 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 65.74 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 58.63 KB |
Published by getsentry-bot over 1 year ago
sentryHandle
to a factory function (#7975)With this release, the Sveltekit SDK (@sentry/sveltekit) is promoted to Beta.
This means that we do not expect any more breaking changes.
The final breaking change is that sentryHandle
is now a function.
So in order to update to 7.50.0, you have to update your hooks.server.js
file:
// hooks.server.js
// Old:
export const handle = sentryHandle;
// New:
export const handle = sentryHandle();
You can now capture request/response bodies & headers of network requests in Replay.
You have to define an allowlist of URLs you want to capture additional information for:
new Replay({
networkDetailAllowUrls: ['https://sentry.io/api'],
});
By default, we will capture request/response bodies, as well as the request/response headers content-type
, content-length
and accept
.
You can configure this with some additional configuration:
new Replay({
networkDetailAllowUrls: ['https://sentry.io/api'],
// opt-out of capturing bodies
networkCaptureBodies: false,
// These headers are captured _in addition to_ the default headers
networkRequestHeaders: ['X-Custom-Header'],
networkResponseHeaders: ['X-Custom-Header', 'X-Custom-Header-2']
});
Note that bodies will be truncated to a max length of ~150k characters.
- feat(replay): Changes of sampling behavior & public API
flush()
API to record current event buffer (#7743)stop()
to flush and remove current session (#7741)We have changed the behavior of error-based sampling, as well as adding & adjusting APIs a bit to be more aligned with expectations.
See Sampling for details.
We've also revamped some public APIs in order to be better aligned with expectations. See Stoping & Starting Replays manually for details.
We added a new transport to support multiplexing.
With this, you can configure Sentry to send events to different DSNs, depending on a logic of your choosing:
import { makeMultiplexedTransport } from '@sentry/core';
import { init, captureException, makeFetchTransport } from '@sentry/browser';
function dsnFromFeature({ getEvent }) {
const event = getEvent();
switch(event?.tags?.feature) {
case 'cart':
return ['__CART_DSN__'];
case 'gallery':
return ['__GALLERY_DSN__'];
}
return []
}
init({
dsn: '__FALLBACK_DSN__',
transport: makeMultiplexedTransport(makeFetchTransport, dsnFromFeature)
});
disableLogger
option that automatically tree shakes logger statements (#7908)db.system
span data to DB spans (#7952)Work in this release contributed by @Jack-Works. Thank you for your contribution!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.02 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.66 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.56 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.12 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.17 KB |
@sentry/browser - Webpack (minified) | 69.07 KB |
@sentry/react - Webpack (gzipped + minified) | 21.19 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.03 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.59 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.82 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 46.81 KB |
@sentry/replay - Webpack (gzipped + minified) | 40.59 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 65.62 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 58.57 KB |
Published by getsentry-bot over 1 year ago
svelte.config.js
(#7863)Our source maps upload plugin is now able to read svelte.config.js
. This is necessary to automatically find the output directory that users can specify when setting up the Node adapter.
This release fixes a potential problem with how Replay captures console logs.
Any objects logged will now be cut off after a maximum depth of 10, as well as cutting off any properties after the 1000th.
This should ensure we do not accidentally capture massive console logs, where a stringified object could reach 100MB or more.
We used to normalize references to HTML elements as POJOs.
This is both not very easily understandable, as well as potentially large, as HTML elements may have properties attached to them.
With this change, we now normalize them to e.g. [HTMLElement: HTMLInputElement]
.
import
for gatsby-browser.js
instead of require
(#7889)handleError
wrapper (#7898)sentry.properties
file when uploading source maps (#7890)timestampWithMs
(#7878)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.02 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.65 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.56 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.1 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.16 KB |
@sentry/browser - Webpack (minified) | 69.06 KB |
@sentry/react - Webpack (gzipped + minified) | 21.18 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.03 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.59 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.82 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 46.05 KB |
@sentry/replay - Webpack (gzipped + minified) | 39.92 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 64.91 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 57.89 KB |
Published by getsentry-bot over 1 year ago
AsyncLocalStorage
implementation of AsyncContextStrategy
(#7800)
AsyncContextStrategy
to allow reuse of existing context (#7778)runWithAsyncContext
public API (#7817)domain
implementation of AsyncContextStrategy
(#7767)AsyncContextStrategy
for Node.js version (#7804)AsyncContextStrategy
(#7779)This release switches the SDK to use AsyncLocalStorage
as the async context isolation mechanism in the SDK for Node 14+. For Node 10 - 13, we continue to use the Node domain
standard library, since AsyncLocalStorage
is not supported there. Preliminary testing showed a 30% improvement in latency and rps when making the switch from domains to AsyncLocalStorage
on Node 16.
If you want to manually add async context isolation to your application, you can use the new runWithAsyncContext
API.
import * as Sentry from '@sentry/node';
const requestHandler = (ctx, next) => {
return new Promise((resolve) => {
Sentry.runWithAsyncContext(async () => {
const hub = Sentry.getCurrentHub();
hub.configureScope(scope =>
scope.addEventProcessor(event =>
Sentry.addRequestDataToEvent(event, ctx.request, {
include: {
user: false,
},
})
)
);
await next();
resolve();
});
});
};
If you're manually using domains to isolate Sentry data, we strongly recommend switching to this API!
In addition to exporting runWithAsyncContext
publicly, the SDK also uses it internally where we previously used domains.
withSentryViteConfig
(#7789)
This release removes our withSentryViteConfig
wrapper we previously instructed you to add to your vite.config.js
file. It is replaced Vite plugins which you simply add to your Vite config, just like the sveltekit()
Vite plugins. We believe this is a more transparent and Vite/SvelteKit-native way of applying build time modifications. Here's how to use the plugins:
// vite.config.js
import { sveltekit } from '@sveltejs/kit/vite';
import { sentrySvelteKit } from '@sentry/sveltekit';
export default {
plugins: [sentrySvelteKit(), sveltekit()],
// ... rest of your Vite config
};
Take a look at the README
for updated instructions!
Furthermore, with this transition, we removed the possibility to intialize the SDK in dedicated sentry.(client|server).config.js
files. Please use SvelteKit's hooks files to initialize the SDK.
Please note that these are breaking changes! We're sorry for the inconvenience but the SvelteKit SDK is still in alpha stage and we want to establish a clean and SvelteKit-friendly API before making the SDK stable. You have been warned ;)
This release adds automatic upload of source maps to the SvelteKit SDK. No need to configure anything other than adding our Vite plugins to your SDK. The example above shows you how to do this.
Please make sure to follow the README
to specify your Sentry auth token, as well as org and project slugs.
- feat(replay): Capture request & response headers (#7816)
Replay now captures the content-length
, content-type
, and accept
headers from requests and responses automatically.
getReplayId()
method (#7822)BrowserTransportOptions
to support offline transport options (#7775)applyDebugMetadata
for error events (#7824)reuseExisting
does not need to call bind on domain (#7780)trpcMiddleware
factory synchronous (#7802)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.04 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.66 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.59 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.12 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.19 KB |
@sentry/browser - Webpack (minified) | 69.07 KB |
@sentry/react - Webpack (gzipped + minified) | 21.21 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.06 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.61 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.85 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 45.35 KB |
@sentry/replay - Webpack (gzipped + minified) | 39.28 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 64.28 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 57.26 KB |
Published by getsentry-bot over 1 year ago
This release adds a new API, Sentry.captureUserFeedback
, to browser-side SDKs that allows you to send user feedback to Sentry without loading and opening Sentry's user feedback dialog. This allows you to obtain user feedback however and whenever you want to and simply send it to Sentry using the SDK.
For instance, you can collect feedback, whenever convenient as shown in this example:
const eventId = Sentry.captureMessage('User Feedback');
const user = Sentry.getCurrentHub().getScope().getUser();
const userFeedback = {
event_id: eventId;
email: user.email
name: user.username
comments: 'I really like your App, thanks!'
}
Sentry.captureUserFeedback(userFeedback);
Note that feedback needs to be coupled to an event but as in the example above, you can just use Sentry.captureMessage
to generate one.
You could also collect feedback in a custom way if an error happens and use the SDK to send it along:
Sentry.init({
dsn: '__DSN__',
beforeSend: event => {
const userFeedback = collectYourUserFeedback();
const feedback = {
...userFeedback,
event_id: event.event_id.
}
Sentry.captureUserFeedback(feedback);
return event;
}
})
@sentry/tracing
exports (#7611)With this release, we officially deprecate all exports from the @sentry/tracing
package, in favour of using them directly from the main SDK package. The @sentry/tracing
package will be removed in a future major release.
Please take a look at the Migration docs for more details.
fetch
(#7626)LocalVariables
integration on Node < v18 (#7748)Redirect
s as exceptions (#7731)handleErrorWithSentry
(#7674)Work in this release contributed by @de-don and @TrySound. Thank you for your contributions!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 20.89 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.29 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.44 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 57.75 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.06 KB |
@sentry/browser - Webpack (minified) | 68.73 KB |
@sentry/react - Webpack (gzipped + minified) | 21.09 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 48.87 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.45 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.68 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 44.88 KB |
@sentry/replay - Webpack (gzipped + minified) | 38.87 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 63.77 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 56.8 KB |