Skip to content

v0.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Jun 11:50
· 0 commits to 83e309ac678de05f663774cefca63b26a4335ed2 since this release

Highlights

Hardening pass driven by a real-world 275-page Mintlify migration deployed to Cloudflare Workers static assets.

  • check passing now predicts build passing. Every page is parsed with the build's MDX syntax config, and JSX expressions are scope-checked: a literal {snake_case} placeholder in prose (valid MDX, dies at prerender with a ReferenceError) is reported at check time as file:line:col with a wrap-in-backticks hint. (f78a22c)
  • Build failures point at your source file. A prerender error used to surface as a 30-line stack into .prerender/chunks/<page>_<hash>.mjs; the build now re-runs the MDX scan for an exact source diagnosis and otherwise maps the chunk name back to the page. (b0fb2a1)
  • dist/ no longer ships repo internals. .git gitlink files (submodule checkouts leaked a local path), dotfiles, Makefile, wrangler.*, vercel.json, netlify.toml, and *.bak are excluded by default; .well-known/ and .nojekyll still ship, and a !pattern in .tanglyignore re-includes anything overridable. (c5b025c)

Changes

Features

  • feat(theme-ui): emit a <meta name="generator" content="Tangly vX.Y.Z"> tag in every page head, so the framework and version of a built site can be identified over plain HTTP (curl the page and grep name="generator"). The version is injected by the Tangly integration as import.meta.env.TANGLY_VERSION.
  • feat(cli): check parses MDX and flags unbound expression identifiers before they become prerender ReferenceErrors (f78a22c)
  • feat(cli): build failures report the source .mdx at file:line:col instead of a prerender chunk stack (b0fb2a1)
  • feat(cli): migrate rewrites Mintlify alias themes to tang and prompts for siteUrl when absent (7ff04ca)

Fixes

  • fix(build): stop shipping repo internals (.git gitlink, dotfiles, Makefile, wrangler.*, *.bak) into dist/ (c5b025c)
  • fix(theme-ui): keep page chrome (contextual menu, breadcrumbs, pagination, TOC) out of the Pagefind search index (e3723c6)

Docs

  • docs(guides): Cloudflare Workers static-assets deploy recipe — html_handling: "drop-trailing-slash" (output is directory-style but canonicals are no-slash) and not_found_handling: "404-page"