-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
breaking changeWill break existing deployments when updated without changesWill break existing deployments when updated without changesenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixesIdeas, requests and plans for v2 of the SDK which will incorporate major changes and fixes
Description
Summary
Decouple the SDK from Express to allow for a lighter SDK and easier compatibility with other HTTP frameworks (e.g., Hono, Fastify, and others).
This was identified as a gap in the v2 wishlist (issue #809) that is not yet tracked as a separate issue.
Motivation
- Lighter SDK: Users who don't need HTTP server functionality shouldn't need Express as a dependency
- Framework flexibility: Many TypeScript developers prefer alternatives to Express (Hono, Fastify, h3, etc.)
- Serverless compatibility: Lighter frameworks work better in serverless/edge environments
- Bundle size: Reducing dependencies improves build times and bundle size
Requirements
- Abstract HTTP framework-specific code behind interfaces
- Provide adapters for popular frameworks (Express, Hono, Fastify)
- Allow users to bring their own HTTP framework
- Maintain backwards compatibility with existing Express-based code
Related Issues
- Fix packaging with tsdown, export from root, shims for different runtimes #1255 (Fix packaging with tsdown)
- Non-Node environment support (Bun, Deno, React Native) #1269 (Non-Node environment support)
- SDK V2 #809 (SDK V2 wishlist)
Labels
v2breaking changeenhancement
Metadata
Metadata
Assignees
Labels
breaking changeWill break existing deployments when updated without changesWill break existing deployments when updated without changesenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixesIdeas, requests and plans for v2 of the SDK which will incorporate major changes and fixes