3.2.5 (2024-11-27)
- catch custom 400 errors emitted by koa-bodyparser (6b2a3ac)
3.2.4 (2024-10-10)
- middleware: return proper 400 response when failing to parse accept header (95f6220)
3.2.3 (2024-07-01)
- skip whitespace after encountering media type separator without parameters (16bd1a3)
3.2.2 (2024-05-09)
- index: export TopLevelLinks type (f7ffd32)
3.2.1 (2024-05-05)
- serializer: pass full field path down to single entity relationships (807e741)
3.2.0 (2024-05-04)
- request: allow setting custom id schema for resource identifiers (9838f5a)
3.1.0 (2024-04-27)
- allow passing down additional context through relationships (13a5a2b)
3.0.0 (2024-04-21)
- introduce per-serializer context (143b515)
- the serializer context is now not global anymore put per serializer.
2.1.1 (2024-04-21)
- request: allow ZodTypeAny to account for effects (13477d8)
2.1.0 (2024-03-26)
- request: add clientResourceIdentifierSchema to allow for client created relations (0550abb)
2.0.0 (2024-03-25)
- request: don't make filter and page parameters optional by default (d56837f)
- request: when filter or page is defined, it is now required by default.
To get the old behavior, add
.optional()
to your schemas.
1.4.5 (2024-03-23)
- common: make links object partial (535aac4)
1.4.4 (2024-03-20)
- serializer: inject provided top level links into JSON:API document (7754e4d)
1.4.3 (2024-03-20)
- request: build parameter name from deep path for ZodValidationError (d250bb5)
1.4.2 (2024-03-20)
- request: allow omitting attributes schema (7f58d51)
1.4.1 (2024-03-07)
- middleware: strip leading and trailing underlines from HttpError codes (8e6b734)
1.4.0 (2024-03-04)
- add methodNotAllowedHandler to remove downstream boilerplate (8d55ac5)
- move content-type check to body parser (e7180b6)
1.3.2 (2024-03-03)
- accept: check for existence of ext and profile before splitting (e72c212)
1.3.1 (2024-03-03)
- accept: drop media types which have unknown parameters (6602216)
- middleware: properly format 406 response (a168133)
1.3.0 (2024-03-02)
- process possible JSON:API responses on excluded paths (bd273ac)
1.2.0 (2024-03-02)
- body: allow body with only meta defined (123a78e)
1.1.1 (2024-03-02)
- request: only require type passed in through options on update (bbed64f)
1.1.0 (2024-02-12)
- add proper status response codes depending on input validation (8470e86)
- support proper accept header handling (6abb63a)
- initial commit (fda692c)