Changelog | Serialization | 1.2.0-preview
docs.unity.cn

    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.2.0] - 2020-04-03

    Changed

    • Update com.unity.properties to version 1.2.0-preview.

    Fixed

    • Fix binary deserialization to correctly ignore properties marked with [DontSerialize] or [NonSerialized].

    Added

    • Added Minified option to JsonSerializationParameters.
    • Added Simplified option to JsonSerializationParameters.

    [1.1.1] - 2020-03-20

    Changed

    • Update com.unity.properties to version 1.1.1-preview.

    Fixed

    • Fix JSON deserialization of polymorphic array types.

    [1.1.0] - 2020-03-11

    Changed

    • Update com.unity.properties to version 1.1.0-preview.

    Fixed

    • Fix exception thrown when encountering null FileInfo or DirectoryInfo during JSON serialization.

    Added

    • Added built-in support to serialize/deserialize LazyLoadReference in 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.properties to version 0.10.3-preview.

    [0.6.2] - 2019-11-05

    Changed

    • Updated com.unity.properties to version 0.10.1-preview.

    Fixed

    • Reference type values set to null will now serialize as null instead of {}.

    [0.6.1] - 2019-10-25

    Fixed

    • Fixed a major serialization regression for UnityEngine.Object derived objects.

    [0.6.0] - 2019-10-25

    Changed

    • Breaking change JsonSerialization.Deserialize will now return a disposable VisitResult containing logs, errors and exceptions that occurred during deserialization.
    • Updated com.unity.properties to version 0.10.0-preview.

    Added

    • Support JSON serialization of System.DateTime and System.TimeSpan.

    [0.5.1] - 2019-10-21

    Added

    • Support JSON serialization of UnityEditor.GlobalObjectId.
    • Support JSON serialization of UnityEditor.GUID.
    • New method DeserializeFromStream to deserialize from stream object.

    Changed

    • Updated com.unity.properties to version 0.9.1-preview.
    • Deserialization will now attempt to construct the destination container using PropertyContainer.Construct utility.
    • Deserialization will now attempt to read type information field $type by default.

    [0.5.0] - 2019-10-07

    Changed

    • Updated com.unity.properties to version 0.9.0-preview.

    [0.4.1] - 2019-09-25

    Changed

    • Updated com.unity.properties to version 0.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.properties version 0.8.0-preview.

    [0.3.1] - 2019-09-16

    Added

    • Support JSON serialization of DirectoryInfo and FileInfo using string as underlying type.

    [0.3.0] - 2019-08-28

    Changed

    • Updated com.unity.properties to version 0.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

    • JsonVisitor virtual method GetTypeInfo now 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.
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX