---
title: "TypeDock v0.2: Zero-Config Self-Updates, Built-in Knowledge Base, Standard CGI & Tiptap Tables"
slug: "typedock-v0-2-release"
date: "2026-12-04T00:00:00Z"
author: "TypeDock Team"
description: "From v0.2.0 through v0.2.4, TypeDock gained zero-config GitHub Releases self-updates, a built-in Knowledge Base with custom templates and page search, standard CGI / LiteSpeed support, Tiptap tables, 2-tier HTTP caching, and libSQL Hrana WebSockets."
categories: ["Release"]
tags: ["Go", "Knowledge Base", "Release", "Self-Update", "TypeDock"]
---

# TypeDock v0.2: Zero-Config Self-Updates, Built-in Knowledge Base, Standard CGI & Tiptap Tables

Four days after our initial Go release, TypeDock has reached **v0.2.4** — shaped directly by real-world deployments on shared hosting, VPS instances, and distributed databases.

Here is what landed across `v0.2.0` through `v0.2.4`, and how `typedock.com` itself already dogfoods the new features.

## Zero-Config Self-Updates with SHA-256 Verification (`v0.2.3`)

One of the hardest parts of maintaining small client sites is keeping the runtime patched without SSH choreography. TypeDock now ships a built-in updater accessible from both **Admin -> Settings -> Update** and the CLI:

```bash
typedock -root /opt/typedock -cli check-update
typedock -root /opt/typedock -cli update
typedock -root /opt/typedock -cli rollback
```

- **Zero configuration**: Defaults straight to GitHub Releases (`typedock/typedock`) with SemVer 2.0.0 comparison.
- **Cryptographic integrity**: Verifies every downloaded archive against SHA-256 `checksums.txt` / GitHub `digest` (with optional minisign verification).
- **Atomic swap and rollback**: Updates both the static binary and `public/admin` assets together while preserving user themes, plugins, config, and storage — and restarts FastCGI workers automatically.

## Built-in Knowledge Base, Custom Templates & Page Search (`v0.2.4`)

Documentation and help centers no longer need hardcoded layout hacks. TypeDock `v0.2.4` adds first-class Knowledge Base primitives directly into core:

- **Custom page & post templates**: Drop `page-docs.html` (or any `page-*.html` / `single-*.html`) into your theme's `layouts/` directory, optionally label it in `theme.json` under `"templates"`, and assign it in the editor. Child pages automatically inherit their ancestor's template.
- **Composable navigation components**: `page_tree` renders a nested hierarchy sidebar with `aria-current="page"`, while `child_pages` renders cards or compact lists of direct child pages.
- **Static page search**: `/search` now indexes and searches static pages alongside blog posts, complete with `?type=all|post|page` filter tabs.
- **Native FAQ accordion block**: The bundled `advanced-blocks` plugin now includes `faq_item` — collapsible HTML `<details>`/`<summary>` blocks with safe server-side Markdown answers via `ctx.renderMarkdown()` and zero frontend JavaScript.

Our own [Documentation Hub](/docs) now runs directly on `page-docs.html`, `page_tree`, `child_pages`, and static page [search](/search?type=page).

## Shared Hosting Everywhere: Standard CGI & LiteSpeed (`v0.2.1` / `v0.2.3`)

Not every $5 shared host supports persistent `mod_fcgid` workers. TypeDock now supports **standard CGI (`net/http/cgi`)** via `-cgi` or automatic `GATEWAY_INTERFACE` detection — including proper handling for **LiteSpeed `lscgid`** connected sockets — alongside `skip_startup_init` for snappy per-request CGI boots.

Check the updated [Deployment Guide](/docs/getting-started/deployment) for copy-paste `.htaccess` recipes and CGI tuning tips.

## Editor Polish & Automatic Asset Cache Busting (`v0.2.2` / `v0.2.3`)

- **Tiptap 3 Tables**: Full table editing in the block editor (`/table` slash command, row/column controls, cell merge/split, and paste support from WordPress, Excel, and Google Sheets) plus WordPress WXR table import and server-side rendering.
- **Cleaner image captions & resizing**: Dedicated caption inputs with proper IME and Enter-key handling, plus pointer-capture resize handles.
- **Automatic asset cache busting**: Both admin and theme `asset()` URLs automatically append `?v=<mtime>-<size>` so browser caches never serve stale CSS or JS after a deploy.
- **Template-controlled excerpts**: `post.excerpt` now reflects only author-written summaries, while listing templates fall back cleanly to `post.body_text|excerpt:140` — eliminating duplicate ledes on single-post pages.

## 2-Tier HTTP Cache, RSS/YouTube Sources & Database Upgrades (`v0.2.0` / `v0.2.4`)

- **2-tier HTTP cache**: L1 in-memory + L2 atomic file cache with `singleflight` coalescing, `ETag`/`304 Not Modified` revalidation, and `Stale-If-Error` cooldowns powering External Sources and link previews.
- **RSS, Atom & YouTube External Sources**: Built-in pure-Go `rss` provider with `expose_pages` toggle and declarative `external_source` cards/list component.
- **libSQL Hrana WebSockets & MySQL 8**: Added pure-Go `wss://` Hrana transport, transactions, and `replication_index` propagation for Turso and Bunny Database, plus MySQL 8 index-length and dialect compatibility fixes.

## Upgrading to v0.2.4

If you are already running TypeDock `v0.2.3`, run `typedock -cli update` or click **Update** in Admin. If you are upgrading from `v0.1.0`–`v0.2.2`, grab the `v0.2.4` archive from [GitHub Releases](https://github.com/typedock/typedock/releases), run `typedock -cli migrate`, and from `v0.2.4` onward future updates take a single command.
