Skip to content

Releases: getsentry/sentry-dart-plugin

3.2.0-beta.1

14 Aug 18:45

Choose a tag to compare

3.2.0-beta.1 Pre-release
Pre-release

Features

  • Upload Dart symbol mapping file (#347)
    • Enables symbolication of Flutter issue titles for obfuscated builds.
    • Supported: Android and iOS
    • Not supported (yet): macOS, Linux and Windows.
    • Generate the mapping file: Add --extra-gen-snapshot-options=--save-obfuscation-map=<path> when building. Example: flutter build apk --obfuscate --split-debug-info=build/symbols --extra-gen-snapshot-options=--save-obfuscation-map=build/mapping.json
    • Add new field to Sentry Dart Plugin config: dart_symbol_map_path: /path/to/build/mapping.json
    • Note: the path must point directly to the mapping file (absolute or relative path), not a directory.
# within your pubspec.yaml
sentry
  # ... other Sentry config
  dart_symbol_map_path: /path/to/build/mapping.json

3.1.1

15 Jul 14:52

Choose a tag to compare

Fixes

  • Add additional path to check for iOS debug symbols (#342)

3.1.0

30 Jun 14:12

Choose a tag to compare

Features

  • Add release and dist to sourcemaps upload command (#333)
    • This enables the uploaded bundle to be associated with the release for informational purposes

Fixes

  • Should not exit program when web build path is not found (#337)

3.0.0

24 Jun 12:04

Choose a tag to compare

Version 3.0.0 marks a major release of the Sentry Dart Plugin containing breaking changes for Flutter Web.

Breaking Changes

  1. Automatic Debug-ID Injection
    • What’s new: By default, the plugin now embeds Debug IDs into your generated source maps.
    • Why it matters: Debug IDs make symbolication of Flutter Web stack traces far more stable and reliable.
  2. Minimum Flutter SDK Requirement
    • The Debug-ID feature only works with Sentry Flutter SDK 9.1.0 or newer.
    • If you’re on 9.0.0 (or below), you won’t get Debug IDs automatically.
  3. Legacy Symbolication Mode
    • If you cannot upgrade to Flutter SDK ≥ 9.1.0 yet, add this flag to your Sentry Dart Plugin config:
         sentry:
             # ... other config
             legacy_web_symbolication: true
    • This switches back to the “classic” source-map symbolication method you’ve been using.

Features

  • Support injecting debug ids for Flutter Web (#319)
    • Debug id loading will be the default symbolication in v3
    • We have added the new field legacy_web_symbolication which you can set to true if you want to keep using the old symbolication. It is set to false by default.

Enhancements

  • Improve Flutter Web stacktraces by stripping verbose source prefixes (#320)
    • This is only applied if you use the debug id symbolication which is enabled by default.
    • This will not work with the legacy web symbolication.

2.4.1

21 Feb 14:19

Choose a tag to compare

Fixes

  • Add missing prefix to source file upload (#306)

2.4.0

27 Jan 14:32

Choose a tag to compare

Enhancements

  • Merge pubspec.yaml and sentry.properties values (#295)

Dependencies

2.3.0

17 Jan 13:07

Choose a tag to compare

Features

  • Support flavors in iOS symbol upload (#292)

Dependencies

2.2.1

02 Dec 07:46

Choose a tag to compare

Fixes

  • Dart source context on web missing (#285)

2.2.0

18 Nov 13:56

Choose a tag to compare

Changes

  • Upload debug symbols for known release build paths and the configured symbols_path (#277)
    Previously, all debug symbols recognized by Sentry CLI were uploaded (starting in the current directory by default).
    Now, the plugin checks the paths where flutter build outputs debug symbols for release builds and only uploads those.

Features

  • Add urlPrefix to sentry configuration (#253)

Fixes

  • Only upload .dart files with upload-sourcemaps when upload_sources is enabled (#247)
    • Enable upload_sources to opt in to Flutter web source context

Dependencies

2.1.0

18 Jun 15:38

Choose a tag to compare

Features

  • Add support for build files folder parameter (#235)
  • Support SENTRYCLI_CDNURL env (#230)
  • Add sentry_cli_version parameter (#243)

Fixes

  • Revert sentry-cli to v2.27.0 (#241)