github getsentry/sentry-dart 4.0.0-alpha.2

latest releases: 9.8.0-beta.1, 9.8.0, 9.7.0...
pre-release5 years ago

Prereleases of Sentry's new SDK for Dart/Flutter.

What’s Changed

  • Enhancement: Contexts were added to the Scope #154
  • Fix: App. would hang if debug mode was enabled and refactoring ##157
  • Enhancement: Sentry Protocol v7
  • Enhancement: Added missing Protocol fields, Request, SentryStackTrace...) #155
  • Feat: Added attachStackTrace options to attach stack traces on captureMessage calls
  • Feat: Flutter SDK has the Native SDKs embedded (Android and Apple) #158

Breaking changes

  • Sentry.init returns a Future.
  • 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 addInAppInclude list, e.g. options.addInAppInclude('sentry_flutter_example');
  • A few classes of the Protocol were renamed.

Sentry Self Hosted Compatibility

  • Since version 4.0.0-alpha.2 of the sentry_flutter, Sentry version >= v20.6.0 is 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

Don't miss a new sentry-dart release

NewReleases is sending notifications on new releases.