Title: [Feature]: Promote `view` to Stable — freeze the directive contract after the 1.14 additions · Issue #136 · bQuery/bQuery · GitHub
Open Graph Title: [Feature]: Promote `view` to Stable — freeze the directive contract after the 1.14 additions · Issue #136 · bQuery/bQuery
X Title: [Feature]: Promote `view` to Stable — freeze the directive contract after the 1.14 additions · Issue #136 · 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 view is the declarative rendering layer and is still Beta, despite b...
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 view is the declarative rend...
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 view is the declarative rend...
Opengraph URL: https://github.com/bQuery/bQuery/issues/136
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature]: Promote `view` to Stable — freeze the directive contract after the 1.14 additions","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`view` is the declarative rendering layer and is still **Beta**, despite being central to authoring. Its directive contract changed materially just one minor ago: 1.14.0 added `bq-once`, `bq-init`, `bq-pre`, `bq-cloak`, `bq-html-safe`, and `bq-memo`, plus a full `bq-on` modifier system. Known rough edges remain (e.g., `bq-for` duplicate-key fallback warnings and object-expression parsing edge cases). A templating contract that just grew and still has parsing edge cases is not yet a stable foundation.\n\n**Proposed solution**\nFreeze the directive set and its expression grammar for at least one minor cycle, resolve the documented edge cases (duplicate-key handling in `bq-for`, object-expression parsing), and publish a complete, versioned directive reference with the SSR support status of each directive (coordinating with #128). Define `view` exit criteria: frozen directives, documented grammar, resolved parser edge cases, and full SSR/client behavior parity documented per directive.\n\n**Possible API or UX shape**\n```\n## Stability: targeting Stable in 1.15.0\nFrozen directives: bq-text, bq-html, bq-html-safe, bq-if, bq-show, bq-for,\nbq-class, bq-style, bq-bind:*, bq-model, bq-on(+modifiers), bq-once, bq-init,\nbq-pre, bq-cloak, bq-memo\nExit criteria:\n- [ ] Directive set + expression grammar frozen for one minor\n- [ ] bq-for duplicate-key + object-expression edge cases resolved\n- [ ] Per-directive SSR support documented (#128)\n```\n\n**Alternatives considered**\nPromoting `view` while parser edge cases remain — risks shipping a \"stable\" surface that still surprises users. Continuing to add directives before freezing — fine for Beta, but it must stop for one cycle to earn Stable.\n\n**Relevant area**\n`view`\n\n**Additional context**\nThe declarative transitions in #137 and the optional compiled path in #138 are `view` enhancements that can land before or after promotion; this ticket is specifically the freeze-and-stabilize tracking issue.\n","author":{"url":"https://github.com/JosunLP","@type":"Person","name":"JosunLP"},"datePublished":"2026-06-26T21:25:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/136/bQuery/issues/136"}
| 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:acdb1ffc-a78f-5ade-354e-28b55a08b74d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D17E:4D83E:B87A38:FD1E4A:6A4DC6BA |
| html-safe-nonce | 96e2a20163780503ac8c94a60a19624344f18e99a21787e17876626dce9c51d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTdFOjREODNFOkI4N0EzODpGRDFFNEE6NkE0REM2QkEiLCJ2aXNpdG9yX2lkIjoiMzA0ODA3ODE3ODI2Mzg3NjQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dba39bd3b7a8299406265445171cee8aded8aa22c0be031ec4a741363ffe3802 |
| hovercard-subject-tag | issue:4755237714 |
| 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/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85eeb18acd4bf27229dfc4d36ae8d5358bd4603c204949dced8ee1fc33b1297d/bQuery/bQuery/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85eeb18acd4bf27229dfc4d36ae8d5358bd4603c204949dced8ee1fc33b1297d/bQuery/bQuery/issues/136 |
| 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 view is the declarative rend... |
| 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 | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width