Skip to content

v2.0.0

Latest

Choose a tag to compare

@jaredwray jaredwray released this 19 May 22:27
· 38 commits to main since this release
850cd57

docula@2.0.0 — 2026-05-19

Node 20 → 22 minimum, pnpm 11 supply-chain hardening, AI SDK + tooling refresh, and favicon auto-generation.

⚠ BREAKING CHANGES

  • Drop Node 20 support; minimum engines are now ^22.18.0 || >=24.0.0 (3420df2, #416)
    Migration: upgrade to Node 22 LTS or Node 24+. pnpm is now managed via corepack; run corepack enable and pnpm 11.1.3 is pinned via packageManager.

Features

  • auto-generate favicon from logo when favicon.ico is missing (ba2f40c, #414)

    site/
      favicon.ico    ← used as-is if present
      logo.svg       ← else used as favicon
      logo.png       ← else used as favicon
                     ← else no <link rel="icon"> emitted
    

Bug Fixes

  • skip lightbox and zoom-in cursor for images wrapped in links (84667c3, #411)
  • simplify sidebar — all sections open by default, user preference still persisted in localStorage (25f86e8, #412)
  • ai: fall back to env vars and handle empty model strings (6630c35, #413)
  • ai: use valid OpenAI model name gpt-4o-mini (drop -latest suffix) (fc74979, #413)

Internal

  • upgrade to pnpm 11 with defense-in-depth supply chain controls — 7-day minimumReleaseAge, strict mode, blockExoticSubdeps, allowBuilds allow-list (3420df2, 8af7fe0, #416)
  • migrate binary build from hand-rolled SEA pipeline to tsdown's exe option; switch SEA detection to node:sea.isSea() (45b48c5, #423)
  • upgrade GitHub Actions to latest majors — checkout v6, setup-node v6, upload-artifact v7, codecov v6, codeql v4, wrangler v4 (81dd0d1, #419)
  • upgrade Vercel AI SDK dependencies — ai 6.0.178; anthropic, google, openai providers (e89fbf4, 670e0d7, #420)
  • upgrade code quality dependencies — biome 2.4.15, vitest 4.1.6, playwright 1.60.0 (99d436e, #417)
  • upgrade TypeScript 6.0.3 and tsdown 0.22.0; align @types/node with .nvmrc (42afae6, 27eedd9, #418)
  • upgrade ecto 4.8.5 (dedupes writr in tree) (d209639, #421)
  • upgrade jiti 2.7.0 (b50bfe3, #422)
  • refactor builder: use path.join for favicon and logo.png paths (cec4bcc, #414)

Contributors

Full List of Changes

  • fix: zoom-in cursor for images inside links by @jaredwray in #411
  • fix: simplify sidebar section default open state logic by @jaredwray in #412
  • Auto-generate favicon from logo when favicon.ico is missing by @jaredwray in #414
  • Update default OpenAI model from gpt-4o-mini-latest to gpt-4o-mini by @jaredwray in #413
  • chore: upgrade to pnpm 11 with defense-in-depth supply chain controls by @jaredwray in #416
  • root - chore: upgrade code quality dependencies by @jaredwray in #417
  • root - chore: upgrade TypeScript and build tooling by @jaredwray in #418
  • root - chore: upgrade GitHub Actions (breaking) by @jaredwray in #419
  • root - chore: upgrade Vercel AI SDK dependencies by @jaredwray in #420
  • root - chore: upgrade ecto by @jaredwray in #421
  • root - chore: upgrade jiti by @jaredwray in #422
  • build: migrate binary build to tsdown exe option by @jaredwray in #423

Full diff: v1.14.0...v2.0.0