Releases: getsentry/sentry-dart-plugin
Releases · getsentry/sentry-dart-plugin
Release list
3.4.0
Dependencies
- Bump sentry-cli to v2.58.6 by @szokeasaurusrex in #402
Fixes
Internal Changes
- (deps) Bump getsentry/craft from 2.19.0 to 2.25.2 by @dependabot in #390
- Notify linked issues on release by @buenaflor in #404
3.3.0
3.2.1
Fixes
- Log level not respected when configured via env variables (#370)
3.2.0
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 - Configure the plugin: Set
dart_symbol_map_path: build/mapping.json - Important:
dart_symbol_map_pathmust point directly to the mapping file (absolute or relative path), not a directory.
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
Fixes
- Add additional path to check for iOS debug symbols (#342)
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
Fixes
- Add missing prefix to source file upload (#306)