Skip to content

Releases: JujuAdams/SNAP

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

4.0.1

05 Sep 17:09
Compare
Choose a tag to compare
  • Adds snap_string(), a function that stringifies struct+array collections without crashing due to circular references
  • Removes redundant 4th argument being used in foreach (thanks @gnysek)
  • Adds BOM check to snap_from_csv() to make working with text editors smoother (thanks @tabularelf)
  • Fixes negative integers being decoded/encoded incorrectly in messagepack

4.0.0

21 Jul 21:22
Compare
Choose a tag to compare

Changes structure of XML output to preserve order. You can learn more about the new ordering here.

3.5.4

19 Jul 19:42
Compare
Choose a tag to compare

Fixes snap_from_yaml() incorrectly deserializing when comments were using with Unix newlines

3.5.3

03 Jun 14:09
Compare
Choose a tag to compare

Fixes edge crash crash for Messagepack decoding when a message terminates with an empty string

3.5.2

14 Feb 16:09
664cda3
Compare
Choose a tag to compare

One contribution from @shdwcat:

  • The member variable __snap_field_order is created in structs built using snap_from_yaml() if the [trackFieldOrder] argument is set to true

Addresses the following issues:
#5 - Methods and functions are now duplicated by snap_deep_copy(). Please note that complex references between structs may cause method duplication to behave strangely
#8 - UTF8 byte order mark is now ignored when loading a string from a file

3.5.1

23 Dec 10:47
Compare
Choose a tag to compare

Improves GML decoder by throwing errors and supporting comments.

3.5.0

23 Dec 00:41
Compare
Choose a tag to compare

Adds GML struct definition encoding/decoding.