Releases: DASPRiD/koa-jsonapi-zod
Releases · DASPRiD/koa-jsonapi-zod
v2.0.0
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
1.4.5 (2024-03-23)
Bug Fixes
- common: make links object partial (535aac4)
v1.4.4
1.4.4 (2024-03-20)
Bug Fixes
- serializer: inject provided top level links into JSON:API document (7754e4d)
v1.4.3
1.4.3 (2024-03-20)
Bug Fixes
- request: build parameter name from deep path for ZodValidationError (d250bb5)
v1.4.2
1.4.2 (2024-03-20)
Bug Fixes
- request: allow omitting attributes schema (7f58d51)
v1.4.1
1.4.1 (2024-03-07)
Bug Fixes
- middleware: strip leading and trailing underlines from HttpError codes (8e6b734)
v1.4.0
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
1.3.2 (2024-03-03)
Bug Fixes
- accept: check for existence of ext and profile before splitting (e72c212)
v1.3.1
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
1.3.0 (2024-03-02)
Features
- process possible JSON:API responses on excluded paths (bd273ac)