Skip to content

Releases: getsentry/sentry-dart

7.19.0

09 Apr 16:13
Compare
Choose a tag to compare

Features

  • Experimental: Add support for Sentry Developer Metrics (#1940, #1949, #1954, #1958)
    Use the Metrics API to track processing time, download sizes, user signups, and conversion rates and correlate them back to tracing data in order to get deeper insights and solve issues faster. Our API supports counters, distributions, sets, gauges and timers, and it's easy to get started:
    Sentry.metrics()
        .increment(
        'button_login_click', // key
        value: 1.0,
        unit: null,
        tags: {"provider": "e-mail"}
    );
    To learn more about Sentry Developer Metrics, head over to our Dart and Flutter docs page.

Dependencies

  • Expand package_info_plus version range to 6.0.0 (#1948)

Improvements

  • Set sentry_flutter.podspec version from pubspec.yaml (#1941)

7.18.0

13 Mar 17:22
df926cb
Compare
Choose a tag to compare

Features

  • Add TTFD (time to full display), which allows you to measure the time it takes to render the full screen (#1920)
    • Requires using the routing instrumentation.
    • Set enableTimeToFullDisplayTracing = true in your SentryFlutterOptions to enable TTFD
    • Manually report the end of the full display by calling SentryFlutter.reportFullyDisplayed()
    • If not reported within 30 seconds, the span will be automatically finish with the status deadline_exceeded
  • Add TTID (time to initial display), which allows you to measure the time it takes to render the first frame of your screen (#1910)
    • Requires using the routing instrumentation.
    • Introduces two modes:
      • automatic mode is enabled by default for all screens and will yield only an approximation result.
      • manual mode requires manual instrumentation and will yield a more accurate result.
        • To use manual mode, you need to wrap your desired widget: SentryDisplayWidget(child: MyScreen()).
      • You can mix and match both modes in your app.
    • Other significant fixes
      • didPop doesn't trigger a new transaction
      • Change transaction operation name to ui.load instead of navigation
  • Add override captureFailedRequests option (#1931)
    • The dio integration and SentryHttpClient now take an additional captureFailedRequests option.
    • This is useful if you want to disable this option on native and only enable it on dio for example.

Improvements

  • Update root name for navigator observer (#1934)
    • The root name for transactions is now root / instead of root ("/").

Dependencies

7.17.0

07 Mar 17:25
Compare
Choose a tag to compare

Fixes

  • Fix transaction end timestamp trimming (#1916)
    • Transaction end timestamps are now correctly trimmed to the latest child span end timestamp
  • remove transitive dart:io reference for web (#1898)

Features

  • Use recordHttpBreadcrumbs to set iOS enableNetworkBreadcrumbs (#1884)
  • Apply beforeBreadcrumb on native iOS crumbs (#1914)
  • Add maxQueueSize to limit the number of unawaited events sent to Sentry (#1868)

Improvements

  • App start is now fetched within integration instead of event processor (#1905)

Dependencies

7.16.1

14 Feb 11:47
Compare
Choose a tag to compare

Fixes

  • Remove Flutter dependency from Drift integration (#1867)
  • Remove dead code, cold start bool is now always present (#1861)
  • Fix iOS "Arithmetic Overflow" (#1874)

Dependencies

8.0.0-beta.2

09 Feb 08:25
Compare
Choose a tag to compare
8.0.0-beta.2 Pre-release
Pre-release

Breaking Changes

  • Bump iOS minimum deployment target from 11 to 12 (#1821)
  • Mark exceptions not handled by the user as handled: false (#1535)
    • This will affect your release health data, and is therefore considered a breaking change.
  • Refrain from overwriting the span status for unfinished spans (#1577)
    • Older self-hosted sentry instances will drop transactions containing unfinished spans.
  • Do not leak extensions of external classes (#1576)
  • Make hint non-nullable in BeforeSendCallback, BeforeBreadcrumbCall and EventProcessor (#1574)
    • This will affect your callbacks, making this a breaking change.
  • Load Device Contexts from Sentry Java (#1616)
    • Now the device context from Android is available in BeforeSendCallback
  • Set ip_address to {{auto}} by default, even if sendDefaultPII is disabled (#1665)
    • Instead use the "Prevent Storing of IP Addresses" option in the "Security & Privacy" project settings on sentry.io

Fixes

  • Remove Flutter dependency from Drift integration (#1867)
  • Remove dead code, cold start bool is now always present (#1861)

Dependencies

7.16.0

30 Jan 16:29
Compare
Choose a tag to compare

Features

  • Add SentryWidget (#1846)
    • Prefer to use SentryWidget now instead of SentryScreenshotWidget and SentryUserInteractionWidget directly
  • Performance monitoring support for Isar (#1726)
  • Tracing without performance for Dio integration (#1837)
  • Accept Map<String, dynamic> in Hint class (#1807)
    • Please check if everything works as expected when using Hint
      • Factory constructor Hint.withMap(Map<String, dynamic> map) now takes Map<String, dynamic> instead of Map<String, Object>
      • Method hint.addAll(Map<String, dynamic> keysAndValues) now takes Map<String, dynamic> instead of Map<String, Object>
      • Method set(String key, dynamic value) now takes value of dynamic instead of Object
      • Method hint.get(String key) now returns dynamic instead of Object?

Dependencies

7.15.0

23 Jan 03:21
Compare
Choose a tag to compare

Features

  • Add Spotlight support (#1786)
    • Set options.spotlight = Spotlight(enabled: true) to enable Spotlight
  • Add ConnectivityIntegration for web (#1765)
    • We only get the info if online/offline on web platform. The added breadcrumb is set to either wifi or none.
  • Add isar breadcrumbs (#1800)
  • Starting with Flutter 3.16, Sentry adds the appFlavor to the flutter_context (#1799)
  • Add beforeScreenshotCallback to SentryFlutterOptions (#1805)
  • Add support for readTransaction in sqflite (#1819)

Dependencies

7.14.0

18 Dec 14:03
Compare
Choose a tag to compare

Fixes

  • Add debug_meta to all events (#1756)
    • Fixes obfuscated stacktraces when captureMessage or captureEvent is called with attachStacktrace option

Features

  • Add option to opt out of fatal level for automatically collected errors (#1738)
  • Add Hive breadcrumbs (#1773)

Dependencies

7.13.2

22 Nov 12:02
Compare
Choose a tag to compare

Fixes

  • Fix SIGSEV, SIGABRT and SIGBUS crashes happening after/around the August Google Play System update, see #2955 for more details (fix provided by Native SDK bump)

Dependencies

  • Update package-info-plus constraint to include 5.0.1 (#1749)
  • Bump Android SDK from v6.33.1 to v6.34.0 (#1746)

7.13.1

15 Nov 17:33
Compare
Choose a tag to compare

Fixes

  • Fixes release of drift & hive and adds missing integration & sdk version information in the hub options (#1729)