Prereleases of Sentry's new SDK for Dart/Flutter.
What’s Changed
- Enhancement:
Contextswere added to theScope#154 - Fix: App. would hang if
debugmode was enabled and refactoring ##157 - Enhancement: Sentry Protocol v7
- Enhancement: Added missing Protocol fields,
Request,SentryStackTrace...) #155 - Feat: Added
attachStackTraceoptions to attach stack traces oncaptureMessagecalls - Feat: Flutter SDK has the Native SDKs embedded (Android and Apple) #158
Breaking changes
Sentry.initreturns aFuture.- Dart min. SDK is
2.8.0 - Flutter min. SDK is
1.17.0 - Timestamp has millis precision.
- For better groupping, add your own package to the
addInAppIncludelist, e.g.options.addInAppInclude('sentry_flutter_example'); - A few classes of the
Protocolwere renamed.
Sentry Self Hosted Compatibility
- Since version
4.0.0-alpha.2of thesentry_flutter,Sentryversion >=v20.6.0is required. This only applies to on-premise Sentry, if you are using sentry.io no action is needed.
Packages were released on sentry pubdev and sentry_flutter pubdev
We'd love to get feedback and we'll work on getting the GA 4.0.0 out soon.
Until then, the stable SDK offered by Sentry is at version 3.0.1