Skip to content

Releases: DASPRiD/koa-jsonapi-zod

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.

v1.4.5

23 Mar 11:45
Compare
Choose a tag to compare

1.4.5 (2024-03-23)

Bug Fixes

  • common: make links object partial (535aac4)

v1.4.4

20 Mar 15:42
Compare
Choose a tag to compare

1.4.4 (2024-03-20)

Bug Fixes

  • serializer: inject provided top level links into JSON:API document (7754e4d)

v1.4.3

20 Mar 15:23
Compare
Choose a tag to compare

1.4.3 (2024-03-20)

Bug Fixes

  • request: build parameter name from deep path for ZodValidationError (d250bb5)

v1.4.2

20 Mar 15:00
Compare
Choose a tag to compare

1.4.2 (2024-03-20)

Bug Fixes

  • request: allow omitting attributes schema (7f58d51)

v1.4.1

07 Mar 13:03
Compare
Choose a tag to compare

1.4.1 (2024-03-07)

Bug Fixes

  • middleware: strip leading and trailing underlines from HttpError codes (8e6b734)

v1.4.0

04 Mar 14:12
Compare
Choose a tag to compare

1.4.0 (2024-03-04)

Features

  • add methodNotAllowedHandler to remove downstream boilerplate (8d55ac5)
  • move content-type check to body parser (e7180b6)

v1.3.2

03 Mar 13:19
Compare
Choose a tag to compare

1.3.2 (2024-03-03)

Bug Fixes

  • accept: check for existence of ext and profile before splitting (e72c212)

v1.3.1

03 Mar 13:16
Compare
Choose a tag to compare

1.3.1 (2024-03-03)

Bug Fixes

  • accept: drop media types which have unknown parameters (6602216)
  • middleware: properly format 406 response (a168133)

v1.3.0

02 Mar 13:45
Compare
Choose a tag to compare

1.3.0 (2024-03-02)

Features

  • process possible JSON:API responses on excluded paths (bd273ac)