v0.10.0
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::SpreetError
→spreet::SpreetError
, with the exception ofresvg
. - 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 asspreet::sprite::sprite_name
) now returnsResult<String, Error>
instead ofString
, and will no longer panic - The
spreet::get_svg_input_paths
function (previously available asspreet::fs::get_svg_input_paths
) now returnsResult<Vec<PathBuf>, Error>
instead ofVec<PathBuf>
, and will no longer panic
Full changelog: v0.9.0...v0.10.0