Update vgo to v4.1.0#108
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
4.0.0→4.1.04.0.0→4.1.0Release Notes
jzbrooks/vgo (com.jzbrooks:vgo-core)
v4.1.0Added
--print-ir[=MODE]to dump vgo intermediate representation. MODE isautoby default, which honorsNO_COLORCLICOLOR_FORCE, andTERMenvironment variables while also only using ANSI color escape sequences if the outputis a terminal.
<linearGradient>and<radialGradient>definitions referenced viafill/strokeurl(#id)when they are exactly representable:gradientUnits="userSpaceOnUse"coordinatesgradientUnits="objectBoundingBox"coordinates (including percentages), resolved against the referencing element's bounding boxgradientTransformbaked into gradient coordinates when the transformed gradient still renders identically (rotation, uniform scale, translation, and axis-aligned gradients under non-uniform scale — the common Illustrator/Figma export forms)href/xlink:hreftemplates (e.g. stops inherited from another gradient)spreadMethod, percentage stop offsets, and stop styling via attributes orstyle(stop-color,stop-opacity)gradientTransform, focal points, unresolvable references) are passed through to the output verbatim instead of being converted<defs>definitions referenced withurl(#id), enabling vector drawable → SVG conversion of gradient drawables. Sweep gradients cannot be represented in SVG and fail conversion with a clear errorImageVector.Builder(...)call is discovered anywhere in the file, so previously unparseable forms now work:.apply { path(...) { ... } }blocks (Valkyrie-style output) andrunscope functions, in addition to fluent.path {}.group {}chainsby lazy { ... }delegates, plainval x = ...initializers (no getter or explicit type required), functions returningImageVector, and local builder variables (val builder = ...; builder.path { ... }; builder.build())val x: ImageVectorwithfield = ImageVector.Builder(...)...build())Builder(...)calls and fully qualifiedImageVectorreferencesBuilder(...),path(...),group(...), path commands, andPathNodeconstructorsname,pathFillType,strokeLineCap,strokeLineJoin, andstrokeLineMiterColorcompanion constants (e.g.Color.Black) and more dimension forms (24f.dp,Dp(24f))Changed
MergePathswill merge opaque stroke, no fill paths regardless of overlap.Shape.fillBrushandShape.strokeBrushproperties, which can represent gradientsBakeTransformationsno longer bakes a group transform when a child path's paint would be invalidated by it (a gradient that cannot be exactly transformed, or an unconvertedurl(#id)paint reference); the transform is retained on the group insteadDeprecated
Shape.fillandShape.stroke: theirColortype cannot represent gradient paints, so they hold placeholder colors (black fill, transparent stroke) when the shape is painted with a gradient. ReadfillBrush/strokeBrushinstead — they are the source of truth for shape paintsFixed
BakeTransformationstransformed path geometry without transforming gradient paint coordinates, warping gradient-painted paths inside transformed groups (affected vector drawables)Color(0xFFFFC107)) failed to parse and silently fell back to blackpathFillTypewere read with an even-odd fill rule; Compose's default is non-zeroConfiguration
📅 Schedule: (UTC)
🚦 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.