Releases: phosxd/Any-JSON
1.3.4
- 8e3be29 Added new example using compound collections & resources.
- 69c8d0b Added UID files for better collaboration. UID files are not present when downloaded from the Asset Library.
- a6b9796 Fixed trying to get property details on objects before script was applied.
- 0163c91 Fix error signal not being emitted when
print_errorsis false. - 0163c91 Removed
error_stackvariable (error server should be used instead).
1.3.3
-
ab63b98 38a60c9 cf830ee Fix nested types not being properly handled during deserialization when applying to a typed property.
-
200899e Fix
StringNamenot being accepted in error translations. -
9b37291 Fix incorrect error being reported when "property_references" in ruleset is not formatted correctly.
-
4fb96eb Fix error reporting invalid name of property ("convert_properties_to_references" instead of "property_references").
-
b6d5803 Moved array & dictionary re-typing logic to
A2JUtilclass as static functions, instead of being embedded inside the core logic ofA2J._from_json. -
200899e Add
Gradient&FastNoiseLiteclasses to default object registry.
1.3.1
- b32ba53 Fix private metadata properties not being excluded when
exclude_private_propertiesis true. - dfa8d8c Added
A2JErrorServerclass for hosting signal connections for errors. An instance of this will automatically be setup asA2J.error_server. - Added descriptions to some functions that did not already have them.
- Corrected some incorrect statements in the README.
1.3.0
1.3.0 marks the end of active development for Any-JSON. Future updates will focus mostly on fixes & quality-of-life changes.
Pull requests & suggestions are still welcome!
What's new:
- ae72acc Added "class_inclusions" & "class_exclusions" rules for specifying what classes you want to serialize or not serialize.
- 9056d6b Added automatic variable typing during deserialization.
- a75b11d Added
InputEventclasses in object registry.
What's changed:
1.2.0
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".
1.1.0
What's new:
3 new rules:
- instantiator: lets you define custom logic for instantiating objects.
- exclude_properties_set_to_default: option to exclude properties that have the same value as their default.
- exclude_private_properties: option to exclude properties starting with an underscore "_".
More examples:
- c2e7187 Added dedicated examples folder.
- c2e7187 Added resource serialization examples.
- 7cd4333 Added encryption examples.
- 429acd5 Added compression examples.
Other:
- c114660 Added ability to override class global name.