Skip to content

Commit 0f7b143

Browse files
meta: 6.18.0 CHANGELOG (#4629)
Co-authored-by: Katie Byers <[email protected]>
1 parent 6809dd2 commit 0f7b143

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
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: 18 additions & 0 deletions
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.

0 commit comments

Comments
 (0)