8.7.0
Warning
Due to a bug (getsentry/sentry-cocoa#4280) in sentry-cocoa 8.33.0
used in this release, it is required to upgrade to 8.8.0 or newer for Flutter projects. If you keep using 8.7.0
in a Flutter project, your build will fail because sentry-cocoa 8.33.0
has been deprecated.
Features
- Add support for span level measurements. (#2214)
- Add
ignoreTransactions
andignoreErrors
to options (#2207)await SentryFlutter.init( (options) { options.dsn = 'https://[email protected]/0'; options.ignoreErrors = ["my-error", "^error-.*\$"]; options.ignoreTransactions = ["my-transaction", "^transaction-.*\$"]; ... }, appRunner: () => runApp(MyApp()), );
- Add proxy support (#2192)
- Configure a
SentryProxy
object and set it onSentryFlutter.init
import 'package:flutter/widgets.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; Future<void> main() async { await SentryFlutter.init( (options) { options.dsn = 'https://[email protected]/add-your-dsn-here'; options.proxy = SentryProxy( type: SenryProxyType.http, host: 'localhost', port: 8080, ); }, // Init your App. appRunner: () => runApp(MyApp()), ); }
- Configure a
Improvements
- Deserialize and serialize unknown fields (#2153)