Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.11.1
->8.12
1.37.0
->1.39.0
1.37.0
->1.39.0
1.37.0
->1.39.0
1.7.3
->1.8.0
1.10.0
->1.10.1
1.10.0
->1.10.1
1.10.0
->1.10.1
1.10.0
->1.10.1
2.53.1
->2.54
2.53.1
->2.54
2.53.1
->2.54
2.53.1
->2.54
2.53.1
->2.54
2.1.3
->2.1.4
Release Notes
gradle/gradle (gradle)
v8.12
Compare Source
takahirom/roborazzi (io.github.takahirom.roborazzi)
v1.39.0
Compare Source
Bug Fixes
Diff screenshots are now as large as the largest of the two compared screenshots
Previously, when the size of a screenshot changed (e.g., became smaller), the image diff would not appear because it was based on the minimum size of each screenshot. This has been fixed so that the diff is now based on the largest of the two compared screenshots. Thank you for reporting this issue, @outadoc!
Report HTML's image order is now deterministic
The image order in the HTML report used to be random. Thanks to @mannodermaus, it is now sorted by name.
OpenAiAiAssertionModel is now Gemini compatible
Gemini has a compatibility mode with the OpenAI API (https://ai.google.dev/gemini-api/docs/openai). By using
https://generativelanguage.googleapis.com/v1beta/openai/
as the base URL, we can essentially use Gemini. However, some properties are different, so we had to modify the OpenAiAiAssertionModel to be compatible with Gemini.I'm currently developing another library called Arbigent, an AI agent testing framework. I'm planning to add an AI image assertion feature using Roborazzi's AI-Powered Image Assertion, and I needed this compatibility for that. This isn't directly related to this project, but if you're interested in testing, check it out: https://github.com/takahirom/arbigent
What's Changed
b96c8e6
by @renovate in https://github.com/takahirom/roborazzi/pull/561Full Changelog: takahirom/roborazzi@1.38.0...1.39.0
v1.38.0
Compare Source
Bugfix
Fix: Bug preventing the revival of deleted screenshot images
Thanks to @pedromfmachado's contribution, we've addressed a bug where deleted screenshot test images would be erroneously revived. Previously, when screenshot tests were removed and their corresponding images deleted from the output directory, running the
record
task again would cause the Roborazzi Gradle task to recreate the removed images. While this could be temporarily resolved withroborazzi.cleanupOldScreenshots=true
, that approach was undesirable as it would also remove images when test filters were used. This was a complex issue to solve, and we extend our gratitude to @pedromfmachado for the fix.Fix: Made screenshot dump deterministic
We have a dump feature that allows us to check the properties or hierarchy of views or composables in an image. We sorted the properties to ensure a deterministic output. Thanks to @siarhei-luskanau for this contribution.
New Feature
Feature: Added
RoborazziComposeActivityThemeOption
Previously, changing the theme of
RoborazziTransparentActivity
was not possible. We have now deprecatedRoborazziTransparentActivity
and renamed it toRoborazziActivity
. Additionally, we addedRoborazziComposeActivityThemeOption
to enable changing the Activity's theme. Thank you again, @pedromfmachado, for this feature.You can now change the Activity theme like this:
What's Changed
New Contributors
Full Changelog: takahirom/roborazzi@1.37.0...1.38.0
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
v1.8.0
==================
This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well
as bugfixes and improvements:
@JsonIgnoreUnknownKeys
annotationPreviously, only global setting
JsonBuilder.ignoreUnknownKeys
controlled whether Json parser would throw exception ifinput contained a property that was not declared in a
@Serializable
class.There were a lot of complaints that this setting is not
flexible enough.
To address them, we added new
@JsonIgnoreUnknownKeys
annotation that can be applied on a per-class basis.With this annotation, it is possible to allow unknown properties for annotated classes, while
general decoding methods (such as
Json.decodeFromString
and others) would still reject them for everything else.See details in the corresponding PR.
Stabilization of
SerialDescriptor
API and@SealedSerializationApi
annotationSerialDescriptor
,SerialKind
, and related API has been around for a long time and has proven itself useful.The main reason
@ExperimentalSerializationApi
was on SerialDescriptor's properties is that we wanted to discouragepeople from subclassing it.
Fortunately, Kotlin 2.1 provides a special mechanism for such a
case — SubclassOptInRequired.
New
kotlinx.serialization.SealedSerializationApi
annotation designates APIsas public for use, but closed for implementation — the case for SerialDescriptor, which is a non-sealed interface for
technical reasons.
Now you can use most of
SerialDescriptor
and its builders API without the need to opt-in into experimentalserialization API.
See the PR for more details.
Note: All
SerialKind
s are stable API now, exceptPolymorphicKind
— we may want to expand it in the future.Generate Java 8's default method implementations in interfaces
TL;DR This change ensures better binary compatibility in the future for library. You should not experience any
difference from it.
kotlinx.serialization library contains a lot of interfaces with default method implementations. Historically, Kotlin
compiled a synthetic
DefaultImpls
class for them.Starting from Kotlin 1.4,
it was possible to compile them using as Java 8's
default
methods to ensurethat new methods can still be added to interfaces without the need for implementors to recompile.
To preserve binary compatibility with existing clients, a special
all-compatbility
mode is supported in compilerto generate both
default
methods and syntheticDefaultImpls
class.Now, kotlinx.serialization finally makes use of this
all-compatibility
mode,which potentially allows us to add new methods to interfaces such as
SerialDescriptor
,Encoder
,Decoder
, etc.,without breaking existing clients. This change is expected to have no effect on existing clients, and no action from
your side is required.
Note that Kotlin 2.2 plans to enable
all-compatibility
mode by default.
Other bugfixes and improvements
is set to NONE (#2833)
Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)
v1.10.1
Compare Source
google/desugar_jdk_libs (com.android.tools:desugar_jdk_libs)
v2.1.4
SIMPLIFIED_CHINESE
andTRADITIONAL_CHINESE
is on the last code point convention for narrow format.This is a follow up to 2.1.3 using the same values as Standalone Week Names.
Configuration
📅 Schedule: Branch creation - "* 0-3 * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.