Releases: zeroedin/alloy
Release list
v0.3.1
v0.3.1 (2026-06-27)
Make the plugins directory configurable via structure.plugins in the config file and --plugins flag in alloy init. Previously, the plugins directory was hardcoded to plugins/ while all other managed directories were configurable. Also fixes plugin file changes not being detected by the dev server watcher, and a bug where nested plugin paths (e.g. tools/plugins) broke Node runtime project root derivation.
v0.3.0
v0.3.0 (2026-06-27)
Minor Changes
Custom elements (HTML tags with hyphens like <alloy-code>, <wa-tab-group>) are now treated as block-level HTML in Goldmark. Content inside is preserved verbatim — no markdown processing, no smart quotes, no <p> wrapping — and blank lines do not terminate the block.
Configurable via content.markdown.goldmark.customElements (default: true).
# alloy.config.yaml
content:
markdown:
goldmark:
customElements: true # treat custom elements as block-level HTML (default: true)<!-- content/example.md -->
<wa-tab-group>
<wa-tab panel="one">Tab 1</wa-tab>
<wa-tab-panel name="one">
Panel content with "quotes" and blank lines — all preserved verbatim.
</wa-tab-panel>
</wa-tab-group>Patch Changes
Fix Liquid delimiters in code blocks being interpreted as template syntax when render hooks replace the default <code> element. Delimiters are now entity-encoded in markup.inner before reaching the hook template.
Fix alloy dev not rebuilding pages when layout partials change. Editing files like layouts/partials/header.liquid now correctly triggers a full rebuild instead of silently skipping all pages.
Fix spurious warnings during alloy dev and alloy serve when atomic-write editors create temp files that vanish before the debounced watcher copy runs. Transient os.ErrNotExist errors are now silently skipped.
v0.2.0
v0.2.0 (2026-06-25)
Minor Changes
Sections listed in the collections: config now declare collection membership without requiring date-token permalink patterns. Non-blog sections like releases or changelogs can participate in collections.* pagination and template loops.
# alloy.config.yaml
collections:
releases: # declares releases/ as a collection — no date tokens needed
sortBy: date
order: desc# content/releases/_data.yaml
permalink: "/releases/:title/"{% for release in collections.releases %}
<a href="{{ release.url }}">{{ release.title }}</a>
{% endfor %}Patch Changes
Fix race conditions in concurrent plugin hook execution and runtime initialization.
v0.1.1
v0.1.1 (2026-06-24)
Reduce internal memory footprint by removing unused cascade data layers.
v0.1.0
v0.1.0 (2026-06-23)
Initial release of Alloy — a fast, extensible static site generator written in Go.
-
Config: Customize your project structure, build output, content formats, and plugin settings in YAML, TOML, or JSON
title: "My Site" baseURL: "https://example.com" structure: content: "src/content" layouts: "src/layouts" templates: engine: "liquid"
-
Content: Write pages in Markdown or plain HTML with YAML frontmatter
-
Data: Load YAML, JSON, and CSV data files — available globally in templates as
site.datadata: files: authors: "data/authors.json"
-
Cascade: Inherit layout, metadata, and configuration down the directory tree via
_data.yamlfiles with deep merge -
Permalinks: Control output URLs per-collection with token-based patterns
permalinks: blog: "/:year/:month/:slug/"
-
Collections: Group content and generate taxonomy pages
taxonomies: tags: permalink: "/tags/:slug/" collections: blog: sortBy: "date" order: "desc"
-
Templates: Liquid and Go
html/templateengines with shortcodes, filters, and composable layouts -
Output: Generate sitemaps, feeds, and multiple output formats per page
-
Assets: Process assets through the build pipeline with built-in cache-busting support
-
Static: Copy static files with passthrough mappings and glob-based exclude patterns
passthrough: - from: "node_modules/@rhds/elements" to: "assets/vendor/rhds" exclude: ["*.map"]
-
Pagination: Paginate collections with configurable page size and custom permalink patterns
-
i18n: Build multilingual sites with per-language content directories, URL prefixing, and translation strings
languages: en: title: "English Site" root: true fr: title: "Site Français"
-
Pipeline: Incremental rebuilds that only reprocess changed files
-
Plugins (QuickJS): Drop a JS file in
plugins/for in-process filters, hooks, and shortcodes — no Node.js requiredexport default function(alloy) { alloy.shortcode("greeting", (args) => { return `<p>Hello, ${args[0]}!</p>`; }); }
-
Plugins (WASM): Compile filters from Rust, TinyGo, or AssemblyScript for near-native performance
-
Plugins (Node): Opt into a full Node.js subprocess runtime for plugins that need npm packages or filesystem access
-
Hooks: React to build lifecycle events and inject virtual pages
alloy.hook("onContentLoaded", { pages: true }, (pages) => { // inject virtual pages, transform content, etc. });
-
CLI:
alloy build,alloy dev(development server with file watcher and live reload),alloy serve,alloy init, andalloy version