Skip to content

Commit 4baeaa0

Browse files
committed
Merge branch 'master' into abhi-envelope-functions
2 parents 7fe5ed1 + 0d9883d commit 4baeaa0

File tree

28 files changed

+128
-91
lines changed

28 files changed

+128
-91
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44

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

7+
## 6.18.0
8+
9+
This patch deprecates the `frameContextLines` option for the Node SDK. The [migration documentation](./MIGRATION.md#upgrading-from-6.17.x-to-6.18.0) details how to migrate off the deprecated `frameContextLines` option.
10+
11+
- fix(browser): Only set event.stacktrace if we have 1 or more frames ([#4614](https://github.com/getsentry/sentry-javascript/pull/4614))
12+
- fix(hub): keep hint event id if it's provided ([#4577](https://github.com/getsentry/sentry-javascript/pull/4577))
13+
- fix(nextjs): Use env variable for build detection ([#4608](https://github.com/getsentry/sentry-javascript/pull/4608))
14+
- ref(node): Refactor node source fetching into integration ([#3729](https://github.com/getsentry/sentry-javascript/pull/3729))
15+
- feat(serverless): Added `ignoreSentryErrors` option for AWS lambda ([#4620](https://github.com/getsentry/sentry-javascript/pull/4620))
16+
17+
Work in this release contributed by @GoshaEgorian and @ichina. Thank you for your contributions!
18+
719
## 6.17.9
820

921
- fix(gatsby): Add missing React peer dependency ([#4576](https://github.com/getsentry/sentry-javascript/pull/4576))

MIGRATION.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Upgrading from 6.17.x to 6.18.0
2+
3+
Version 6.18.0 deprecates the `frameContextLines` top-level option for the Node SDK. This option will be removed in an upcoming major version. To migrate off of the top-level option, pass it instead to the new `ContextLines` integration.
4+
5+
```js
6+
// New in 6.18.0
7+
init({
8+
dsn: '__DSN__',
9+
integrations: [new ContextLines({ frameContextLines: 10 })]
10+
});
11+
12+
// Before:
13+
init({
14+
dsn: '__DSN__',
15+
frameContextLines: 10,
16+
});
17+
```
18+
119
# Upgrading from 6.x to 6.17.x
220

321
You only need to make changes when migrating to `6.17.x` if you are using our internal `Dsn` class. Our internal API class and typescript enums were deprecated, so we recommend you migrate them as well.
@@ -72,7 +90,7 @@ We deprecated the `Status` enum in `@sentry/tracing` and it will be removed in t
7290

7391
```js
7492
// New in 6.17.0:
75-
import { spanStatusfromHttpCode } from '@sentry/utils';
93+
import { spanStatusfromHttpCode } from '@sentry/tracing';
7694

7795
const status = spanStatusfromHttpCode(403);
7896

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lerna": "3.4.0",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"packages": "packages/*",
55
"npmClient": "yarn",
66
"useWorkspaces": true

packages/angular/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/angular",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"description": "Official Sentry SDK for Angular",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular",
@@ -21,9 +21,9 @@
2121
"@angular/router": "10.x || 11.x || 12.x || 13.x"
2222
},
2323
"dependencies": {
24-
"@sentry/browser": "6.17.9",
25-
"@sentry/types": "6.17.9",
26-
"@sentry/utils": "6.17.9",
24+
"@sentry/browser": "6.18.0",
25+
"@sentry/types": "6.18.0",
26+
"@sentry/utils": "6.18.0",
2727
"rxjs": "^6.6.0",
2828
"tslib": "^1.9.3"
2929
},

packages/browser/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"description": "Official Sentry SDK for browsers",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
@@ -16,9 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/core": "6.17.9",
20-
"@sentry/types": "6.17.9",
21-
"@sentry/utils": "6.17.9",
19+
"@sentry/core": "6.18.0",
20+
"@sentry/types": "6.18.0",
21+
"@sentry/utils": "6.18.0",
2222
"tslib": "^1.9.3"
2323
},
2424
"devDependencies": {

packages/core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/core",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"description": "Base implementation for all Sentry JavaScript SDKs",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core",
@@ -16,10 +16,10 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/hub": "6.17.9",
20-
"@sentry/minimal": "6.17.9",
21-
"@sentry/types": "6.17.9",
22-
"@sentry/utils": "6.17.9",
19+
"@sentry/hub": "6.18.0",
20+
"@sentry/minimal": "6.18.0",
21+
"@sentry/types": "6.18.0",
22+
"@sentry/utils": "6.18.0",
2323
"tslib": "^1.9.3"
2424
},
2525
"scripts": {

packages/core/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = '6.17.9';
1+
export const SDK_VERSION = '6.18.0';

packages/ember/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/ember",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"description": "Official Sentry SDK for Ember.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/ember",
@@ -31,10 +31,10 @@
3131
},
3232
"dependencies": {
3333
"@embroider/macros": "~0.47.2",
34-
"@sentry/browser": "6.17.9",
35-
"@sentry/tracing": "6.17.9",
36-
"@sentry/types": "6.17.9",
37-
"@sentry/utils": "6.17.9",
34+
"@sentry/browser": "6.18.0",
35+
"@sentry/tracing": "6.18.0",
36+
"@sentry/types": "6.18.0",
37+
"@sentry/utils": "6.18.0",
3838
"ember-auto-import": "^1.12.0 || ^2.2.0",
3939
"ember-cli-babel": "~7.26.6",
4040
"ember-cli-htmlbars": "^6.0.1",

packages/eslint-config-sdk/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/eslint-config-sdk",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"description": "Official Sentry SDK eslint config",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-config-sdk",
@@ -19,8 +19,8 @@
1919
"access": "public"
2020
},
2121
"dependencies": {
22-
"@sentry-internal/eslint-plugin-sdk": "6.17.9",
23-
"@sentry-internal/typescript": "6.17.9",
22+
"@sentry-internal/eslint-plugin-sdk": "6.18.0",
23+
"@sentry-internal/typescript": "6.18.0",
2424
"@typescript-eslint/eslint-plugin": "^3.9.0",
2525
"@typescript-eslint/parser": "^3.9.0",
2626
"eslint-config-prettier": "^6.11.0",

packages/eslint-plugin-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/eslint-plugin-sdk",
3-
"version": "6.17.9",
3+
"version": "6.18.0",
44
"description": "Official Sentry SDK eslint plugin",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-plugin-sdk",

0 commit comments

Comments
 (0)