Skip to content

Releases: getsentry/sentry-dart

8.0.0-beta.2

09 Feb 08:25

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

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

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

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

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

Choose a tag to compare

Fixes

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

7.13.0

15 Nov 14:00

Choose a tag to compare

Fixes

  • Fixes setting the correct locale to contexts with navigatorKey (#1724)
    • If you have a selected locale in e.g MaterialApp, this fix will retrieve the correct locale for the event context.
  • Flutter renderer information was removed on dart:io platforms since it didn't add the correct value (#1723)
  • Unsupported types with Expando (#1690)

Features

  • Add APM integration for Drift (#1709)
  • StackTraces in PlatformException.message will get nicely formatted too when present (#1716)
  • Breadcrumbs for database operations (#1656)
  • APM for hive (#1672)
  • Add attachScreenshotOnlyWhenResumed to options (#1700)

Dependencies

7.12.0

31 Oct 10:34

Choose a tag to compare

Enhancements

  • Log warning if both tracesSampleRate and tracesSampler are set (#1701)
  • Better Flutter framework stack traces - we now collect Flutter framework debug symbols for iOS, macOS and Android automatically on the Sentry server (#1673)

Features

  • Initial (alpha) support for profiling on iOS and macOS (#1611)
  • Add SentryNavigatorObserver current route to event.app.contexts.viewNames (#1545)
    • Requires relay version 23.9.0 for self-hosted instances

7.11.0

24 Oct 14:01

Choose a tag to compare

Fixes

  • Session: missing mechanism.handled is considered crash (#3353)

Features

  • Breadcrumbs for file I/O operations (#1649)

Dependencies

7.10.1

13 Sep 15:15

Choose a tag to compare

Enhancements

  • Add Sampling Decision to Trace Envelope Header (#1639)
  • Add http.request.method attribute to http spans data (#1633)
  • Add db.system and db.name attributes to db spans data (#1629)
  • Log SDK errors to the console if the log level is fatal even if debug is disabled (#1635)

Features

  • Tracing without performance (#1621)

Fixes

  • Normalize data properties of SentryUser and Breadcrumb before sending over method channel (#1591)
  • Fixing memory leak issue in SentryFlutterPlugin (Android Plugin) (#1588)
  • Discard empty stack frames (#1625)
  • Disable scope sync for cloned scopes (#1628)

Dependencies