Migration Guide
Migrating from sentry
4.0.x
to sentry
5.0.0
- Sentry's Dart SDK version 5.0.0 and above requires Dart 1.12.0
- Fix: Prefix classes with Sentry
- A couple of classes were often conflicting with user's code.
As a result, this change renames the following classes:
App
->SentryApp
Browser
->SentryBrowser
Device
->SentryDevice
Gpu
->SentryGpu
Integration
->SentryIntegration
Message
->SentryMessage
OperatingSystem
->SentryOperatingSystem
Orientation
->SentryOrientation
Request
->SentryRequest
User
->SentryUser
- A couple of classes were often conflicting with user's code.
As a result, this change renames the following classes:
- Return type of
Sentry.close()
changed fromvoid
toFuture<void>
andIntegration.close()
changed fromvoid
toFutureOr<void>
You can edit this page on GitHub.
- Package:
- pub:sentry
- Version:
- 5.0.0
- Repository:
- https://github.com/getsentry/sentry-dart