Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Releases: Effect-TS/schema

v0.56.1

24 Dec 13:52
6333da2
Compare
Choose a tag to compare

Patch Changes

  • #684 6b9585b Thanks @patroza! - improve: Actually use Arbitrary interface in to/from/unsafe signature

  • #679 0f8a8f1 Thanks @gcanti! - Schema: add annotations argument to attachPropertySignature

v0.56.0

21 Dec 20:11
6216277
Compare
Choose a tag to compare

Minor Changes

v0.55.0

20 Dec 13:22
c4de61a
Compare
Choose a tag to compare

Minor Changes

  • #649 d80b933 Thanks @gcanti! - Arbitrary: should throw on declarations without annotations

  • #669 294dfad Thanks @gcanti! - Schema: refactor parseJson to replace ParseJson and fromJson

  • #649 d80b933 Thanks @gcanti! - Schema: refactor S.optional API.

    Upgrade Guide:

    • S.optional(schema, { exact: true }) replaces the old S.optional(schema)
    • S.optional(schema, { exact: true, default: () => A }) replaces the old S.optional(schema).withDefault(() => A)
    • S.optional(schema, { exact: true, as: "Option" }) replaces the old S.optional(schema).toOption()
  • #649 d80b933 Thanks @gcanti! - Schema: replace propertySignature constructor with propertySignatureAnnotations combinator

  • #669 294dfad Thanks @gcanti! - Schema: simplify split parameters to only accept separator

  • #669 294dfad Thanks @gcanti! - Schema: remove useless combinators

    • lowercase
    • uppercase
    • trim
    • numberFromString
    • symbolFromString
    • bigintFromString
    • bigintFromNumber
    • secret
    • durationFromHrTime
    • durationFromMillis
    • durationFromNanos
    • uint8ArrayFromNumbers
    • base64
    • base64url
    • hex
    • dateFromString
    • bigDecimalFromNumber
    • bigDecimalFromString
    • not

Patch Changes

v0.54.1

19 Dec 15:51
e9f8cb7
Compare
Choose a tag to compare

Patch Changes

v0.54.0

18 Dec 03:03
811a2b9
Compare
Choose a tag to compare

Minor Changes

v0.53.3

14 Dec 13:19
3742553
Compare
Choose a tag to compare

Patch Changes

v0.53.2

13 Dec 17:06
3c6b714
Compare
Choose a tag to compare

Patch Changes

v0.53.1

13 Dec 01:04
d39ce40
Compare
Choose a tag to compare

Patch Changes

v0.53.0

10 Dec 21:38
bd6405e
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #645 ece6128 Thanks @gcanti! - ensure that JSON Schema annotations can be exclusively applied to refinements

v0.52.0

06 Dec 02:52
95bf131
Compare
Choose a tag to compare

Minor Changes

Patch Changes