All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
Version 3.5.3 - 2024-07-28
- Added reason to packing sprite failed warning.
- Fixed installation on MacOS.
Version 3.5.2 - 2024-07-28
- Added .DEB and .RPM package releases.
- glob only adds not yet encountered inputs.
Version 3.5.1 - 2024-07-25
- Allow filename sequence for description to output each slice separately (#14).
- Substitute variable in template filename.
- Fixed variable source.filenameBase to contain no extension.
Version 3.5.0 - 2024-06-17
- Allow
grid
cell size of one dimension to be 0 (to maximize). - Added function
removeDirectories
. - Added function
joinPaths
.
- Not merging sequences in
glob
whengrid
oratlas
is active.
- Fixed # in string literals.
- Fixed
grid
when globbing. - Preventing
grid
andatlas
ininput
file sequences. grid-cells
is consideringgrid-spacing
.
Version 3.4.0 - 2024-06-15
- Added function
makeId
. - Added function
base64
. - Added variables
source.filenameBase
,source.filenameStem
, andsource.filenameId
.
- Separated
texture.path
fromtexture.filename
. - Also lookup templates in "templates" subdirectory.
- Also packaging templates.
- Improved pixijs.inja template.
Version 3.3.1 - 2024-06-06
- Added max-sprites definition.
- Added Cocos2d-x template.
- Abort globbing when pattern is too coarse.
- Ensure the lowest index duplicate sprite is the one that is kept.
- globbing does not always search subdirectories.
Version 3.3.0 - 2023-05-28
- Added pack method origin.
- Added alpha mode opaque.
- Added color parameter to alpha mode clear.
- Ignoring unsupported extension when globbing with '.*'.
- Skip output of descriptions without filename.
- Properly handling missing closing quote.
- Expand sprite bounds by over-alignment.
Version 3.2.0 - 2023-05-23
- Added PixiJS template.
- Replacing variables in tag values.
- Renamed template files to .inja.
- Fixed output path for descriptions.
- Fixed redundancy check when outputting multiple descriptions.
Version 3.1.0 - 2023-05-20
- Added default sheet.
- Added description and template definitions.
- Reporting unpackable sprites as warnings.
- y-parameter of grid is no longer optional.
- Atlas completion does not add skipped.
Version 3.0.0 - 2023-05-07
- Added glob, removed source definition.
- Replaced several commandline parameters with single run mode parameter.
- Outputting sprite indices by input/source.
- Checking sequence bounds.
- Autocompletion can update.
- Allow to autocomplete only specific inputs.
- Generalized skip to atlas and sequences.
- Allow to specify grid's offset from the bottom-right corner.
Version 2.3.0 - 2023-03-24
- Added describe commandline option.
- Added autocompletion for globbing and sequences.
- Added inputs to output description.
- Added errors as warnings option.
- Replaced debug commandline option with definition.
- Outputting either autocompleted definition or output description.
- No longer supporting multiple input files.
- Filename sequence improved.
Version 2.2.0 - 2023-03-03
- Added gif output.
- Added min-bounds.
- Added common-bounds.
- Added align.
- Added align-pivot.
- Allow to separate arguments by comma.
- Renamed align-width to divisible-width.
- Renamed common-divisor to divisible-bounds.
Version 2.1.0 - 2023-02-24
- Fixed output scope.
- Fixed expression evaluation.
- Allow unexpanded variables in filename sequences.
Version 2.0.0 - 2023-02-22
- Split output in sheet and output.
- Removed implicit output.
- Renamed layers to maps.
- Added pack mode layers.
- Replaced scalings with scale.
- Parallelized trimming.
- Added texture to JSON output.
Version 1.9.0 - 2023-02-12
- Added sources to JSON output.
- Added set for setting variables.
- Added data for setting per sprite data.
- Added variable evaluation.
- Improved tag output.
- Improved output order.
- Compacting number arrays in JSON output.
- Compacted vertices in JSON output.
- Fixed pack method keep for multiple sources.
- Fixed deduplication when sprites are reordered.
Version 1.8.0 - 2023-02-07
- Not updating outputs when sources did not change.
- Added scalings.
- Added extrude modes mirror and repeat.
- Added pack methods rows and columns.
- Added output of inputFilename.
- Removed -- commandline argument.
- Fixed debug output of vertices when rotated.
Version 1.7.0 - 2023-01-26
- Allow to set grid and grid-cells at once.
- Improved debug overlay.
- Support writing BMP.
Version 1.6.0 - 2023-01-21
- Created github.com/houmain/spright-test-suite.
- Detecting definitions without effects.
- Updating output files only when they change.
- Displaying input filename in error message.
- Support writing TGA.
- Added crop-pivot.
- Changed span's scope from input to sprite.
- Removed support for reading JPEG, PSD and HDR.
- Outputting layers in parallel.
- Ignore layers during file globbing.
- Fixed appending output path to output files.
Version 1.5.0 - 2022-11-14
- Added grid-cells.
- Cleanup of JSON output.
- Fixed bug in pack mode compact.
- Fixed pack mode compact without trim convex.
- Fixed allow-rotate with pack mode compact.
- Fixed Visual Studio compile flags for catch2.
Version 1.4.0 - 2022-10-15
- Added layers (issue #4).
- Support mixed number and word pivot declarations. (e.g. pivot center 8)
- Allow to offset pivot points (e.g. pivot top + 3 right - 5)
- Removed old definition names sheet/texture for input/output.
- Improved invalid argument count error messages.
- Fixed -- commandline arguments.
- Fixed sample cpp.template.