Skip to content

Releases: DASPRiD/koa-jsonapi-zod

v3.2.4

10 Oct 12:02
Compare
Choose a tag to compare

3.2.4 (2024-10-10)

Bug Fixes

  • middleware: return proper 400 response when failing to parse accept header (95f6220)

v3.2.3

01 Jul 00:49
Compare
Choose a tag to compare

3.2.3 (2024-07-01)

Bug Fixes

  • skip whitespace after encountering media type separator without parameters (16bd1a3)

v3.2.2

09 May 12:52
Compare
Choose a tag to compare

3.2.2 (2024-05-09)

Bug Fixes

  • index: export TopLevelLinks type (f7ffd32)

v3.2.1

05 May 16:59
Compare
Choose a tag to compare

3.2.1 (2024-05-05)

Bug Fixes

  • serializer: pass full field path down to single entity relationships (807e741)

v3.2.0

04 May 18:30
Compare
Choose a tag to compare

3.2.0 (2024-05-04)

Features

  • request: allow setting custom id schema for resource identifiers (9838f5a)

v3.1.0

27 Apr 16:06
Compare
Choose a tag to compare

3.1.0 (2024-04-27)

Features

  • allow passing down additional context through relationships (13a5a2b)

v3.0.0

21 Apr 17:11
Compare
Choose a tag to compare

3.0.0 (2024-04-21)

Features

  • introduce per-serializer context (143b515)

BREAKING CHANGES

  • the serializer context is now not global anymore put per
    serializer.

v2.1.1

21 Apr 14:43
Compare
Choose a tag to compare

2.1.1 (2024-04-21)

Bug Fixes

  • request: allow ZodTypeAny to account for effects (13477d8)

v2.1.0

26 Mar 11:45
Compare
Choose a tag to compare

2.1.0 (2024-03-26)

Features

  • request: add clientResourceIdentifierSchema to allow for client created relations (0550abb)

v2.0.0

25 Mar 13:48
Compare
Choose a tag to compare

2.0.0 (2024-03-25)

Features

  • request: don't make filter and page parameters optional by default (d56837f)

BREAKING CHANGES

  • request: when filter or page is defined, it is now required by default.
    To get the old behavior, add .optional() to your schemas.