Title: [Feature]: Promote `server` to Stable — freeze the `ctx`/`app` API and define exit criteria · Issue #131 · bQuery/bQuery · GitHub
Open Graph Title: [Feature]: Promote `server` to Stable — freeze the `ctx`/`app` API and define exit criteria · Issue #131 · bQuery/bQuery
X Title: [Feature]: Promote `server` to Stable — freeze the `ctx`/`app` API and define exit criteria · Issue #131 · bQuery/bQuery
Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case server is Experimental and very young: it was introduced in 1.11.0, ...
Open Graph Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case server is Experimental and v...
X Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case server is Experimental and v...
Opengraph URL: https://github.com/bQuery/bQuery/issues/131
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature]: Promote `server` to Stable — freeze the `ctx`/`app` API and define exit criteria","articleBody":"**Pre-flight checklist**\n- [x] I searched existing issues and did not find a duplicate request.\n- [x] I explained the problem or use case, not just the desired API.\n\n**Problem or use case**\n`server` is **Experimental** and very young: it was introduced in 1.11.0, and a large slice of its request/response surface (`ctx.body`, `ctx.cookies`, `ctx.setCookie`, `ctx.accepts`, `ctx.stream`, `ctx.sse`, `ctx.renderStream`, `ctx.renderResponse`, and `app.listen()`) only landed in 1.14.0. A backend framework whose `ctx` shape changed materially one minor ago cannot be depended on for services. There is no published bar for what makes `server` stable.\n\n**Proposed solution**\nPublish exit criteria and freeze the `ctx` and `app` contracts for at least one minor cycle. Criteria: (a) frozen `ctx`/`app` surface with a documented request lifecycle; (b) test coverage across routing, streaming, SSE, cookies, and content negotiation; (c) the session/middleware primitives in #132 landed; (d) integration with file-based routing (#149) at least at the bridge level; (e) a documented per-runtime support matrix. Tracking issue for the `server` promotion.\n\n**Possible API or UX shape**\n```\n## Stability: targeting Stable in 1.15.0\nFrozen surface: createApp/app.use/app.route/app.listen, ctx.{req,res,params,\nquery,body,cookies,setCookie,accepts,stream,sse,renderStream,renderResponse}\nExit criteria:\n- [ ] ctx/app frozen for one minor\n- [ ] session + middleware primitives (#132)\n- [ ] file-based routing bridge (#149)\n- [ ] per-runtime support matrix (Node ≥ 24, Bun, Deno, edge)\n```\n\n**Alternatives considered**\nPositioning `server` as \"experimental, use Express/Hono in production\" — concedes the \"dependency-free backend\" differentiator that is one of the few things bQuery offers over client-only frameworks. Promoting without the session/middleware story (#132) — premature, since real services need both.\n\n**Relevant area**\n`server`\n\n**Additional context**\nbQuery's `server` is one of its genuine differentiators versus React/Vue/Svelte (which lean on separate backends), so stabilizing it is high-leverage. Must stay zero-dependency.\n","author":{"url":"https://github.com/JosunLP","@type":"Person","name":"JosunLP"},"datePublished":"2026-06-26T21:25:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/131/bQuery/issues/131"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c6ec489a-db28-2a6a-8146-25f9a3295475 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAF2:12A6C9:91CFB1:D1EB68:6A4E41D7 |
| html-safe-nonce | 14416ffc117978e0fef29619377986347efe8d74528681d94b968ecd825a1302 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUYyOjEyQTZDOTo5MUNGQjE6RDFFQjY4OjZBNEU0MUQ3IiwidmlzaXRvcl9pZCI6IjIyOTk2MDg4MTg3MjI0MjMyNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4bdcbd04fd2aa2324e6a278a1105a6e047471c1a8767972b895b1e782eb4f90b |
| hovercard-subject-tag | issue:4755236584 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bQuery/bQuery/131/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13ddac82d5dc325ce69a4d7724812d1f64b0669fd77ba7cfe8245d9e92281477/bQuery/bQuery/issues/131 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13ddac82d5dc325ce69a4d7724812d1f64b0669fd77ba7cfe8245d9e92281477/bQuery/bQuery/issues/131 |
| og:image:alt | Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case server is Experimental and v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JosunLP |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/bQuery/bQuery git https://github.com/bQuery/bQuery.git |
| octolytics-dimension-user_id | 256381806 |
| octolytics-dimension-user_login | bQuery |
| octolytics-dimension-repository_id | 1139284244 |
| octolytics-dimension-repository_nwo | bQuery/bQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1139284244 |
| octolytics-dimension-repository_network_root_nwo | bQuery/bQuery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9fabff9b8b127e686a3ec86f91422e818056ca2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width