Skip to main content

Fiber 3.4.0

Release Date: July 2, 2026

Fiber 3.4.0 has been released on July 2, 2026, bringing significant new features and improvements to this popular Go web framework. This release focuses on protocol support, developer experience, and operational control.

Overview

Version 3.4.0 introduces complete HTTP QUERY method support per RFC 10008, new context-aware session storage operations, a unified constraint handler interface, and enhanced prefork configuration options. The release also includes several bug fixes and performance optimizations.

New Features

  • HTTP QUERY Method Support — Fiber now fully supports the HTTP QUERY method (RFC 10008), including fiber.MethodQuery, app.Query() routing, and safe/idempotent handling across CSRF, idempotency, early data, and cache middlewares. The HTTP client also includes client.Query() shorthands.
  • WithContext Session Storage — New SaveWithContext, DestroyWithContext, RegenerateWithContext, and ResetWithContext methods propagate deadlines and cancellation to session storage backends, enabling better timeout control.
  • Unified Constraint Interface — Built-in and custom route constraints now share a single ConstraintHandler interface. An optional ConstraintAnalyzer precomputes constraint data at route registration, eliminating per-request parsing overhead.
  • Prefork Configuration — New ListenConfig options: PreforkRecoverInterval controls the delay before respawning a crashed child process, and PreforkShutdownGracePeriod sets the grace period between SIGTERM and forced SIGKILL during shutdown.

Deprecations

  • The older CustomConstraint interface remains functional but is superseded by the unified ConstraintHandler interface. Users are encouraged to migrate.

Upgrade Notes

This release is fully backward compatible with Fiber v3.3.x. Run go get github.com/gofiber/fiber/[email protected] to upgrade. Review the updated routing documentation if you use custom constraints.

Fiber 3.4.0 is available now. Visit the official documentation at docs.gofiber.io for the full changelog and migration guides.

What is New?

By continuing to use the site, you agree to the use of cookies.