v0.1.0-beta.23
core:
- remove support for automated next.js tags from the core fetch client (5fc6382)
core, fetch, node, server:
- Allow path to be omitted from http methods in route builder. enforce leading slash in paths in types. (8db54c8)
core, tanstack-query:
- Align TanStack Query utils with the Fetch client and TanStack Query APIs. Query and streamed-query utils now accept one options object with a
requestfield, infinite queries map TanStack page parameters to route requests with arequestcallback, andskipTokenconsistently replacesrequest. Route utils expose explicitqueryKey()andmutationKey()methods, generated mutation options use the route mutation key by default, and query keys preserve request input unchanged. Utils also preserve dynamic global-header inference and route-specific Fetch options, while mutations accept caller-managed cancellation signals. (8c57e3d)
express, fastify, fetch, hono, node, server:
- Add .$context
() for ther route builder to specify context for specific set of routes. Remove providing initial context option from route registeration. (d72a045)
express, fastify, fetch, hono, node, server:
- add options to disable request and response validation across server adapters (5676c02)
express, fastify, fetch, hono, node, server:
- Allow reusable context type and middleware for implement api (5676c02)
express, fastify, fetch, hono, node, server:
- Replace direct application context property access with a typed per-request
context.get(key)andcontext.set(key, value)store. (d72a045)
tanstack-query:
- Fix an issue with inline contextual typing inference not working for streamedQueryOptions (623354d)