Releases: Effect-TS/schema
v0.56.1
v0.56.0
Minor Changes
- #673
0508ac5
Thanks @tim-smart! - update effect
v0.55.0
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
Patch Changes
v0.54.1
Patch Changes
v0.54.0
Minor Changes
- #662
7f448dd
Thanks @tim-smart! - update effect
v0.53.3
Patch Changes
- #654
a5950d1
Thanks @jessekelly881! - added S.Secret
v0.53.2
v0.53.1
Patch Changes
-
#655
54f61d6
Thanks @tim-smart! - fix for never error types in TaggedRequest.Any -
#604
88f61cc
Thanks @jessekelly881! - added filters for Duration -
#605
c728880
Thanks @jessekelly881! - added toString for schema classes
v0.53.0
Minor Changes
-
#635
30802d5
Thanks @gcanti! - JSONSchema: renameJsonSchema7Top
toJsonSchema7Root
-
#650
05c2275
Thanks @tim-smart! - update effect -
#640
8dcf12c
Thanks @gcanti! - ParseResult: renameParseErrors
toParseIssue
-
#636
deddf6e
Thanks @gcanti! - Schema: rename lazy to suspend (to align with Effect.suspend)
Patch Changes
v0.52.0
Minor Changes
- #632
ad220dd
Thanks @tim-smart! - update effect
Patch Changes
-
#609
8ca0220
Thanks @tim-smart! - add Serializable module -
#609
8ca0220
Thanks @tim-smart! - add FiberId schema -
#609
8ca0220
Thanks @tim-smart! - add Exit schema -
#609
8ca0220
Thanks @tim-smart! - add Cause schema