Minor Changes
-
#649
d80b933
Thanks @gcanti! - Arbitrary: should throw on declarations without annotations -
#669
294dfad
Thanks @gcanti! - Schema: refactorparseJson
to replaceParseJson
andfromJson
-
#649
d80b933
Thanks @gcanti! - Schema: refactorS.optional
API.Upgrade Guide:
S.optional(schema, { exact: true })
replaces the oldS.optional(schema)
S.optional(schema, { exact: true, default: () => A })
replaces the oldS.optional(schema).withDefault(() => A)
S.optional(schema, { exact: true, as: "Option" })
replaces the oldS.optional(schema).toOption()
-
#649
d80b933
Thanks @gcanti! - Schema: replacepropertySignature
constructor withpropertySignatureAnnotations
combinator -
#669
294dfad
Thanks @gcanti! - Schema: simplifysplit
parameters to only acceptseparator
-
#669
294dfad
Thanks @gcanti! - Schema: remove useless combinatorslowercase
uppercase
trim
numberFromString
symbolFromString
bigintFromString
bigintFromNumber
secret
durationFromHrTime
durationFromMillis
durationFromNanos
uint8ArrayFromNumbers
base64
base64url
hex
dateFromString
bigDecimalFromNumber
bigDecimalFromString
not