Engine Changelog

Key engine changes in recent releases and what they mean for templates.

This page highlights recent releases that materially changed template behavior.

Release v0.1.10 (2026-10-23)

  • notepub audit --dist ./dist: the built site against an SEO checklist, offline — links that lead nowhere or only through a redirect, orphan pages with menus included, canonical, OpenGraph and the og:image size, the sitemap against the build, robots.txt, llms.txt, 404.html. Errors fail it, so it can stop a deploy. See SEO Reference.
  • llms.txt generated from the notes with llms.enabled (sections by type, in the order you set).
  • notepub type add <name>: a new kind of page in one command — the type in rules.yaml and its template. See Commands.
  • Templates: .PublicPath on collection items — the address with its trailing slash.
  • Fixed: [[wikilinks]] linked to the address without its trailing slash, and static hosts answered each with a 301.

Release v0.1.9 (2026-10-22)

  • SEO:
    • validate --seo (--seo-strict, --seo-format json): missing, long and repeated titles and descriptions, isolated pages, a site under a path whose robots.txt is never read, uniform lastmod;
    • <lastmod> comes from the note's updated (lastmod, modified), and template builds date notes by their last git commit in CI — before, every deploy marked every page as changed;
    • seo_title for <title>, alternates for hreflang, optional schema.org markup (seo.jsonld: auto, schema_type), RSS feed (feed), site.language.
  • Obsidian: ![[file]] finds the file by name anywhere in the content folder and media.dirs, as Obsidian does; validate --markdown reports embeds of missing files (NP-MD-EMBED-MISSING).
  • Templates: .Meta.Title, .Meta.Alternates, .Meta.Published, .FeedURL; functions humanDate, isoDate, dict.
  • Fixed: an incremental index kept old canonical/og:url after base_url changed; pages 2…N of a paginated list carried page 1's og:url.
  • template update: the deploy workflow checks out full history, build.sh dates notes by commits, turns the Pages http:// address into https:// and runs the SEO check.

See SEO Reference.

Release v0.1.8 (2026-09-10)

  • Pagination: a type declares paginate: { collection, per_page, path }; pages 2…N are self-canonical and in the sitemap; templates read .Collections.<name>.Page (Current, Total, PrevURL, NextURL).
  • Deterministic builds: OpenGraph tags, collection order and the sitemap no longer depend on map order.
  • Heading ids are transliterated (Cyrillic headings get usable anchors, [[page#Heading]] works).
  • Canonical, og:url and sitemap URLs carry the trailing slash of the address the site actually serves.

Release v0.1.7 (2026-04-29)

  • Fixed modern template infrastructure generated by template update:
    • content.local_dir is now resolved relative to config location (for example .np/config.yaml + ../content).
    • modern deploy workflow resolves absolute content path from config before content-repo sync.
  • Result: modern templates with custom content paths no longer lose media/content during CI sync.

Release v0.1.6 (2026-04-29)

  • Updated template update for modern (.np/*) templates:
    • updates modern ./.np/scripts/build.sh in addition to workflow/config patches,
    • build script resolves content.local_dir from config (no hardcoded ./content),
    • supports path overrides via:
      • NOTEPUB_CONTENT_DIR
      • NOTEPUB_MEDIA_DIR
      • NOTEPUB_ARTIFACTS_DIR
      • NOTEPUB_DIST_DIR
  • Result: modern templates stay closer to a single source of truth in config.

Release v0.1.5 (2026-04-27)

  • Obsidian markdown support became first-class in engine runtime/build:
    • callouts (> [!note], folded variants),
    • inline syntax (==mark==, ~sub~, ^sup^),
    • footnotes and math wrappers,
    • safer wikilink/embed preprocessing outside fenced and inline code.
  • Added markdown diagnostics:
    • validate --markdown
    • --markdown-strict
    • --markdown-format text|json
    • --output <path>
  • Added template tooling:
    • notepub template check
    • notepub template update (--apply for writes)
  • Added settings/overrides baseline for templates:
    • settings: is first-class input,
    • optional note overrides via overrides.site_note / overrides.interface_note,
    • compatibility mode compat_mode: auto|modern|legacy.
  • SEO/runtime fixes:
    • /search page rendering uses search note route/meta/body when present,
    • sitemap compatibility (sitemap-index.xml + sitemap.xml),
    • canonical trailing-slash redirect behavior improved in serve,
    • local media serving now accounts for settings-driven assets and sibling ../media.
  • Keep CI binary pin current (now v0.1.7).
  • For template repos, gate changes with a matrix across:
    • compat_mode (auto|modern|legacy)
    • notes presence (present|absent)
    • source mode (local|s3)
  • Prefer engine-native Obsidian behavior over custom markdown rewrite scripts.
Все результаты