Releases: CSBiology/DynamicObj
Releases · CSBiology/DynamicObj
5.0.0
Breaking changes.
- Refactor and improve
Copy
methods onDynamicObj
:ShallowCopyDynamicProperties
: Copies all dynamic properties to a newDynamicObj
instance without trying to prevent reference equality.ShallowCopyDynamicPropertiesTo
: Copies all dynamic properties to a targetDynamicObj
instance without trying to prevent reference equality.DeepCopyProperties
: Recursively deep copy aDynamicObj
instance (or derived class) with all (static and dynamic) properties. Reinstantiation - and therefore prevention of reference equality - is possible forDynamicObj
,array|list|ResizeArray<DynamicObj>
, and classes implementingSystem.Icloneable
DeepCopyPropertiesTo
: Recursively deep copies all (static and dynamic) properties to a targetDynamicObj
instance (or derived class). Reinstantiation - and therefore prevention of reference equality - is possible forDynamicObj
,array|list|ResizeArray<DynamicObj>
, and classes implementingSystem.Icloneable
Copy
method was therefore removed- Expose
CopyUtils
class that contains our generic deep copy attempt
Full release notes: https://github.com/CSBiology/DynamicObj/blob/main/RELEASE_NOTES.md
Full Changelog: 4.0.3...5.0.0
4.0.3
What's Changed
Full release notes: https://github.com/CSBiology/DynamicObj/blob/main/RELEASE_NOTES.md
Full Changelog: 4.0.2...4.0.3
4.0.2
- Undo
DynObj.combine
working with#DynamicObj
as input - this caused issues with ncombining nested DOs of types that inherited from DynamicObj. The type signature has been fixed toDynamicObj
(without the flexible#
)
Full release notes: https://github.com/CSBiology/DynamicObj/blob/main/RELEASE_NOTES.md
Full Changelog: 4.0.1...4.0.2
4.0.1
- Fix DynObj functions not being inlined (#39)
Full release notes: https://github.com/CSBiology/DynamicObj/blob/main/RELEASE_NOTES.md
Full Changelog: 4.0.0...4.0.1
DynamicObj v4.0.0
What's Changed
- Fable compatability by @HLWeil in #23
- Fixes and copyDynamicProperties by @HLWeil in #27
- Add typed property retrieval function by @HLWeil in #28
- Add tests and a fix by @HLWeil in #29
- DynObj rework and various tests by @kMutagene in #32
- rename some tests by @kMutagene in #34
- Api renaming by @kMutagene in #36
- Add conditional compilation rules to transpilation-specific sections by @HLWeil in #38
- Fix System.Dynamic.DynamicObject based Serialization via Newtonsoft.Json by @kMutagene in #37
Manual changelog
See RELEASE_NOTES.md
New Contributors
Full Changelog: 2.0.0...4.0.0