Skip to content

Latest commit

 

History

History
300 lines (195 loc) · 6.95 KB

CHANGELOG.md

File metadata and controls

300 lines (195 loc) · 6.95 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.

Version 3.5.0 - 2024-06-17

Added

  • Allow grid cell size of one dimension to be 0 (to maximize).
  • Added function removeDirectories.
  • Added function joinPaths.

Changed

  • Not merging sequences in glob when grid or atlas is active.

Fixed

  • Fixed # in string literals.
  • Fixed grid when globbing.
  • Preventing grid and atlas in input file sequences.
  • grid-cells is considering grid-spacing.

Version 3.4.0 - 2024-06-15

Added

  • Added function makeId.
  • Added function base64.
  • Added variables source.filenameBase, source.filenameStem, and source.filenameId.

Changed

  • Separated texture.path from texture.filename.
  • Also lookup templates in "templates" subdirectory.
  • Also packaging templates.

Fixed

  • Improved pixijs.inja template.

Version 3.3.1 - 2024-06-06

Added

  • Added max-sprites definition.
  • Added Cocos2d-x template.

Changed

  • Abort globbing when pattern is too coarse.

Fixed

  • 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

  • Added pack method origin.
  • Added alpha mode opaque.
  • Added color parameter to alpha mode clear.

Changed

  • Ignoring unsupported extension when globbing with '.*'.
  • Skip output of descriptions without filename.

Fixed

  • Properly handling missing closing quote.
  • Expand sprite bounds by over-alignment.

Version 3.2.0 - 2023-05-23

Added

  • Added PixiJS template.
  • Replacing variables in tag values.

Changed

  • Renamed template files to .inja.

Fixed

  • Fixed output path for descriptions.
  • Fixed redundancy check when outputting multiple descriptions.

Version 3.1.0 - 2023-05-20

Added

  • Added default sheet.
  • Added description and template definitions.

Changed

  • 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

Changed

  • Added glob, removed source definition.
  • Replaced several commandline parameters with single run mode parameter.
  • Outputting sprite indices by input/source.
  • Checking sequence bounds.

Added

  • 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

  • Added describe commandline option.
  • Added autocompletion for globbing and sequences.
  • Added inputs to output description.
  • Added errors as warnings option.

Changed

  • Replaced debug commandline option with definition.
  • Outputting either autocompleted definition or output description.
  • No longer supporting multiple input files.

Fixed

  • Filename sequence improved.

Version 2.2.0 - 2023-03-03

Added

  • Added gif output.
  • Added min-bounds.
  • Added common-bounds.
  • Added align.
  • Added align-pivot.
  • Allow to separate arguments by comma.

Changed

  • Renamed align-width to divisible-width.
  • Renamed common-divisor to divisible-bounds.

Version 2.1.0 - 2023-02-24

Fixed

  • Fixed output scope.
  • Fixed expression evaluation.
  • Allow unexpanded variables in filename sequences.

Version 2.0.0 - 2023-02-22

Changed

  • Split output in sheet and output.
  • Removed implicit output.
  • Renamed layers to maps.
  • Added pack mode layers.
  • Replaced scalings with scale.

Added

  • Parallelized trimming.
  • Added texture to JSON output.

Version 1.9.0 - 2023-02-12

Added

  • Added sources to JSON output.
  • Added set for setting variables.
  • Added data for setting per sprite data.
  • Added variable evaluation.

Changed

  • Improved tag output.
  • Improved output order.
  • Compacting number arrays in JSON output.
  • Compacted vertices in JSON output.

Fixed

  • Fixed pack method keep for multiple sources.
  • Fixed deduplication when sprites are reordered.

Version 1.8.0 - 2023-02-07

Added

  • 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.

Changed

  • Removed -- commandline argument.

Fixed

  • Fixed debug output of vertices when rotated.

Version 1.7.0 - 2023-01-26

Added

  • Allow to set grid and grid-cells at once.
  • Improved debug overlay.
  • Support writing BMP.

Version 1.6.0 - 2023-01-21

Added

  • 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

  • Changed span's scope from input to sprite.
  • Removed support for reading JPEG, PSD and HDR.
  • Outputting layers in parallel.

Fixed

  • Ignore layers during file globbing.
  • Fixed appending output path to output files.

Version 1.5.0 - 2022-11-14

Added

  • Added grid-cells.

Changed

  • Cleanup of JSON output.

Fixed

  • 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

  • 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)

Changed

  • Removed old definition names sheet/texture for input/output.
  • Improved invalid argument count error messages.

Fixed

  • Fixed -- commandline arguments.
  • Fixed sample cpp.template.