Skip to content

Releases: CSBiology/DynamicObj

5.0.0

19 Dec 14:21
Compare
Choose a tag to compare

Breaking changes.

  • Refactor and improve Copy methods on DynamicObj:
    • ShallowCopyDynamicProperties: Copies all dynamic properties to a new DynamicObj instance without trying to prevent reference equality.
    • ShallowCopyDynamicPropertiesTo: Copies all dynamic properties to a target DynamicObj instance without trying to prevent reference equality.
    • DeepCopyProperties: Recursively deep copy a DynamicObj instance (or derived class) with all (static and dynamic) properties. Reinstantiation - and therefore prevention of reference equality - is possible for DynamicObj, array|list|ResizeArray<DynamicObj>, and classes implementing System.Icloneable
    • DeepCopyPropertiesTo: Recursively deep copies all (static and dynamic) properties to a target DynamicObj instance (or derived class). Reinstantiation - and therefore prevention of reference equality - is possible for DynamicObj, array|list|ResizeArray<DynamicObj>, and classes implementing System.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

16 Oct 11:18
5a03d10
Compare
Choose a tag to compare

What's Changed

  • Fix hash function failing for null property values by @HLWeil in #41

Full release notes: https://github.com/CSBiology/DynamicObj/blob/main/RELEASE_NOTES.md

Full Changelog: 4.0.2...4.0.3

4.0.2

15 Oct 14:45
Compare
Choose a tag to compare
  • 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 to DynamicObj (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

15 Oct 07:51
Compare
Choose a tag to compare
  • 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

26 Sep 07:54
Compare
Choose a tag to compare

What's Changed

Manual changelog

See RELEASE_NOTES.md

New Contributors

Full Changelog: 2.0.0...4.0.0