Skip to content

0.4.0

Compare
Choose a tag to compare
@sentry-release-bot sentry-release-bot released this 09 Apr 09:48

Features

  • Detect SDK dependency version mismatches (#126)
    • The new validateSdkDependencyVersions goal verifies that all of the Sentry SDK dependencies included in your pom.xml have consistent versions
    • We recommend enabling this goal by adding
      <executions>
          <execution>
              <goals>
                  <goal>validateSdkDependencyVersions</goal>
              </goals>
          </execution>
      </executions>
      within your plugin tag for io.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 adding
      <configuration>
          <skipValidateSdkDependencyVersions>true</skipValidateSdkDependencyVersions>
      </configuration>
      within your plugin tag for io.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.
  • 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 for io.sentry:sentry-maven-plugin:
      <configuration>
          <additionalSourceDirsForSourceContext>
              <value>src/main/some_directory</value> 
              <value>src/main/some_other_directory</value> 
          </additionalSourceDirsForSourceContext>
      </configuration>

Dependencies