Closed renovate[bot] closed 8 months ago
success
success
success
terraform module.thadmin_routing.module.acm.aws_acm_certificate.this: Refreshing state... [id=arn:aws:acm:us-east-1:627002765486:certificate/565d3a00-d047-48f2-956a-aed08dd6956b] module.thadmin_routing.module.cloudfront.aws_cloudfront_origin_access_identity.this["s3_bucket"]: Refreshing state... [id=E3JOC36ODMBL65] module.thadmin_hosting.aws_s3_bucket.this: Refreshing state... [id=thalia-thadmin-staging] module.thadmin_routing.module.acm.aws_route53_record.validation["thadmin-staging.technicie.nl"]: Refreshing state... [id=Z3I4ZHBBD5NSHU__f4c1968cf0da5157d0f46ed63ecf426e.thadmin-staging.technicie.nl._CNAME] module.thadmin_routing.module.acm.aws_acm_certificate_validation.this: Refreshing state... [id=2022-03-15 04:55:50.004 +0000 UTC] module.thadmin_hosting.aws_s3_bucket_cors_configuration.this: Refreshing state... [id=thalia-thadmin-staging] module.thadmin_hosting.aws_s3_bucket_acl.this: Refreshing state... [id=thalia-thadmin-staging,private] module.thadmin_routing.module.cloudfront.aws_cloudfront_distribution.this[0]: Refreshing state... [id=E2ZP8HCBLISQFN] module.thadmin_routing.aws_s3_bucket_policy.bucket_policy: Refreshing state... [id=thalia-thadmin-staging] module.thadmin_routing.aws_route53_record.api: Refreshing state... [id=Z3I4ZHBBD5NSHU_thadmin-staging_A] module.thadmin_hosting.aws_s3_object.code_build_object["favicon-16x16.png"]: Refreshing state... [id=favicon-16x16.png] module.thadmin_hosting.aws_s3_object.code_build_object["js/973.ec832b24.js"]: Refreshing state... [id=js/973.ec832b24.js] module.thadmin_hosting.aws_s3_object.code_build_object["js/chunk-vendors.b30f29c8.js.map"]: Refreshing state... [id=js/chunk-vendors.b30f29c8.js.map] module.thadmin_hosting.aws_s3_object.code_build_object["js/app.21ab5eb2.js.map"]: Refreshing state... [id=js/app.21ab5eb2.js.map] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2388-1668.jpg"]: Refreshing state... [id=apple-splash-2388-1668.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-750-1334.jpg"]: Refreshing state... [id=apple-splash-750-1334.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["android-chrome-512x512.png"]: Refreshing state... [id=android-chrome-512x512.png] module.thadmin_hosting.aws_s3_object.code_build_object["favicon.svg"]: Refreshing state... [id=favicon.svg] module.thadmin_hosting.aws_s3_object.code_build_object["css/chunk-vendors.7eece550.css"]: Refreshing state... [id=css/chunk-vendors.7eece550.css] module.thadmin_hosting.aws_s3_object.code_build_object["browserconfig.xml"]: Refreshing state... [id=browserconfig.xml] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1792-828.jpg"]: Refreshing state... [id=apple-splash-1792-828.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-828-1792.jpg"]: Refreshing state... [id=apple-splash-828-1792.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["safari-pinned-tab.svg"]: Refreshing state... [id=safari-pinned-tab.svg] module.thadmin_hosting.aws_s3_object.code_build_object["mstile-144x144.png"]: Refreshing state... [id=mstile-144x144.png] module.thadmin_hosting.aws_s3_object.code_build_object["favicon-32x32.png"]: Refreshing state... [id=favicon-32x32.png] module.thadmin_hosting.aws_s3_object.code_build_object["favicon.ico"]: Refreshing state... [id=favicon.ico] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1136-640.jpg"]: Refreshing state... [id=apple-splash-1136-640.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1620-2160.jpg"]: Refreshing state... [id=apple-splash-1620-2160.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["js/chunk-vendors.b30f29c8.js"]: Refreshing state... [id=js/chunk-vendors.b30f29c8.js] module.thadmin_hosting.aws_s3_object.code_build_object["img/anonymousUser.c7a94bce.jpg"]: Refreshing state... [id=img/anonymousUser.c7a94bce.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1242-2208.jpg"]: Refreshing state... [id=apple-splash-1242-2208.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["mstile-310x310.png"]: Refreshing state... [id=mstile-310x310.png] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2778-1284.jpg"]: Refreshing state... [id=apple-splash-2778-1284.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2048-1536.jpg"]: Refreshing state... [id=apple-splash-2048-1536.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1242-2688.jpg"]: Refreshing state... [id=apple-splash-1242-2688.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1536-2048.jpg"]: Refreshing state... [id=apple-splash-1536-2048.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-640-1136.jpg"]: Refreshing state... [id=apple-splash-640-1136.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["mstile-70x70.png"]: Refreshing state... [id=mstile-70x70.png] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2208-1242.jpg"]: Refreshing state... [id=apple-splash-2208-1242.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1170-2532.jpg"]: Refreshing state... [id=apple-splash-1170-2532.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2224-1668.jpg"]: Refreshing state... [id=apple-splash-2224-1668.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["js/973.ec832b24.js.map"]: Refreshing state... [id=js/973.ec832b24.js.map] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2048-2732.jpg"]: Refreshing state... [id=apple-splash-2048-2732.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["img/backgroundImage.24f22a44.jpg"]: Refreshing state... [id=img/backgroundImage.24f22a44.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["mstile-310x150.png"]: Refreshing state... [id=mstile-310x150.png] module.thadmin_hosting.aws_s3_object.code_build_object["favicon.png"]: Refreshing state... [id=favicon.png] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1668-2388.jpg"]: Refreshing state... [id=apple-splash-1668-2388.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["index.html"]: Refreshing state... [id=index.html] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2532-1170.jpg"]: Refreshing state... [id=apple-splash-2532-1170.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2160-1620.jpg"]: Refreshing state... [id=apple-splash-2160-1620.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2436-1125.jpg"]: Refreshing state... [id=apple-splash-2436-1125.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2732-2048.jpg"]: Refreshing state... [id=apple-splash-2732-2048.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1668-2224.jpg"]: Refreshing state... [id=apple-splash-1668-2224.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["js/app.21ab5eb2.js"]: Refreshing state... [id=js/app.21ab5eb2.js] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1284-2778.jpg"]: Refreshing state... [id=apple-splash-1284-2778.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["site.webmanifest"]: Refreshing state... [id=site.webmanifest] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-2688-1242.jpg"]: Refreshing state... [id=apple-splash-2688-1242.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1334-750.jpg"]: Refreshing state... [id=apple-splash-1334-750.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["apple-touch-icon.png"]: Refreshing state... [id=apple-touch-icon.png] module.thadmin_hosting.aws_s3_object.code_build_object["css/app.5b725460.css"]: Refreshing state... [id=css/app.5b725460.css] module.thadmin_hosting.aws_s3_object.code_build_object["android-chrome-192x192.png"]: Refreshing state... [id=android-chrome-192x192.png] module.thadmin_hosting.aws_s3_object.code_build_object["apple-splash-1125-2436.jpg"]: Refreshing state... [id=apple-splash-1125-2436.jpg] module.thadmin_hosting.aws_s3_object.code_build_object["mstile-150x150.png"]: Refreshing state... [id=mstile-150x150.png] An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy Terraform will perform the following actions: # module.thadmin_hosting.aws_s3_object.code_build_object["img/backgroundImage.24f22a44.jpg"] will be updated in-place ~ resource "aws_s3_object" "code_build_object" { ~ etag = "407e69540c950ce3e893be2cbadd0f30-2" -> "5f59aad8b5eddf226c7e5a21939e4018" id = "img/backgroundImage.24f22a44.jpg" tags = {} + version_id = (known after apply) # (10 unchanged attributes hidden) } # module.thadmin_hosting.aws_s3_object.code_build_object["index.html"] will be updated in-place ~ resource "aws_s3_object" "code_build_object" { ~ etag = "d0b2d2d9f4d800cd420bb08305c585b6" -> "875e59c235f880a3e076ed5b1b76098c" id = "index.html" tags = {} + version_id = (known after apply) # (10 unchanged attributes hidden) } # module.thadmin_hosting.aws_s3_object.code_build_object["js/app.21ab5eb2.js"] will be destroyed - resource "aws_s3_object" "code_build_object" { - bucket = "thalia-thadmin-staging" -> null - bucket_key_enabled = false -> null - content_type = "text/javascript" -> null - etag = "c11f347b76fab95ff04ed9718ca9abeb" -> null - force_destroy = false -> null - id = "js/app.21ab5eb2.js" -> null - key = "js/app.21ab5eb2.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/app.21ab5eb2.js" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # module.thadmin_hosting.aws_s3_object.code_build_object["js/app.21ab5eb2.js.map"] will be destroyed - resource "aws_s3_object" "code_build_object" { - bucket = "thalia-thadmin-staging" -> null - bucket_key_enabled = false -> null - content_type = "application/octet-stream" -> null - etag = "de822c7d6442c23cf8f2f3cb52d040dc" -> null - force_destroy = false -> null - id = "js/app.21ab5eb2.js.map" -> null - key = "js/app.21ab5eb2.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/app.21ab5eb2.js.map" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # module.thadmin_hosting.aws_s3_object.code_build_object["js/app.5a4976a2.js"] will be created + resource "aws_s3_object" "code_build_object" { + acl = (known after apply) + bucket = "thalia-thadmin-staging" + bucket_key_enabled = (known after apply) + checksum_crc32 = (known after apply) + checksum_crc32c = (known after apply) + checksum_sha1 = (known after apply) + checksum_sha256 = (known after apply) + content_type = "text/javascript" + etag = "7d37e32bead201c41b096b20d8213c6d" + force_destroy = false + id = (known after apply) + key = "js/app.5a4976a2.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/app.5a4976a2.js" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # module.thadmin_hosting.aws_s3_object.code_build_object["js/app.5a4976a2.js.map"] will be created + resource "aws_s3_object" "code_build_object" { + acl = (known after apply) + bucket = "thalia-thadmin-staging" + bucket_key_enabled = (known after apply) + checksum_crc32 = (known after apply) + checksum_crc32c = (known after apply) + checksum_sha1 = (known after apply) + checksum_sha256 = (known after apply) + content_type = "application/octet-stream" + etag = "dba0eda9a0ce07264cc9ee6a837922e3" + force_destroy = false + id = (known after apply) + key = "js/app.5a4976a2.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/app.5a4976a2.js.map" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # module.thadmin_hosting.aws_s3_object.code_build_object["js/chunk-vendors.25772649.js"] will be created + resource "aws_s3_object" "code_build_object" { + acl = (known after apply) + bucket = "thalia-thadmin-staging" + bucket_key_enabled = (known after apply) + checksum_crc32 = (known after apply) + checksum_crc32c = (known after apply) + checksum_sha1 = (known after apply) + checksum_sha256 = (known after apply) + content_type = "text/javascript" + etag = "010c8d917ee274278e06b9626509f69c" + force_destroy = false + id = (known after apply) + key = "js/chunk-vendors.25772649.js" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/chunk-vendors.25772649.js" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # module.thadmin_hosting.aws_s3_object.code_build_object["js/chunk-vendors.25772649.js.map"] will be created + resource "aws_s3_object" "code_build_object" { + acl = (known after apply) + bucket = "thalia-thadmin-staging" + bucket_key_enabled = (known after apply) + checksum_crc32 = (known after apply) + checksum_crc32c = (known after apply) + checksum_sha1 = (known after apply) + checksum_sha256 = (known after apply) + content_type = "application/octet-stream" + etag = "5702f996266ae59d3df5459cb7341c0d" + force_destroy = false + id = (known after apply) + key = "js/chunk-vendors.25772649.js.map" + kms_key_id = (known after apply) + server_side_encryption = (known after apply) + source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/chunk-vendors.25772649.js.map" + storage_class = (known after apply) + tags_all = (known after apply) + version_id = (known after apply) } # module.thadmin_hosting.aws_s3_object.code_build_object["js/chunk-vendors.b30f29c8.js"] will be destroyed - resource "aws_s3_object" "code_build_object" { - bucket = "thalia-thadmin-staging" -> null - bucket_key_enabled = false -> null - content_type = "text/javascript" -> null - etag = "97beefb5ba5348d6665b61d173feb997" -> null - force_destroy = false -> null - id = "js/chunk-vendors.b30f29c8.js" -> null - key = "js/chunk-vendors.b30f29c8.js" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/chunk-vendors.b30f29c8.js" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } # module.thadmin_hosting.aws_s3_object.code_build_object["js/chunk-vendors.b30f29c8.js.map"] will be destroyed - resource "aws_s3_object" "code_build_object" { - bucket = "thalia-thadmin-staging" -> null - bucket_key_enabled = false -> null - content_type = "application/octet-stream" -> null - etag = "b8e120edf847b4332b3c51544cbf6444" -> null - force_destroy = false -> null - id = "js/chunk-vendors.b30f29c8.js.map" -> null - key = "js/chunk-vendors.b30f29c8.js.map" -> null - metadata = {} -> null - server_side_encryption = "AES256" -> null - source = "/home/runner/work/thadmin/thadmin/infra/modules/hosting/../../..//dist/js/chunk-vendors.b30f29c8.js.map" -> null - storage_class = "STANDARD" -> null - tags = {} -> null - tags_all = {} -> null } Plan: 4 to add, 2 to change, 4 to destroy. Warning: Value for undeclared variable The root module does not declare a variable named "aws_profile" but a value was found in file "terraform.tfvars". To use this value, add a "variable" block to the configuration. Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TF_VAR_... environment variables to set these instead. ------------------------------------------------------------------------ Note: You didn't specify an "-out" parameter to save this plan, so Terraform can't guarantee that exactly these actions will be performed if "terraform apply" is subsequently run.
This PR contains the following updates:
7.59.3
->7.91.0
7.59.3
->7.91.0
Release Notes
getsentry/sentry-javascript (@sentry/tracing)
### [`v7.91.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7910) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.90.0...7.91.0) ##### Important Changes - **feat: Add server runtime metrics aggregator ([#9894](https://togithub.com/getsentry/sentry-javascript/issues/9894))** The release adds alpha support for [Sentry developer metrics](https://togithub.com/getsentry/sentry/discussions/58584) in the server runtime SDKs (`@sentry/node`, `@sentry/deno`, `@sentry/nextjs` server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry. To enable capturing metrics, you first need to add the `metricsAggregator` experiment to your `Sentry.init` call. ```js Sentry.init({ dsn: '__DSN__', _experiments: { metricsAggregator: true, }, }); ``` Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace. ```js // Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named `parallel_requests`, tagged with `type: "a"` Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } }); // Add 4.6 to a distribution named `response_time` with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named `valuable.ids` Sentry.metrics.set('valuable.ids', 2); ``` - **feat(node): Rework ANR to use worker script via an integration ([#9945](https://togithub.com/getsentry/sentry-javascript/issues/9945))** The [ANR tracking integration for Node](https://docs.sentry.io/platforms/node/configuration/application-not-responding/) has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call `Sentry.enableANRDetection` before running your application, now you can simply add the `Anr` integration to your `Sentry.init` call. ```js import * as Sentry from '@sentry/node'; Sentry.init({ dsn: 'https://public@dsn.ingest.sentry.io/1337', integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })], }); ``` ##### Other Changes - feat(breadcrumbs): Send component names on UI breadcrumbs ([#9946](https://togithub.com/getsentry/sentry-javascript/issues/9946)) - feat(core): Add `getGlobalScope()` method ([#9920](https://togithub.com/getsentry/sentry-javascript/issues/9920)) - feat(core): Add `getIsolationScope()` method ([#9957](https://togithub.com/getsentry/sentry-javascript/issues/9957)) - feat(core): Add `span.end()` to replace `span.finish()` ([#9954](https://togithub.com/getsentry/sentry-javascript/issues/9954)) - feat(core): Ensure `startSpan` & `startSpanManual` fork scope ([#9955](https://togithub.com/getsentry/sentry-javascript/issues/9955)) - feat(react): Send component name on spans ([#9949](https://togithub.com/getsentry/sentry-javascript/issues/9949)) - feat(replay): Send component names in replay breadcrumbs ([#9947](https://togithub.com/getsentry/sentry-javascript/issues/9947)) - feat(sveltekit): Add options to configure fetch instrumentation script for CSP ([#9969](https://togithub.com/getsentry/sentry-javascript/issues/9969)) - feat(tracing): Send component name on interaction spans ([#9948](https://togithub.com/getsentry/sentry-javascript/issues/9948)) - feat(utils): Add function to extract relevant component name ([#9921](https://togithub.com/getsentry/sentry-javascript/issues/9921)) - fix(core): Rethrow caught promise rejections in `startSpan`, `startSpanManual`, `trace` ([#9958](https://togithub.com/getsentry/sentry-javascript/issues/9958)) ### [`v7.90.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7900) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.89.0...7.90.0) - feat(replay): Change to use preset quality values ([#9903](https://togithub.com/getsentry/sentry-javascript/issues/9903)) - fix(replay): Adjust development hydration error messages ([#9922](https://togithub.com/getsentry/sentry-javascript/issues/9922)) - fix(sveltekit): Add `types` field to package.json `exports` ([#9926](https://togithub.com/getsentry/sentry-javascript/issues/9926)) ### [`v7.89.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7890) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.88.0...7.89.0) ##### Important Changes ##### Deprecations - **feat(core): Deprecate `configureScope` ([#9887](https://togithub.com/getsentry/sentry-javascript/issues/9887))** - **feat(core): Deprecate `pushScope` & `popScope` ([#9890](https://togithub.com/getsentry/sentry-javascript/issues/9890))** This release deprecates `configureScope`, `pushScope`, and `popScope`, which will be removed in the upcoming v8 major release. ##### Hapi Integration - **feat(node): Add Hapi Integration ([#9539](https://togithub.com/getsentry/sentry-javascript/issues/9539))** This release adds an integration for Hapi. It can be used as follows: ```ts const Sentry = require('@sentry/node'); const Hapi = require('@hapi/hapi'); const init = async () => { const server = Hapi.server({ // your server configuration ... }); Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0, integrations: [ new Sentry.Integrations.Hapi({ server }), ], }); server.route({ // your route configuration ... }); await server.start(); }; ``` ##### SvelteKit 2.0 - **chore(sveltekit): Add SvelteKit 2.0 to peer dependencies ([#9861](https://togithub.com/getsentry/sentry-javascript/issues/9861))** This release adds support for SvelteKit 2.0 in the `@sentry/sveltekit` package. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary. ##### Other Changes - feat(core): Add type & utility for function-based integrations ([#9818](https://togithub.com/getsentry/sentry-javascript/issues/9818)) - feat(core): Update `withScope` to return callback return value ([#9866](https://togithub.com/getsentry/sentry-javascript/issues/9866)) - feat(deno): Support `Deno.CronSchedule` for cron jobs ([#9880](https://togithub.com/getsentry/sentry-javascript/issues/9880)) - feat(nextjs): Auto instrument generation functions ([#9781](https://togithub.com/getsentry/sentry-javascript/issues/9781)) - feat(nextjs): Connect server component transactions if there is no incoming trace ([#9845](https://togithub.com/getsentry/sentry-javascript/issues/9845)) - feat(node-experimental): Update to new Scope APIs ([#9799](https://togithub.com/getsentry/sentry-javascript/issues/9799)) - feat(replay): Add `canvas.type` setting ([#9877](https://togithub.com/getsentry/sentry-javascript/issues/9877)) - fix(nextjs): Export `createReduxEnhancer` ([#9854](https://togithub.com/getsentry/sentry-javascript/issues/9854)) - fix(remix): Do not capture thrown redirect responses. ([#9909](https://togithub.com/getsentry/sentry-javascript/issues/9909)) - fix(sveltekit): Add conditional exports ([#9872](https://togithub.com/getsentry/sentry-javascript/issues/9872)) - fix(sveltekit): Avoid capturing 404 errors on client side ([#9902](https://togithub.com/getsentry/sentry-javascript/issues/9902)) - fix(utils): Do not use `Event` type in worldwide ([#9864](https://togithub.com/getsentry/sentry-javascript/issues/9864)) - fix(utils): Support crypto.getRandomValues in old Chromium versions ([#9251](https://togithub.com/getsentry/sentry-javascript/issues/9251)) - fix(utils): Update `eventFromUnknownInput` to avoid scope pollution & `getCurrentHub` ([#9868](https://togithub.com/getsentry/sentry-javascript/issues/9868)) - ref: Use `addBreadcrumb` directly & allow to pass hint ([#9867](https://togithub.com/getsentry/sentry-javascript/issues/9867)) Work in this release contributed by [@adam187](https://togithub.com/adam187), and [@jghinestrosa](https://togithub.com/jghinestrosa). Thank you for your contributions! ### [`v7.88.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7880) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.87.0...7.88.0) ##### Important Changes - **feat(browser): Add browser metrics sdk ([#9794](https://togithub.com/getsentry/sentry-javascript/issues/9794))** The release adds alpha support for [Sentry developer metrics](https://togithub.com/getsentry/sentry/discussions/58584) in the Browser SDKs (`@sentry/browser` and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry. To enable capturing metrics, you first need to add the `MetricsAggregator` integration. ```js Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.metrics.MetricsAggregator(), ], }); ``` Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace. ```js // Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"` Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } }); // Add 4.6 to a distribution named `response_time` with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named `valuable.ids` Sentry.metrics.set('valuable.ids', 2); ``` In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.) - **feat(deno): Optionally instrument `Deno.cron` ([#9808](https://togithub.com/getsentry/sentry-javascript/issues/9808))** This releases add support for instrumenting [Deno cron's](https://deno.com/blog/cron) with [Sentry cron monitors](https://docs.sentry.io/product/crons/). This requires v1.38 of Deno run with the `--unstable` flag and the usage of the `DenoCron` Sentry integration. ```ts // Import from the Deno registry import * as Sentry from "https://deno.land/x/sentry/index.mjs"; Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.DenoCron(), ], }); ``` ##### Other Changes - feat(replay): Bump `rrweb` to 2.6.0 ([#9847](https://togithub.com/getsentry/sentry-javascript/issues/9847)) - fix(nextjs): Guard against injecting multiple times ([#9807](https://togithub.com/getsentry/sentry-javascript/issues/9807)) - ref(remix): Bump Sentry CLI to ^2.23.0 ([#9773](https://togithub.com/getsentry/sentry-javascript/issues/9773)) ### [`v7.87.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7870) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.86.0...7.87.0) - feat: Add top level `getCurrentScope()` method ([#9800](https://togithub.com/getsentry/sentry-javascript/issues/9800)) - feat(replay): Bump `rrweb` to 2.5.0 ([#9803](https://togithub.com/getsentry/sentry-javascript/issues/9803)) - feat(replay): Capture hydration error breadcrumb ([#9759](https://togithub.com/getsentry/sentry-javascript/issues/9759)) - feat(types): Add profile envelope types ([#9798](https://togithub.com/getsentry/sentry-javascript/issues/9798)) - fix(astro): Avoid RegExp creation during route interpolation ([#9815](https://togithub.com/getsentry/sentry-javascript/issues/9815)) - fix(browser): Avoid importing from `./exports` ([#9775](https://togithub.com/getsentry/sentry-javascript/issues/9775)) - fix(nextjs): Catch rejecting flushes ([#9811](https://togithub.com/getsentry/sentry-javascript/issues/9811)) - fix(nextjs): Fix devserver CORS blockage when `assetPrefix` is defined ([#9766](https://togithub.com/getsentry/sentry-javascript/issues/9766)) - fix(node): Capture errors in tRPC middleware ([#9782](https://togithub.com/getsentry/sentry-javascript/issues/9782)) ### [`v7.86.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.86.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.85.0...7.86.0) - feat(core): Use SDK_VERSION for hub API version ([#9732](https://togithub.com/getsentry/sentry-javascript/issues/9732)) - feat(nextjs): Emit warning if your app directory doesn't have a global-error.js file ([#9753](https://togithub.com/getsentry/sentry-javascript/issues/9753)) - feat(node): Add cloudflare pages commit sha ([#9751](https://togithub.com/getsentry/sentry-javascript/issues/9751)) - feat(remix): Bump [@sentry/cli](https://togithub.com/sentry/cli) to 2.22.3 ([#9741](https://togithub.com/getsentry/sentry-javascript/issues/9741)) - fix(nextjs): Don't accidentally trigger static generation bailout ([#9749](https://togithub.com/getsentry/sentry-javascript/issues/9749)) - fix(node): Guard `process.env.NODE_ENV` access in Spotlight integration ([#9748](https://togithub.com/getsentry/sentry-javascript/issues/9748)) - fix(utils): Fix XHR instrumentation early return ([#9770](https://togithub.com/getsentry/sentry-javascript/issues/9770)) - ref(remix): Rework Error Handling ([#9725](https://togithub.com/getsentry/sentry-javascript/issues/9725)) ### [`v7.85.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.85.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.84.0...7.85.0) - feat(core): Add `addEventProcessor` method ([#9554](https://togithub.com/getsentry/sentry-javascript/issues/9554)) - feat(crons): Add interface for heartbeat checkin ([#9706](https://togithub.com/getsentry/sentry-javascript/issues/9706)) - feat(feedback): Include Feedback package in browser SDK ([#9586](https://togithub.com/getsentry/sentry-javascript/issues/9586)) - fix(astro): Isolate request instrumentation in middleware ([#9709](https://togithub.com/getsentry/sentry-javascript/issues/9709)) - fix(replay): Capture JSON XHR response bodies ([#9623](https://togithub.com/getsentry/sentry-javascript/issues/9623)) - ref(feedback): Change form `box-shadow` to use CSS var ([#9630](https://togithub.com/getsentry/sentry-javascript/issues/9630)) ##### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 74.63 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 65.99 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.59 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 31.12 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped) | 29.72 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.38 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 71.22 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.97 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.62 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.7 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 198.31 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.73 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 64.71 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.29 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 66.35 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.42 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.07 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.21 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16.17 KB | ### [`v7.84.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.84.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.83.0...7.84.0) ##### Important Changes - **ref(nextjs): Set `automaticVercelMonitors` to be `false` by default ([#9697](https://togithub.com/getsentry/sentry-javascript/issues/9697))** From this version onwards the default for the `automaticVercelMonitors` option in the Next.js SDK is set to false. Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors. Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly. If you want to continue using this feature, make sure to set the `automaticVercelMonitors` flag to `true` in your `next.config.js` Sentry settings. ##### Other Changes - chore(astro): Add 4.0.0 preview versions to `astro` peer dependency range ([#9696](https://togithub.com/getsentry/sentry-javascript/issues/9696)) - feat(metrics): Add interfaces for metrics ([#9698](https://togithub.com/getsentry/sentry-javascript/issues/9698)) - feat(web-vitals): Vendor in INP from web-vitals library ([#9690](https://togithub.com/getsentry/sentry-javascript/issues/9690)) - fix(astro): Avoid adding the Sentry Vite plugin in dev mode ([#9688](https://togithub.com/getsentry/sentry-javascript/issues/9688)) - fix(nextjs): Don't match files called `middleware` in node_modules ([#9686](https://togithub.com/getsentry/sentry-javascript/issues/9686)) - fix(remix): Don't capture error responses that are not 5xx on Remix v2. ([#9655](https://togithub.com/getsentry/sentry-javascript/issues/9655)) - fix(tracing): Don't attach resource size if null ([#9669](https://togithub.com/getsentry/sentry-javascript/issues/9669)) - fix(utils): Regex match port to stop accidental replace ([#9676](https://togithub.com/getsentry/sentry-javascript/issues/9676)) - fix(utils): Try catch new URL when extracting query params ([#9675](https://togithub.com/getsentry/sentry-javascript/issues/9675)) ##### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 65.86 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.46 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 31.12 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.38 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.72 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.53 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.6 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 197.46 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.32 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 64.29 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.22 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 66.25 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.42 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.96 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.21 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16.19 KB | ### [`v7.83.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.83.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.82.0...7.83.0) - chore(astro): Allow Astro 4.0 in peer dependencies ([#9683](https://togithub.com/getsentry/sentry-javascript/issues/9683)) - feat(astro): Add `assets` option to source maps upload options ([#9668](https://togithub.com/getsentry/sentry-javascript/issues/9668)) - feat(react): Support `exactOptionalPropertyTypes` on `ErrorBoundary` ([#9098](https://togithub.com/getsentry/sentry-javascript/issues/9098)) - fix: Don't depend on browser types in `types` ([#9682](https://togithub.com/getsentry/sentry-javascript/issues/9682)) - fix(astro): Configure sourcemap assets directory for Vercel adapter ([#9665](https://togithub.com/getsentry/sentry-javascript/issues/9665)) - fix(remix): Check the error data before spreading. ([#9664](https://togithub.com/getsentry/sentry-javascript/issues/9664)) #### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 65.86 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 59.46 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 31.11 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.38 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.71 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.52 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.6 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 197.46 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.32 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 64.29 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.21 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 66.24 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.42 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.96 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.21 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16.19 KB | ### [`v7.82.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.82.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.81.1...7.82.0) - feat(astro): Automatically add Sentry middleware in Astro integration ([#9532](https://togithub.com/getsentry/sentry-javascript/issues/9532)) - feat(core): Add optional `setup` hook to integrations ([#9556](https://togithub.com/getsentry/sentry-javascript/issues/9556)) - feat(core): Add top level `getClient()` method ([#9638](https://togithub.com/getsentry/sentry-javascript/issues/9638)) - feat(core): Allow to pass `mechanism` as event hint ([#9590](https://togithub.com/getsentry/sentry-javascript/issues/9590)) - feat(core): Allow to use `continueTrace` without callback ([#9615](https://togithub.com/getsentry/sentry-javascript/issues/9615)) - feat(feedback): Add onClose callback to showReportDialog ([#9433](https://togithub.com/getsentry/sentry-javascript/issues/9433)) ([#9550](https://togithub.com/getsentry/sentry-javascript/issues/9550)) - feat(nextjs): Add request data to all edge-capable functionalities ([#9636](https://togithub.com/getsentry/sentry-javascript/issues/9636)) - feat(node): Add Spotlight option to Node SDK ([#9629](https://togithub.com/getsentry/sentry-javascript/issues/9629)) - feat(utils): Refactor `addInstrumentationHandler` to dedicated methods ([#9542](https://togithub.com/getsentry/sentry-javascript/issues/9542)) - fix: Make full url customizable for Spotlight ([#9652](https://togithub.com/getsentry/sentry-javascript/issues/9652)) - fix(astro): Remove Auth Token existence check ([#9651](https://togithub.com/getsentry/sentry-javascript/issues/9651)) - fix(nextjs): Fix middleware detection logic ([#9637](https://togithub.com/getsentry/sentry-javascript/issues/9637)) - fix(remix): Skip capturing aborted requests ([#9659](https://togithub.com/getsentry/sentry-javascript/issues/9659)) - fix(replay): Add `BODY_PARSE_ERROR` warning & time out fetch response load ([#9622](https://togithub.com/getsentry/sentry-javascript/issues/9622)) - fix(tracing): Filter out invalid resource sizes ([#9641](https://togithub.com/getsentry/sentry-javascript/issues/9641)) - ref: Hoist `RequestData` integration to `@sentry/core` ([#9597](https://togithub.com/getsentry/sentry-javascript/issues/9597)) - ref(feedback): Rename onDialog\* to onForm\*, remove onActorClick ([#9625](https://togithub.com/getsentry/sentry-javascript/issues/9625)) Work in this release contributed by [@arya-s](https://togithub.com/arya-s). Thank you for your contribution! ##### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 66.02 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 56.21 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 31.19 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.4 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 62.65 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.47 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.55 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 197.27 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 89.15 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 64.12 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 32.13 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 66.43 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.45 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 83.16 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.32 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16.19 KB | ### [`v7.81.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7811) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.81.0...7.81.1) - fix(astro): Remove method from span op ([#9603](https://togithub.com/getsentry/sentry-javascript/issues/9603)) - fix(deno): Make sure files get published ([#9611](https://togithub.com/getsentry/sentry-javascript/issues/9611)) - fix(nextjs): Use `globalThis` instead of `global` in edge runtime ([#9612](https://togithub.com/getsentry/sentry-javascript/issues/9612)) - fix(node): Improve error handling and shutdown handling for ANR ([#9548](https://togithub.com/getsentry/sentry-javascript/issues/9548)) - fix(tracing-internal): Fix case when originalURL contain query params ([#9531](https://togithub.com/getsentry/sentry-javascript/issues/9531)) Work in this release contributed by [@powerfulyang](https://togithub.com/powerfulyang), [@LubomirIgonda1](https://togithub.com/LubomirIgonda1), [@joshkel](https://togithub.com/joshkel), and [@alexgleason](https://togithub.com/alexgleason). Thank you for your contributions! ### [`v7.81.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7810) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.80.1...7.81.0) ##### Important Changes **- feat(nextjs): Add instrumentation utility for server actions ([#9553](https://togithub.com/getsentry/sentry-javascript/issues/9553))** This release adds a utility function `withServerActionInstrumentation` to the `@sentry/nextjs` SDK for instrumenting your Next.js server actions with error and performance monitoring. You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses: ```tsx import * as Sentry from "@sentry/nextjs"; import { headers } from "next/headers"; export default function ServerComponent() { async function myServerAction(formData: FormData) { "use server"; return await Sentry.withServerActionInstrumentation( "myServerAction", // The name you want to associate this Server Action with in Sentry { formData, // Optionally pass in the form data headers: headers(), // Optionally pass in headers recordResponse: true, // Optionally record the server action response }, async () => { // ... Your Server Action code return { name: "John Doe" }; } ); } return ( ); } ``` ##### Other Changes - docs(feedback): Example docs on `sendFeedback` ([#9560](https://togithub.com/getsentry/sentry-javascript/issues/9560)) - feat(feedback): Add `level` and remove breadcrumbs from feedback event ([#9533](https://togithub.com/getsentry/sentry-javascript/issues/9533)) - feat(vercel-edge): Add fetch instrumentation ([#9504](https://togithub.com/getsentry/sentry-javascript/issues/9504)) - feat(vue): Support Vue 3 lifecycle hooks in mixin options ([#9578](https://togithub.com/getsentry/sentry-javascript/issues/9578)) - fix(nextjs): Download CLI binary if it can't be found ([#9584](https://togithub.com/getsentry/sentry-javascript/issues/9584)) - ref: Deprecate `extractTraceParentData` from `@sentry/core` & downstream packages ([#9158](https://togithub.com/getsentry/sentry-javascript/issues/9158)) - ref(replay): Add further logging to network body parsing ([#9566](https://togithub.com/getsentry/sentry-javascript/issues/9566)) Work in this release contributed by [@snoozbuster](https://togithub.com/snoozbuster). Thank you for your contribution! ### [`v7.80.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.80.1) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.80.0...7.80.1) - fix(astro): Adjust Vite plugin config to upload server source maps ([#9541](https://togithub.com/getsentry/sentry-javascript/issues/9541)) - fix(nextjs): Add tracing extensions in all serverside wrappers ([#9537](https://togithub.com/getsentry/sentry-javascript/issues/9537)) - fix(nextjs): Fix serverside transaction names on Windows ([#9526](https://togithub.com/getsentry/sentry-javascript/issues/9526)) - fix(node): Fix tRPC middleware typing ([#9540](https://togithub.com/getsentry/sentry-javascript/issues/9540)) - fix(replay): Add additional safeguards for capturing network bodies ([#9506](https://togithub.com/getsentry/sentry-javascript/issues/9506)) - fix(tracing): Update prisma span to be `db.prisma` ([#9512](https://togithub.com/getsentry/sentry-javascript/issues/9512)) #### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 65.42 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.63 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 30.98 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.3 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 61.95 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.1 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.24 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 195.42 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.32 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 63.3 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.81 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 65.77 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.34 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.49 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.13 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16 KB | ### [`v7.80.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.80.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.79.0...7.80.0) - feat(astro): Add distributed tracing via `` tags ([#9483](https://togithub.com/getsentry/sentry-javascript/issues/9483)) - feat(node): Capture internal server errors in trpc middleware ([#9482](https://togithub.com/getsentry/sentry-javascript/issues/9482)) - feat(remix): Export a type to use for `MetaFunction` parameters ([#9493](https://togithub.com/getsentry/sentry-javascript/issues/9493)) - fix(astro): Mark SDK package as Astro-external ([#9509](https://togithub.com/getsentry/sentry-javascript/issues/9509)) - ref(nextjs): Don't initialize Server SDK during build ([#9503](https://togithub.com/getsentry/sentry-javascript/issues/9503)) #### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 65.25 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.49 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 30.98 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.3 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 61.83 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.1 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.24 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 194.91 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.32 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 63.3 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.81 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 65.61 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.34 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.35 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.13 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 15.98 KB | ### [`v7.79.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.79.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.78.0...7.79.0) - feat(tracing): Add span `origin` to trace context ([#9472](https://togithub.com/getsentry/sentry-javascript/issues/9472)) - fix(deno): Emit .mjs files ([#9485](https://togithub.com/getsentry/sentry-javascript/issues/9485)) - fix(nextjs): Flush servercomponent events for edge ([#9487](https://togithub.com/getsentry/sentry-javascript/issues/9487)) ### [`v7.78.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.78.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.77.0...7.78.0) ##### Important Changes - **Replay Bundle Size improvements** We've dramatically decreased the bundle size of our Replay package, reducing the minified & gzipped bundle size by ~20 KB! This was possible by extensive use of tree shaking and a host of small changes to reduce our footprint: - feat(replay): Update rrweb to 2.2.0 ([#9414](https://togithub.com/getsentry/sentry-javascript/issues/9414)) - ref(replay): Use fflate instead of pako for compression ([#9436](https://togithub.com/getsentry/sentry-javascript/issues/9436)) By using [tree shaking](https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/) it is possible to shave up to 10 additional KB off the bundle. ##### Other Changes - feat(astro): Add Sentry middleware ([#9445](https://togithub.com/getsentry/sentry-javascript/issues/9445)) - feat(feedback): Add "outline focus" and "foreground hover" vars ([#9462](https://togithub.com/getsentry/sentry-javascript/issues/9462)) - feat(feedback): Add `openDialog` and `closeDialog` onto integration interface ([#9464](https://togithub.com/getsentry/sentry-javascript/issues/9464)) - feat(feedback): Implement new user feedback embeddable widget ([#9217](https://togithub.com/getsentry/sentry-javascript/issues/9217)) - feat(nextjs): Add automatic sourcemapping for edge part of the SDK ([#9454](https://togithub.com/getsentry/sentry-javascript/issues/9454)) - feat(nextjs): Add client routing instrumentation for app router ([#9446](https://togithub.com/getsentry/sentry-javascript/issues/9446)) - feat(node-experimental): Add hapi tracing support ([#9449](https://togithub.com/getsentry/sentry-javascript/issues/9449)) - feat(replay): Allow to configure `beforeErrorSampling` ([#9470](https://togithub.com/getsentry/sentry-javascript/issues/9470)) - feat(replay): Stop fixing truncated JSONs in SDK ([#9437](https://togithub.com/getsentry/sentry-javascript/issues/9437)) - fix(nextjs): Fix sourcemaps resolving for local dev when basePath is set ([#9457](https://togithub.com/getsentry/sentry-javascript/issues/9457)) - fix(nextjs): Only inject basepath in dev mode ([#9465](https://togithub.com/getsentry/sentry-javascript/issues/9465)) - fix(replay): Ensure we stop for rate limit headers ([#9420](https://togithub.com/getsentry/sentry-javascript/issues/9420)) - ref(feedback): Add treeshaking for logger statements ([#9475](https://togithub.com/getsentry/sentry-javascript/issues/9475)) - ref(replay): Use rrweb for slow click detection ([#9408](https://togithub.com/getsentry/sentry-javascript/issues/9408)) - build(polyfills): Remove output format specific logic ([#9467](https://togithub.com/getsentry/sentry-javascript/issues/9467)) ##### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 65.24 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.48 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 30.97 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 21.29 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 61.82 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.09 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.23 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 194.87 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.28 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 63.28 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.8 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 65.61 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 21.34 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.34 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 48.12 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 15.81 KB | ### [`v7.77.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7770) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.76.0...7.77.0) - feat: Move LinkedErrors integration to [@sentry/core](https://togithub.com/sentry/core) ([#9404](https://togithub.com/getsentry/sentry-javascript/issues/9404)) - feat(remix): Update sentry-cli version to ^2.21.2 ([#9401](https://togithub.com/getsentry/sentry-javascript/issues/9401)) - feat(replay): Allow to treeshake & configure compression worker URL ([#9409](https://togithub.com/getsentry/sentry-javascript/issues/9409)) - fix(angular-ivy): Adjust package entry points to support Angular 17 with SSR config ([#9412](https://togithub.com/getsentry/sentry-javascript/issues/9412)) - fix(feedback): Fixing feedback import ([#9403](https://togithub.com/getsentry/sentry-javascript/issues/9403)) - fix(nextjs): Match only numbers as orgid in tunnelRoute ([#9416](https://togithub.com/getsentry/sentry-javascript/issues/9416)) - fix(nextjs): Strictly validate tunnel target parameters ([#9415](https://togithub.com/getsentry/sentry-javascript/issues/9415)) - fix(utils): Avoid keeping a reference of last used event ([#9387](https://togithub.com/getsentry/sentry-javascript/issues/9387)) ### [`v7.76.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7760) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.75.1...7.76.0) ##### Important Changes - **feat(core): Add cron monitor wrapper helper ([#9395](https://togithub.com/getsentry/sentry-javascript/issues/9395))** This release adds `Sentry.withMonitor()`, a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures: ```ts import * as Sentry from '@sentry/node'; // withMonitor() will send checkin when callback is started/finished // works with async and sync callbacks. const result = Sentry.withMonitor( 'dailyEmail', () => { // withCheckIn return value is same return value here return sendEmail(); }, // Optional upsert options { schedule: { type: 'crontab', value: '0 * * * *', }, // π¨π¦π«‘ timezone: 'Canada/Eastern', }, ); ``` ##### Other Changes - chore(angular-ivy): Allow Angular 17 in peer dependencies ([#9386](https://togithub.com/getsentry/sentry-javascript/issues/9386)) - feat(nextjs): Instrument SSR page components ([#9346](https://togithub.com/getsentry/sentry-javascript/issues/9346)) - feat(nextjs): Trace errors in page component SSR ([#9388](https://togithub.com/getsentry/sentry-javascript/issues/9388)) - fix(nextjs): Instrument route handlers with `jsx` and `tsx` file extensions ([#9362](https://togithub.com/getsentry/sentry-javascript/issues/9362)) - fix(nextjs): Trace with performance disabled ([#9389](https://togithub.com/getsentry/sentry-javascript/issues/9389)) - fix(replay): Ensure `replay_id` is not added to DSC if session expired ([#9359](https://togithub.com/getsentry/sentry-javascript/issues/9359)) - fix(replay): Remove unused parts of pako from build ([#9369](https://togithub.com/getsentry/sentry-javascript/issues/9369)) - fix(serverless): Don't mark all errors as unhandled ([#9368](https://togithub.com/getsentry/sentry-javascript/issues/9368)) - fix(tracing-internal): Fix case when middleware contain array of routes with special chars as @ ([#9375](https://togithub.com/getsentry/sentry-javascript/issues/9375)) - meta(nextjs): Bump peer deps for Next.js 14 ([#9390](https://togithub.com/getsentry/sentry-javascript/issues/9390)) Work in this release contributed by [@LubomirIgonda1](https://togithub.com/LubomirIgonda1). Thank you for your contribution! ### [`v7.75.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7751) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.75.0...7.75.1) - feat(browser): Allow collecting of pageload profiles ([#9317](https://togithub.com/getsentry/sentry-javascript/issues/9317)) - fix(browser): Correct timestamp on pageload profiles ([#9350](https://togithub.com/getsentry/sentry-javascript/issues/9350)) - fix(nextjs): Use webpack plugin release value to inject release ([#9348](https://togithub.com/getsentry/sentry-javascript/issues/9348)) ### [`v7.75.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.75.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.74.1...7.75.0) ##### Important Changes - **feat(opentelemetry): Add new `@sentry/opentelemetry` package ([#9238](https://togithub.com/getsentry/sentry-javascript/issues/9238))** This release publishes a new package, `@sentry/opentelemetry`. This is a runtime agnostic replacement for `@sentry/opentelemetry-node` and exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry. You can read more about [@sentry/opentelemetry in the Readme](https://togithub.com/getsentry/sentry-javascript/tree/develop/packages/opentelemetry). - **feat(replay): Allow to treeshake rrweb features ([#9274](https://togithub.com/getsentry/sentry-javascript/issues/9274))** Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size: - `__RRWEB_EXCLUDE_CANVAS__` - `__RRWEB_EXCLUDE_IFRAME__` - `__RRWEB_EXCLUDE_SHADOW_DOM__` You can read more about [tree shaking in our docs](https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/). ##### Other Changes - build(deno): Prepare Deno SDK for release on npm ([#9281](https://togithub.com/getsentry/sentry-javascript/issues/9281)) - feat: Remove tslib ([#9299](https://togithub.com/getsentry/sentry-javascript/issues/9299)) - feat(node): Add abnormal session support for ANR ([#9268](https://togithub.com/getsentry/sentry-javascript/issues/9268)) - feat(node): Remove `lru_map` dependency ([#9300](https://togithub.com/getsentry/sentry-javascript/issues/9300)) - feat(node): Vendor `cookie` module ([#9308](https://togithub.com/getsentry/sentry-javascript/issues/9308)) - feat(replay): Share performance instrumentation with tracing ([#9296](https://togithub.com/getsentry/sentry-javascript/issues/9296)) - feat(types): Add missing Profiling types (macho debug image, profile measurements, stack frame properties) ([#9277](https://togithub.com/getsentry/sentry-javascript/issues/9277)) - feat(types): Add statsd envelope types ([#9304](https://togithub.com/getsentry/sentry-javascript/issues/9304)) - fix(astro): Add integration default export to types entry point ([#9337](https://togithub.com/getsentry/sentry-javascript/issues/9337)) - fix(astro): Convert SDK init file import paths to POSIX paths ([#9336](https://togithub.com/getsentry/sentry-javascript/issues/9336)) - fix(astro): Make `Replay` and `BrowserTracing` integrations tree-shakeable ([#9287](https://togithub.com/getsentry/sentry-javascript/issues/9287)) - fix(integrations): Fix transaction integration ([#9334](https://togithub.com/getsentry/sentry-javascript/issues/9334)) - fix(nextjs): Restore `autoInstrumentMiddleware` functionality ([#9323](https://togithub.com/getsentry/sentry-javascript/issues/9323)) - fix(nextjs): Guard for case where `getInitialProps` may return undefined ([#9342](https://togithub.com/getsentry/sentry-javascript/issues/9342)) - fix(node-experimental): Make node-fetch support optional ([#9321](https://togithub.com/getsentry/sentry-javascript/issues/9321)) - fix(node): Check buffer length when attempting to parse ANR frame ([#9314](https://togithub.com/getsentry/sentry-javascript/issues/9314)) - fix(replay): Fix xhr start timestamps ([#9341](https://togithub.com/getsentry/sentry-javascript/issues/9341)) - fix(tracing-internal): Remove query params from urls with a trailing slash ([#9328](https://togithub.com/getsentry/sentry-javascript/issues/9328)) - fix(types): Remove typo with CheckInEnvelope ([#9303](https://togithub.com/getsentry/sentry-javascript/issues/9303)) #### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 82.66 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 71.77 KB | | [@sentry/browser](https://togithub.com/sentry/browConfiguration
π Schedule: Branch creation - "every weekday except on Monday,every weekend,before 5pm on Monday" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.