Many thanks to @Saeris, @ariskemper, @mxdvl, @romeerez and @niccholaspage for contributing to this release.
- Add
Default
andDefaultAsync
type and refactor codebase - Add
Fallback
andFallbackAsync
type and refactor codebase - Add
isOfType
type guard util to check the type of an object - Refactor
getDefaults
andgetDefaultsAsync
method (pull request #259) - Refactor
getFallbacks
andgetFallbacksAsync
method (pull request #259) - Change type definitions from
type
tointerface
(pull request #259, #451) - Remove deprecated properties of
safeParse
andsafeParseAsync
method - Remove any deprecated method, schema and validation functions
- Fix
NestedPath
type offlatten
for async schemas (issue #456) - Fix implementation of
DefaultValue
type for transformed values