Changelog

NexGo Versions

Track every release. See what changed between versions and what's coming next.

v2.2.1 (Latest) v2.2.0 v2.1.0
v2.2.1 Latest
April 2026

SEO Killer Mode โ€” The Most SEO-Complete Go Framework

Comprehensive built-in SEO toolkit: auto sitemap.xml, robots.txt, canonical URLs, 10 JSON-LD schema types, OpenGraph + Twitter Cards, article OG tags, hreflang alternates, RSS feed generation, breadcrumbs, FAQ/Product/HowTo schemas, Core Web Vitals tracking, SEO audit, URL slugify, preload hints, HSTS, and SEO HTTP headers. Zero configuration needed.

SEO

New
Auto Sitemap & Robots.txt

Automatic /sitemap.xml from route table with lastmod, changefreq, priority. Auto /robots.txt with configurable allow/disallow rules.

New
10 JSON-LD Schema Types

WebSite, Organization, LocalBusiness, Article, BreadcrumbList, FAQ, Product, Review, HowTo, and generic JSON-LD builder.

New
OpenGraph + Twitter Cards + Article OG

Full og:*, twitter:*, article:published_time, article:section, article:tag support via seoTags template function.

New
RSS Feed Generation

Built-in RSS 2.0 feed renderer with categories, author, pub date. Register /rss.xml endpoint in one call.

New
Hreflang & Pagination SEO

Hreflang alternate links for multilingual sites. rel=prev/next for paginated content.

New
Core Web Vitals Tracking

Built-in LCP, CLS, INP measurement script with beacon reporting to configurable endpoint.

New
SEO Audit & Validation

Programmatic meta tag and HTML auditing. Checks title length, description, H1 count, alt attributes, canonical URLs.

New
Redirects, Trailing Slash, HSTS, SEO Headers

Config-based 301/302 redirects, trailing slash normalization, HSTS middleware, auto Content-Language and security headers.

New
Preload Hints & URL Slugify

Template functions for resource preload/prefetch/prerender hints. Unicode-safe URL slug generation.

v2.2.0
April 2026

High-Performance Mode โ€” 200k+ req/sec

Cluster mode, async logging, response caching, atomic template reads, and route match caching. Push throughput from 50k to 200k+ req/sec on multi-core machines. No breaking changes.

Performance

New
Cluster Mode

Multiple HTTP workers sharing one TCP listener. Auto-detects CPU cores. Zero-downtime restart.

New
Async Logging

Buffered channel (8,192 entries) with background writer. Non-blocking I/O on the hot path.

New
Response Caching

In-memory full response cache with TTL. X-Cache: HIT/MISS headers. Microsecond response times.

New
Route Match Caching

sync.Map-based cache skips regex matching for known paths. 15ns vs 800ns lookups.

New
Atomic Template Reads

Lock-free template reads via sync/atomic.Value. O(1) constant time regardless of concurrency.

New
HTTP Server Tuning

Configurable buffer sizes, timeouts, and keep-alive settings for high-throughput scenarios.

v2.1.0
April 2026

Islands Architecture โ€” Zero JS by Default

Pages ship as pure static HTML. Only interactive components ("islands") load JavaScript, with 5 hydration strategies. Fully backwards compatible with v2.0.x โ€” no breaking changes.

Islands Architecture

New
pkg/islands โ€” Island Registry & Renderer

Full island registry with template rendering, JS serving, and hydration runtime.

New
5 Hydration Strategies

client:load, client:visible, client:idle, client:media, client:none โ€” fine-grained control over when JS loads.

New
island, props, islandRuntime Template Functions

Render islands in templates with island "name" (props "k" "v") "client:visible".

New
Island JS Serving

/_nexgo/islands/{name}.js endpoint serves individual island JS files as ES modules.

New
~1KB Hydration Runtime

Lightweight runtime using IntersectionObserver, requestIdleCallback, and matchMedia for efficient hydration.

New
SSR-Only Islands

Create reusable components without a .js file โ€” rendered server-side, zero JS shipped.

New
HMR for Islands

Hot reload support for island templates and JS files during development.

New
islandsDir Config

Configure the islands directory in nexgo.config.json. Defaults to "islands".

v2.0.3
April 2026

Auth, Database, WebSockets, Cluster Mode & Full-Stack DX

Major release: JWT auth, sessions, CSRF protection, database with ORM, WebSockets, cluster mode, plugin system, server actions, i18n, image optimization, deployment adapters for 8 platforms, and much more.

Security

New
JWT Auth

Built-in JWT authentication with sign, verify, and refresh token support.

New
Sessions

Cookie-based and store-backed session management with configurable expiry.

New
CSRF Protection

Automatic CSRF token generation and validation middleware.

New
Rate Limiting

Per-route and global rate limiting with sliding window algorithm.

Data

New
Database (JSON + SQL)

Unified database layer supporting both JSON file storage and SQL databases.

New
ORM

Lightweight ORM with model definitions, relations, queries, and migrations.

New
Migrations

Schema migrations with up/down support and automatic version tracking.

New
Redis Cache

Redis-backed caching with TTL, invalidation, and pub/sub support.

Infrastructure

New
WebSockets

Native WebSocket support with rooms, broadcasting, and auto-reconnect.

New
Cluster Mode

Multi-process clustering with shared state and automatic load balancing.

New
Deployment Adapters (8 platforms)

One-command deploy to Vercel, Fly.io, Railway, Render, AWS, GCP, Azure, and Docker.

New
Health Checks

Built-in /healthz and /readyz endpoints with custom check registration.

DX

New
Plugin System

Extensible plugin architecture with lifecycle hooks and dependency injection.

New
Server Actions

Define server-side mutations directly from templates with automatic form handling.

New
Testing Utilities

Test helpers for routes, middleware, and handlers with request mocking.

New
Structured Logging

JSON-structured logging with levels, context fields, and log rotation.

New
Metrics

Prometheus-compatible metrics endpoint with request duration, error rates, and custom counters.

Frontend

New
i18n/RTL

Internationalization with locale detection, translation files, plurals, and RTL layout support.

New
Image Optimization

Automatic image resizing, format conversion (WebP/AVIF), and lazy loading.

New
Asset Pipeline

CSS/JS bundling, minification, fingerprinting, and cache-busting.

New
Error Pages/Boundaries

Custom error pages (404, 500) and error boundaries that catch panics gracefully.

New
Per-Route Middleware

Attach middleware to individual routes or route groups with chaining support.

New
CSP

Content Security Policy header generation with nonce support for inline scripts.

New
Env Variables

Typed environment variable loading from .env files with validation and defaults.

v1.2.0
April 2026

SEO, Streaming SSR, ISR, Worker Pools & Advanced Features

Production-ready features: SEO meta tags, sitemaps, streaming SSR, incremental static regeneration, worker pools, response caching, parallel data loading, and template caching.

New Features

New
SEO Package

Meta tags, OpenGraph, Twitter Cards, sitemap.xml, robots.txt, and JSON-LD structured data generation.

New
Streaming SSR

Send HTML progressively as it's ready โ€” show the shell immediately, stream content later. Includes SSE support.

New
Incremental Static Regeneration (ISR)

Cache pages and rebuild them in the background after a configurable interval โ€” like Next.js ISR.

New
Worker Pools

Run tasks concurrently with controlled parallelism. Map, ForEach, and global pool support.

New
Response Caching

Cache GET responses in memory with TTL. Automatic X-Cache: HIT/MISS headers.

New
Parallel Data Loading

Load multiple data sources concurrently and merge results โ€” like Promise.all() in JS.

New
Template Caching

Templates compiled once and cached. Parallel template loading with worker pool.

v1.1.0
April 2026

HTMX Support, State Management & API Helpers

Built-in helpers for writing shorter, cleaner API handlers with HTMX support and easy state management.

Features

New
HTMX Helpers

IsHTMX, HTMXHTML, HTMXTrigger, HTMXHeader โ€” send HTML fragments and fire client events.

New
State Management

Thread-safe global state with SetState, GetState, DeleteState, and NewState for isolated sessions.

New
HTML Helpers

Escape() for XSS-safe output and HTML() for raw HTML responses.

New
Todo App Example

Complete HTMX-powered todo app in the docs with CRUD operations.

v1.0.5
December 2024

Initial Public Release

The Go-powered web framework inspired by Next.js. File-based routing, SSR, and hot reload.

Features

Orig
File-Based Routing

Automatic route discovery from pages/ directory with dynamic segments.

Orig
Server-Side Rendering

SSR, SSG, and SPA modes with data loaders like getServerSideProps.

Orig
Hot Reload (HMR)

SSE-based file watching with instant browser refresh.

Orig
API Routes

REST endpoints with method routing, JSON helpers, and pagination.

Orig
DevTools Panel

Built-in debug panel with route inspector, request logs, and performance metrics.

Orig
Middleware System

Recover, Logger, SecurityHeaders, Gzip, CORS, and Cache middleware.

v2.1.0 vs v2.2.0

What changed and why you should upgrade.

v2.1.0 April 2026
Islands Architecture
All v2.0 Features
~50k req/sec
Cluster Mode
Async Logging
Response Caching
Route Match Caching
Atomic Template Reads
HTTP Server Tuning
200k+ req/sec
Zero-Downtime Restart
v2.2.0 April 2026
Islands Architecture
All v2.0 Features
200k-400k+ req/sec
Cluster Mode (N workers)
Async Logging
Response Caching (TTL)
Route Match Caching
Atomic Template Reads
HTTP Server Tuning
~1M+ req/sec (cached)
Zero-Downtime Restart

Feature Breakdown

Feature v2.1.0 v2.2.0 Details
Cluster Mode × ✓ Multiple HTTP workers, shared listener, auto CPU detection
Async Logging × ✓ Buffered channel, non-blocking I/O, background writer
Response Caching × ✓ In-memory full response cache, TTL, X-Cache headers
Route Match Caching × ✓ sync.Map cache, 15ns lookups, auto-invalidation
Atomic Template Reads × ✓ Lock-free reads via sync/atomic.Value, zero contention
Islands Architecture ✓ ✓ islands.NewRegistry() โ€” unchanged
File-Based Routing ✓ ✓ Automatic route discovery โ€” unchanged
Server-Side Rendering ✓ ✓ SSR, SSG, and SPA modes โ€” unchanged
Hot Reload (HMR) ✓ ✓ SSE-based file watching + island HMR
API Routes ✓ ✓ REST endpoints with method routing โ€” unchanged
Data Loaders ✓ ✓ getServerSideProps-style loaders โ€” unchanged
Middleware ✓ ✓ Recover, Logger, SecurityHeaders, Gzip, CORS โ€” unchanged
DevTools Panel ✓ ✓ Route inspector, request logs โ€” unchanged
HTMX Helpers ✓ ✓ IsHTMX, HTMXHTML, HTMXTrigger โ€” unchanged
State Management ✓ ✓ SetState / GetState / DeleteState โ€” unchanged
SEO Meta Tags ✓ ✓ seo.DefaultMeta() โ€” OpenGraph, Twitter Cards โ€” unchanged
Streaming SSR ✓ ✓ stream.StreamHTML() โ€” progressive rendering โ€” unchanged
ISR (Incremental Regeneration) ✓ ✓ isr.New(ttl) โ€” cache with background rebuild โ€” unchanged
Worker Pools ✓ ✓ worker.New(n), Map(), ForEach() โ€” unchanged
Response Caching ✓ ✓ api.Cache(ttl) โ€” middleware with X-Cache headers โ€” unchanged
Parallel Data Loading ✓ ✓ renderer.NewParallelLoader() โ€” Promise.all style โ€” unchanged
Template Caching ✓ ✓ r.LoadAll(), r.LoadParallel() โ€” compile once โ€” unchanged
JWT Auth ✓ ✓ auth.JWT() โ€” sign, verify, refresh tokens โ€” unchanged
Sessions ✓ ✓ session.New() โ€” cookie and store-backed sessions โ€” unchanged
CSRF Protection ✓ ✓ csrf.Protect() โ€” automatic token validation โ€” unchanged
Rate Limiting ✓ ✓ ratelimit.New() โ€” sliding window algorithm โ€” unchanged
i18n/RTL ✓ ✓ i18n.New() โ€” locale detection, translations, RTL โ€” unchanged
WebSockets ✓ ✓ ws.Upgrade() โ€” rooms, broadcasting โ€” unchanged
Database / ORM ✓ ✓ db + orm + migrations โ€” unchanged
Deployment Adapters ✓ ✓ 8 platforms โ€” unchanged
Cluster Mode ✓ ✓ cluster.Start() โ€” multi-process โ€” unchanged
Plugin System ✓ ✓ plugin.Register() โ€” lifecycle hooks โ€” unchanged

Upgrade to v2.2.0

Get 200k+ req/sec with cluster mode, async logging, and response caching. Plus Islands Architecture from v2.1.0. Drop-in upgrade โ€” no breaking changes.

$go install github.com/salmanfaris22/nexgo/v2/cmd/nexgo@v2.2.1