|
3 | 3 | All notable changes to this project will be documented in this file. |
4 | 4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). |
5 | 5 |
|
| 6 | +## [Version 4.0.0] - 2025-12-22 |
| 7 | + |
| 8 | +### Changed |
| 9 | + |
| 10 | +- Renamed `*-bounds` definitions to `*-size`. |
| 11 | +- Changed meaning of `rect` in the output description. It used to be the logical bounds of the sprite. Now it is the rectangle the sprite takes on the sheet (which can be bigger than `trimmedRect`, when the size is increased by `min-size`, `divisible-size`, `common-size`). |
| 12 | +- The logical bounds of a sprite can now be defined by a `margin`, which is added to `rect`. |
| 13 | +- Renamed `vertices` to `outline` in output description and made it relative to `rect` (it used to be relative to the `trimmedRect`). |
| 14 | + |
| 15 | +### Added |
| 16 | + |
| 17 | +- Added `margin` definition. |
| 18 | +- Added the sheets' `outputs` to description. |
| 19 | + |
| 20 | +### Fixed |
| 21 | + |
| 22 | +- Fixed `divisible-width`. |
| 23 | +- Fixed `trimmedSourceRect` in description when transforming. |
| 24 | +- Fixed `align-pivot` when anchor is not top/left. |
| 25 | +- Fixed alignment when sprite is rotated. |
| 26 | +- Fixed `extrude` and uncropped pivot-point. |
| 27 | +- Fixed `scale` when downsampling to nearest. |
| 28 | +- Improved `rotate` accuracy. |
| 29 | +- Fixed `trim convex`. |
| 30 | +- Fixed crash on `duplicate` before first sprite. |
| 31 | +- Prevent `grid`/`atlas` in input sequences. |
| 32 | +- Ensuring invalid definitions do not lead to invalid states. |
| 33 | + |
6 | 34 | ## [Version 3.8.0] - 2025-11-21 |
7 | 35 |
|
8 | 36 | ### Added |
@@ -369,6 +397,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). |
369 | 397 | - Fixed -- commandline arguments. |
370 | 398 | - Fixed sample cpp.template. |
371 | 399 |
|
| 400 | +[version 4.0.0]: https://github.com/houmain/spright/compare/3.8.0...4.0.0 |
372 | 401 | [version 3.8.0]: https://github.com/houmain/spright/compare/3.7.0...3.8.0 |
373 | 402 | [version 3.7.0]: https://github.com/houmain/spright/compare/3.6.1...3.7.0 |
374 | 403 | [version 3.6.1]: https://github.com/houmain/spright/compare/3.5.4...3.6.1 |
|
0 commit comments