Commit fdfbeb9
authored
Update roborazzi to v1.40.0 (#317)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.github.takahirom.roborazzi](https://redirect.github.com/takahirom/roborazzi)
| `1.39.0` -> `1.40.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.github.takahirom.roborazzi:roborazzi-junit-rule](https://redirect.github.com/takahirom/roborazzi)
| `1.39.0` -> `1.40.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.github.takahirom.roborazzi:roborazzi-compose](https://redirect.github.com/takahirom/roborazzi)
| `1.39.0` -> `1.40.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
|
[io.github.takahirom.roborazzi:roborazzi](https://redirect.github.com/takahirom/roborazzi)
| `1.39.0` -> `1.40.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>takahirom/roborazzi (io.github.takahirom.roborazzi)</summary>
###
[`v1.40.0`](https://redirect.github.com/takahirom/roborazzi/releases/tag/1.40.0)
[Compare
Source](https://redirect.github.com/takahirom/roborazzi/compare/1.39.0...1.40.0)
#### New Feature: Add AssertionImageType to Support Reference Image
Validation
We previously introduced AI Assertion which utilizes a comparison image
for assertions. However, we noticed the current implementation struggled
with optimal performance due to image size constraints, where sufficient
context size is crucial for accurate AI analysis. To address this, we've
introduced the `AssertionImageType` parameter. You can now specify the
image type via `AiAssertionOptions`.
```kotlin
sealed interface AssertionImageType {
class Comparison : AssertionImageType
class Reference : AssertionImageType
}
```
#### Bug Fix: Improved AI Assertion OpenAI API Error Messaging
Previously, API error messages were unclear and unhelpful. We've
revamped the error handling to provide meaningful feedback, including
proper API status details.
Before:
Fields [object, created, model, choices] are required for type with
serial name 'com.github.takahirom.roborazzi.ChatCompletionResponse', but
they were missing at path: $
kotlinx.serialization.MissingFieldException: Fields [object, created,
model, choices] are required for type with serial name
'com.github.takahirom.roborazzi.ChatCompletionResponse', but they were
missing at path: $
After:
Caused by: java.util.concurrent.ExecutionException:
com.github.takahirom.roborazzi.AiAssertionApiException: {
"error": {
"message": "You didn't provide an API key. You need to provide your API
key in an Authorization header using Bearer auth (i.e. Authorization:
Bearer YOUR_KEY), or as the password field (with blank username) if
you're accessing the API from your browser and are prompted for a
username and password. You can obtain an API key from
https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
#### What's Changed
- Update actions/upload-artifact digest to
[`65c4c4a`](https://redirect.github.com/takahirom/roborazzi/commit/65c4c4a)
by [@​renovate](https://redirect.github.com/renovate) in
[https://github.com/takahirom/roborazzi/pull/619](https://redirect.github.com/takahirom/roborazzi/pull/619)
- Update dependency androidx.compose.material:material to v1.7.6 by
[@​renovate](https://redirect.github.com/renovate) in
[https://github.com/takahirom/roborazzi/pull/629](https://redirect.github.com/takahirom/roborazzi/pull/629)
- Update dependency androidx.compose.runtime:runtime to v1.7.6 by
[@​renovate](https://redirect.github.com/renovate) in
[https://github.com/takahirom/roborazzi/pull/630](https://redirect.github.com/takahirom/roborazzi/pull/630)
- Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.6 by
[@​renovate](https://redirect.github.com/renovate) in
[https://github.com/takahirom/roborazzi/pull/631](https://redirect.github.com/takahirom/roborazzi/pull/631)
- Update dependency androidx.compose.ui:ui-test-manifest to v1.7.6 by
[@​renovate](https://redirect.github.com/renovate) in
[https://github.com/takahirom/roborazzi/pull/632](https://redirect.github.com/takahirom/roborazzi/pull/632)
- Add AssertionImageType to support reference image validation in AI
Assertion by [@​takahirom](https://redirect.github.com/takahirom)
in
[https://github.com/takahirom/roborazzi/pull/637](https://redirect.github.com/takahirom/roborazzi/pull/637)
- Improve OpenAI api error handling by
[@​takahirom](https://redirect.github.com/takahirom) in
[https://github.com/takahirom/roborazzi/pull/638](https://redirect.github.com/takahirom/roborazzi/pull/638)
- Use class instead of object to maintain compatibility by
[@​takahirom](https://redirect.github.com/takahirom) in
[https://github.com/takahirom/roborazzi/pull/639](https://redirect.github.com/takahirom/roborazzi/pull/639)
**Full Changelog**:
takahirom/roborazzi@1.39.0...1.40.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/EmergeTools/hackernews).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 8b2d44d commit fdfbeb9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments