Skip to content

Commit

Permalink
meta: CHANGELOG for 6.17.0 (#4421)
Browse files Browse the repository at this point in the history
Co-authored-by: Katie Byers <katie.byers@sentry.io>
  • Loading branch information
AbhiPrasad and lobsterkatie committed Jan 20, 2022
1 parent eaf2e81 commit eccc5ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@

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

## 6.17.0-beta.0
## 6.17.0

This beta releases contains several internal refactors that help reduce the bundle size of the SDK and help prep for our [upcoming major release](https://github.com/getsentry/sentry-javascript/issues/4240). There are no breaking changes in this patch unless you are using our internal `Dsn` class. We also deprecated our typescript enums and our internal `API` class. We've detailed how to update your sdk usage if you are using the `Dsn` class or any of the deprecated methods in our [migration documentation](./MIGRATION.md#upgrading-from-6.x-to-6.17.0).
This release contains several internal refactors that help reduce the bundle size of the SDK and help prep for our [upcoming major release](https://github.com/getsentry/sentry-javascript/issues/4240). There are no breaking changes in this patch unless you are using our internal `Dsn` class, which has been removed. We also deprecated a few of our typescript enums and our internal `API` class. We've detailed in our [migration documentation](./MIGRATION.md#upgrading-from-6.x-to-6.17.0) how to update your sdk usage if you are using any of these in your code.

- feat: Undeprecate Severity Enum (#4412)
- feat: Remove Dsn class (#4325)
- feat(core): Add processing metadata to scope and event (#4252)
- feat(core): Deprecate API class (#4281)
- feat(dsn): Remove Dsn class (#4325)
- feat(ember): Update ember dependencies (#4253)
- fix(nextjs): Inject sentry.x.config.js into pages/_error (#4397)
- fix(nextjs): Add sentry-cli existence check for enabling webpack plugin #4311
- ref(tracing): deprecate span status enum (#4299)
- ref(types): drop unused logLevel (#4317)
Expand All @@ -20,6 +23,8 @@ This beta releases contains several internal refactors that help reduce the bund
- ref(types): deprecate status enum (#4298)
- ref(types): deprecate severity enum (#4280)

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

## 6.16.1

- feat(nextjs): Support Next.js v12 (#4093)
Expand Down
20 changes: 4 additions & 16 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,11 @@ const envelopeEndpoint = api.getEnvelopeEndpointWithUrlEncodedAuth();

## Enum changes

We've detailed how to migrate off our enums `Severity`, `Status` and `SpanStatus`. We also made changes to deprecate `TransactionMethod`, `Outcome` and `RequestSessionStatus` enums, but those are internal only APIs.
The enums `Status` and `SpanStatus` were deprecated, and we've detailed how to migrate away from them below. We also deprecated the `TransactionMethod`, `Outcome` and `RequestSessionStatus` enums, but those are internal-only APIs. If you are using them, we encourage you to take a look at the corresponding PRs to see how we've changed our code as a result.

#### Severity

We deprecated the `Severity` enum in `@sentry/types` and it will be removed in the next major release. We recommend using string literals to save on bundle size. [PR](https://github.com/getsentry/sentry-javascript/pull/4280). We also removed the `Severity.fromString` method. This was done to save on bundle size.

```js
// New in 6.17.0:
import { severityFromString } from '@sentry/utils';

const severity = severityFromString(level);

// Before:
import { Severity } from '@sentry/types';

const severity = Severity.fromString(level);
```
- `TransactionMethod`: https://github.com/getsentry/sentry-javascript/pull/4314
- `Outcome`: https://github.com/getsentry/sentry-javascript/pull/4315
- `RequestSessionStatus`: https://github.com/getsentry/sentry-javascript/pull/4316

#### Status

Expand Down

0 comments on commit eccc5ab

Please sign in to comment.