Skip to content

v0.3.0

Choose a tag to compare

@semutdev semutdev released this 08 Oct 02:56
· 10 commits to main since this release

🚀 GoIgniter v0.3.0

✨ New Features

Core

  • PATCH/OPTIONS/HEAD method support in Group
  • Embedded struct scan support in AutoRoute
  • AutoRoute index aliases and snake_case mapping
  • CSRF protection and security headers middleware
  • Encrypted session support
  • Upload hardening with file type validation
  • Global template parsing with cross-file partial includes

Setup Wizard (new!)

  • Interactive curl -fsSL https://raw.githubusercontent.com/semutdev/goigniter/main/setup/setup.sh | bash installer
  • Generates full project scaffold: controllers, models, views, auth, admin panel
  • SQLite and MySQL support
  • Pre-built templates: login, dashboard, users CRUD, settings

Security

  • CSRF token generation and validation
  • Security headers (HSTS, CSP, X-Frame-Options, etc.)
  • Encrypted session cookies
  • Upload validation: file size, MIME type, extension whitelist

🛠 Improvements

  • Template engine: partial templates now work across directories
  • AutoRoute: GET /users now maps to Users.Index() without explicit /index
  • AutoRoute: snake_case URL paths (e.g., /user-profile) map to PascalCase methods
  • Setup wizard templates version-pinned to v0.3.0

📦 What Changed

  • New system/security/ package for CSRF, sessions, upload
  • New setup/ directory with bash installer and Go templates
  • Updated starter/go.mod and template go.mod to v0.3.0
  • Full changelog: v0.2.0...v0.3.0