Skip to content

ref(flags/v8): rename unleash integration param #15344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 101 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
0f6ef9a
ci(v8): Ensure CI runs on v8 & v9 branches (#14604) (#14727)
mydea Dec 16, 2024
323a38c
meta(changelog): Update changelog for 8.45.1 (#14722)
andreiborza Dec 16, 2024
3690d62
release: 8.45.1
getsentry-bot Dec 16, 2024
f6ef5a1
Merge branch 'release/8.45.1' into v8
Dec 16, 2024
85952db
chore(craft): Publish only aws v8 layer (#14703)
andreiborza Dec 16, 2024
c698ad9
feat: Allow capture of more than 1 ANR event [v8] (#14713)
timfish Dec 16, 2024
6e682c4
fix: Normalise ANR debug image file paths if appRoot was supplied [v8…
timfish Dec 16, 2024
9527563
feat(node): Detect Railway release name [v8] (#14714)
AbhiPrasad Dec 16, 2024
d32bf15
fix(nuxt): Remove build config from tsconfig (#14737)
s1gr1d Dec 16, 2024
dcc5742
ref(flags): don't export FeatureFlagContext in types-hoist/context.ts…
aliu39 Dec 16, 2024
0e5e77a
meta(changelog): Update changelog for 8.46.0
s1gr1d Dec 16, 2024
ea72950
Merge pull request #14739 from getsentry/changelog-8.46.0
s1gr1d Dec 17, 2024
5387fde
release: 8.46.0
getsentry-bot Dec 17, 2024
e80eefe
Merge branch 'release/8.46.0' into v8
Dec 17, 2024
3a7743c
feat(core): Add `updateSpanName` helper function [v8] (#14736)
Lms24 Dec 17, 2024
9c53d48
feat(v8/node/deps): Bump @prisma/instrumentation from 5.19.1 to 5.22.…
mydea Dec 17, 2024
8e0db86
chore(docs): Add docs for how to publish a release for previous major…
andreiborza Dec 18, 2024
37fbd75
feat(v8/node): Do not overwrite prisma `db.system` in newer Prisma ve…
mydea Dec 18, 2024
b1d393e
ref(v8/nextjs): Fix typo in source maps deletion warning (#14776)
Lms24 Dec 18, 2024
8107512
feat(v8/replay): Mask srcdoc iframe contents per default (#14779)
chargome Dec 18, 2024
8a7b29e
meta: Update changelog for 8.47.0 (#14777)
Lms24 Dec 18, 2024
eac1a88
release: 8.47.0
getsentry-bot Dec 18, 2024
b6c84fa
Merge branch 'release/8.47.0' into v8
Dec 18, 2024
01a2571
fix(nestjs/v8): Use correct main/module path in package.json (#14791)
AbhiPrasad Dec 19, 2024
d3f52cf
feat(v8/core): Deprecate `getDomElement` method (#14799)
mydea Dec 19, 2024
e7b3530
fix(v8/node): Ensure `NODE_OPTIONS` is not passed to worker threads (…
timfish Dec 23, 2024
bc7e87f
fix(v8/node): Correctly resolve debug IDs for ANR events with custom …
timfish Dec 23, 2024
3693a5d
fix(v8/angular): Fall back to element `tagName` when name is not prov…
Lms24 Dec 23, 2024
b578a71
fix(aws-lambda): Remove version suffix from lambda layer (#14843)
andreiborza Dec 27, 2024
75ca8b9
meta(changelog): Update changelog for 8.48.0 (#14844)
andreiborza Dec 27, 2024
576a1ad
fix(v8/core): Use consistent `continueTrace` implementation in core (…
s1gr1d Dec 30, 2024
960dd9b
fix(v8/node): Ensure express requests are properly handled (#14851)
mydea Dec 30, 2024
dbd3296
feat(v8/node): Add `openTelemetrySpanProcessors` option (#14853)
mydea Dec 30, 2024
845b7aa
fix(v8/react): Improve handling of routes nested under path="/" (#14897)
onurtemizkan Jan 3, 2025
6fa3797
feat(v8/core): Add `normalizedRequest` to `samplingContext` (#14903)
s1gr1d Jan 7, 2025
77cabfb
fix(v8/react): Use `Set` as the `allRoutes` container. (#14878) (#14884)
chargome Jan 7, 2025
8b03e0b
fix(v8/feedback): Avoid lazy loading code for `syncFeedbackIntegratio…
mydea Jan 7, 2025
8e2ed6f
meta(changelog): Update changelog for 8.48.0 (#14919)
andreiborza Jan 7, 2025
405ceb4
release: 8.48.0
getsentry-bot Jan 7, 2025
e31e1c5
Merge branch 'release/8.48.0' into v8
Jan 7, 2025
785aab3
fix(profiling/v8): Don't put `require`, `__filename` and `__dirname` …
lforst Jan 9, 2025
8926cb7
fix(v8/vue): Re-throw error when no errorHandler exists (#14943)
s1gr1d Jan 9, 2025
af00c8f
fix(v8/sveltekit): Ensure source maps deletion is called after source…
Lms24 Jan 9, 2025
5182853
chore(v8/repo): Add missing v7 changelog entries (#14961)
Lms24 Jan 10, 2025
fda1aee
feat(v8/react): Add a `handled` prop to ErrorBoundary (#14978)
Lms24 Jan 10, 2025
0c3b2a4
fix(v8/replay): Disable mousemove sampling in rrweb for iOS browsers …
chargome Jan 10, 2025
798a932
feat(v8/browser): Flush offline queue on flush and browser online eve…
timfish Jan 13, 2025
286f6b0
test(v8/e2e): Fix node-express test transitive dependency (#15004)
mydea Jan 14, 2025
f5ac627
fix(v8/node): Enforce that ContextLines integration does not leave op…
AbhiPrasad Jan 14, 2025
629fba2
meta(changelog): Update CHANGELOG for 8.49.0 (#15019)
AbhiPrasad Jan 15, 2025
db51933
release: 8.49.0
getsentry-bot Jan 15, 2025
5144754
Merge branch 'release/8.49.0' into v8
Jan 15, 2025
6f9bc8b
feat(v8/react): Add support for React Router `createMemoryRouter` (#1…
onurtemizkan Jan 15, 2025
b93864e
meta(changelog): Update changelog for 8.50.0 (#15025)
lforst Jan 15, 2025
70efdde
release: 8.50.0
getsentry-bot Jan 15, 2025
9ccf2bf
Merge branch 'release/8.50.0' into v8
Jan 15, 2025
40d9b9f
test(v8/browser): Unflake browser request test (#15055)
Lms24 Jan 17, 2025
50b0294
fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
Lms24 Jan 17, 2025
2bc3584
feat(v8/browser): Add `multiplexedtransport.js` CDN bundle (#15043) (…
Lms24 Jan 17, 2025
dd2201e
chore(v8/deps): Upgrade to Vitest 2.1.8 and Vite 5.4.11 (#15038)
nwalters512 Jan 17, 2025
d296ce0
fix(v8/core): `fatal` events should set session as crashed (#15073)
timfish Jan 20, 2025
8b870ba
fix(v8/node/nestjs): Use method on current fastify request (#15104)
chargome Jan 21, 2025
5f47fbb
chore(v8/deps): Deduplicate yarn.lock (#15094)
nwalters512 Jan 21, 2025
b0dc860
feat(flags/v8): Add Unleash integration (#14948)
aliu39 Jan 21, 2025
79c2c2a
feat(deno): Deprecate Deno SDK as published on deno.land (#15121)
lforst Jan 22, 2025
d7aa93f
feat(v8/sveltekit): Deprecate `fetchProxyScriptNonce` option (#15011)
Lms24 Jan 22, 2025
d9138ff
feat(node/v8): Add `prismaInstrumentation` option to Prisma integrati…
lforst Jan 22, 2025
e9a5f00
meta: Update Changelog for 8.51.0 (#15113)
Lms24 Jan 22, 2025
3a0e160
release: 8.51.0
getsentry-bot Jan 22, 2025
d5f80af
Merge branch 'release/8.51.0' into v8
Jan 22, 2025
a76f243
feat(v8/solidstart): Add `withSentry` wrapper for SolidStart config (…
s1gr1d Jan 23, 2025
b468ab0
feat(v8/core): Add client outcomes for breadcrumbs buffer (#15149)
AbhiPrasad Jan 24, 2025
a3ddff6
feat(v8/core): Improve error formatting in ZodErrors integration (#15…
AbhiPrasad Jan 24, 2025
fe0272a
fix(v8/bun): Ensure instrumentation of `Bun.serve` survives a server …
AbhiPrasad Jan 27, 2025
3fa3510
test(v8/e2e): Unflake replay recording data optional e2e test (#15168…
Lms24 Jan 27, 2025
4a83c9a
test(v8/e2e): Avoid making request to example.com in nextjs e2e test …
Lms24 Jan 27, 2025
cb6aca7
fix(v8/core): Pass `module` into `loadModule` (#15139) (#15166)
Lms24 Jan 27, 2025
a6f7300
meta(changelog): Update CHANGELOG for 8.52.0 (#15177)
AbhiPrasad Jan 27, 2025
bbafacb
release: 8.52.0
getsentry-bot Jan 27, 2025
42969d7
Merge branch 'release/8.52.0' into v8
Jan 28, 2025
0cfcd6f
ci(v8): Pin node-integration-test version to `18.20.5` (#15221)
mydea Jan 29, 2025
4574acc
test(v8): Fix nextjs build warning (#15226)
mydea Jan 29, 2025
a0470da
ref(v8/core): Don't set `this.name` to `new.target.prototype.construc…
mydea Jan 30, 2025
6152ef5
ref(v8/browser): Add protocol attributes to resource spans (#15224)
Lms24 Jan 30, 2025
0114ba4
meta: Update changelog for 8.52.1 (#15230)
Lms24 Jan 30, 2025
42011b5
release: 8.52.1
getsentry-bot Jan 30, 2025
36bdc47
Merge branch 'release/8.52.1' into v8
Jan 30, 2025
4df3759
feat(v8/nuxt): Add `url` to `SourcemapsUploadOptions` (#15202)
Lms24 Jan 31, 2025
ef4f210
fix(v8/react): From location can be undefined in Tanstack Router Inst…
Lms24 Jan 31, 2025
f08e613
meta: Update Changelog for 8.53.0 (#15243)
Lms24 Jan 31, 2025
3d8b132
release: 8.53.0
getsentry-bot Jan 31, 2025
13aadde
Merge branch 'release/8.53.0' into v8
Jan 31, 2025
3673689
feat(v8/deps): Upgrade all OpenTelemetry dependencies (#15098)
nwalters512 Jan 31, 2025
b6a4a4a
fix(node/v8): Add compatibility layer for Prisma v5 (#15210)
lforst Feb 3, 2025
ff4fb5f
meta(changelog): Update changelog for 8.54.0 (#15261)
andreiborza Feb 3, 2025
e9a45fe
release: 8.54.0
getsentry-bot Feb 3, 2025
d7ec8a9
Merge branch 'release/8.54.0' into v8
Feb 3, 2025
d459577
fix(v8/svelte): Guard component tracking `beforeUpdate` call (#15262)
Lms24 Feb 3, 2025
6305a0c
fix(v8/nuxt): Detect Azure Function runtime for flushing with timeout…
s1gr1d Feb 5, 2025
ca47b56
ref(flags): rename unleash integration param w/backwards compatibilit…
aliu39 Feb 7, 2025
a29b61e
Biome check
aliu39 Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 1 addition & 16 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,26 +142,11 @@ targets:
id: '@sentry-internal/eslint-config-sdk'
includeNames: /^sentry-internal-eslint-config-sdk-\d.*\.tgz$/

# TODO(v9): Remove this target
# NOTE: We publish the v8 layer under its own name so people on v8 can still get patches
# whenever we release a new v8 version—otherwise we would overwrite the current major lambda layer.
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
layerName: SentryNodeServerlessSDKv8
compatibleRuntimes:
- name: node
versions:
- nodejs10.x
- nodejs12.x
- nodejs14.x
- nodejs16.x
- nodejs18.x
- nodejs20.x
license: MIT

# AWS Lambda Layer target
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
# TODO(v9): change to `SentryNodeServerlessSDKv8` once v9 is released
layerName: SentryNodeServerlessSDK
compatibleRuntimes:
- name: node
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- develop
- master
- v9
- v8
- release/**
pull_request:
merge_group:
Expand Down Expand Up @@ -105,7 +107,7 @@ jobs:
outputs:
commit_label: '${{ env.COMMIT_SHA }}: ${{ env.COMMIT_MESSAGE }}'
# Note: These next three have to be checked as strings ('true'/'false')!
is_develop: ${{ github.ref == 'refs/heads/develop' }}
is_base_branch: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/v9' || github.ref == 'refs/heads/v8'}}
is_release: ${{ startsWith(github.ref, 'refs/heads/release/') }}
changed_profiling_node: ${{ steps.changed.outputs.profiling_node == 'true' }}
changed_ci: ${{ steps.changed.outputs.workflow == 'true' }}
Expand All @@ -126,7 +128,7 @@ jobs:
timeout-minutes: 15
if: |
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
needs.job_get_metadata.outputs.is_develop == 'true' ||
needs.job_get_metadata.outputs.is_base_branch == 'true' ||
needs.job_get_metadata.outputs.is_release == 'true' ||
(needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'false')
steps:
Expand Down Expand Up @@ -171,7 +173,7 @@ jobs:
key: nx-Linux-${{ github.ref }}-${{ env.HEAD_COMMIT || github.sha }}
# On develop branch, we want to _store_ the cache (so it can be used by other branches), but never _restore_ from it
restore-keys:
${{needs.job_get_metadata.outputs.is_develop == 'false' && env.NX_CACHE_RESTORE_KEYS || 'nx-never-restore'}}
${{needs.job_get_metadata.outputs.is_base_branch == 'false' && env.NX_CACHE_RESTORE_KEYS || 'nx-never-restore'}}

- name: Build packages
# Set the CODECOV_TOKEN for Bundle Analysis
Expand Down Expand Up @@ -219,7 +221,7 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-20.04
if:
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_develop == 'true' ||
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_base_branch == 'true' ||
needs.job_get_metadata.outputs.is_release == 'true'
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
Expand Down Expand Up @@ -713,7 +715,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 16, 18, 20, 22]
node: [14, 16, '18.20.5', 20, 22]
typescript:
- false
include:
Expand All @@ -736,8 +738,8 @@ jobs:
node_version: ${{ matrix.node == 14 && '14' || '' }}

- name: Overwrite typescript version
if: matrix.typescript
run: node ./scripts/use-ts-version.js ${{ matrix.typescript }}
if: matrix.typescript == '3.8'
run: node ./scripts/use-ts-3_8.js
working-directory: dev-packages/node-integration-tests

- name: Run integration tests
Expand Down Expand Up @@ -1207,7 +1209,8 @@ jobs:
- name: Run E2E test
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
timeout-minutes: 10
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:assert
run: |
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:assert

job_required_jobs_passed:
name: All required jobs passed or were skipped
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/enforce-license-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@ name: "CI: Enforce License Compliance"

on:
push:
branches: [master, develop, release/*]
branches:
- develop
- master
- v9
- v8
- release/**
pull_request:
branches: [master, develop]
branches:
- develop
- master
- v9
- v8

jobs:
enforce-license-compliance:
Expand Down
4 changes: 2 additions & 2 deletions .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ module.exports = [
path: 'packages/browser/build/npm/esm/index.js',
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
gzip: true,
limit: '75 KB',
limit: '76 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay) - with treeshaking flags',
path: 'packages/browser/build/npm/esm/index.js',
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
gzip: true,
limit: '68 KB',
limit: '68.5 KB',
modifyWebpackConfig: function (config) {
const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');
Expand Down
186 changes: 186 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,192 @@

- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott

## 8.54.0

- feat(v8/deps): Upgrade all OpenTelemetry dependencies ([#15098](https://github.com/getsentry/sentry-javascript/pull/15098))
- fix(node/v8): Add compatibility layer for Prisma v5 ([#15210](https://github.com/getsentry/sentry-javascript/pull/15210))

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

## 8.53.0

- feat(v8/nuxt): Add `url` to `SourcemapsUploadOptions` (#15202)
- fix(v8/react): `fromLocation` can be undefined in Tanstack Router Instrumentation (#15237)

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

## 8.52.1

- fix(v8/nextjs): Fix nextjs build warning (#15226)
- ref(v8/browser): Add protocol attributes to resource spans #15224
- ref(v8/core): Don't set `this.name` to `new.target.prototype.constructor.name` (#15222)

Work in this release was contributed by @Zen-cronic. Thank you for your contribution!

## 8.52.0

### Important Changes

- **feat(solidstart): Add `withSentry` wrapper for SolidStart config ([#15135](https://github.com/getsentry/sentry-javascript/pull/15135))**

To enable the SolidStart SDK, wrap your SolidStart Config with `withSentry`. The `sentrySolidStartVite` plugin is now automatically
added by `withSentry` and you can pass the Sentry build-time options like this:

```js
import { defineConfig } from '@solidjs/start/config';
import { withSentry } from '@sentry/solidstart';

export default defineConfig(
withSentry(
{
/* Your SolidStart config options... */
},
{
// Options for setting up source maps
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
},
),
);
```

With the `withSentry` wrapper, the Sentry server config should not be added to the `public` directory anymore.
Add the Sentry server config in `src/instrument.server.ts`. Then, the server config will be placed inside the server build output as `instrument.server.mjs`.

Now, there are two options to set up the SDK:

1. **(recommended)** Provide an `--import` CLI flag to the start command like this (path depends on your server setup):
`node --import ./.output/server/instrument.server.mjs .output/server/index.mjs`
2. Add `autoInjectServerSentry: 'top-level-import'` and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)
```js
withSentry(
{
/* Your SolidStart config options... */
},
{
// Optional: Install Sentry with a top-level import
autoInjectServerSentry: 'top-level-import',
},
);
```

### Other Changes

- feat(v8/core): Add client outcomes for breadcrumbs buffer ([#15149](https://github.com/getsentry/sentry-javascript/pull/15149))
- feat(v8/core): Improve error formatting in ZodErrors integration ([#15155](https://github.com/getsentry/sentry-javascript/pull/15155))
- fix(v8/bun): Ensure instrumentation of `Bun.serve` survives a server reload ([#15157](https://github.com/getsentry/sentry-javascript/pull/15157))
- fix(v8/core): Pass `module` into `loadModule` ([#15139](https://github.com/getsentry/sentry-javascript/pull/15139)) (#15166)

Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!

## 8.51.0

### Important Changes

- **feat(v8/node): Add `prismaInstrumentation` option to Prisma integration as escape hatch for all Prisma versions ([#15128](https://github.com/getsentry/sentry-javascript/pull/15128))**

This release adds a compatibility API to add support for Prisma version 6.
To capture performance data for Prisma version 6:

1. Install the `@prisma/instrumentation` package on version 6.
1. Pass a `new PrismaInstrumentation()` instance as exported from `@prisma/instrumentation` to the `prismaInstrumentation` option:

```js
import { PrismaInstrumentation } from '@prisma/instrumentation';

Sentry.init({
integrations: [
prismaIntegration({
// Override the default instrumentation that Sentry uses
prismaInstrumentation: new PrismaInstrumentation(),
}),
],
});
```

The passed instrumentation instance will override the default instrumentation instance the integration would use, while the `prismaIntegration` will still ensure data compatibility for the various Prisma versions.

1. Remove the `previewFeatures = ["tracing"]` option from the client generator block of your Prisma schema.

### Other Changes

- feat(v8/browser): Add `multiplexedtransport.js` CDN bundle ([#15046](https://github.com/getsentry/sentry-javascript/pull/15046))
- feat(v8/browser): Add Unleash integration ([#14948](https://github.com/getsentry/sentry-javascript/pull/14948))
- feat(v8/deno): Deprecate Deno SDK as published on deno.land ([#15121](https://github.com/getsentry/sentry-javascript/pull/15121))
- feat(v8/sveltekit): Deprecate `fetchProxyScriptNonce` option ([#15011](https://github.com/getsentry/sentry-javascript/pull/15011))
- fix(v8/aws-lambda): Avoid overwriting root span name ([#15054](https://github.com/getsentry/sentry-javascript/pull/15054))
- fix(v8/core): `fatal` events should set session as crashed ([#15073](https://github.com/getsentry/sentry-javascript/pull/15073))
- fix(v8/node/nestjs): Use method on current fastify request ([#15104](https://github.com/getsentry/sentry-javascript/pull/15104))

Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!

## 8.50.0

- feat(v8/react): Add support for React Router `createMemoryRouter` ([#14985](https://github.com/getsentry/sentry-javascript/pull/14985))

## 8.49.0

- feat(v8/browser): Flush offline queue on flush and browser online event ([#14969](https://github.com/getsentry/sentry-javascript/pull/14969))
- feat(v8/react): Add a `handled` prop to ErrorBoundary ([#14978](https://github.com/getsentry/sentry-javascript/pull/14978))
- fix(profiling/v8): Don't put `require`, `__filename` and `__dirname` on global object ([#14952](https://github.com/getsentry/sentry-javascript/pull/14952))
- fix(v8/node): Enforce that ContextLines integration does not leave open file handles ([#14997](https://github.com/getsentry/sentry-javascript/pull/14997))
- fix(v8/replay): Disable mousemove sampling in rrweb for iOS browsers ([#14944](https://github.com/getsentry/sentry-javascript/pull/14944))
- fix(v8/sveltekit): Ensure source maps deletion is called after source ma… ([#14963](https://github.com/getsentry/sentry-javascript/pull/14963))
- fix(v8/vue): Re-throw error when no errorHandler exists ([#14943](https://github.com/getsentry/sentry-javascript/pull/14943))

Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contributions!

## 8.48.0

### Deprecations

- **feat(v8/core): Deprecate `getDomElement` method ([#14799](https://github.com/getsentry/sentry-javascript/pull/14799))**

Deprecates `getDomElement`. There is no replacement.

### Other changes

- fix(nestjs/v8): Use correct main/module path in package.json ([#14791](https://github.com/getsentry/sentry-javascript/pull/14791))
- fix(v8/core): Use consistent `continueTrace` implementation in core ([#14819](https://github.com/getsentry/sentry-javascript/pull/14819))
- fix(v8/node): Correctly resolve debug IDs for ANR events with custom appRoot ([#14823](https://github.com/getsentry/sentry-javascript/pull/14823))
- fix(v8/node): Ensure `NODE_OPTIONS` is not passed to worker threads ([#14825](https://github.com/getsentry/sentry-javascript/pull/14825))
- fix(v8/angular): Fall back to element `tagName` when name is not provided to `TraceDirective` ([#14828](https://github.com/getsentry/sentry-javascript/pull/14828))
- fix(aws-lambda): Remove version suffix from lambda layer ([#14843](https://github.com/getsentry/sentry-javascript/pull/14843))
- fix(v8/node): Ensure express requests are properly handled ([#14851](https://github.com/getsentry/sentry-javascript/pull/14851))
- feat(v8/node): Add `openTelemetrySpanProcessors` option ([#14853](https://github.com/getsentry/sentry-javascript/pull/14853))
- fix(v8/react): Use `Set` as the `allRoutes` container. ([#14878](https://github.com/getsentry/sentry-javascript/pull/14878)) (#14884)
- fix(v8/react): Improve handling of routes nested under path="/" ([#14897](https://github.com/getsentry/sentry-javascript/pull/14897))
- feat(v8/core): Add `normalizedRequest` to `samplingContext` ([#14903](https://github.com/getsentry/sentry-javascript/pull/14903))
- fix(v8/feedback): Avoid lazy loading code for `syncFeedbackIntegration` ([#14918](https://github.com/getsentry/sentry-javascript/pull/14918))

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

## 8.47.0

- feat(v8/core): Add `updateSpanName` helper function (#14736)
- feat(v8/node): Do not overwrite prisma `db.system` in newer Prisma versions (#14772)
- feat(v8/node/deps): Bump @prisma/instrumentation from 5.19.1 to 5.22.0 (#14755)
- feat(v8/replay): Mask srcdoc iframe contents per default (#14779)
- ref(v8/nextjs): Fix typo in source maps deletion warning (#14776)

Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!

## 8.46.0

- feat: Allow capture of more than 1 ANR event [v8] ([#14713](https://github.com/getsentry/sentry-javascript/pull/14713))
- feat(node): Detect Railway release name [v8] ([#14714](https://github.com/getsentry/sentry-javascript/pull/14714))
- fix: Normalise ANR debug image file paths if appRoot was supplied [v8] ([#14709](https://github.com/getsentry/sentry-javascript/pull/14709))
- fix(nuxt): Remove build config from tsconfig ([#14737](https://github.com/getsentry/sentry-javascript/pull/14737))

Work in this release was contributed by @conor-ob. Thank you for your contribution!

## 8.45.1

- fix(feedback): Return when the `sendFeedback` promise resolves ([#14683](https://github.com/getsentry/sentry-javascript/pull/14683))

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

## 8.45.0

- feat(core): Add `handled` option to `captureConsoleIntegration` ([#14664](https://github.com/getsentry/sentry-javascript/pull/14664))
Expand Down
4 changes: 2 additions & 2 deletions dev-packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/browser-integration-tests",
"version": "8.45.0",
"version": "8.54.0",
"main": "index.js",
"license": "MIT",
"engines": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"@babel/preset-typescript": "^7.16.7",
"@playwright/test": "^1.44.1",
"@sentry-internal/rrweb": "2.31.0",
"@sentry/browser": "8.45.0",
"@sentry/browser": "8.54.0",
"axios": "1.7.7",
"babel-loader": "^8.2.2",
"html-webpack-plugin": "^5.5.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as Sentry from '@sentry/browser';

window.UnleashClient = class {
isEnabled(x) {
return x;
}
};

window.Sentry = Sentry;
window.sentryUnleashIntegration = Sentry.unleashIntegration({ featureFlagClientClass: window.UnleashClient });

Sentry.init({
dsn: 'https://[email protected]/1337',
sampleRate: 1.0,
integrations: [window.sentryUnleashIntegration],
debug: true, // Required to test logging.
});
Loading
Loading