Skip to content

meta(changelog): Update changelog for 7.82.0 #9661

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

Merged
merged 22 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1036537
Merge pull request #9617 from getsentry/master
github-actions[bot] Nov 21, 2023
d780165
feat(core): Add optional `setup` hook to integrations (#9556)
mydea Nov 21, 2023
83eaf9e
ref(node): Use Sentry.continueTrace in node (#9607)
AbhiPrasad Nov 21, 2023
51576c2
ref(bun): Use Sentry.continueTrace in Bun (#9606)
AbhiPrasad Nov 21, 2023
387ce48
ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#9625)
c298lee Nov 21, 2023
392110c
ref(replay): Remove unused method (#9613)
mydea Nov 22, 2023
68bb820
fix(replay): Add `BODY_PARSE_ERROR` warning & time out fetch response…
mydea Nov 22, 2023
13b4b47
feat(core): Allow to use `continueTrace` without callback (#9615)
mydea Nov 22, 2023
f251833
feat(core): Allow to pass `mechanism` as event hint (#9590)
mydea Nov 22, 2023
f7257a1
ref: Hoist `RequestData` integration to `@sentry/core` (#9597)
Nov 22, 2023
92c9fbb
feat(node): Add Spotlight option to Node SDK (#9629)
HazAT Nov 22, 2023
692e9c6
feat(core): Add top level `getClient()` method (#9638)
mydea Nov 22, 2023
c99b2ae
feat(feedback): Add onClose callback to showReportDialog (#9433) (#9550)
arya-s Nov 22, 2023
2787643
feat(utils): Refactor `addInstrumentationHandler` to dedicated method…
mydea Nov 22, 2023
08818d8
fix(tracing): Filter out invalid resource sizes (#9641)
AbhiPrasad Nov 22, 2023
8c9ff6b
fix(nextjs): Fix middleware detection logic (#9637)
Nov 23, 2023
eb2d726
feat(nextjs): Add request data to all edge-capable functionalities (#…
Nov 23, 2023
075cc6e
fix: Remove Auth Token check here (#9651)
HazAT Nov 24, 2023
739d904
fix: Make full url customizable for Spotlight (#9652)
HazAT Nov 24, 2023
61bcf73
feat(astro): Automatically add Sentry middleware in Astro integration…
Lms24 Nov 27, 2023
4c75f85
fix(remix): Skip capturing aborted requests. (#9659)
onurtemizkan Nov 27, 2023
cf8cda8
meta(changelog): Update changelog for 7.82.0
Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@

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

## 7.82.0

- feat(astro): Automatically add Sentry middleware in Astro integration (#9532)
- feat(core): Add optional `setup` hook to integrations (#9556)
- feat(core): Add top level `getClient()` method (#9638)
- feat(core): Allow to pass `mechanism` as event hint (#9590)
- feat(core): Allow to use `continueTrace` without callback (#9615)
- feat(feedback): Add onClose callback to showReportDialog (#9433) (#9550)
- feat(nextjs): Add request data to all edge-capable functionalities (#9636)
- feat(node): Add Spotlight option to Node SDK (#9629)
- feat(utils): Refactor `addInstrumentationHandler` to dedicated methods (#9542)
- fix: Make full url customizable for Spotlight (#9652)
- fix(astro): Remove Auth Token existence check (#9651)
- fix(nextjs): Fix middleware detection logic (#9637)
- fix(remix): Skip capturing aborted requests (#9659)
- fix(replay): Add `BODY_PARSE_ERROR` warning & time out fetch response load (#9622)
- fix(tracing): Filter out invalid resource sizes (#9641)
- ref: Hoist `RequestData` integration to `@sentry/core` (#9597)
- ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#9625)

Work in this release contributed by @arya-s. Thank you for your contribution!

## 7.81.1

- fix(astro): Remove method from span op (#9603)
Expand Down
19 changes: 5 additions & 14 deletions packages/angular/src/errorhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { HttpErrorResponse } from '@angular/common/http';
import type { ErrorHandler as AngularErrorHandler } from '@angular/core';
import { Inject, Injectable } from '@angular/core';
import * as Sentry from '@sentry/browser';
import type { Event, Scope } from '@sentry/types';
import { addExceptionMechanism, isString } from '@sentry/utils';
import type { Event } from '@sentry/types';
import { isString } from '@sentry/utils';

import { runOutsideAngular } from './zone';

Expand Down Expand Up @@ -102,17 +102,8 @@ class SentryErrorHandler implements AngularErrorHandler {

// Capture handled exception and send it to Sentry.
const eventId = runOutsideAngular(() =>
Sentry.captureException(extractedError, (scope: Scope) => {
scope.addEventProcessor(event => {
addExceptionMechanism(event, {
type: 'angular',
handled: false,
});

return event;
});

return scope;
Sentry.captureException(extractedError, {
mechanism: { type: 'angular', handled: false },
}),
);

Expand All @@ -124,7 +115,7 @@ class SentryErrorHandler implements AngularErrorHandler {

// Optionally show user dialog to provide details on what happened.
if (this._options.showDialog) {
const client = Sentry.getCurrentHub().getClient();
const client = Sentry.getClient();

if (client && client.on && !this._registeredAfterSendEventHandler) {
client.on('afterSendEvent', (event: Event) => {
Expand Down
Loading