hex typed_struct 0.2.0
on Hex

latest releases: 0.3.0, 0.2.1
3 years ago

Added

  • Add a plugin API.

Removed

  • Remove reflection support through the __keys__/0, __defaults__/0 and
    __types__/0 function which where defined by TypedStruct in the user
    modules. If you rely on these functions, please use the
    TypedStructLegacyReflection
    plugin to enable them again, and consider creating a plugin for your needs.

Fixed

  • Do not enforce fields with a default value set to nil (fixes #14).
  • Prefix all internal module attributes and clean them after use (fixes #15).
  • Create a scope in the typedstruct block to avoid import leaks.

Don't miss a new typed_struct release

NewReleases is sending notifications on new releases.