- 9f5ba17: Include provenance statements to the package
- 30673ac: The
exports
declarations in package.json were missing thetype
subpath. See #419
-
ec32a30: Force stricter type for the
.validate(fn)
function arguments:// Before: v is of type unknown string().validate((v) => v === "Hello"); // <-- TS error! // After: v is of type string string().validate((v) => v === "Hello"); // <-- Works!
This should not be a breaking change, but you should be aware of the new behavior.
- 9dfa28b: Allow the user to pass async functions as function props. Closes #397
- 9dfa28b: Allow the user to pass async functions as function props. Closes #397
-
8cb1ccb: - Accepts null as valid value in validateType util
- fix docs:
nullable()
should be used for nullable required props.
Closes #383
- fix docs:
-
8cb1ccb: - Accepts null as valid value in validateType util
- fix docs:
nullable()
should be used for nullable required props.
Closes #383
- fix docs: