Superstruct v0.1.0 Release Notes
Release Date: 2017-11-29 // over 6 years ago-
BREAKING
- Structs are now classes instead of functions. This is better in terms of the API being a bit less magic-y. It's also useful so that we can add other helpful methods to structs besides the
assert
method. What was previouslystruct(data)
is nowstruct.assert(data)
.
- Structs are now classes instead of functions. This is better in terms of the API being a bit less magic-y. It's also useful so that we can add other helpful methods to structs besides the