Skip to content

Releases: JujuAdams/SNAP

5.5.1

05 Mar 15:07
Compare
Choose a tag to compare
  • Adds SnapMerge()
  • Fixes nested reading 2D arrays from YAML

5.4.0

26 Feb 14:01
Compare
Choose a tag to compare
  • Adds array-as-key for Loose JSON parser

5.3.0

08 Jan 21:11
Compare
Choose a tag to compare

5.2.0

02 Jan 20:29
Compare
Choose a tag to compare
  • Fixes final cell being ignored for CSV files if a the trailing comma or newline is missing
  • Adds SnapMD5() to take the hash of an array/struct. This is not a quick function so use sparingly!
  • Adds "loose JSON" parser, for use with config files and the like

5.1.2

11 Dec 14:34
Compare
Choose a tag to compare
  • Fixes empty structs and arrays not being written correctly when exporting JSON
  • Fixes escaped character handling sometimes trimming off the end of strings when importing JSON

5.1.1

27 Nov 19:37
Compare
Choose a tag to compare
  • Fixed dumb function typos (thanks @tabularelf!)
  • Many improvements to the YAML parser:
    • Comments no longer need a space after #
    • Brings array - token indentation requirement in line with the YAML spec
    • Can now use tabs (not that the YAML officially supports this 😳)
    • Fixes inline JSON characters breaking the parser

5.0.0

30 Oct 22:34
a822bc4
Compare
Choose a tag to compare
  • Conversion to PascalCase function names
  • New documentation site
  • Splits up converters into string-parsers and buffer-parsers for easier use with async file saving/loading
  • Adds custom format "null-separated value" files (NSVs) as a faster CSV equivalent
  • JSON parser now handles U+xxxx character codes
  • Adds 2D array -> array of structs converter

4.2.0

27 Jul 08:20
Compare
Choose a tag to compare
  • Adds snap_deep_add() and snap_shallow_add()

4.1.0

03 Jul 10:28
Compare
Choose a tag to compare
  • Fixes multiple places where pointers weren't being handled
  • Fixes multiple places where GMS2022.5's new instance ID reference datatype wasn't being handled
  • Fixes XML creation using a legacy constant for prettification

4.0.2

09 May 08:28
Compare
Choose a tag to compare
  • Fixes multiline XML comments - thank you @evolutionleo
  • Fixes methods being treated as struct in snap_deep_copy() after an upstream change in GameMaker - thank you @Lojemiru