Releases: getsentry/sentry-dart-plugin
Releases · getsentry/sentry-dart-plugin
3.2.0-beta.1
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.json3.1.1
3.1.0
3.0.0
Version 3.0.0 marks a major release of the Sentry Dart Plugin containing breaking changes for Flutter Web.
Breaking Changes
- 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.
- 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.
- 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_symbolicationwhich you can set totrueif you want to keep using the old symbolication. It is set tofalseby 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
2.4.0
2.3.0
2.2.1
2.2.0
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 whereflutter buildoutputs debug symbols for release builds and only uploads those.
Features
- Add urlPrefix to sentry configuration (#253)
Fixes
- Only upload
.dartfiles withupload-sourcemapswhenupload_sourcesis enabled (#247)- Enable
upload_sourcesto opt in to Flutter web source context
- Enable