Releases: getsentry/sentry-dart
Releases Β· getsentry/sentry-dart
7.17.0
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 iOSenableNetworkBreadcrumbs
(#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
8.0.0-beta.2
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.
- This change was introduced in relay/#1690 and released with 22.12.0
- Older self-hosted sentry instances will drop transactions containing unfinished spans.
- Do not leak extensions of external classes (#1576)
- Make
hint
non-nullable inBeforeSendCallback
,BeforeBreadcrumbCall
andEventProcessor
(#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
- Now the device context from Android is available in
- 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
Features
- Add
SentryWidget
(#1846)- Prefer to use
SentryWidget
now instead ofSentryScreenshotWidget
andSentryUserInteractionWidget
directly
- Prefer to use
- Performance monitoring support for Isar (#1726)
- Tracing without performance for Dio integration (#1837)
- Accept
Map<String, dynamic>
inHint
class (#1807)- Please check if everything works as expected when using
Hint
- Factory constructor
Hint.withMap(Map<String, dynamic> map)
now takesMap<String, dynamic>
instead ofMap<String, Object>
- Method
hint.addAll(Map<String, dynamic> keysAndValues)
now takesMap<String, dynamic>
instead ofMap<String, Object>
- Method
set(String key, dynamic value)
now takes value ofdynamic
instead ofObject
- Method
hint.get(String key)
now returnsdynamic
instead ofObject?
- Factory constructor
- Please check if everything works as expected when using
Dependencies
7.15.0
Features
- Add Spotlight support (#1786)
- Set
options.spotlight = Spotlight(enabled: true)
to enable Spotlight
- Set
- Add
ConnectivityIntegration
for web (#1765)- We only get the info if online/offline on web platform. The added breadcrumb is set to either
wifi
ornone
.
- We only get the info if online/offline on web platform. The added breadcrumb is set to either
- Add isar breadcrumbs (#1800)
- Starting with Flutter 3.16, Sentry adds the
appFlavor
to theflutter_context
(#1799) - Add beforeScreenshotCallback to SentryFlutterOptions (#1805)
- Add support for
readTransaction
insqflite
(#1819)
Dependencies
7.14.0
7.13.2
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
7.13.1
7.13.0
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)