You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,36 @@
1
1
# Changelog
2
2
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.
4
8
5
9
### Features
6
10
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))
8
28
9
29
### Bug fixes
10
30
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))
0 commit comments