0.4.0
Features
- Detect SDK dependency version mismatches (#126)
- The new
validateSdkDependencyVersions
goal verifies that all of the Sentry SDK dependencies included in yourpom.xml
have consistent versions - We recommend enabling this goal by adding
within your
<executions> <execution> <goals> <goal>validateSdkDependencyVersions</goal> </goals> </execution> </executions>
plugin
tag forio.sentry:sentry-maven-plugin
- The build will fail in the
validate
lifecycle phase if a version mismatch is detected - You can opt out of this check by disabling the
validateSdkDependencyVersions
goal or by addingwithin your<configuration> <skipValidateSdkDependencyVersions>true</skipValidateSdkDependencyVersions> </configuration>
plugin
tag forio.sentry:sentry-maven-plugin
.
This is not recommended, as using mismatched versions of the Sentry dependencies can introduce build time or run time failures and crashes.
- The new
- Upgrade internal Sentry SDK to 8.4.0 (#134)
- Support multiple source roots (#137)
- All source roots that are included as part of your build are now bundled together and sent to Sentry
- This means that the Source Context feature of Sentry will work for code in all of your project's source roots
- You can also specify additional directories to be included in the source bundle by setting the following property within your
plugin
tag forio.sentry:sentry-maven-plugin
:<configuration> <additionalSourceDirsForSourceContext> <value>src/main/some_directory</value> <value>src/main/some_other_directory</value> </additionalSourceDirsForSourceContext> </configuration>