Skip to content

v0.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Nov 21:13
· 24 commits to master since this release

What's changed

This release focused on improving Spreet's internals. Thanks @nyurik for all the hard work.

  • Breaking change: move all public identifiers to the root of the crate, e.g. spreet::error::SpreetErrorspreet::SpreetError, with the exception of resvg.
  • Update oxipng dependency to v9.0.0. This improves compression of PNG spritesheets without visual changes, but the PNGs won't be byte-to-byte compatible with spritesheets output by earlier versions of Spreet
  • Update resvg dependency to v0.36.0
  • Remove the deprecated function spreet::sprite::generate_pixmap_from_svg()
  • The spreet::sprite_name function (previously available as spreet::sprite::sprite_name) now returns Result<String, Error> instead of String, and will no longer panic
  • The spreet::get_svg_input_paths function (previously available as spreet::fs::get_svg_input_paths) now returns Result<Vec<PathBuf>, Error> instead of Vec<PathBuf>, and will no longer panic

Full changelog: v0.9.0...v0.10.0