v26.2 v0.166.0

high risk

obra/superpowersSep 5, 2026 → Sep 9, 20264 days between releases

What's New

Newer release is a web framework (Hugo) while older is a GUI app (novelwriter), indicating a technology stack change.

Breaking Changes

  • Malformed glob patterns (e.g., unclosed '{', empty '[]') now fail with syntax errors instead of being silently accepted.
  • `text/org` content is denied by default; sites must opt-in via `security.allowContent`.
  • Remote fetches now validate addresses and reject loopback, private, and link-local networks.
  • `{{ return <value> }}` outside a partial is now an error (previously silently ignored).
  • KaTeX CSS must be updated to version 0.18.4 for `transform.ToMath` to render correctly.

New Features

  • Template syntax support for passing context to views: `{{ .Render "view" $ctx }}`.
  • The `return` keyword is fully implemented in all templates, not just partials.
  • New template function: `resources.Publish`.
  • New method on `Pages`: `IndexOf`.
  • New configuration option: `http.proxyFromEnvironment` for remote fetch proxy handling.

Improvements

  • Upgraded to Go 1.27 and KaTeX 0.18.4.
  • Switched to glob library v1.0.0 with significant behavioral changes.
  • Related index creation is faster with the new `tokenize` option.
  • Enhanced security hardening for remote fetches and symlink handling.
  • Improved template syntax for passing context to views.

Bug Fixes

  • Fixed symlink handling in Node.js tools to prevent permission escapes.
  • Fixed KaTeX rendering by upgrading to version 0.18.4.
  • Fixed image version cache busting for `images.Filter`.
  • Fixed file cache entry versioning in `transform.ToMath`.
  • Fixed security vulnerabilities in remote fetch address validation.

Upgrade Notes

The older release (v26.2) describes a GUI application (novelwriter) while the newer release (v0.166.0) describes a web framework (Hugo). These are completely different technologies; a direct upgrade is not possible. If this is a monorepo, ensure you are targeting the correct component.

The Two Releases

v26.2

Version 2026.2

Sep 5, 2026· 2 months ago

Updates the user interface with refined fonts and layout settings, improves Linux packaging, and fixes bugs related to macOS font selection and rich text pasting.

Full release notes
v0.166.0

v0.166.0

Sep 9, 2026· 1 month ago

This release focuses on hardening, security improvements, and bug fixes. It introduces new template functions, upgrades Go to 1.27, and updates the glob matching engine with significant behavioral changes.

Full release notes