From a71b774867dfac114785490a66d5cf961b891c8b Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Wed, 19 Jul 2023 13:20:25 +0200 Subject: [PATCH] fix changelog --- CHANGELOG.md | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53ee0f274a..9918c3f3fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ ## Unreleased +### Features + +- Alpha support for Hermes JavaScript Profiling ([#3057](https://github.com/getsentry/sentry-react-native/pull/3057)) + + Profiling is disabled by default. To enable it, configure both + `tracesSampleRate` and `profilesSampleRate` when initializing the SDK: + + ```javascript + Sentry.init({ + dsn: '__DSN__', + tracesSampleRate: 1.0, + _experiments: { + // The sampling rate for profiling is relative to TracesSampleRate. + // In this case, we'll capture profiles for 100% of transactions. + profilesSampleRate: 1.0, + }, + }); + ``` + + More documentation on profiling and current limitations [can be found here](https://docs.sentry.io/platforms/react-native/profiling/). + ### Fixes - Warn users about multiple versions of `promise` package which can cause unexpected behavior like undefined `Promise.allSettled` ([#3162](https://github.com/getsentry/sentry-react-native/pull/3162)) @@ -32,24 +53,6 @@ ### Features - Use `android.namespace` for AGP 8 and RN 0.73 ([#3133](https://github.com/getsentry/sentry-react-native/pull/3133)) -- Alpha support for Hermes JavaScript Profiling ([#3057](https://github.com/getsentry/sentry-react-native/pull/3057)) - - Profiling is disabled by default. To enable it, configure both - `tracesSampleRate` and `profilesSampleRate` when initializing the SDK: - - ```javascript - Sentry.init({ - dsn: '__DSN__', - tracesSampleRate: 1.0, - _experiments: { - // The sampling rate for profiling is relative to TracesSampleRate. - // In this case, we'll capture profiles for 100% of transactions. - profilesSampleRate: 1.0, - }, - }); - ``` - - More documentation on profiling and current limitations [can be found here](https://docs.sentry.io/platforms/react-native/profiling/). ### Dependencies