{"blyg":"0.4","id":"207jy0th7pn5e8r5pbjdccrzn0","kind":"thread","origin":"https://blyg.blygger.org/","page":"t/207jy0th7pn5e8r5pbjdccrzn0/","author":{"name":"Venkatesh Rao","url":"https://blyg.blygger.org/"},"created":"2026-11-04T21:32:12Z","updated":"2026-11-04T21:32:13Z","version":1,"content_md":"\n# Blygger Studio 0.52.0: Collection read batches and smaller Mentions loads\n\n*Released 2026-11-04, the reference client. [v0.52.0 on GitHub](https://github.com/blygger/blygger-studio/releases/tag/v0.52.0).*\n\nMentions opens with 10 groups and 10 receipts per group. Each list keeps its\nown cursor and full counts. Corrected page sizes avoid extra continuation\nrequests, and simultaneous freshness checks share one pending read.\n\nStudio batches independent reads by collection operation while retaining the\nexisting endpoints, query validation, permissions, and work budgets. Each child\nkeeps its own status and retry hints. Within each server read batch, ready SQL\nand admission statements share D1 calls without a timer window or query rewrites.\nLogical read charges stay unchanged. Batch results are not cached, and a mutation\nstarts a fresh revision check.\n\nBrowser batches dispatch in microtasks, so they do not wait for timers that can\nbe throttled in background tabs.\n\nThe group query aggregates counts and uses indexed winner lookups instead of\nranking every receipt with window functions. No rollup table or trigger is added.\n\nPrivate contract **5.3.0** (additive `POST /read-batch`); SDK **0.9.0**.\nProtocol version unchanged (`\"0.4\"`).\n\n**Subscribing to a collection no longer needs your own collection feeds on**\n(Aneesh Sathe, #112). Pasting the page or feed URL of another blyg's public\ncollection now proposes a collection subscription on every node; the\n`hopper_feeds` setting governs only publishing this node's own collection feeds.\nAPI clients that want the whole blyg send `wholeBlyg: true`.\n\n**Two lookups no longer read whole tables** (#113, reported by patwater).\nResolving an imported item by id alone, and listing each reading entry's\ncollections, each scanned a table on free-plan D1, where the reads count against\na daily limit. Both now use an index. (The reader inbox's own ordering index\nshipped in 0.49.12; nodes older than that should upgrade for it.)\n\n**Migrations:** **0040** (one covering expression index on `mentions_in`) and\n**0041** (indexes on `imported_items(remote_id)` and `hopper_items` membership).\nIndexes only. Apply before deploying.\n\n\n\n*This announcement is drafted from the release's section of [`CHANGELOG.md`](https://github.com/blygger/blygger-studio/blob/main/CHANGELOG.md), which is where it is maintained. To comment, respond to this item from your own blyg.*\n","content_html":"<div class=\"blyg-tk-gen\"><h1>Blygger Studio 0.52.0: Collection read batches and smaller Mentions loads</h1>\n<p><em>Released 2026-11-04, the reference client. <a href=\"https://github.com/blygger/blygger-studio/releases/tag/v0.52.0\">v0.52.0 on GitHub</a>.</em></p>\n<p>Mentions opens with 10 groups and 10 receipts per group. Each list keeps its\nown cursor and full counts. Corrected page sizes avoid extra continuation\nrequests, and simultaneous freshness checks share one pending read.</p>\n<p>Studio batches independent reads by collection operation while retaining the\nexisting endpoints, query validation, permissions, and work budgets. Each child\nkeeps its own status and retry hints. Within each server read batch, ready SQL\nand admission statements share D1 calls without a timer window or query rewrites.\nLogical read charges stay unchanged. Batch results are not cached, and a mutation\nstarts a fresh revision check.</p>\n<p>Browser batches dispatch in microtasks, so they do not wait for timers that can\nbe throttled in background tabs.</p>\n<p>The group query aggregates counts and uses indexed winner lookups instead of\nranking every receipt with window functions. No rollup table or trigger is added.</p>\n<p>Private contract <strong>5.3.0</strong> (additive <code>POST /read-batch</code>); SDK <strong>0.9.0</strong>.\nProtocol version unchanged (<code>&quot;0.4&quot;</code>).</p>\n<p><strong>Subscribing to a collection no longer needs your own collection feeds on</strong>\n(Aneesh Sathe, #112). Pasting the page or feed URL of another blyg's public\ncollection now proposes a collection subscription on every node; the\n<code>hopper_feeds</code> setting governs only publishing this node's own collection feeds.\nAPI clients that want the whole blyg send <code>wholeBlyg: true</code>.</p>\n<p><strong>Two lookups no longer read whole tables</strong> (#113, reported by patwater).\nResolving an imported item by id alone, and listing each reading entry's\ncollections, each scanned a table on free-plan D1, where the reads count against\na daily limit. Both now use an index. (The reader inbox's own ordering index\nshipped in 0.49.12; nodes older than that should upgrade for it.)</p>\n<p><strong>Migrations:</strong> <strong>0040</strong> (one covering expression index on <code>mentions_in</code>) and\n<strong>0041</strong> (indexes on <code>imported_items(remote_id)</code> and <code>hopper_items</code> membership).\nIndexes only. Apply before deploying.</p>\n</div>\n<div class=\"blyg-tk-gen\"><p><em>This announcement is drafted from the release's section of <a href=\"https://github.com/blygger/blygger-studio/blob/main/CHANGELOG.md\"><code>CHANGELOG.md</code></a>, which is where it is maintained. To comment, respond to this item from your own blyg.</em></p>\n</div>\n","content_hash":"sha256:5775bd6990a1048468f4d7d0d9e8b6c76cb85e7755197d0f4c8b93d39bd46de0","media":[],"transclusions":[],"generated":[{"sources":[],"model":"claude-opus-5-5"},{"sources":[],"model":"claude-opus-5-5"}],"changelog":[{"version":1,"at":"2026-11-04T21:32:13Z","note":"Studio 0.52.0 released."}]}