ESM only
Breaking changes
- The package is now ESM-only
- The types are no longer exported from the main entrypoint. Instead, they are exported from the
/typessubmodule. - Slight changes in the wording of error messages (Might be a breaking change, if some part of your codebase relies on exact error message string)
Code Refactoring
- remove validator package and use internal helpers for validation (164fa9b)
Features
What's Changed
- Add optionalWhen variant by @RomainLanz in #4
New Contributors
- @RomainLanz made their first contribution in #4
Full Changelog: v1.0.3...v2.0.0