Current section

Files

Jump to
construct CHANGELOG.md
Raw

CHANGELOG.md

## Changelog
## v2.0.0
* 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.0
* Enhancements
* Add `struct` type
## v1.1.1
* Enhancements
* Definition in using macro
* Add able to override fields
## v1.1.0
* Enhancements
* Make structs from params as a keyword list
* Simplify type declaration in standalone cast
* Accept types declaration as a key value structure
## v1.0.1
* Enhancements
* Self and cross dependent types