chore(deps): update rust crate resvg to 0.48 #826

Merged
SakulFlee merged 1 commit from renovate/resvg-0.x into main 2026-09-30 03:03:38 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
resvg workspace.dependencies minor 0.45 → 0.48

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

linebender/resvg (resvg)

v0.48.1

Compare Source

This release has an MSRV of 1.85.0 for usvg and resvg and the C API.

Changed
  • MSRV lowered from 1.89 to 1.85. (#​1109)
  • Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included (#​1110)
Fixed
  • Fixed an as_mut_slice future-compatibility warning. (#​1108)

v0.48.0

Compare Source

This release has an MSRV of 1.89.0 for usvg and resvg and the C API.

The big change in this release is that text support is now backed by
skrifa and
harfrust rather than
ttf-parser and
rustybuzz:

  • Moves resvg onto an actively maintained font stack.
  • Should have faster and more correct text rendering.
  • Will enable further improvements to things like variable font rendering in future.
  • May impact binary size (expected +~500kb for people not otherwise including fontations dependencies in their tree).
  • May result in small rendering changes compared to older versions of resvg.
Added
  • New svgz and writer feature gates to reduce the number of required dependencies. (#​1088 by @​reed-smout)
  • Warnings when parsing malformed paths. (#​1011)
  • A Display implementation for Units. (#​986)
Changed
  • MSRV bumped from 1.87 to 1.89. The requirement comes from font-types.
  • Text shaping now uses harfrust instead of rustybuzz, and font parsing uses skrifa (fontations) instead of ttf-parser. (#​922 by @​nicoburns)
  • Filter input dimension checks are now debug-only assertions. (#​991)
Fixed
  • Glyph advances are now calculated correctly. (#​1043 by @​fundon)
  • Text nodes now inherit their absolute transform. (#​1040 by @​fundon)
  • Fixes related to non-finite values. (#​1049 by @​SAY-5)
  • Transforms are no longer applied twice in abs_transform. (#​1056 by @​fundon)
  • fr is now resolved for radial gradients referenced via href. (#​1098 by @​T1mVo)
  • Panic in feComposite with the arithmetic operator when the filter region is larger than the clamped layer. (#​1021, #​1007)
  • Application of transform (and other group properties like opacity) on a nested svg
    element.
  • The missing dimension of an svg with only width or height specified is now computed from its viewBox aspect ratio. (#​1045)
  • The wght variation coordinate is now set even when font-weight has its default value. (#​1099)
  • The unprefixed href attribute now takes precedence over the deprecated xlink:href when both are present, as required by SVG 2. (#​1015)
  • Incorrect y-axis offsets when transforming feSpotLight sources. (#​1052)
  • Panics caused by bounding boxes that exceed the supported integer range. (#​989)

v0.47.0

Compare Source

This release has an MSRV of 1.87.0 for usvg and resvg and the C API.

Added
Changed
  • tiny-skia has a major version bump from 0.11 to 0.12.

v0.46.0

Compare Source

This release has an MSRV of 1.87.0 for usvg and resvg and the C API.

Added
Changed
Removed
  • Remove unused phf dependency (#​920)

Configuration

📅 Schedule: (UTC)

  • 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [resvg](https://github.com/linebender/resvg) | workspace.dependencies | minor | `0.45` → `0.48` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/535) for more information. --- ### Release Notes <details> <summary>linebender/resvg (resvg)</summary> ### [`v0.48.1`](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0481-2026-08-02) [Compare Source](https://github.com/linebender/resvg/compare/v0.48.0...v0.48.1) This release has an MSRV of 1.85.0 for `usvg` and `resvg` and the C API. ##### Changed - MSRV lowered from 1.89 to 1.85. ([#&#8203;1109](https://github.com/linebender/resvg/issues/1109)) - Downgraded strict-num dependency to 0.1.1. This prevents duplicate versions from being included ([#&#8203;1110](https://github.com/linebender/resvg/issues/1110)) ##### Fixed - Fixed an `as_mut_slice` future-compatibility warning. ([#&#8203;1108](https://github.com/linebender/resvg/issues/1108)) ### [`v0.48.0`](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0480-2026-07-31) [Compare Source](https://github.com/linebender/resvg/compare/v0.47.0...v0.48.0) This release has an MSRV of 1.89.0 for `usvg` and `resvg` and the C API. The big change in this release is that text support is now backed by [`skrifa`](https://github.com/googlefonts/fontations) and [`harfrust`](https://github.com/harfbuzz/harfrust) rather than [`ttf-parser`](https://github.com/harfbuzz/ttf-parser) and [`rustybuzz`](https://github.com/harfbuzz/rustybuzz): - Moves resvg onto an actively maintained font stack. - Should have faster and more correct text rendering. - Will enable further improvements to things like variable font rendering in future. - May impact binary size (expected +\~500kb for people not otherwise including fontations dependencies in their tree). - May result in small rendering changes compared to older versions of resvg. ##### Added - New `svgz` and `writer` feature gates to reduce the number of required dependencies. ([#&#8203;1088](https://github.com/linebender/resvg/issues/1088) by [@&#8203;reed-smout](https://github.com/reed-smout)) - Warnings when parsing malformed paths. ([#&#8203;1011](https://github.com/linebender/resvg/issues/1011)) - A `Display` implementation for `Units`. ([#&#8203;986](https://github.com/linebender/resvg/issues/986)) ##### Changed - MSRV bumped from 1.87 to 1.89. The requirement comes from `font-types`. - Text shaping now uses `harfrust` instead of `rustybuzz`, and font parsing uses `skrifa` (fontations) instead of `ttf-parser`. ([#&#8203;922](https://github.com/linebender/resvg/issues/922) by [@&#8203;nicoburns](https://github.com/nicoburns)) - Filter input dimension checks are now debug-only assertions. ([#&#8203;991](https://github.com/linebender/resvg/issues/991)) ##### Fixed - Glyph advances are now calculated correctly. ([#&#8203;1043](https://github.com/linebender/resvg/issues/1043) by [@&#8203;fundon](https://github.com/fundon)) - Text nodes now inherit their absolute transform. ([#&#8203;1040](https://github.com/linebender/resvg/issues/1040) by [@&#8203;fundon](https://github.com/fundon)) - Fixes related to non-finite values. ([#&#8203;1049](https://github.com/linebender/resvg/issues/1049) by [@&#8203;SAY-5](https://github.com/SAY-5)) - Transforms are no longer applied twice in `abs_transform`. ([#&#8203;1056](https://github.com/linebender/resvg/issues/1056) by [@&#8203;fundon](https://github.com/fundon)) - `fr` is now resolved for radial gradients referenced via `href`. ([#&#8203;1098](https://github.com/linebender/resvg/issues/1098) by [@&#8203;T1mVo](https://github.com/T1mVo)) - Panic in `feComposite` with the `arithmetic` operator when the filter region is larger than the clamped layer. ([#&#8203;1021](https://github.com/linebender/resvg/issues/1021), [#&#8203;1007](https://github.com/linebender/resvg/issues/1007)) - Application of `transform` (and other group properties like `opacity`) on a nested `svg` element. - The missing dimension of an `svg` with only `width` or `height` specified is now computed from its `viewBox` aspect ratio. ([#&#8203;1045](https://github.com/linebender/resvg/issues/1045)) - The `wght` variation coordinate is now set even when `font-weight` has its default value. ([#&#8203;1099](https://github.com/linebender/resvg/issues/1099)) - The unprefixed `href` attribute now takes precedence over the deprecated `xlink:href` when both are present, as required by SVG 2. ([#&#8203;1015](https://github.com/linebender/resvg/issues/1015)) - Incorrect y-axis offsets when transforming `feSpotLight` sources. ([#&#8203;1052](https://github.com/linebender/resvg/issues/1052)) - Panics caused by bounding boxes that exceed the supported integer range. ([#&#8203;989](https://github.com/linebender/resvg/issues/989)) ### [`v0.47.0`](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0470-2026-02-05) [Compare Source](https://github.com/linebender/resvg/compare/v0.46.0...v0.47.0) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Focal radius (`fr`) supported for Radial Gradients. ([#&#8203;1014](https://github.com/linebender/resvg/issues/1014) by [@&#8203;wmedrano](https://github.com/wmedrano)) - Support for variable fonts based on font-variation-settings CSS property. ([#&#8203;997](https://github.com/linebender/resvg/issues/997) by [@&#8203;oetiker](https://github.com/oetiker)) ##### Changed - `tiny-skia` has a major version bump from 0.11 to 0.12. ### [`v0.46.0`](https://github.com/linebender/resvg/blob/HEAD/CHANGELOG.md#0460) [Compare Source](https://github.com/linebender/resvg/compare/v0.45.1...v0.46.0) This release has an MSRV of 1.87.0 for `usvg` and `resvg` and the C API. ##### Added - Support SVGs without the xmlns attribute on the root. Thanks to \[[@&#8203;JosefKuchar](https://github.com/JosefKuchar)]\[]. - Add a from\_data\_nested method to usvg::Tree ([#&#8203;955](https://github.com/linebender/resvg/issues/955) by [@&#8203;tovrstra](https://github.com/tovrstra)) - Use cache for glyph outlining ([#&#8203;957](https://github.com/linebender/resvg/issues/957) by [@&#8203;newinnovations](https://github.com/newinnovations)) - Support loading nested embedded images ([#&#8203;958](https://github.com/linebender/resvg/issues/958) by [@&#8203;LaurenzV](https://github.com/LaurenzV)) ##### Changed - Bump dependencies, bump MSRV to 1.87, Upgrade to edition 2024 ([#&#8203;1002](https://github.com/linebender/resvg/issues/1002) and [#&#8203;1003](https://github.com/linebender/resvg/issues/1003) [@&#8203;LaurenzV](https://github.com/LaurenzV)) - Upgraded kurbo to 0.13 and svgtypes to 0.16.1. Thanks to \[[@&#8203;HaHa421](https://github.com/HaHa421)]\[]. - Bump zune\_jpeg ([#&#8203;964](https://github.com/linebender/resvg/issues/964) by [@&#8203;LaurenzV](https://github.com/LaurenzV)) - Fix abs\_bounding\_box calculation for image ([#&#8203;924](https://github.com/linebender/resvg/issues/924) by [@&#8203;Dabble63](https://github.com/Dabble63)) - Fix crash caused by glyph splitting ([#&#8203;929](https://github.com/linebender/resvg/issues/929) by [@&#8203;arnaud-secondlayer](https://github.com/arnaud-secondlayer)) - Fix a bug with incorrect resolving of fill/stroke color ([#&#8203;953](https://github.com/linebender/resvg/issues/953) by [@&#8203;LaurenzV](https://github.com/LaurenzV)) - Fix inverted condition in has\_text\_nodes method ([#&#8203;967](https://github.com/linebender/resvg/issues/967) by [@&#8203;Daaiid](https://github.com/Daaiid)) - Do not write empty defs nodes ([#&#8203;980](https://github.com/linebender/resvg/issues/980) by [@&#8203;Its-Just-Nans](https://github.com/Its-Just-Nans)) - Check if text paths need to be written out ([#&#8203;981](https://github.com/linebender/resvg/issues/981) by [@&#8203;Its-Just-Nans](https://github.com/Its-Just-Nans)) - Use checked arithmetic when computing bounding box ([#&#8203;987](https://github.com/linebender/resvg/issues/987) by [@&#8203;Its-Just-Nans](https://github.com/Its-Just-Nans)) - Fix bug in rewriting of clip paths with transformed path ([#&#8203;988](https://github.com/linebender/resvg/issues/988) by [@&#8203;Its-Just-Nans](https://github.com/Its-Just-Nans)) ##### Removed - Remove unused phf dependency ([#&#8203;920](https://github.com/linebender/resvg/issues/920)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
chore(deps): update rust crate resvg to 0.48
All checks were successful
Lint / lint (pull_request) Successful in 5m7s
3ee3ffe984
Renovate force-pushed renovate/resvg-0.x from 3ee3ffe984
All checks were successful
Lint / lint (pull_request) Successful in 5m7s
to 8feb048c4e
All checks were successful
Lint / lint (pull_request) Successful in 2m17s
2026-09-29 01:02:29 +00:00
Compare
Renovate force-pushed renovate/resvg-0.x from 8feb048c4e
All checks were successful
Lint / lint (pull_request) Successful in 2m17s
to f63f481810
All checks were successful
Lint / lint (pull_request) Successful in 3m7s
2026-09-30 01:41:43 +00:00
Compare
Renovate force-pushed renovate/resvg-0.x from f63f481810
All checks were successful
Lint / lint (pull_request) Successful in 3m7s
to 23c198f455
All checks were successful
Lint / lint (pull_request) Successful in 3m36s
2026-09-30 02:30:02 +00:00
Compare
Renovate force-pushed renovate/resvg-0.x from 23c198f455
All checks were successful
Lint / lint (pull_request) Successful in 3m36s
to dfe97c1b78
All checks were successful
Lint / lint (pull_request) Successful in 3m53s
2026-09-30 03:03:14 +00:00
Compare
SakulFlee deleted branch renovate/resvg-0.x 2026-09-30 03:03:38 +00:00
Sign in to join this conversation.
No description provided.