Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump usvg from 0.23.0 to 0.24.0 #42

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 24, 2022

Bumps usvg from 0.23.0 to 0.24.0.

Release notes

Sourced from usvg's releases.

v0.24.0

  • viewsvg is a simple application that showcases resvg capabilities
  • resvg-0.*.0.tar.xz is a sources archive with vendored Rust dependencies
  • resvg-explorer-extension.exe is an SVG thumbnailer for Windows Explorer
Changelog

Sourced from usvg's changelog.

[0.24.0] - 2022-10-22

Added

  • CSS3 writing-mode variants vertical-rl and vertical-lr. Thanks to yisibl.
  • (tiny-skia) AArch64 Neon SIMD support. Up to 3x faster on Apple M1.

Changed

  • usvg::Tree stores only Group, Path and Image nodes now. Instead of emulating an SVG file structure, where gradients, patterns, filters, clips and masks are part of the nodes tree (usually inside the defs element), we reference them using Rc from now. This change makes usvg a bit simpler. Makes usvg API way easier, since instead of looking for a node via usvg::Tree::defs_by_id the caller can access the type directly via Rc. And makes creation of custom usvg::Trees way easier.
  • clip_path, mask and filters usvg::Group fields store Rc instead of String now.
  • usvg::NodeExt::units was moved to usvg::Paint::units.
  • usvg::filter::ImageKind::Use stores usvg::Node instead of String.
  • usvg::PathData stores commands and points separately now to reduce overall memory usage.
  • usvg::PathData segments should be accessed via segments() now.
  • Most numeric types have been moved to the strict-num crate.
  • Rename NormalizedValue into NormalizedF64.
  • Rename PositiveNumber into PositiveF64.
  • Raw number of numeric types should be accessed via get() method instead of value() now.
  • usvg::TextSpan::font_size is NonZeroPositiveF64 instead of f64 now.
  • Re-export usvg and tiny-skia dependencies in resvg.
  • Re-export roxmltree dependency in usvg.
  • (usvg) Output float precision is reduced from 11 to 8 digits.

Removed

  • usvg::Tree::create. usvg::Tree is an open struct now.
  • usvg::Tree::root. It's a public field now.
  • usvg::Tree::svg_node. Replaced with usvg::Tree public fields.
  • defs, is_in_defs, append_to_defs and defs_by_id from usvg::Tree. We no longer emulate SVG structure. No alternative.
  • usvg::Tree::is_in_defs. There are no defs anymore.
  • usvg::Paint::Link. We store gradient and patterns directly in usvg::Paint now.
  • usvg::Svg. No longer needed. size and view_box are usvg::Tree fields now.
  • usvg::SubPathIter and usvg::PathData::subpaths. No longer used.

Fixed

  • Path bbox calculation scales stroke width too. Thanks to growler.
  • (tiny-skia) Round caps roundness.
  • (xmlparser) Stack overflow on specific files.
  • (c-api) resvg_is_image_empty output was inverted.
Commits

Dependabot compatibility score

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 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 [usvg](https://github.com/RazrFalcon/resvg) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/RazrFalcon/resvg/releases)
- [Changelog](https://github.com/RazrFalcon/resvg/blob/master/CHANGELOG.md)
- [Commits](RazrFalcon/resvg@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: usvg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 24, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 31, 2022

Superseded by #47.

@dependabot dependabot bot closed this Oct 31, 2022
@dependabot dependabot bot deleted the dependabot/cargo/usvg-0.24.0 branch October 31, 2022 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants