Skip to content

1.4.0-rc-1

Compare
Choose a tag to compare
@takahirom takahirom released this 23 Jul 10:55
· 1183 commits to main since this release
df27a8f

⚠️ Breaking Changes from 1.3.x
This release introduces several changes to RoborazziRule.

  • Attention: CaptureType.None is now the default for RoborazziRule, disabling automatic captures. Use RoborazziRule with CaptureType.LastImage() to restore the previous automatic capture functionality.
    For more details, please refer to this issue #106

  • CaptureTypes has been converted into a class. As a result, you now need to call the constructor.
    Change RoborazziRule.CaptureType.Gif to RoborazziRule.CaptureType.Gif().

  • Gradle tasks (such as recordRoborazziDebug) will now take precedence over system properties (such as roborazzi.test.record=true). I believe this behavior is more intuitive.

🆕 New Features

  • Set RoborazziRule.Option.xxxx as the default file strategy for the captureRoboImage() function. For example, outputFileProvider will now be used when invoking captureRoboImage(). If you haven't specified an outputFileProvider, the behavior remains unchanged from previous versions.

What's Changed

  • Add support for default file path setting by RoborazziRule and refactor RoborazziRule by @takahirom in #105
  • Update options in README by @takahirom in #107
  • RoborazziOption can now be set in RoborazziRule and used in captureRoboImage() by @takahirom in #108
  • Set RoborazziRule.Option.outputFileProvider as the default file strategy for captureRoboImage() by @takahirom in #109
  • Add integration test by @takahirom in #110
  • Use CaptureType.None as the default option for RoborazziRule by @takahirom in #111
  • Fix the bug that outputFileProvider isn't applied by @takahirom in #112
  • [non api change]Rename folder to directory by @takahirom in #113
  • Add warning that the config under SDK 26 may not function properly and update Robolectric by @takahirom in #115
  • Fix issue test task is skippped unexpectedly by @takahirom in #116
  • Modernize AGP integration by @ZacSweers in #87
  • Fix issue system properties take precedence over gradle task by @takahirom in #118
  • Generate compare report even if we use system property by @takahirom in #119
  • Fix the compare task with system property doesn't output the summary report by @takahirom in #120
  • Add document about default unit test by @takahirom in #122

New Contributors

Full Changelog: 1.3.0...1.4.0-rc-1