Skip to content

Commit dc695c9

Browse files
authored
doc: Prepare 0.22.0 release (#654)
1 parent 0581ede commit dc695c9

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
11
# Changelog
22

3-
## Unrelesed
3+
## 0.22.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.22.0.
6+
7+
This release contains initial [profiling](https://docs.sentry.io/product/profiling/) support, as well as a few bug fixes and improvements.
48

59
### Features
610

7-
- Initial alpha support for profiling [#626](https://github.com/getsentry/sentry-go/pull/626)
11+
- Initial (alpha) support for [profiling](https://docs.sentry.io/product/profiling/) ([#626](https://github.com/getsentry/sentry-go/pull/626))
12+
13+
Profiling is disabled by default. To enable it, configure both `TracesSampleRate` and `ProfilesSampleRate` when initializing the SDK:
14+
15+
```go
16+
err := sentry.Init(sentry.ClientOptions{
17+
Dsn: "__DSN__",
18+
EnableTracing: true,
19+
TracesSampleRate: 1.0,
20+
// The sampling rate for profiling is relative to TracesSampleRate. In this case, we'll capture profiles for 100% of transactions.
21+
ProfilesSampleRate: 1.0,
22+
})
23+
```
24+
25+
More documentation on profiling and current limitations [can be found here](https://docs.sentry.io/platforms/go/profiling/).
26+
27+
- Add transactions/tracing support go the Gin integration ([#644](https://github.com/getsentry/sentry-go/pull/644))
828

929
### Bug fixes
1030

31+
- Always set a valid source on transactions ([#637](https://github.com/getsentry/sentry-go/pull/637))
32+
- Clone scope.Context in more places to avoid panics on concurrent reads and writes ([#638](https://github.com/getsentry/sentry-go/pull/638))
33+
- Fixes [#570](https://github.com/getsentry/sentry-go/issues/570)
1134
- Fix frames recognized as not being in-app still showing as in-app ([#647](https://github.com/getsentry/sentry-go/pull/647))
1235

1336
## 0.21.0

0 commit comments

Comments
 (0)