Release History

Changelog

All notable changes to Grit are documented here. Each release includes new features, bug fixes, and any breaking changes you need to be aware of.

v3.6.0March 27, 2026

Features

  • Scaffold into current directorygrit new . and grit new ./ now scaffold into the current directory instead of creating a subfolder. Infers the project name from the folder name. Also auto-detects when the current directory name matches the project name.
  • --force flag — Allows scaffolding into non-empty directories. Useful when a repo was cloned first (with README, .git, LICENSE) before scaffolding: grit new . --triple --vite --force.
  • --here flag — Explicit alternative to grit new . for in-place scaffolding.
  • 30 standalone courses — Added 20 new courses to the learning platform (42 total across 3 tracks + 20 standalone). Topics include testing, GORM mastery, WebSockets, Stripe payments, blog/CMS, CI/CD, middleware, and the 100-component UI registry.

Bug Fixes

  • Flags now skip interactive prompt — Running grit new myapp --triple --vite no longer shows the architecture/frontend selection prompt. Flags act as true shortcuts for non-interactive setup.
  • Module path upgrade to /v3 — Fixed go install ...@latest downloading v2.9.0 instead of v3.x. All import paths updated from grit/v2 to grit/v3.
v3.5.0March 26, 2026

Documentation

  • Full docs redesign — Rebuilt the documentation site with a Tailwind CSS-inspired aesthetic. New dark theme (#0b1120), sky-blue accents, cleaner header with backdrop blur, redesigned code blocks with file tabs and line highlighting, and new StepWithCode component for two-column step-by-step guides (text left, code right).
  • Installation page redesigned — Step-numbered sections (01-04) with the new two-column layout, system requirements table, architecture shortcuts, and services grid.
  • Architecture Modes page — Visual cards for all 5 architectures (single, double, triple, API only, mobile) with directory structure trees, features list, ideal use cases, and frontend framework comparison.
  • TanStack Router guide — Complete guide for the TanStack Router frontend option: project structure, routing patterns, comparison table with Next.js, route examples, and admin panel auth guards.
  • New CLI Commands page — Documents grit routes,grit down/up (maintenance mode), and grit deploy. Includes complete command reference table for all 21 CLI commands.
  • Deploy Command guide — Step-by-step deployment pipeline with systemd service unit and Caddyfile examples, flags table.

Improvements

  • Updated skill file with all v3.x architecture modes, frontend options, and new CLI commands.
  • Updated sidebar with new pages: Architecture Modes, New CLI Commands, TanStack Router, Deploy Command.
  • Frontend sidebar section renamed from “Frontend (Next.js)” to “Frontend” to reflect multi-framework support.
v3.4.0March 26, 2026

Features

  • Multi-architecture code generatorgrit generate resourcenow works for all 5 architecture modes and both frontend frameworks. Generates Go model, service, and handler at the correct path (internal/ for single app,apps/api/internal/ for monorepo). Generates React Query hooks and admin resource pages for both Next.js and TanStack Router.
  • grit.json project manifest — Every scaffolded project now includes a grit.json file at the root with architecture andfrontend fields. The generator reads this to determine correct file paths and template variants, eliminating fragile filesystem heuristics.
  • TanStack Router resource generation — When generating resources in a TanStack Router project, creates route files atsrc/routes/_dashboard/resources/ using createFileRoute instead of Next.js app/(dashboard)/resources/ page convention.
v3.3.0March 26, 2026

Features (Goravel-Inspired)

  • grit routes — List all registered API routes in a formatted table. Parses routes.go and shows method, path, handler, and middleware group (public/protected/admin). Works for both monorepo and single app projects.
  • grit down / grit up — Maintenance mode.grit down creates a .maintenance file that triggers the new maintenance middleware, returning 503 for all requests. grit up removes it and resumes normal operation.
  • grit deploy — One-command production deployment. Cross-compiles for Linux, builds frontend, uploads binary via SCP, configures a systemd service, and optionally sets up Caddy reverse proxy with auto-TLS. Supports--host, --domain, --key flags orDEPLOY_HOST/DEPLOY_DOMAIN/DEPLOY_KEY_FILE env vars.
  • Maintenance middleware — All scaffolded projects now include aMaintenance() Gin middleware that checks for a .maintenancefile on every request. Runs as the first global middleware.
v3.2.0March 26, 2026

Features

  • Single app architecturegrit new my-app --single creates a single Go binary that serves both the API and an embedded React SPA. Uses go:embedto bake the built frontend into the binary at compile time. One file to deploy. Dev mode runs Go on :8080 and Vite on :5173 with API proxy.
  • Parameterized API paths — All Go API file generators now useopts.APIRoot() and opts.Module() helpers, enabling the same template functions to generate files for both monorepo (apps/api/) and single app (project root) architectures.

Single App Structure

  • cmd/server/main.go — Entry point with go:embed frontend/dist/* and SPA fallback routing
  • internal/ — Full Go backend (same as monorepo API)
  • frontend/ — React + Vite + TanStack Router SPA
  • Makefilemake dev (parallel servers), make build (single binary)
v3.1.0March 26, 2026

Features

  • TanStack Router frontend scaffold — When selecting TanStack Router (Vite) as your frontend, both the web app and admin panel are now fully scaffolded with Vite + TanStack Router + React Query + Tailwind CSS. Includes file-based routing via @tanstack/router-vite-plugin, API proxy in dev mode, and all the same features as the Next.js scaffold.
  • TanStack Router admin panel — Complete admin panel with TanStack Router: auth pages (login, sign-up, forgot password), dashboard layout with sidebar, resource management (users, blogs) via ResourcePage component, system pages (jobs, files, cron, mail, security), profile page. All existing React components (DataTable, FormBuilder, widgets) are reused with automatic"use client" directive stripping.
v3.0.0March 26, 2026

Features

  • Interactive project creationgrit new my-app now launches an interactive prompt to select your architecture and frontend framework. Power users can skip with flags: --single --vite, --triple --next,--api, etc.
  • 5 architecture modes — Choose the project structure that fits your team:Single (Go API + embedded React SPA, one binary),Double (Web + API Turborepo),Triple (Web + Admin + API Turborepo),API Only (Go backend, no frontend),Mobile (API + Expo React Native).
  • Frontend framework choice — Pick between Next.js (SSR, App Router) and TanStack Router (Vite, fast builds, small bundle, SPA). Available for all architecture modes that include a frontend.

Breaking Changes

  • Options struct refactored — The internal Options struct now uses Architecture and Frontend enum fields instead of boolean flags. Legacy flags (--api, --mobile, --full) still work via the Normalize() migration layer.
v2.9.0March 26, 2026

Features

  • Two-Factor Authentication (TOTP) — Every grit new project now includes a complete 2FA system with authenticator app support (Google Authenticator, Authy, 1Password, etc.). Zero-dependency RFC 6238 implementation with HMAC-SHA1. Includes setup flow with QR code URI generation, 6-digit code verification with ±1 window clock skew tolerance, and seamless integration with the existing JWT login flow.
  • Backup Codes — 10 one-time-use recovery codes generated when enabling 2FA. Each code is individually bcrypt-hashed for storage. Codes can be regenerated at any time (invalidates previous set). Use during login as an alternative to the authenticator app.
  • Trusted Devices — “Remember this device” option during TOTP verification. Sets an HttpOnly cookie with a SHA-256 hashed token stored in the database. Trusted devices last 30 days with sliding expiry (refreshed on each use). Users can revoke all trusted devices from their account.

New Endpoints

  • POST /api/auth/totp/setup — Generate TOTP secret + QR URI (authenticated)
  • POST /api/auth/totp/enable — Verify initial code and activate 2FA
  • POST /api/auth/totp/verify — Verify TOTP code during login (public, uses pending token)
  • POST /api/auth/totp/backup-codes/verify — Use backup code during login
  • POST /api/auth/totp/disable — Disable 2FA (requires password)
  • GET /api/auth/totp/status — Check 2FA status, remaining backup codes, trusted device count
  • POST /api/auth/totp/backup-codes — Regenerate backup codes
  • DELETE /api/auth/totp/trusted-devices — Revoke all trusted devices
v2.8.0March 16, 2026

Features

  • Vercel AI Gateway integration — Replaced the multi-provider AI service (Claude, OpenAI, Gemini with separate API implementations) with Vercel AI Gateway. One API key now gives access to hundreds of models from all major providers through a single OpenAI-compatible endpoint. Models use the provider/model format (e.g. anthropic/claude-sonnet-4-6, openai/gpt-5.4, google/gemini-2.5-pro). Includes automatic retries, fallbacks, spend monitoring, and zero markup on tokens.

Breaking Changes

  • AI environment variablesAI_PROVIDER, AI_API_KEY, and AI_MODEL have been replaced with AI_GATEWAY_API_KEY, AI_GATEWAY_MODEL, and AI_GATEWAY_URL. Update your .env file accordingly. Get your API key from vercel.com/ai-gateway.
v2.7.0March 10, 2026

Features

  • 10 Official Plugins — New grit-plugins ecosystem with drop-in Go packages for common functionality: WebSockets (grit-websockets), Stripe payments (grit-stripe), OAuth social login (grit-oauth), notifications (grit-notifications), full-text search (grit-search), video processing (grit-video), WebRTC conferencing (grit-conference), outgoing webhooks (grit-webhooks), i18n translations (grit-i18n), and PDF/Excel/CSV export (grit-export). Each plugin includes a Claude Code skill file for AI-assisted integration.
  • Claude Code Skills format — Updated the scaffolded AI skill file from a monolithic GRIT_SKILL.md to the official Claude Code skills directory structure (.claude/skills/grit/SKILL.md + reference.md) with YAML frontmatter. AI assistants can now discover and use Grit conventions automatically.
  • Grit UI component registry (100 components) — Expanded from 91 to 100 pre-built components across 5 categories: marketing (21), auth (10), SaaS (30), ecommerce (20), and layout (20).

Documentation

  • New Plugins page — overview of all 10 plugins with installation, environment setup, quick start code, features, and use cases for each.
v2.6.0March 6, 2026

Fixes

  • GORM Studio (Desktop) — Replaced the broken custom HTML studio with the real gorm-studio package. Desktop studio now runs on port 8080 at /studio using Gin + gorm-studio, matching the web scaffold. Auto-opens browser on launch.
v2.5.0March 6, 2026

Features

  • GRIT_SKILL.md — Desktop scaffolds now include a GRIT_SKILL.md file in the project root. This is a comprehensive AI reference (12 sections) covering architecture, CLI commands, resource generation, field types, code markers, golden rules, and common LLM mistakes — so AI assistants can work with the project correctly out of the box.
  • Comprehensive README — The scaffolded README.md now includes a full project walkthrough, “Adding a New Module” guide, supported field types table, customization section (window size, title bar, database, app name), code markers reference, and a ready-to-use AI prompt for building a Task Manager app.

Fixes

  • Dashboard stats cache — Dashboard statistics now update immediately after creating a blog or contact. Changed query keys from ["blogs-stats"] to ["blogs", "stats"] so TanStack Query's prefix matching invalidates dashboard queries when resources are created or deleted.
v2.4.0March 5, 2026

Features

  • Window controls on auth pages — Login and register pages now include minimize, maximize, and close buttons with a draggable title area, so users can move and manage the window before signing in.
  • Show/hide password toggle — All password fields on login and register pages now have an eye icon toggle to reveal or hide the password text.

Fixes

  • Desktop build script — Removed tsc from the frontend build script. TanStack Router's Vite plugin generates routeTree.gen.ts during the Vite build, so running tsc before Vite caused Cannot find module './routeTree.gen' errors.
  • Title bar import path — Fixed the Wails binding import in title-bar.tsx from a 2-level to 3-level relative path.
  • Auth hook file extension — Renamed use-auth.ts to use-auth.tsx so TypeScript handles the JSX correctly.
  • Create resource cache refresh — Blog and contact create pages now invalidate the React Query cache before navigating back, so new records appear in the table immediately.
v2.2.0March 4, 2026

Fixes

  • Desktop auth hook file extension — Renamed the scaffolded use-auth.ts to use-auth.tsx so TypeScript correctly handles the JSX in <AuthContext.Provider>. Previously, grit new-desktop projects would fail to compile with TS1005: '>' expected errors.

Documentation

  • Added Desktop Handbook PDF download links to all 8 desktop documentation pages.
v2.1.0March 4, 2026

Features

  • TanStack Router for desktop — Migrated the desktop frontend from React Router to TanStack Router with file-based routing. Routes are auto-discovered by the Vite plugin — no centralized route registry. Uses createHashHistory() for Wails compatibility and Route.useParams() for type-safe params. Resource generation now creates 5 files (list, new, edit routes + model + service) and performs 10 injections (down from 12).
  • Mobile navigation — Added a hamburger menu to the docs site header, visible below the lg breakpoint. Opens a Sheet sidebar with all navigation links. Auto-closes on link click.
  • CGO-free SQLite — Replaced gorm.io/driver/sqlite (requires CGO) with github.com/glebarez/sqlite (pure Go) in all scaffold templates. Desktop apps now build and run without CGO or a C compiler.
  • 20 Desktop Project Ideas — New project ideas page with 20 ready-to-build desktop app ideas across business, education, healthcare, logistics, and more. Each includes resources, field definitions, and grit generate commands.

Documentation

  • Added TanStack Router explanations to all desktop doc pages: overview, getting started, first app, resource generation, and POS app.
  • Updated LLM Reference, GRIT_SKILL.md, and database docs to reflect TanStack Router and CGO-free SQLite changes.
v2.0.0March 4, 2026

Features

  • Native desktop apps (Wails) — New grit new-desktop command scaffolds a complete desktop application with Go backend, React frontend (Vite + TanStack Router + TanStack Query), SQLite database, JWT authentication, blog and contact CRUD, PDF/Excel export, custom title bar, dark theme, and GORM Studio. Compiles to a single native executable for Windows, macOS, and Linux. See Desktop docs.
  • Desktop resource generationgrit generate resource now works inside desktop projects. Generates Go model, service, and TanStack Router route files (list, new, edit), then injects code into 10 locations (db.go, main.go, app.go, types.go, sidebar.tsx, studio/main.go) using grit: markers. See Desktop Resource Generation.
  • Project type auto-detection — All CLI commands now auto-detect whether you are inside a web (Turborepo) or desktop (Wails) project. No flags needed.
  • grit start for desktop — Running grit start inside a desktop project launches wails dev with hot-reload for both Go and React.
  • grit compile — New command that runs wails build to produce a distributable native binary.
  • grit studio — New command that launches GORM Studio. For desktop projects it starts a standalone server on port 4000. For web projects it opens the browser to the embedded Studio route.
  • grit remove resource for desktop — Removes a previously generated desktop resource, deleting files and reversing all 10 marker injections.
  • Grit UI component registry (91 components) — Every scaffolded web project now includes a shadcn-compatible component registry with 91 pre-built components across 5 categories: marketing (14), auth (10), SaaS (30), ecommerce (20), and layout (18). Install via npx shadcn@latest add from /r endpoints.

Documentation

  • New Desktop (Wails) section — 8 pages covering overview, getting started, first app tutorial, POS app tutorial, resource generation, building/distribution, project ideas, and LLM reference.
  • Updated LLM Reference with complete desktop section: project structure, CLI commands, markers, and architecture comparison.
v1.4.0March 2, 2026

Features

  • Gzip response compression — All API responses are now compressed automatically via a custom Gzip() middleware using the Go standard library compress/gzip at BestSpeed. JSON payloads shrink by 60–80%, reducing bandwidth on paginated list endpoints with zero external dependencies.
  • Request ID tracing — A RequestID() middleware injects a unique X-Request-ID header on every request (echoes the upstream header or generates a nanosecond-based ID). The ID is stored in Gin context and included in every structured log line for end-to-end request tracing.
  • Database connection pool tuning — The scaffold now sets four GORM pool parameters: MaxIdleConns(10), MaxOpenConns(100), ConnMaxLifetime(30m), and ConnMaxIdleTime(10m). This prevents stale connections after network interruptions and avoids connection exhaustion under load.
  • Cache-Control headers on public blog endpoints — The ListPublished handler now returns Cache-Control: public, max-age=300 (5 minutes) and GetBySlug returns Cache-Control: public, max-age=3600 (1 hour). CDNs and edge caches can now serve public blog content without hitting the Go API.

Documentation

  • New Performance page — comprehensive guide to all backend (Go/API) and frontend (Next.js) performance optimisations that ship with every Grit project out of the box. Covers Gzip, Request ID, connection pool, Cache-Control, presigned uploads, background jobs, Redis caching, Server Components, ISR, React Query, next/image, Turborepo, and code splitting.
  • New Complete LLM Reference page — a dedicated machine-readable guide that teaches AI assistants everything about Grit: project structure, all CLI commands, every field type, code patterns, API response format, code markers, naming conventions, all batteries, performance features, and the golden rules that must never be broken.
v1.3.0February 26, 2026

Features

  • Presigned URL uploads — File uploads now bypass the API server entirely. The browser gets a presigned PUT URL, uploads directly to S3/R2/MinIO, then records the upload in the database. This fixes file uploads breaking behind reverse proxies (Dokploy/Traefik/Nginx) due to request body size limits and timeouts. Includes progress tracking via XHR.
  • Error pages for scaffolded apps — New grit new projects now include error.tsx, not-found.tsx, and global-error.tsx for both admin and web apps. Errors are displayed with styled UI instead of the default Next.js error page.
  • Production-ready Docker configdocker-compose.prod.yml now uses expose instead of ports, env_file for secrets, MinIO service, named bridge network, build args for NEXT_PUBLIC_API_URL, and Go 1.24.
  • Sentinel ExcludePaths — Pulse, GORM Studio, Sentinel, and API docs paths are now excluded from rate limiting by default, fixing Pulse health checks triggering rate limits.

Documentation

  • New Create without Docker guide — set up a Grit project using Neon, Upstash, Cloudflare R2, and Resend instead of Docker.

Infrastructure

  • Scaffold Dockerfile updated from Go 1.23 to Go 1.24
  • Next.js Dockerfile now accepts NEXT_PUBLIC_API_URL as a build argument
  • .env template includes Docker Compose production variables (POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB, API_URL)
v1.1.0February 25, 2026

Features

  • Default font changed to Onest — New projects scaffolded with grit new now use the Onest Google Font for all UI text instead of DM Sans. JetBrains Mono remains the code font. The font is loaded via next/font/google with weights 400, 500, 600, and 700.
  • Hire Us page — New /hire page for professional Grit development services. Includes service offerings, tech stack overview, and contact CTA.
  • Monetization banners — Docs sidebar now shows promotional cards for GritCMS, developer hiring services, and donations — visible on every documentation page.
  • Grit Fullstack Course page — New /course page with a 10-module curriculum covering Go, React, Next.js, and the full Grit stack.

Improvements

  • Top navigation now includes GritCMS, Hire Us, and a Sponsor heart icon for quick access to all revenue channels.
  • richtext added to the FieldType union for better type safety in the code generator.

Bug Fixes

  • OAuth callback fix — Fixed TokenPair struct field access in the social login callback handler (was using map indexing instead of struct fields).
  • Course waitlist fix — Fixed Google Sheets submission to use form-encoded data instead of JSON.

Documentation

  • New CLI Cheatsheet page — complete reference for all Grit CLI commands with flags, field types, generated files, common workflows, and full command tree.
  • New Social Login (OAuth2) setup guide for Google and GitHub authentication.
  • Updated Docker Cheat Sheet with force remove commands for containers and volumes.
  • Updated AI skill guide with social login (OAuth2) section.
v1.0.0February 24, 2026

Features

  • Social Login (Google + GitHub) — Every grit new project now includes OAuth2 social authentication via Gothic. Users can sign in with Google or GitHub on all auth pages (login, register, admin). Accounts are linked by email — existing users who sign in with a social provider are automatically connected. Configurable via GOOGLE_CLIENT_ID, GITHUB_CLIENT_ID environment variables.
  • GORM Studio v1.0.1 — Updated to the first stable tagged release of GORM Studio.

Improvements

  • User model now includes Provider, GoogleID, and GithubID fields for social account linking. Password field is now nullable to support OAuth-only accounts.
  • Admin users table shows Provider column with badges (Email, Google, GitHub) and new filter option.
  • Social login buttons (Google + GitHub) appear on all 4 admin style variants (default, modern, minimal, glass).
v0.19.0February 24, 2026

Fixes

  • gin-docs AuthConfig — Updated scaffold template to use the new gindocs.AuthConfig struct instead of the deprecated gindocs.AuthBearer constant, fixing compilation errors in newly scaffolded projects.

Documentation

  • New Your First App tutorial — step-by-step Contact Manager guide covering project setup, resource generation, and CRUD
  • New Dokploy Deployment guide with Dockerfile examples
  • Improved terminal blocks across all tutorials with copy buttons and horizontal scroll
  • Updated API Documentation page to reflect the new AuthConfig struct format
v0.18.0February 22, 2026

Features

  • Pulse (Observability) — Every grit new project now includes Pulse, a self-hosted observability SDK. Provides request tracing, database monitoring, runtime metrics, error tracking, health checks, alerting, Prometheus export, and an embedded React dashboard at /pulse. Enabled by default, configurable via PULSE_ENABLED. See Pulse docs.

Documentation

  • New Pulse (Observability) page covering configuration, endpoints, health checks, alerting, Prometheus metrics, and data storage
v0.17.0February 22, 2026

Features

  • API Documentation (gin-docs) — Replaced hand-written Scalar/OpenAPI spec with gin-docs, a zero-annotation API documentation generator. Routes and GORM models are introspected automatically to produce an OpenAPI 3.1 spec with interactive Scalar or Swagger UI, plus Postman and Insomnia export.
  • Dark/Light mode for Go Playground — The playground now follows the site-wide theme toggle, switching between VS Code dark and light CodeMirror themes.
  • Umami Analytics — Optional visitor analytics via self-hosted Umami, configured with NEXT_PUBLIC_UMAMI_WEBSITE_ID environment variable.

Documentation

  • New API Documentation page covering gin-docs configuration, GORM model schemas, route customization, UI switching, and spec export
  • Full SEO + AEO implementation: sitemap, robots.txt, JSON-LD structured data, per-page metadata

Infrastructure

  • Added Dockerfile for docs site deployment (Next.js standalone output)
  • Google Search Console verification
v0.16.0February 21, 2026

Features

  • Go Playground — Interactive code editor at /playground with Go syntax highlighting, code execution via the official Go Playground API, example snippets, share links, and keyboard shortcuts (Ctrl+Enter to run).
  • GORM Studio updated — Updated to latest version with raw SQL editor, schema export (SQL/JSON/YAML/DBML/ERD), data import/export (JSON/CSV/SQL/XLSX), and Go model generation from database schema.

Documentation

  • Go for Grit Developers — comprehensive rewrite with 22 sections covering methods, Gin routing, middleware, CORS, handler/service architecture, GORM CRUD, migrations, seeding, JWT auth flow, and RBAC
  • Fixed right-side table of contents for the Go prerequisites page
  • New Middleware and CORS sections added to Go guide
v0.15.0February 20, 2026

Features

  • Security (Sentinel) — Every grit new project now ships with a production-grade security suite powered by Sentinel. Includes WAF, rate limiting, brute-force protection, anomaly detection, IP geolocation, security headers, and a real-time threat dashboard at /sentinel/ui. See Security docs.
  • Admin security page — New System → Security page in the admin panel embeds the Sentinel dashboard for monitoring threats without leaving the admin UI.

Documentation

  • New: Security (Sentinel) documentation page
  • Migrated getting-started pages (Installation, Quick Start, Troubleshooting) to use CodeBlock component
  • Added prerequisite learning pages for Go, Next.js, and Docker
v0.14.0February 18, 2026

Features

  • Multi-step forms — New formView: "modal-steps" and "page-steps" variants with horizontal/vertical step indicators, per-step validation, progress bar, and clickable step navigation. See Multi-Step Forms.
  • Standalone component usage — FormBuilder, FormStepper, and DataTable can now be used on any page in both web and admin apps without the resource system. See Standalone Usage.
  • Richtext field type — New richtext field with Tiptap WYSIWYG editor (bold, italic, headings, lists, code blocks, links, undo/redo).
  • string_array field type — Store arrays of strings using datatypes.JSONSlice[string]. Works with PostgreSQL and SQLite. Maps to string[] in TypeScript and z.array(z.string()) in Zod.
  • Built-in blog examplegrit new now scaffolds a complete blog with model, service, handler, seed data, public web pages, and admin resource definition.
  • Sidebar user avatar — Admin sidebar shows the current user's avatar with a dropdown menu for profile and logout.
  • Profile avatar upload — Profile page now supports avatar image upload.
  • react-hook-form in web app — Web app scaffold now includes react-hook-form as a dependency, enabling standalone FormBuilder usage out of the box.

Bug Fixes

  • Scalar API docs crash — Fixed c.String treating HTML as a format string. Now uses c.Data to avoid panics when Scalar HTML contains % characters in CSS/JS.
  • Blog route conflict — Admin blog CRUD routes moved from /api/blogs to /api/admin/blogs to avoid conflict with public blog routes.
  • Select dropdown styling — Fixed relationship select dropdown rendering behind modals using portal-based positioning.

Documentation

  • New: Build a Product Catalog tutorial — resource generation, multi-step forms, standalone DataTable & FormBuilder
  • New: Multi-Step Forms guide
  • New: Standalone Usage guide
  • New: Changelog page
  • Updated CLI Commands, Code Generation, Quick Start, Resources, Shared Package, Web App, Seeders, and Forms pages
v0.12.0February 2026

Features

  • Relationship support — New belongs_to and many_to_many field types for the code generator. Automatically creates foreign keys, junction tables, and relationship-aware form fields.
  • Relationship select fields — New relationship-select and multi-relationship-select form field components with search, portal-based dropdowns, and tag-based multi-select.
  • Beginner tutorial — "Learn Grit Step by Step" tutorial walking through building a full-stack app from scratch.
v0.11.0February 2026

Features

  • Full-page form view — New formView: "page" option renders forms as dedicated pages instead of modals.
  • slug field type — Auto-generates URL-friendly slugs with unique suffixes. Excluded from create/update forms and Zod schemas.
  • DataTable column customization — Hide/show columns, column visibility toggle in table toolbar.
  • grit start commandsgrit start client and grit start server for running frontend and API separately.
v0.10.0January 2026

Features

  • Style variants--style flag for grit new with 4 admin panel styles: default, modern, minimal, and glass.
  • Air hot reloading — Go API development with automatic rebuild on file changes using Air.
  • grit remove resource — Remove a generated resource and clean up all injected code (model, handler, routes, schemas, types, hooks, admin pages).
  • AI workflow docs — Guides for using Grit with Claude and Antigravity AI assistants.