0.11.3 (2020-05-18)
- import: Remove unused import of index.js in src/unmarshal/index.js (71eac99)
0.11.1 (2020-02-27)
- throw non-empty object $default error if passing in a date or other non-POJO (76e7bfa)
0.11.0 (2020-02-27)
- make
new Type()
clone by default, but allow passing in an option to disable cloning for perf (3638b57)
0.10.2 (2020-02-25)
- clone empty arrays / objects if set as
$default
, throw if not an empty object (312aa14)
0.10.1 (2020-02-25)
- clone empty arrays / objects if set as
$default
, throw if not an empty object (312aa14)
0.10.0 (2019-08-09)
- remove
cloneDeep()
to reduce memory usage for huge objects (117c083)
0.9.1 (2019-06-10)
- export core Type class (3e1bdf2)
0.9.0 (2019-02-12)
0.8.8 (2019-01-30)
- remove leftover reference to lodash (34c6519)
0.8.7 (2019-01-29)
- clean up unnecessary _.each() usage (ab32c15)
0.8.6 (2019-01-28)
0.8.4 (2019-01-27)
- defaults: handle nested defaults correctly (c02b89b), closes #16
- to: dont convert null -> undefined when casting strings (92faef2)
0.8.3 (2018-03-21)
0.8.2 (2017-12-03)
0.8.1 (2017-10-19)
- handle passing array of paths to
Type.omit()
(0cfc96f)
0.8.0 (2017-09-21)
- export CastError type (1c3a971), closes #7
- helpers: add matchType (7f5e1e8)
- unmarshal: add rudimentary support for $transform (8bdf8db)
- unmarshal: report errors from $transform (a8c9e3d)
- unmarshal: support $transform in arrays (2d11cf5)
0.6.1 (2017-03-17)
- unmarshal: handle $type: Array with non-arrays (f65c063)