Skip to content

Releases: getsentry/sentry-dart

4.0.2

19 Jan 11:17
be3c963
Compare
Choose a tag to compare

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

  • fix: Mark session as errored in iOS #270
  • Fix: Pass auto session tracking interval to iOS
  • Fix: Deprecated binaryMessenger (MethodChannel member) for Flutter Web
  • Ref: Make WidgetsFlutterBinding.ensureInitialized(); the first thing the Sentry SDK calls.
  • Bump: Sentry-cocoa to 6.0.12
  • Feat: Respect FlutterError silent flag #248
  • Bump: Android SDK to v3.2.1 #273

We'd love to get feedback.

4.0.1

16 Dec 18:09
766a8ab
Compare
Choose a tag to compare

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

  • Ref: Changed category of Flutter lifecycle tracking #240
  • Fix: Envelope length should be based on the UTF8 array instead of String length

We'd love to get feedback.

4.0.0

10 Dec 15:08
ffcfde2
Compare
Choose a tag to compare

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

New features not offered by <= v4.0.0:

Dart SDK

Flutter SDK

  • The Flutter SDK is built on top of the Dart SDK, so it includes all the available features, plus
  • Flutter SDK docs.
  • Automatic NavigatorObserver Breadcrumbs
  • Automatic Device's Breadcrumbs through the Android and iOS SDKs or via Sentry's WidgetsBindingObserver wrapper
  • No boilerplate for FlutterError.onError
  • All events are enriched with Contexts's data, this includes Device's, OS, App info, etc...
  • Offline caching
  • Release health
  • Captures not only Dart and Flutter errors, but also errors caused on the native platforms, Like Kotlin, Java, C and C++ for Android and Swift, ObjC, C, C++ for iOS
  • Supports Fatal crashes, Event is going to be sent on App's restart
  • Supports split-debug-info for Android only
  • Flutter Android, iOS and limited support for Flutter Web

Improvements:

  • Feat: Added a copyWith method to all the protocol classes

Packages were released on sentry pubdev and sentry_flutter pubdev

Sentry Self Hosted Compatibility

  • Since version 4.0.0 of the sentry_flutter, Sentry's version >= v20.6.0 is required. This only applies to on-premise Sentry, if you are using sentry.io no action is needed.

We'd love to get feedback.

4.0.0-beta.2

07 Dec 14:01
7308f73
Compare
Choose a tag to compare
4.0.0-beta.2 Pre-release
Pre-release

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

What’s Changed

  • Ref: Remove duplicated attachStackTrace field
  • Fix: Flutter Configurations should be able to mutate the SentryFlutterOptions
  • Enhancement: Add SentryWidgetsBindingObserver, an Integration that captures certain window and device events.
  • Enhancement: Set options.environment on SDK init based on the flags (kReleaseMode, kDebugMode, kProfileMode or SENTRY_ENVIRONMENT).
  • Feature: SentryHttpClient to capture HTTP requests as breadcrumbs
  • Ref: Only assign non-null option values in Android native integration in order preserve default values
  • Enhancement: Add 'attachThreads' in options. When enabled, threads are attached to all logged events for Android
  • Ref: Rename typedef Logger to SentryLogger to prevent name clashes with logging packages
  • Fix: Scope Event processors should be awaited
  • Fix: Package usage as git dependency

Breaking changes

  • Logger typedef is renamed to SentryLogger
  • attachStackTrace is renamed to attachStacktrace

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

4.0.0-beta.1

03 Dec 10:01
2bcb920
Compare
Choose a tag to compare
4.0.0-beta.1 Pre-release
Pre-release

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

What’s Changed

  • Fix: StackTrace frames with 'package' uri.scheme are inApp by default #185
  • Fix: Missing App's StackTrace frames for Flutter errors
  • Enhancement: add isolateErrorIntegration and runZonedGuardedIntegration to default integrations in sentry-dart
  • Fix: Breadcrumb list is a plain list instead of a values list #201
  • Ref: Remove deprecated classes (Flutter Plugin for Android) and cleaning up #186
  • Fix: Handle immutable event lists and maps
  • Fix: NDK integration was being disabled by a typo
  • Fix: Missing toList for debug meta #192
  • Enhancement: NavigationObserver to record Breadcrumbs for navigation events #197
  • Fix: Integrations should be closeable
  • Feat: Support split-debug-info for Android #191
  • Fix: The event payload must never serialize null or empty fields
  • Ref: Make hints optional

Breaking changes

  • Sentry.init and SentryFlutter.init have an optional callback argument which runs the host App after Sentry initialization.
  • Integration is an Interface instead of a pure Function
  • Hints are optional arguments
  • Sentry Dart SDK adds an IsolateError handler by default

Sentry Self Hosted Compatibility

  • If you are using the split-debug-info feature, Since version 4.0.0-beta.1 of the sentry_flutter, Sentry version >= v20.12.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

4.0.0-alpha.2

20 Nov 18:15
3898704
Compare
Choose a tag to compare
4.0.0-alpha.2 Pre-release
Pre-release

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

4.0.0-alpha.1

29 Oct 08:58
d24cb50
Compare
Choose a tag to compare
4.0.0-alpha.1 Pre-release
Pre-release

First Release of Sentry's new SDK for Dart/Flutter.

New features not offered by <= v3.0.0:

  • Sentry's Unified API.
  • Complete Sentry Protocol available.
  • Docs and Migration is under review on this PR
  • For all the breaking changes follow this PR, they'll be soon available on the Migration page.

The package was released on 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

3.0.1

29 Jul 00:13
Compare
Choose a tag to compare

Main changes between 2.1.0 and 3.0.1 include:

Add support for Contexts interface (#40)
Version range requires double quotes (#51)
Implement pub recommendations (#50)
dart 2 is now available (#32)
Add a stackFrameFilter argument to SentryClient's capture (#30)
Add web support (#22)

2.1.0

30 Jul 20:22
5167a5c
Compare
Choose a tag to compare

We missed a few tags, so here's the aggregated change log:

2.1.0

  • Support DNS format without secret key.
  • Remove dependency on package:quiver.
  • The clock argument to SentryClient constructor should now be
    ClockProvider (but still accepts Clock for backwards compatibility).

2.0.2

  • Add support for user context in Sentry events.

2.0.1

  • Invert stack frames to be compatible with Sentry's default culprit detection.

First Dart 2-only version

21 Mar 19:35
7348e10
Compare
Choose a tag to compare

This is the first version of package:sentry that works on Dart 2 exclusively. Dart 1 users should use a version that's <2.0.0.