Skip to content

5.0.0

Compare
Choose a tag to compare
@kamranayub kamranayub released this 13 Jun 13:35
· 4 commits to master since this release
a3d42b8

June 2024: Performance and API updates by @kamranayub in #36

BREAKING CHANGES

  • Fix: Mark ExternalGame.Media enum property as nullable
  • Removed public static IdentityConverter.IsAssignableToGenericType helper and replaced with IsIdentityOrValue and IsIdentitiesOrValues static helpers

Changes

  • Performance: Refactored IdentityConverter to speed up deserialization using a compiled Lamda activator and avoiding excessive type checks
  • Expose IdentityConverter.GetIdentitiesActivator for constructing IdentitiesOrValues<> with long[]
  • Expose IdentityConverter.GetValuesActivator for constructing IdentitiesOrValues<> with object[]
  • Expose IdentityConverter.GetIdentityActivator for constructing IdentityOrValue<> with long
  • Expose IdentityConverter.GetValueActivator for constructing IdentityOrValue<> with object

Full Changelog: 4.0.1...5.0.0