Releases: getsentry/sentry-dart-plugin
Releases · getsentry/sentry-dart-plugin
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 build
outputs debug symbols for release builds and only uploads those.
Features
- Add urlPrefix to sentry configuration (#253)
Fixes
- Only upload
.dart
files withupload-sourcemaps
whenupload_sources
is enabled (#247)- Enable
upload_sources
to opt in to Flutter web source context
- Enable
Dependencies
2.1.0
2.0.0
Breaking Changes
- Update env/config
release
anddist
behaviour (#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_RELEASE
andSENTRY_DIST
environment variables take precedence over plugin config values.
- Default release: automatically constructs the release identifier from pubspec.yaml using the format:
Features
- Custom
dist
overrides version build number (#216)- For instance, if the initial release version is
[email protected]+1
, specifying a custom dist value of 2 will update the version to[email protected]+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)