Skip to content

Latest commit

 

History

History
175 lines (78 loc) · 6.78 KB

CHANGELOG.md

File metadata and controls

175 lines (78 loc) · 6.78 KB

3.2.4 (2024-10-10)

Bug Fixes

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

3.2.3 (2024-07-01)

Bug Fixes

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

3.2.2 (2024-05-09)

Bug Fixes

  • index: export TopLevelLinks type (f7ffd32)

3.2.1 (2024-05-05)

Bug Fixes

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

3.2.0 (2024-05-04)

Features

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

3.1.0 (2024-04-27)

Features

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

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.

2.1.1 (2024-04-21)

Bug Fixes

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

2.1.0 (2024-03-26)

Features

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

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.

1.4.5 (2024-03-23)

Bug Fixes

  • common: make links object partial (535aac4)

1.4.4 (2024-03-20)

Bug Fixes

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

1.4.3 (2024-03-20)

Bug Fixes

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

1.4.2 (2024-03-20)

Bug Fixes

  • request: allow omitting attributes schema (7f58d51)

1.4.1 (2024-03-07)

Bug Fixes

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

1.4.0 (2024-03-04)

Features

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

1.3.2 (2024-03-03)

Bug Fixes

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

1.3.1 (2024-03-03)

Bug Fixes

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

1.3.0 (2024-03-02)

Features

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

1.2.0 (2024-03-02)

Features

  • body: allow body with only meta defined (123a78e)

1.1.1 (2024-03-02)

Bug Fixes

  • request: only require type passed in through options on update (bbed64f)

1.1.0 (2024-02-12)

Features

  • add proper status response codes depending on input validation (8470e86)
  • support proper accept header handling (6abb63a)

1.0.0 (2024-02-09)

Features