Skip to content

Releases

v4.0.2

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:12

In short: goilerplate needs no mail address any more. Support happens on GitHub.

Changed

  • Commits from the CLI: goilerplate new and goilerplate update commit as goilerplate with no email address.
  • Support on GitHub: questions and bugs go to GitHub Issues. Security reports go through GitHub's private reporting.

Upgrade

Install the new CLI: go install github.com/axadrn/goilerplate/v4/cmd/goilerplate@latest.

v4.0.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 21:22
v4.0.1

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 18:50

In short: goilerplate is free and open source: the CLI, the generator with every module, the docs and this website, in one public repository. No license, no account, no server.

Why

A few days ago I ended the Free edition, because AI changed how people build apps: an agent writes login, billing and a dashboard in an afternoon. The numbers since then said the same thing. Selling a boilerplate no longer makes sense.

So I am following that thought to its end instead of going back and forth. goilerplate is free and open source, like shadcn-templ. I no longer sell code. I build ops, which deploys and backs up the apps goilerplate makes, on your own servers. Code is free, running it is the business.

If you bought goilerplate or templUI Pro: thank you. Everything you generated keeps working, and you get ops Hosted at half price for as long as you use it.

Changed

  • goilerplate new works offline: it renders the project on your machine, with no login and no network.
  • goilerplate update downloads the template your project was made with from the Go module proxy and merges with Git on your machine, as before. It works for projects made with v4 or newer; projects made with v3 keep working, but do not update to v4.
  • Licenses: the CLI is MIT. The template and every generated project are 0BSD, with no notice to keep. New projects ship without a LICENSE file, so you pick your own.
  • The module path ends in /v4.

Removed

  • login, logout, whoami, claim, license and account: there is nothing to sign in to any more.

Upgrade

Install the new CLI: go install github.com/axadrn/goilerplate/v4/cmd/goilerplate@latest.

v3.2.3

Choose a tag to compare

@github-actions github-actions released this 01 Nov 10:11
96bebdd

In short: goilerplate update says clearly when your Git is too old.

Fixed

  • Git version check: goilerplate update needs Git 2.38 or newer. With an older Git it printed only a cryptic git merge-tree usage line; now it names the required and the installed version before downloading anything.

Upgrade

Update the CLI with go install github.com/axadrn/goilerplate/v3/cmd/goilerplate@latest or the binary from the release, then run goilerplate update.

v3.2.2

Choose a tag to compare

@github-actions github-actions released this 31 Oct 19:15
cff38f1

In short: Short workspace URLs, like /app/acme/….

New

  • Short workspace URLs: a new workspace gets the slug of its name, /app/acme/… instead of /app/acme-s-workspace-1a2b3c4d/…. The workspace from sign-up takes the person's name, /app/ada-lovelace/….
  • A number only when needed: acme-2 when the slug is taken. The unique index decides, so two workspaces created at the same moment never get the same one.
  • Plain letters: accented letters become plain ones (Ärzte Zürich is arzte-zurich), and names of app pages such as settings or admin are reserved.

Fixed

  • Workspace switcher: it shows the first letter of a name that starts with a non-ASCII letter, such as Ä, instead of a broken character.
  • Docs table of contents: it marks the last headings of short pages as you reach them.

Upgrade

Commit your work, run goilerplate update, switch to the goilerplate-update-v3.2.2 branch and run go tool templ generate. Existing workspaces keep their slug, so no link breaks; there is no migration.

v3.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 15:02
cff38f1

In short: Two fixes for the new CLI wizard and its help.

Fixed

  • Wizard focus: goilerplate new without options lets you type the project directory again. The first step was not focused since v3.2.0.
  • Help: goilerplate help new lists every option, starting with the required --module.

Upgrade

go install github.com/axadrn/goilerplate/v3/cmd/goilerplate@latest.

v3.2.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 12:13
dfe0296

In short: One product, no Free edition. AI made a free starter pointless: anyone can generate the easy 80% in an afternoon. What takes weeks is the last 20%: billing that survives webhooks, tenant isolation, admin tools, and updates that keep coming.

New

  • shadcn-templ v2.0.0 is stable.

Changed

  • goilerplate new needs a license and has no --edition flag. The wizard starts at the project directory and asks every module question; --payment is stripe or polar.
  • Every account from before today got the full license, for free.
  • goilerplate doctor shows only the template version.
  • goilerplate new --help prints the help for new.
  • The price goes from $99 to $149 on December 1, 2026. Every license bought before keeps lifetime updates.

Removed

  • The Free edition. Projects generated with it cannot run goilerplate update, because there is no Free template to update to: generate a new project with goilerplate new and move your code over.

Upgrade

  1. Install the CLI v3.2.0: go install github.com/axadrn/goilerplate/v3/cmd/goilerplate@latest. Older CLIs default to the Free edition, which the server now refuses.
  2. Commit your work, run goilerplate update, then switch to the goilerplate-update-v3.2.0 branch.
  3. Run go tool templ generate and go mod tidy, then build and test.

v3.1.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 11:06
b16f755

In short: A security fix: templ v0.3.1100, which needs Go 1.26.

Fixed

  • templ v0.3.1100: code generated by earlier versions does not sanitize spread attributes such as { attrs... }, or URLs in attributes such as <iframe src>. Every vendored component passes Attributes through a spread, so every project with an htmx or Datastar frontend was affected. Headless and SvelteKit projects have no templ code.
  • goldmark v1.8.6 for docs and blog content (CVE-2026-5160).
  • Docker images on alpine:3.24 instead of alpine:3.20.2, which no longer gets security updates.
  • golang.org/x/crypto v0.57.0, golang.org/x/net v0.59.0 and the other golang.org/x modules templ pulls in.

Changed

  • Go 1.26: generated projects say go 1.26.0 and build on golang:1.26. goilerplate doctor reads the version from your go.mod and asks for Go 1.26.
  • shadcn-templ v2.0.0-beta.16 in AGENTS.md. The vendored components are unchanged.

Upgrade

  1. Install Go 1.26 or newer.
  2. Commit your work, run goilerplate update, then switch to the goilerplate-update-v3.1.1 branch. By hand instead: go get github.com/a-h/templ@v0.3.1100 github.com/yuin/goldmark@v1.8.6, go mod edit -go=1.26.0, and golang:1.26 and alpine:3.24 in your Dockerfile.
  3. Run go tool templ generate and go mod tidy, then build and test. Code generated by an older templ no longer compiles against v0.3.1100, so regenerating is required.

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 07:23
b16f755

In short: One Go backend, every way to talk to it: HTML, a JSON API, MCP and SvelteKit. Services still own the rules; the new transports are thin and call the same methods as your htmx or Datastar handlers.

New

  • JSON API (--api): /api/v1 next to your htmx or Datastar app, from the same binary. Free covers auth, account and sessions; Paid adds billing, admin, workspaces, members, invitations, activity and avatars.
  • API details: the login session doubles as the credential, Authorization: Bearer <token>; cookie sessions keep working with X-CSRF-Token from GET /api/v1/csrf. One error envelope, snake case JSON, cursor pagination for activity, 415 for anything that is not application/json, a 1 MiB body limit.
  • OpenAPI: a hand-written OpenAPI 3.1 document at /api/v1/openapi.yaml, with a test that fails when a route and the document drift apart.
  • CORS for listed origins through CORS_ALLOWED_ORIGINS; OAuth callbacks can use a separate API_URL.
  • Headless (--headless): the Go backend with the JSON API and no native frontend, no templ, Tailwind or assets. GET / answers JSON and the Docker image is about 51 MB.
  • Personal API tokens (pat_...) with read or read and write scope, bound to one workspace, stored as hashes, shown once, created and revoked under Settings, Security. New routes are closed to tokens until they opt in; tokens never manage people, credentials or billing. They end when the password is reset or changed and when an admin revokes a user's sessions.
  • MCP server (--mcp) at /mcp, built on the official Go SDK, so your customers connect Claude, Cursor or VS Code with a token. Free ships whoami; Paid adds get_billing; Workspaces add list_workspaces, get_workspace, list_activity, invite_member and rename_workspace. AGENTS.md shows how to add your own tool in under 20 lines.
  • SvelteKit (--framework svelte): a SvelteKit 3 app with Svelte 5 and shadcn-svelte on the Headless backend, embedded into the Go binary: one origin, one deploy, about 53 MB. Same look and pages as the templ app, cookie sign-in with CSRF, a strict CSP. Needs Node.js 22.17 or newer and pnpm; goilerplate doctor checks both. htmx and Datastar stay the recommendation.
  • The CLI has --api, --headless, --mcp and --framework svelte, and the wizard asks for them.

Changed

  • shadcn-templ v2.0.0-beta.13: Base UI behavior across components, a minified bundle from /assets/js and gzip for text assets. The bundle goes from 613 KB to about 77 KB on the wire.
  • Safer by default: OAuth refuses provider accounts without a verified email, payment webhooks reject bodies over 1 MiB, the invitation limit is shared across web, API and MCP, and invitation tokens no longer show up in request logs.

Fixed

  • UI: select triggers show their labels again, the mobile sidebar closes on the first Escape, and Back and Forward work after docs navigation in htmx and Datastar.
  • Datastar settings: Sign Out Everywhere, Remove Password and remove avatar no longer stay disabled.
  • Forms show their red border on errors.
  • Account deletion: a refused deletion no longer deletes the user's files first.
  • A data race in the first concurrent page renders is gone.

Upgrade

  1. Install the goilerplate CLI v3.1.0. The v3.0.x CLI can run this update, but it cannot read locks written by v3.1.0.
  2. Commit your work, run goilerplate update, then switch to the goilerplate-update-v3.1.0 branch.
  3. If internal/routes/routes.go conflicts, keep the new middleware.Gzip(assetHandler) line and delete mux.Handle("GET /components/{bundle}", components.ScriptsHandler()). Vendored components you edited may also conflict.
  4. If you edited component JavaScript or added components the template does not ship, re-add them with go run github.com/axadrn/shadcn-templ/v2/cmd/shadcn-templ@v2.0.0-beta.13 add <name> --overwrite, run the same command with bundle, and commit assets/js/shadcn-templ-*.js and internal/ui/components/scripts_bundle.go.
  5. In your own templates, JavaScript and CSS, replace data-tui-* with data-slot (for example [data-slot=dialog-content]), open state with data-open and data-closed, and window.tui with window.templ. Nothing fails to compile here, so search for data-tui and window.tui.
  6. API_URL is new and optional; it defaults to APP_URL.
  7. Run go tool templ generate and go mod tidy, then build and test.

Adding the JSON API, MCP or SvelteKit to an existing project is a new generation with the same answers plus the new flags; goilerplate update keeps your current selection.

v3.0.3

Choose a tag to compare

@github-actions github-actions released this 07 Sep 05:52
2068ebc

In short: The Admin link is back in Paid projects without Workspaces.

Fixed

  • Admin link: Paid projects without Workspaces show the Admin menu link again.

Upgrade

Run goilerplate update.