Releases: DASPRiD/koa-jsonapi-zod
Releases · DASPRiD/koa-jsonapi-zod
v3.2.4
3.2.4 (2024-10-10)
Bug Fixes
- middleware: return proper 400 response when failing to parse accept header (95f6220)
v3.2.3
3.2.3 (2024-07-01)
Bug Fixes
- skip whitespace after encountering media type separator without parameters (16bd1a3)
v3.2.2
3.2.2 (2024-05-09)
Bug Fixes
- index: export TopLevelLinks type (f7ffd32)
v3.2.1
3.2.1 (2024-05-05)
Bug Fixes
- serializer: pass full field path down to single entity relationships (807e741)
v3.2.0
3.2.0 (2024-05-04)
Features
- request: allow setting custom id schema for resource identifiers (9838f5a)
v3.1.0
3.1.0 (2024-04-27)
Features
- allow passing down additional context through relationships (13a5a2b)
v3.0.0
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
2.1.1 (2024-04-21)
Bug Fixes
- request: allow ZodTypeAny to account for effects (13477d8)
v2.1.0
2.1.0 (2024-03-26)
Features
- request: add clientResourceIdentifierSchema to allow for client created relations (0550abb)
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.