Skip to content

Releases: ExpressApp/construct

v2.1.5

13 Aug 11:25

Choose a tag to compare

Bug fixes

  • Ensure module is compiled when checking for Construct def

v2.1.4

13 Aug 09:56

Choose a tag to compare

Bug fixes

  • Ensure module is trying to be compiled when checking that if this module is Construct definition

v2.1.3

06 Aug 07:42

Choose a tag to compare

Enhancements

  • Add :pid and :reference types

v2.1.2

30 May 12:39

Choose a tag to compare

Bug fixes

  • Fix case when non-enumerable values passed in array struct

v2.1.1

22 Jan 20:21

Choose a tag to compare

Bug fixes

  • Fix default values retriever for construct modules as types

v2.1.0

18 Jan 12:32

Choose a tag to compare

Enhancements

  • Derive inheritance
  • Add Construct.types_of/1
  • Support to build Construct definitions from raw types
  • Support nested types in Construct.Cast.make/3

v2.0.0

08 Nov 12:36
f2a023c

Choose a tag to compare

Enhancements

  • Functions as default values
  • Structs created from Kernel.struct/1,2 and make/1,2 are now equal
  • Structs with required fields return error when creating from Kernel.struct/1,2
  • __construct__(:types) returns types with defined options %{name => {type, opts}}
  • Improve decimals and datetimes handling
  • Performance of Construct.Cast is increased by almost 1.5x times

Bug fixes

  • Fix define structure via using

Hard-deprecations

  • Remove __structure__/1 and __structure__/2, use __construct__(:types) instead

v1.2.1

09 Oct 17:18

Choose a tag to compare

1. Bug fixes

  • Fix define structure via using

v1.2.0

04 Oct 09:33

Choose a tag to compare

1. Enhancements

  • Add struct type

v1.1.1

22 Aug 16:40

Choose a tag to compare

1. Enhancements

  • Definition in using macro
  • Add able to override fields