Skip to content

meta: Update CHANGELOG for 7.61.1 #8726

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
Aug 3, 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
5c625aa
Merge pull request #8683 from getsentry/master
github-actions[bot] Jul 31, 2023
a57e6c2
docs(node-experimental): Clarify that manual instrumentation is n/a (…
mydea Jul 31, 2023
89380eb
fix(integrations): capture exception if any arg to console method is …
md384 Jul 31, 2023
74dd18e
test(replay): Add additional tests for aria-label (#8675)
billyvg Jul 31, 2023
f760e6c
fix(replay): Improve capture of errorIds/traceIds (#8678)
mydea Aug 1, 2023
e1e0a3c
build(release): Add `statusProvider` context check for craft (#8685)
mydea Aug 1, 2023
a5fdaee
fix(node-experimental): Update auto integration lookup & readme (#8690)
mydea Aug 1, 2023
f833ab2
fix(tracing): Set correct parent span id on fetch sentry-trace header…
AbhiPrasad Aug 1, 2023
d3abf45
build(ember): Update ember test sinon usage (#8694)
mydea Aug 1, 2023
462bb24
build(ember): Update ember-resolver dev dependency (#8695)
mydea Aug 2, 2023
6196bc5
fix(core): Filter internal API frames for synthetic frames (#8710)
kamilogorek Aug 2, 2023
050a636
ref: Add `no-class-field-initializers` eslint rule (#8700)
mydea Aug 2, 2023
7e3f0dc
chore(node-integration-tests): Improve local testing experience (#8714)
Lms24 Aug 2, 2023
00fd70f
fix(node): Add availablility check on current hub to Node `ContextLin…
Lms24 Aug 2, 2023
ef5cb5f
ref: Allow withSentryConfig to accept async config function (#8721)
kamilogorek Aug 2, 2023
4b383d0
feat(nextjs): Add `AsyncLocalStorage` async context strategy to edge …
Aug 2, 2023
85effab
fix(utils): Avoid `pre_context` and `context_line` overlap if frame l…
Lms24 Aug 2, 2023
60c1081
ref(replay): Improve status logging (#8709)
mydea Aug 3, 2023
2748691
fix(replay): Ensure buffer sessions end after capturing an error (#8713)
mydea Aug 3, 2023
e586397
fix(replay): Ensure buffer->session switch is reliable (#8712)
mydea Aug 3, 2023
b5f55a3
fix(replay): Ensure we debounce flush if replay too short (#8716)
mydea Aug 3, 2023
754b082
meta: Update CHANGELOG for 7.61.1
Lms24 Aug 3, 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
5 changes: 5 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
minVersion: '0.23.1'
changelogPolicy: simple
preReleaseCommand: bash scripts/craft-pre-release.sh
statusProvider:
name: github
config:
contexts:
- All required tests passed or skipped
targets:
# NPM Targets
## 1. Base Packages, node or browser SDKs depend on
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@

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

## 7.61.1

- feat(nextjs): Add `AsyncLocalStorage` async context strategy to edge SDK (#8720)
- fix(core): Filter internal API frames for synthetic frames (#8710)
- fix(integrations): Capture exception if any arg to console method is an error (#8671)
- fix(node-experimental): Update auto integration lookup & readme (#8690)
- fix(node): Add availablility check on current hub to Node `ContextLines` integration (#8715)
- fix(replay): Ensure buffer sessions end after capturing an error (#8713)
- fix(replay): Ensure buffer->session switch is reliable (#8712)
- fix(replay): Ensure we debounce flush if replay too short (#8716)
- fix(replay): Improve capture of errorIds/traceIds (#8678)
- fix(tracing): Set correct parent span id on fetch sentry-trace header (#8687)
- fix(utils): Avoid `pre_context` and `context_line` overlap if frame lineno is out of bounds (#8722)
- ref(replay): Improve status logging (#8709)
- ref(nextjs): Allow withSentryConfig to accept async config function (#8721)

## 7.61.0

### Important Changes
Expand Down
4 changes: 3 additions & 1 deletion packages/angular/src/errorhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ class SentryErrorHandler implements AngularErrorHandler {
protected readonly _options: ErrorHandlerOptions;

/* indicates if we already registered our the afterSendEvent handler */
private _registeredAfterSendEventHandler = false;
private _registeredAfterSendEventHandler;

public constructor(@Inject('errorHandlerOptions') options?: ErrorHandlerOptions) {
this._registeredAfterSendEventHandler = false;

this._options = {
logErrors: true,
...options,
Expand Down
7 changes: 5 additions & 2 deletions packages/angular/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,14 @@ export class TraceService implements OnDestroy {
}),
);

private _routingSpan: Span | null = null;
private _routingSpan: Span | null;

private _subscription: Subscription = new Subscription();
private _subscription: Subscription;

public constructor(private readonly _router: Router) {
this._routingSpan = null;
this._subscription = new Subscription();

this._subscription.add(this.navStart$.subscribe());
this._subscription.add(this.resEnd$.subscribe());
this._subscription.add(this.navEnd$.subscribe());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
</head>
<body>
<div role="button" id="error" class="btn btn-error" aria-label="An Error">An Error</div>
<div role="button" id="error" class="btn btn-error" aria-label="An Error in aria-label">An Error</div>
<button title="Button title">
<img id="img" alt="Alt Text" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ sentryTest(
expect.arrayContaining([
{
...expectedClickBreadcrumb,
message: 'body > div#error.btn.btn-error[aria-label="An Error"]',
message: 'body > div#error.btn.btn-error[aria-label="An Error in aria-label"]',
data: {
nodeId: expect.any(Number),
node: {
attributes: {
'aria-label': '** *****',
'aria-label': '** ***** ** **********',
class: 'btn btn-error',
id: 'error',
role: 'button',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<input placeholder="Placeholder should be masked" />
<div title="Title should be masked">Title should be masked</div>
<svg style="width:200px;height:200px" viewBox="0 0 80 80"><path d=""/><area /><rect /></svg>
<div data-sentry-block>
<div>This should be blocked</div>
</div>
<svg style="width:200px;height:200px" viewBox="0 0 80 80" data-sentry-unblock><path d=""/><area /><rect /></svg>
<img style="width:100px;height:100px" src="file:///none.png" />
<img data-sentry-unblock style="width:100px;height:100px" src="file:///none.png" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,21 @@
"textContent": "\n ",
"id": 28
},
{
"type": 2,
"tagName": "div",
"attributes": {
"rr_width": "[1250-1300]px",
"rr_height": "[0-50]px"
},
"childNodes": [],
"id": 29
},
{
"type": 3,
"textContent": "\n ",
"id": 30
},
{
"type": 2,
"tagName": "svg",
Expand All @@ -211,32 +226,32 @@
},
"childNodes": [],
"isSVG": true,
"id": 30
"id": 32
},
{
"type": 2,
"tagName": "area",
"attributes": {},
"childNodes": [],
"isSVG": true,
"id": 31
"id": 33
},
{
"type": 2,
"tagName": "rect",
"attributes": {},
"childNodes": [],
"isSVG": true,
"id": 32
"id": 34
}
],
"isSVG": true,
"id": 29
"id": 31
},
{
"type": 3,
"textContent": "\n ",
"id": 33
"id": 35
},
{
"type": 2,
Expand All @@ -246,12 +261,12 @@
"src": "file:///none.png"
},
"childNodes": [],
"id": 34
"id": 36
},
{
"type": 3,
"textContent": "\n ",
"id": 35
"id": 37
},
{
"type": 2,
Expand All @@ -262,12 +277,12 @@
"src": "file:///none.png"
},
"childNodes": [],
"id": 36
"id": 38
},
{
"type": 3,
"textContent": "\n ",
"id": 37
"id": 39
},
{
"type": 2,
Expand All @@ -277,12 +292,12 @@
"rr_height": "[0-50]px"
},
"childNodes": [],
"id": 38
"id": 40
},
{
"type": 3,
"textContent": "\n ",
"id": 39
"id": 41
},
{
"type": 2,
Expand All @@ -293,17 +308,17 @@
"rr_height": "[0-50]px"
},
"childNodes": [],
"id": 40
"id": 42
},
{
"type": 3,
"textContent": "\n ",
"id": 41
"id": 43
},
{
"type": 3,
"textContent": "\n\n",
"id": 42
"id": 44
}
],
"id": 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,21 @@
"textContent": "\n ",
"id": 28
},
{
"type": 2,
"tagName": "div",
"attributes": {
"rr_width": "[1250-1300]px",
"rr_height": "[0-50]px"
},
"childNodes": [],
"id": 29
},
{
"type": 3,
"textContent": "\n ",
"id": 30
},
{
"type": 2,
"tagName": "svg",
Expand All @@ -211,32 +226,32 @@
},
"childNodes": [],
"isSVG": true,
"id": 30
"id": 32
},
{
"type": 2,
"tagName": "area",
"attributes": {},
"childNodes": [],
"isSVG": true,
"id": 31
"id": 33
},
{
"type": 2,
"tagName": "rect",
"attributes": {},
"childNodes": [],
"isSVG": true,
"id": 32
"id": 34
}
],
"isSVG": true,
"id": 29
"id": 31
},
{
"type": 3,
"textContent": "\n ",
"id": 33
"id": 35
},
{
"type": 2,
Expand All @@ -246,12 +261,12 @@
"src": "file:///none.png"
},
"childNodes": [],
"id": 34
"id": 36
},
{
"type": 3,
"textContent": "\n ",
"id": 35
"id": 37
},
{
"type": 2,
Expand All @@ -262,12 +277,12 @@
"src": "file:///none.png"
},
"childNodes": [],
"id": 36
"id": 38
},
{
"type": 3,
"textContent": "\n ",
"id": 37
"id": 39
},
{
"type": 2,
Expand All @@ -277,12 +292,12 @@
"rr_height": "[0-50]px"
},
"childNodes": [],
"id": 38
"id": 40
},
{
"type": 3,
"textContent": "\n ",
"id": 39
"id": 41
},
{
"type": 2,
Expand All @@ -293,17 +308,17 @@
"rr_height": "[0-50]px"
},
"childNodes": [],
"id": 40
"id": 42
},
{
"type": 3,
"textContent": "\n ",
"id": 41
"id": 43
},
{
"type": 3,
"textContent": "\n\n",
"id": 42
"id": 44
}
],
"id": 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<div>This should be masked by default</div>
<div data-sentry-unmask>This should be unmasked due to data attribute</div>
<input placeholder="Placeholder should be masked" />
<input data-sentry-unmask placeholder="Placeholder can be unmasked" />
<div title="Title should be masked">Title should be masked</div>
<svg style="width:200px;height:200px" viewBox="0 0 80 80"><path d=""/><area /><rect /></svg>
<svg style="width:200px;height:200px" viewBox="0 0 80 80" data-sentry-unblock><path d=""/><area /><rect /></svg>
Expand Down
Loading