Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[1.7.5] - 2022-01-25
Changed
- Updated
com.unity.propertiesto version1.7.5-preview.
[1.7.4] - 2022-01-24
Fixed
- Fix nullable enum types for Unity
2021.2and up. ### Changed - Updated
com.unity.propertiesto version1.7.4-preview.
[1.7.3] - 2021-08-04
Fixed
- Fix exception thrown when trying to serialize or deserialize nullable struct types.
Changed
- Updated
com.unity.propertiesto version1.7.1-preview.
[1.7.2] - 2021-07-19
Fixed
- Fix crash when re-allocating internal buffers in
JsonTokenizer.
[1.7.1] - 2021-06-07
Fixed
- Fix exception thrown in
UnsafePackedBinaryStream.GetFirstChildIndexwhen deserializing large json files.
[1.7.0] - 2021-02-26
Changed
- Updated
com.unity.propertiesto version1.7.0-preview.
Fixed
- Fixed an issue where
BinarySerializationwas keeping serialized references until the nextToBinarycall. - Fixed an issue where
JsonSerializationvalidation was not detecting open scopes at the end of a stream.
[1.6.2] - 2020-12-03
Fixed
- Fixed a regression causing
objectfields with bool values to be serialized as a quoted string.
[1.6.1] - 2020-10-22
Fixed
- Fixed internal API compatibility with
FixedString.
[1.6.0] - 2020-10-07
Changed
- Updated minimum Unity version to
2020.1. - Update
com.unity.burstto version1.3.5. - Update
com.unity.collectionsto version0.12.0-preview.13. - Update
com.unity.jobsto version0.5.0-preview.14. - Update
com.unity.propertiesto version1.6.0-preview. - Update
com.unity.test-framework.performanceto version2.3.1-preview.
Added
- Added low level
JsonWriterclass which can be used as a forward only JSON writer. - Added binary serialization support for
System.Guid,System.DateTime,System.TimeSpan,System.Version,System.IO.FileInfo,System.IO.DirectoryInfo,UnityEditor.GUID,UnityEditor.GlobalObjectId.
[1.5.0] - 2020-08-21
Added
- Added unsafe constructor overload to
SerializedObjectReaderthat takeschar*and length.
Changed
- Enabled minimal support for
NET_DOTS. Low level tokenization and parsing is now available. - Updated
com.unity.propertiesto version1.5.0-preview.
[1.4.3] - 2020-08-04
Changed
- Update
com.unity.propertiesto version1.4.3-preview.
Added
- Added built-in support for serialize/deserialize
System.Versionin Json.
[1.4.2] - 2020-08-03
Changed
- Update
com.unity.propertiesto version1.4.2-preview.
[1.4.1] - 2020-07-31
Changed
- Update
com.unity.propertiesto version1.4.1-preview.
[1.4.0] - 2020-07-30
Changed
- Update
com.unity.propertiesto version1.4.0-preview.
[1.3.1] - 2020-06-11
Changed
- Update
com.unity.propertiesto version1.3.1-preview.
[1.3.0] - 2020-05-13
Added
- Added
UserDataparameter toJsonSerializationParameterswhich can be retrieved during migration inJsonMigrationContext.
Changed
- Update
com.unity.propertiesto version1.3.0-preview.
[1.2.0] - 2020-04-03
Changed
- Update
com.unity.propertiesto version1.2.0-preview.
Fixed
- Fix binary deserialization to correctly ignore properties marked with
[DontSerialize]or[NonSerialized].
Added
- Added
Minifiedoption toJsonSerializationParameters. - Added
Simplifiedoption toJsonSerializationParameters.
[1.1.1] - 2020-03-20
Changed
- Update
com.unity.propertiesto version1.1.1-preview.
Fixed
- Fix JSON deserialization of polymorphic array types.
[1.1.0] - 2020-03-11
Changed
- Update
com.unity.propertiesto version1.1.0-preview.
Fixed
- Fix exception thrown when encountering null
FileInfoorDirectoryInfoduring JSON serialization.
Added
- Added built-in support to serialize/deserialize
LazyLoadReferencein editor. Not supported at runtime.
[1.0.0] - 2020-03-02
Changed
- Breaking change Complete API overhaul, see the package documentation for details.
[0.6.3] - 2019-11-08
Changed
- Updated
com.unity.propertiesto version0.10.3-preview.
[0.6.2] - 2019-11-05
Changed
- Updated
com.unity.propertiesto version0.10.1-preview.
Fixed
- Reference type values set to
nullwill now serialize asnullinstead of{}.
[0.6.1] - 2019-10-25
Fixed
- Fixed a major serialization regression for
UnityEngine.Objectderived objects.
[0.6.0] - 2019-10-25
Changed
- Breaking change
JsonSerialization.Deserializewill now return a disposableVisitResultcontaining logs, errors and exceptions that occurred during deserialization. - Updated
com.unity.propertiesto version0.10.0-preview.
Added
- Support JSON serialization of
System.DateTimeandSystem.TimeSpan.
[0.5.1] - 2019-10-21
Added
- Support JSON serialization of
UnityEditor.GlobalObjectId. - Support JSON serialization of
UnityEditor.GUID. - New method
DeserializeFromStreamto deserialize from stream object.
Changed
- Updated
com.unity.propertiesto version0.9.1-preview. - Deserialization will now attempt to construct the destination container using
PropertyContainer.Constructutility. - Deserialization will now attempt to read type information field
$typeby default.
[0.5.0] - 2019-10-07
Changed
- Updated
com.unity.propertiesto version0.9.0-preview.
[0.4.1] - 2019-09-25
Changed
- Updated
com.unity.propertiesto version0.8.1-preview.
[0.4.0] - 2019-09-24
Added
- Support JSON serialization of
UnityEngine.Object.
Changed
- Now requires Unity 2019.3 minimum.
- Now requires
com.unity.propertiesversion0.8.0-preview.
[0.3.1] - 2019-09-16
Added
- Support JSON serialization of
DirectoryInfoandFileInfousing string as underlying type.
[0.3.0] - 2019-08-28
Changed
- Updated
com.unity.propertiesto version0.7.1-preview. - Support JSON serialization of enums using numeric integral types as underlying type.
[0.2.1] - 2019-08-08
Changed
- Support for Unity 2019.1.
[0.2.0] - 2019-08-06
Changed
JsonVisitorvirtual methodGetTypeInfonow provides the property, container and value parameters to help with type resolution.
[0.1.0] - 2019-07-22
- This is the first release of Unity.Serialization.