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.

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.