Bot releases are hidden (Show)
Full Changelog: https://github.com/YAXLib/YAXLib/compare/v4.2.1...v4.2.2
Published by axunonb 7 months ago
Full Changelog: https://github.com/YAXLib/YAXLib/compare/v4.2.0...v4.2.1
Published by axunonb about 1 year ago
Many thanks to @ycherkes for the great job in creating this version (first contribution)
Full Changelog: https://github.com/YAXLib/YAXLib/compare/v4.1.0...v4.2.0
Published by axunonb over 1 year ago
Add DateOnly
and TimeOnly
as KnownType
s that can be serialized and deserialized in https://github.com/YAXLib/YAXLib/pull/224
Add NET6.0 as a target framework in in https://github.com/YAXLib/YAXLib/pull/224. No dependencies for NET6.0
Add reference to Portable.System.DateTimeOnly v7.0.1 (Project https://github.com/OlegRa/System.DateTimeOnly supports DateOnly and TimeOnly types for NetStandard2.x and .NET Framework 4.6.x) in in https://github.com/YAXLib/YAXLib/pull/224
Miscellaneous
Full Changelog: https://github.com/YAXLib/YAXLib/compare/v4.0.0...v4.1.0
Published by axunonb almost 2 years ago
v4.0.0
ICustomSerializer
s and IKnownType
s with ISerializationContext
as additional parameter.ICustomSerializer
s and IKnownType
s a single instance is used for all invokations (instead of one instance per invokation)YAXSerializationOptions
now have flag None = 0
. SerializeNullObjects
is still the default, and is set in the CTOR of YAXSerializer
.YAXLib
using Nullable Reference Types (aka #nullable enable
)SerializerOptions.MaxRecursion = 50
(was 300 before). Can be changed, if needed. YAXSerializer<T>
IKnownType
s can be dynamically added and removed. WellKnownTypes
are public
now.ISerializationContext
contains ITypeContext
, IMemberContext?
, SerializerOptions
, RecursionCount
for a better implementation experience of ICustomSerializer
s and IKnownType
s. Block recursive calls to ICustomSerializer
s and IKnownType
s.ITypeContext
offers methods
IYAXSerializer
.GetFieldsForSerialization()
and GetFieldsForDeserialization()
to get fields identified by IYaxSerializer
.ICustomSerializer
s can be also be invoked using a private
constructorException
and derived classes can be serialized and deserialized fast and reliablyYAXSerializableTypeAttribute.IncludePrivateMembersFromBaseTypes
)NetStandard2.1
as target framework, containing specific optimizationsPublished by axunonb about 2 years ago
v4.0.0-pre.1
ICustomSerializer
s and IKnownType
s with ISerializationContext
as additional parameter.ICustomSerializer
s and IKnownType
s a single instance is used for all invokations (instead of one instance per invokation)YAXSerializationOptions
now have flag None = 0
. SerializeNullObjects
is still the default, and is set in the CTOR of YAXSerializer
.YAXLib
using Nullable Reference Types (aka #nullable enable
)SerializerOptions.MaxRecursion = 50
(was 300 before). Can be changed, if needed. YAXSerializer<T>
IKnownType
s can be dynamically added and removed. WellKnownTypes
are public
now.ISerializationContext
contains ITypeContext
, IMemberContext?
, SerializerOptions
, RecursionCount
for a better implementation experience of ICustomSerializer
s and IKnownType
s. Block recursive calls to ICustomSerializer
s and IKnownType
s.ITypeContext
offers methods
IYAXSerializer
.GetFieldsForSerialization()
and GetFieldsForDeserialization()
to get fields identified by IYaxSerializer
.ICustomSerializer
s can be also be invoked using a private
constructorException
and derived classes can be serialized and deserialized fast and reliablyYAXSerializableTypeAttribute.IncludePrivateMembersFromBaseTypes
)NetStandard2.1
as target framework, containing specific optimizationsPublished by axunonb about 3 years ago
Changes from v3.0.0:
The UdtWrapper
now initializes the UnderlyingType
property with the underlying type of the udtType, if it is nullable
.
Corrected unit tests in YAXLibTests/SerializationTest.cs:
Added De/Serialilzation test for fields.
Published by 304NotModified about 3 years ago
Changes:
Exception
s can now be serialized properly, resolving #22 and #62 (#152)YAXSerializer
leaves SerializerOptions.MaxRecursion
(and obsolete YAXSerializer.MaxRecursion
unchanged (#154)YAXAttributeForClass
and YAXValueForClass
attributes are ignored when a YAXCustomSerializer
is not an attribute for the property, but on the property's type (#143, #97)SerializerOptions
for instanciating YAXSerializer
(#137). Marked 2.x constructors as obsolete (will be removed in v4)Breaking changes:
ToLowerInvariant()
, see the docs here. De-serialization is backward compatible. (#78)ICustomDeserializer
has been removed. It was not used in YAXLib
(#150)