Skip to content

json-api-query: v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Jul 10:50
c852e7b

1.0.0 (2026-07-13)

⚠ BREAKING CHANGES

  • read query types are narrower. get(id, query) no longer accepts filter/sort/page; list(query)'s filter keys and sort tokens must be ones the type's OpenAPI document advertises (an unadvertised key/token, or any filter/sort on a type that advertises none, is now a compile error). Regenerate the client from your /docs.json to pick up the new descriptor fields.

Features

  • narrow include/sort/filter to the OpenAPI-advertised values (#16) (0804af5)
  • query: optimistic relationship membership by key prefix (#31) (1d611dc)
  • query: TanStack bindings — option factories, key factory, Strategy-2 normalization (#10) (ad6bf18)
  • query: type related/relationship read factories from the client's per-relation types (#24) (6f6a572)

Bug Fixes

  • query: TanStack factories accept the generated client without a cast (#13) (b6db3ff)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @haddowg/json-api-client bumped to 1.0.0