Skip to content

1.2.0

Choose a tag to compare

@phosxd phosxd released this 30 Nov 01:29
· 73 commits to main since this release

What's new:

4 new rules:

  • d4f4359 Added "instantiator_arguments" rule for defining arguments to pass to the object constructor without needing to override the instantiator function.
  • cb6751b Added "type_inclusions" rule for only allowing specific types, inverse of "type_exclusions".
  • cb6751b Added "property_inclusions" rule for only allowing specific properties, inverse of "property_exclusions".
  • cb6751b Added "fppe_mitigation" rule for removing floating point precision errors.

Other:

  • 2e07d39 Circular references now supported: No longer goes into an infinite loop when encountering a circular references. Now stores an index number for every unique object & converts copies to references of the original.
  • 2e07d39 "A2JTypeHandler" objects can now utilize shared data via the "A2J._process_data" property.
  • 2e07d39 "A2JTypeHandler" objects can now append functions to be called after the main serialization via the "A2J._process_next_pass_functions" property.

What's changed:

  • d4f4359 Renamed "instantiator" rule to "instantiator_function".
  • d4f4359 "PackedColorArray" is no longer serialized to a hexadecimal string like other packed array types. Each color is individually converted to a hex color code & put into an array.
  • 50c2f50 Renamed "A2JReference" type to "A2JRef". And "value" in A2JRef is now "name".