1.4.0-rc-1
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.
ChangeRoborazziRule.CaptureType.Gif
toRoborazziRule.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 thecaptureRoboImage()
function. For example,outputFileProvider
will now be used when invokingcaptureRoboImage()
. 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
- @ZacSweers made their first contribution in #87
Full Changelog: 1.3.0...1.4.0-rc-1