Skip to content

Bump roborazzi from 1.21.0 to 1.22.2#926

Merged
lihenggui merged 1 commit intomainfrom
dependabot/gradle/roborazzi-1.22.2
Jul 15, 2024
Merged

Bump roborazzi from 1.21.0 to 1.22.2#926
lihenggui merged 1 commit intomainfrom
dependabot/gradle/roborazzi-1.22.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jul 15, 2024

Bumps roborazzi from 1.21.0 to 1.22.2.
Updates io.github.takahirom.roborazzi:roborazzi from 1.21.0 to 1.22.2

Release notes

Sourced from io.github.takahirom.roborazzi:roborazzi's releases.

1.22.2

Bug fixes

We didn't have integration tests for Experimental Compose Preview Support, so we added them. In KMP projects, we used to check only testImplementation (androidUnitTest.dependencies.implementation is used for KMP Android Unit tests), and the verification for generateComposePreviewRobolectricTests{} was failing. Therefore, we have added integration tests and fixed the behavior for KMP projects.

What's Changed

Full Changelog: takahirom/roborazzi@1.22.1...1.22.2

1.22.1

Bug fixes

We've released Experimental Compose Preview Support in 1.22.0. In this release, we are going to include a bug fix for it. The strategy of generateComposePreviewRobolectricTests{} is not to modify settings automatically, but to verify that the user settings are correct. This allows our settings to be the single source of truth. However, the assertion had some bugs, so I fixed them.

What's Changed

Full Changelog: takahirom/roborazzi@1.22.0...1.22.1

1.22.0

Experimental Compose Preview Support 🚀

We're excited to announce the experimental release of Compose Preview Support for Roborazzi, a powerful new feature that streamlines the process of generating screenshot tests for Jetpack Compose Previews.

Key Features

  • Automated Test Generation: Automatically generate screenshot tests for Composable Previews using the ComposablePreviewScanner library
  • Manual Integration Support: For those who prefer more control, we've added helper functions to manually integrate Compose Preview screenshot tests.

How to Use

To enable Compose Preview screenshot test generation, add the following to your build.gradle.kts:

roborazzi {
  generateComposePreviewRobolectricTests {
    enable = true
  }
}

After configuration, run the recordRoborazziDebug task to generate screenshots using the newly created tests.

... (truncated)

Commits
  • f546728 1.22.2
  • 8793c26 Merge pull request #435 from takahirom/takahirom/fix-kmp-module/2024-07-15
  • df8d4b5 Merge pull request #436 from takahirom/takahirom/fix-warning-of-RoborazziPrev...
  • f1f3c29 Fix an issue where warning logs are printed multiple times
  • dfd0f9d Fix warning of RoborazziPreviewParameterizedTests
  • 5826603 Fix GenerateRobolectricComposePreviewTests to support KMP
  • de723ba Add failing test to check the test behavior
  • 5ba32cd Merge pull request #434 from takahirom/takahirom/support-multiple-module-in-r...
  • 9f51fa3 Fix tests
  • 4865523 Include the project
  • Additional commits viewable in compare view

Updates io.github.takahirom.roborazzi from 1.21.0 to 1.22.2

Release notes

Sourced from io.github.takahirom.roborazzi's releases.

1.22.2

Bug fixes

We didn't have integration tests for Experimental Compose Preview Support, so we added them. In KMP projects, we used to check only testImplementation (androidUnitTest.dependencies.implementation is used for KMP Android Unit tests), and the verification for generateComposePreviewRobolectricTests{} was failing. Therefore, we have added integration tests and fixed the behavior for KMP projects.

What's Changed

Full Changelog: takahirom/roborazzi@1.22.1...1.22.2

1.22.1

Bug fixes

We've released Experimental Compose Preview Support in 1.22.0. In this release, we are going to include a bug fix for it. The strategy of generateComposePreviewRobolectricTests{} is not to modify settings automatically, but to verify that the user settings are correct. This allows our settings to be the single source of truth. However, the assertion had some bugs, so I fixed them.

What's Changed

Full Changelog: takahirom/roborazzi@1.22.0...1.22.1

1.22.0

Experimental Compose Preview Support 🚀

We're excited to announce the experimental release of Compose Preview Support for Roborazzi, a powerful new feature that streamlines the process of generating screenshot tests for Jetpack Compose Previews.

Key Features

  • Automated Test Generation: Automatically generate screenshot tests for Composable Previews using the ComposablePreviewScanner library
  • Manual Integration Support: For those who prefer more control, we've added helper functions to manually integrate Compose Preview screenshot tests.

How to Use

To enable Compose Preview screenshot test generation, add the following to your build.gradle.kts:

roborazzi {
  generateComposePreviewRobolectricTests {
    enable = true
  }
}

After configuration, run the recordRoborazziDebug task to generate screenshots using the newly created tests.

... (truncated)

Commits
  • f546728 1.22.2
  • 8793c26 Merge pull request #435 from takahirom/takahirom/fix-kmp-module/2024-07-15
  • df8d4b5 Merge pull request #436 from takahirom/takahirom/fix-warning-of-RoborazziPrev...
  • f1f3c29 Fix an issue where warning logs are printed multiple times
  • dfd0f9d Fix warning of RoborazziPreviewParameterizedTests
  • 5826603 Fix GenerateRobolectricComposePreviewTests to support KMP
  • de723ba Add failing test to check the test behavior
  • 5ba32cd Merge pull request #434 from takahirom/takahirom/support-multiple-module-in-r...
  • 9f51fa3 Fix tests
  • 4865523 Include the project
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `roborazzi` from 1.21.0 to 1.22.2.

Updates `io.github.takahirom.roborazzi:roborazzi` from 1.21.0 to 1.22.2
- [Release notes](https://github.com/takahirom/roborazzi/releases)
- [Commits](takahirom/roborazzi@1.21.0...1.22.2)

Updates `io.github.takahirom.roborazzi` from 1.21.0 to 1.22.2
- [Release notes](https://github.com/takahirom/roborazzi/releases)
- [Commits](takahirom/roborazzi@1.21.0...1.22.2)

---
updated-dependencies:
- dependency-name: io.github.takahirom.roborazzi:roborazzi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.github.takahirom.roborazzi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@lihenggui lihenggui merged commit 9a8fa57 into main Jul 15, 2024
@dependabot dependabot bot deleted the dependabot/gradle/roborazzi-1.22.2 branch July 15, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant