Continuous Releases from main
chore(BREAKING): rm tanstack local withResponse option cause useMutation cant infer the generics passed at this point so it doesnt have any effect on the output type (it works at runtime but desynchronized with its typing)
chore: rename TypedResponseError -> TypedStatusError3 weeks agob564cd5
Version Packages (#112)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>3 weeks agoce0739d
fix: tanstack inference (#111)
* fix: tanstack inference in some edge cases
that I could not even reproduce minimally here 😅
* chore: changeset3 weeks agoe8526b5
Version Packages (#109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>4 weeks agoefbef40
refactor: fetcher + pass overrides (#108)
* wip: allow specifying headers with HeadersInit on any request
fix: infer/narrow response with multiple json media types
test: typings / inference
* fix: properly handle mutation errors while retaining genericity on output based on mutationFn withResponse: true/false
test: add more types inference cases
chore: update snapshots
* feat: decodePathParams/encodeSearchParams/parseResponseData
feat: allow passing overrides/withResponse even if there's no endpoint parameters
* chore: update snapshots
* fix: add overrides?: RequestInit; on mutationFn
test: abort signal example
* fix: passing signal to tanstack queryFn
chore: rm mutationKey/mutationOptions on query fns
* chore: update default fetcher4 weeks ago04a41a6
Version Packages (#107)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>last month2b24b36
Version Packages (#106)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>last month0046d5d