Releases: flother/spreet
v0.13.1
What's changed
- Add
--spacingflag for sprite separation by @flother in #95 - Scale SDF buffer and radius by pixel ratio by @flother in #96
Minor changes
- Correct instructions for running via Docker by @flother in #93
- Bump docker/build-push-action from 5 to 6 by @dependabot[bot] in #91
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #97
- Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #98
Full changelog: v0.12.1...v0.13.1
Note
There was an error in v0.13.0 (it was released from a feature branch rather than master), so that version was yanked.
v0.12.1
What's changed
Full changelog: v0.12.0...v0.12.1
v0.12.0
What's changed
- Bump actions/download-artifact from 3 to 4 by @dependabot[bot] in #78
- Bump actions/upload-artifact from 3 to 4 by @dependabot[bot] in #79
- Bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in #82
- fix link in CHANGELOG by @bdon in #84
- docs: made sure that a pitfall of
make_sdfis documented by @CommanderStorm in #85 - Bump crossbeam-channel from 0.5.13 to 0.5.15 by @dependabot[bot] in #87
- Add Dockerfile and publish it to GHCR, added release instructions. by @HarelM in #89
New contributors
- @bdon made their first contribution in #84
- @CommanderStorm made their first contribution in #85
- @HarelM made their first contribution in #89
Full changelog: v0.11.0...v0.12.0
v0.11.0
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_namefunction (previously available asspreet::sprite::sprite_name) now returnsResult<String, Error>instead ofString, and will no longer panic - The
spreet::get_svg_input_pathsfunction (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
v0.9.0
What's changed
- Support stretchable icons (see #53)
- Make the CLI an optional (but default) feature (#62). This speeds up the build when using Spreet as a Rust library (see README)
- Fix bug that meant URLs in SVG
<image>elements were resolved relative to the current working directory, not to the SVG itself (see #60) - Update resvg dependency to v0.35
- Update clap dependency to v4.4
- Remove Rayon dependency. This means the Spreet CLI no longer parses SVGs in parallel, but that was a fun-but-unnecessary optimisation in the first place that generally saved only a handful of milliseconds
- Deprecated:
spreet::sprite::generate_pixmap_from_svg()has been deprecated and will be removed in a future version. Usespreet::sprite::Spreet::pixmap()instead
Full changelog: v0.8.0...v0.9.0
v0.8.0
What's changed
- Improvements to using Spreet as a Rust library (#57 and #59)
- Optimise Oxipng usage to reduce dev dependencies (#61)
- Optimise the
mainfunction (#56) - Update crunch dependency to v0.5.3
- Update resvg dependency to v0.34
- Update clap dependency to v4.3
- Update multimap dependency to v0.9.0
- Update Rayon dependency to v1.7
- Update assert_fs dependency to v1.0.13
Note: the update to resvg brings a new image rendering algorithm. This produces smaller images and improves performance, but the PNGs won't be byte-to-byte compatible with spritesheets output by earlier versions of Spreet. There should be no visual change though.
New contributors
Full changelog: v0.7.0...v0.8.0
v0.7.0
What's changed
- Replace unmaintained actions-rs/toolchain with dtolnay/rust-toolchain (#44 and #45)
- Publish to crates.io when new version is released (#46)
- Update clap dependency to v4.1
Full changelog: v0.6.0...v0.7.0
v0.6.0
What's changed
- Breaking change: update Oxipng dependency to v8. Spritesheet PNGs output by Spreet are now compressed using libdeflate. This produces smaller files but the PNGs won't be byte-to-byte compatible with spritesheets output by earlier versions of Spreet. This also causes Spreet's minimum Rust version to be 1.61.0
- Add
--recursiveargument, to include images in sub-directories (see #43)
Full changelog: v0.5.0...v0.6.0
v0.5.0
What's changed
- Rasterize SVGs in parallel
- Reduce binary size by ~20%
- Add tutorial and benchmarks to README
- Update clap dependency to v4
- Update oxipng dependency to v6
- Use tiny-skia and usvg as re-exported from resvg
- Move predicates to dev-dependencies
- Add CLI tests
Full changelog: v0.4.0...v0.5.0