SorrowBlue / ComicViewer

http://comicviewer.sorrowblue.com/
0 stars 0 forks source link

Update Roborazzi to v1.24.0 #487

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.takahirom.roborazzi 1.23.0 -> 1.24.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-junit-rule 1.23.0 -> 1.24.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi-compose 1.23.0 -> 1.24.0 age adoption passing confidence
io.github.takahirom.roborazzi:roborazzi 1.23.0 -> 1.24.0 age adoption passing confidence

Release Notes

takahirom/roborazzi (io.github.takahirom.roborazzi) ### [`v1.24.0`](https://togithub.com/takahirom/roborazzi/releases/tag/1.24.0) [Compare Source](https://togithub.com/takahirom/roborazzi/compare/1.23.0...1.24.0) #### New feature: Support for includePrivatePreviews in Compose Preview Support Compose Preview Support, initially released in version 1.22.0, now includes the `includePrivatePreviews` option. This feature allows you to include private previews in your Compose Preview Support setup. You can enable this by setting `includePrivatePreviews` in `roborazzi.generateComposePreviewRobolectricTests.includePrivatePreviews`. Thank you for submitting this feature request, [@​yuchan2215](https://togithub.com/yuchan2215) ! #### New feature: JUnit rule support in ComposePreviewTester We've enhanced ComposePreviewTester to support JUnit rules. Previously, ComposePreviewTester lacked lifecycle hooks, which made certain scenarios challenging to handle. Now, you can pass your own Test rules, including your Compose Test Rule, and use them in tests. For a sample implementation, check out [this integration test](https://togithub.com/takahirom/roborazzi/blob/2519f46ec0e5a8dadc5139ae833e2925c90c8b21/include-build/roborazzi-gradle-plugin/src/integrationTest/projects/sample-generate-preview-tests/src/test/java/com/github/takahirom/sample/CustomPreviewTester.kt). #### Breaking changes for users of the `ComposePreviewTester` interface As we continue to improve Compose Preview Support, we've made some changes to the `ComposePreviewTester` interface. These changes introduce a breaking change for current users. ComposePreviewTester is an interface for modifying the behavior of Compose Preview Support. Previously, the API was prone to breaking changes with each new option added. We've addressed this issue by introducing a new `options()` function. However, this necessitates a change in how you use the interface. Old interface: ```kotlin fun previews(vararg packages: String): List> ``` New interface (Packages can now be accessed via `options().scanOptions.packages`): ```kotlin fun previews(): List> ``` #### Acknowledgments We'd like to extend our sincere thanks to [@​yschimke](https://togithub.com/yschimke) and [@​sergio-sastre](https://togithub.com/sergio-sastre) for their valuable design reviews and insightful feedback, which greatly contributed to the improvements in this release. #### What's Changed - \[Idea Plugin] Improve performance of idea plugin by [@​takahirom](https://togithub.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/439](https://togithub.com/takahirom/roborazzi/pull/439) - \[Idea Plugin] Prepare for release of IntelliJ IDEA plugin by [@​takahirom](https://togithub.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/442](https://togithub.com/takahirom/roborazzi/pull/442) - \[Idea Plugin] Tweak idea plugin UI by [@​takahirom](https://togithub.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/443](https://togithub.com/takahirom/roborazzi/pull/443) - \[Feature, Breaking Changes] Support includePrivatePreviews of ComposablePreviewScanner by [@​takahirom](https://togithub.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/445](https://togithub.com/takahirom/roborazzi/pull/445) - \[Docs] Add mention to the sample in Compose Preview Support document by [@​takahirom](https://togithub.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/448](https://togithub.com/takahirom/roborazzi/pull/448) - \[Docs] Fix URL of the README link by [@​takahirom](https://togithub.com/takahirom) in [https://github.com/takahirom/roborazzi/pull/449](https://togithub.com/takahirom/roborazzi/pull/449) **Full Changelog**: https://github.com/takahirom/roborazzi/compare/1.23.0...1.24.0

Configuration

πŸ“… Schedule: Branch creation - "before 3am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, 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.

github-actions[bot] commented 1 month ago

Qodana Community for JVM

It seems all right πŸ‘Œ

No new problems were found according to the checks applied

πŸ’‘ Qodana analysis was run in the pull request mode: only the changed files were checked ☁️ View the detailed Qodana report

Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions