- Ignore path list for web (#340)
- You can use the
ignore_web_source_pathsfield: e.gignore_web_source_paths: [test/**/*.js] - This will ignore all specified files and directories from being uploaded
- You can use the
- Fix processor architecture for Linux (#355)
- Log level not respected when configured via env variables (#370)
- 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.
- 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.
- Add additional path to check for iOS debug symbols (#342)
- Add release and dist to sourcemaps upload command (#333)
- This enables the uploaded bundle to be associated with the release for informational purposes
- Should not exit program when web build path is not found (#337)
Version 3.0.0 marks a major release of the Sentry Dart Plugin containing breaking changes for Flutter Web.
- 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: dart_plugin: legacy_web_symbolication: true
- This switches back to the “classic” source-map symbolication method you’ve been using.
- If you cannot upgrade to Flutter SDK ≥ 9.1.0 yet, add this flag to your Sentry Dart Plugin config:
- 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.
- 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.
- Add missing prefix to source file upload (#306)
- Merge
pubspec.yamlandsentry.propertiesvalues (#295)
- Support flavors in iOS symbol upload (#292)
- Dart source context on web missing (#285)
- 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.
- Add urlPrefix to sentry configuration (#253)
- Only upload
.dartfiles withupload-sourcemapswhenupload_sourcesis enabled (#247)- Enable
upload_sourcesto opt in to Flutter web source context
- Enable
- Add support for build files folder parameter (#235)
- Support SENTRYCLI_CDNURL env (#230)
- Add
sentry_cli_versionparameter (#243)
- Revert sentry-cli to v2.27.0 (#241)
- Update env/config
releaseanddistbehaviour (#217)- Default release: automatically constructs the release identifier from pubspec.yaml using the format:
name@version. If a build number is included in the version, it is utilized as dist. - Custom release can be specified via an environment variable or plugin configuration. Once set, it is used as is without further modification.
- Custom dist can also be set via environment variables or plugin configuration. It replaces or adds to the build number in the default release.
- Environment variables:
SENTRY_RELEASEandSENTRY_DISTenvironment variables take precedence over plugin config values.
- Default release: automatically constructs the release identifier from pubspec.yaml using the format:
- Custom
distoverrides version build number (#216)- For instance, if the initial release version is
release@1.0.0+1, specifying a custom dist value of 2 will update the version torelease@1.0.0+2.
- For instance, if the initial release version is
- Add option to provide alternative binary directory (#214)
- Support configuration arguments via
--sentry-define(#198) - Provide path to local
sentry-cli(#224)
- Updated the
processdependency range to>=4.2.4 <6.0.0(#202).- This update resolves a version conflict issue when using the
integration_testpackage with Flutter version3.19.0
- This update resolves a version conflict issue when using the
- Support reading config from sentry.properties file (#191)
- Fixes org auth tokens with no URL not supported by bumping CLI to v2.21.2 (#169)
- Support custom
distandreleasehas precedence over the pubspec'sname(#139)
- Replace
upload-diftodebug-files upload(#127)
- Dart v3 support (#112)
- Bump Dart min to 2.17.0 (#112)
- Add configuration
ignore_missing(#85)
- Rename configuration
include_native_sourcestoupload_sources(#78) - Rename configuration
upload_native_symbolstoupload_debug_symbols(#78)
- Support release commits (#62)
- Early exit when providing lower log level (#31)
- Ability to configure url for on-premise server (#17)
- Log real exitCode, stdout and stdout if available (#13)
- Bump sentry-cli 1.69.1 which includes a fix for Dart debug symbols (#8)
- Add org and project when creating releases (#2)
- Sentry Dart Plugin