Trail log ยท ssqch 0.16.0 to 0.16.5

0.16: Pack Mule

We asked an agent to build Pack Mule, a packing-list planner: a static site with a small app on top, written in TypeScript, that works offline and runs under a strict Content-Security-Policy. It found where ssqch's job ends and someone else's JavaScript takes over, and this release smooths that edge.

The headlines

  • Live reload hears every save. An edit made the moment a page opened could slip past the browser. Now each page knows which build it came from, so nothing gets missed.
  • Live reload works under a strict policy. The reload script and its error overlay are files now, not inline code, so script-src 'self' lets them through.
  • Pictures validate. imagePlugin() writes sizes the way HTML allows, including on images you mark loading="eager" above the fold.
  • Types for your browser code. ssqch types --schemas-only gives a page's scripts the site's schemas, without the config's Node types.
  • Every example in the box. All twelve example sites come with the package. ssqch docs examples says what each one shows.
  • Fewer quiet surprises. A build tells you when a width attribute kept your widths from making any copies, ssqch patrol stops treating fetched HTML pieces as pages, and a docs search that comes up empty points you at the sections that have your words.

What you might need to change

  • Your config's afterBuild now runs after the plugins' hooks, so it sees the finished output. The link checker still runs last. If a hook of yours has to run before a plugin's, move it into a plugin listed before that one: plugins: [{ name: "first", afterBuild: myHook }, ...].

And in 0.16.1

26 November 2026. Save, and there it is. ssqch serve now renders only the pages your edit can reach, so on a 10,000-page site a saved post reaches the browser in 557 ms instead of about 1,300, and on a 174-page blog in 320 ms instead of about 720. Each change is pushed to the browser the moment it's built, rather than waiting for the page to ask. If a page ever looks out of date, SSQCH_INCREMENTAL=0 ssqch serve renders every page, and we'd like to hear about it. A hook that only reads what the build wrote can say so with reads: "output" and keep the fast rebuilds, and ssqch scout points pages with no date of their own at dateFallback: "git". The docs starter now builds its search on every production build, so a deployed docs site has search, and it clears out pages you delete. And two errors got friendlier: a filter that comes with a plugin you haven't added names the plugin, and template code inside a Markdown code block tells you how to show it as written.

And in 0.16.2

27 November 2026. Bring your formulas and your components. Turn on markdown: { math: true } and TeX between dollar signs reaches the page as you wrote it, ready for KaTeX or MathJax, while prices stay prices; add render: "katex" and every formula is drawn while the site builds. reactPlugin() keeps your React components: import one in a Markdown page as you would in MDX, use its tag, and it renders with your own React, or runs in the browser as an island when you ask it to. A post now says "updated" only when a commit after the first one changed it, so a brand-new blog no longer claims every post was updated today, and git dates work for docs that live beside your site or are linked into it. The dev server watches includes and data outside your input folder, and what a linked folder leads to. ssqch scout reads Gatsby and Next.js sites now, and knows a Hexo theme much better. And a handful of quiet slips are fixed, among them stylesheets that gained a stray character inside <style> and pictures in your static/ folder that were reported missing.

And in 0.16.3

28 November 2026. Less waiting and fewer surprises. A site with a Tailwind watcher now serves in about a second on every start, where it sat for two seconds waiting for a stylesheet that was already there. An indented ::: container renders, and no page is left with ssqch's own hidden comments in it. Leave Astro's client:visible on a React tag and the build tells you what to write instead. The field guide has grown too: how to show a post's "updated" date, what to do when a page looks out of date, images in a section of their own with every option in a table, and much more for anyone moving in, from math settings to an MDX codemod. ssqch scout got sharper along the way, and now warns an Eleventy move about drafts that .gitignore was keeping off the site.

And in 0.16.4

29 November 2026. No more code that's quietly left plain. A code block in a language ssqch can't highlight used to show up as plain text without a word; now the build tells you which page and which language, once, with a "did you mean" for a typo like javscript and one line to keep it plain on purpose. More of the names you already write just work: jsx is highlighted as JSX, and jsonc, mdx, golang, csharp, postgres and friends find their grammars. With React components, the dev server renders only the pages an edit reaches instead of every page, and a component kept in a folder with its own packages no longer brings a second copy of React that broke the page. ssqch serve sees edits to a folder you prepare under .cache, a slugger made once doesn't count up with every save, and a "type": "commonjs" package says the one command that fixes its imports. Moving from Docusaurus? The guide's URL rule now gives every page the address it had, and ssqch scout stops counting the imports in your code examples.

And in 0.16.5

30 November 2026. Fewer things that look fine and aren't. When a build fails while a CSS tool writes its stylesheet, ssqch serve keeps the error on the page until the build works, instead of flashing it and reloading the last good one, and a hook that writes into the output works on a site's very first build. On Linux, an agent's sed -i edits no longer send the dev server chasing a temporary file. minifyPlugin({ xml: true }) now minifies the feed and the sitemap too, the Markdown copies agents read link every picture when figures are on, and a front-matter error's line number matches the line it shows you. The redirect note says where each link really lands, and ssqch docs "render hooks" answers with the hooks ssqch has, table hooks included.

Every change in 0.16.0 to 0.16.5, in detail (CHANGELOG.md)

All the entries