takahirom/roborazzi (io.github.takahirom.roborazzi:roborazzi-junit-rule)
### [`v1.31.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.31.0)
[Compare Source](https://redirect.github.com/takahirom/roborazzi/compare/1.30.1...1.31.0)
##### Added Experimental Support for Cleaning Up Old Screenshots
This release introduces the `roborazzi.cleanupOldScreenshots=true` option in `gradle.properties`, allowing users to automatically remove outdated screenshots. By default, this is set to `false` to prevent accidental deletions when running filtered tests. **Please note that enabling this option may result in unintended deletions when running filtered tests.** You can use `-Proborazzi.cleanupOldScreenshots=true` for CI configurations to clean up screenshots only in CI runs without affecting local settings.
This cleanup implementation may affect the cache mechanism. We have some integration tests in place, but if you notice any issues, please let us know.
Thank you, [@JackEblan](https://redirect.github.com/JackEblan), for suggesting the cleanup feature!
##### Improve AI Assertion Error Message
In the previous release, we introduced [Roborazzi AI-Powered Image Assertion](https://takahirom.github.io/roborazzi/ai-powered-image-assertion.html).
When an AI assertion fails, itβs important to review the screenshots to understand what went wrong with the images. Therefore, I enhanced the error message to include the file paths of the images.
![image](https://redirect.github.com/user-attachments/assets/7c2b68d6-d004-4676-aa81-3a3b37378e28)
##### What's Changed
- Add cleanupOldScreenshots option by [@takahirom](https://redirect.github.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/539](https://redirect.github.com/takahirom/roborazzi/pull/539)
- Improve AI assertion error message by [@takahirom](https://redirect.github.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/540](https://redirect.github.com/takahirom/roborazzi/pull/540)
**Full Changelog**: https://github.com/takahirom/roborazzi/compare/1.30.1...1.31.0
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.30.1
->1.31.0
1.30.1
->1.31.0
1.30.1
->1.31.0
1.30.1
->1.31.0
1.30.1
->1.31.0
Release Notes
takahirom/roborazzi (io.github.takahirom.roborazzi:roborazzi-junit-rule)
### [`v1.31.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.31.0) [Compare Source](https://redirect.github.com/takahirom/roborazzi/compare/1.30.1...1.31.0) ##### Added Experimental Support for Cleaning Up Old Screenshots This release introduces the `roborazzi.cleanupOldScreenshots=true` option in `gradle.properties`, allowing users to automatically remove outdated screenshots. By default, this is set to `false` to prevent accidental deletions when running filtered tests. **Please note that enabling this option may result in unintended deletions when running filtered tests.** You can use `-Proborazzi.cleanupOldScreenshots=true` for CI configurations to clean up screenshots only in CI runs without affecting local settings. This cleanup implementation may affect the cache mechanism. We have some integration tests in place, but if you notice any issues, please let us know. Thank you, [@JackEblan](https://redirect.github.com/JackEblan), for suggesting the cleanup feature! ##### Improve AI Assertion Error Message In the previous release, we introduced [Roborazzi AI-Powered Image Assertion](https://takahirom.github.io/roborazzi/ai-powered-image-assertion.html). When an AI assertion fails, itβs important to review the screenshots to understand what went wrong with the images. Therefore, I enhanced the error message to include the file paths of the images. ![image](https://redirect.github.com/user-attachments/assets/7c2b68d6-d004-4676-aa81-3a3b37378e28) ##### What's Changed - Add cleanupOldScreenshots option by [@takahirom](https://redirect.github.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/539](https://redirect.github.com/takahirom/roborazzi/pull/539) - Improve AI assertion error message by [@takahirom](https://redirect.github.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/540](https://redirect.github.com/takahirom/roborazzi/pull/540) **Full Changelog**: https://github.com/takahirom/roborazzi/compare/1.30.1...1.31.0Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.