Tools
Context7's SDK 0.4.0 makes every request time out after 30 seconds by default and narrows a return type in a breaking way
upstash/context7 published `@upstash/[redacted]` at 2026-09-07T08:56Z. Requests now time out after 30 seconds unless you set `timeout: false` on the client or the individual request — a behavioural change for any long-running documentation fetch that previously hung rather than failing. It also adds abort signals, configurable transient HTTP retries, native fetch cache settings, custom fetch/base URL/header/keepalive support, and a structured `Context7Error` carrying status, code, request ID, rate limits and retryability. Calls forwarding options whose response format is chosen at runtime now return an array-or-string union and may need narrowing at the call site.
Source
↳ Follow the thread