---
title: "github.com/gin-gonic/gin v1.12.0 Breaking Changes"
description: "What each github.com/gin-gonic/gin release removed, renamed or changed: 23 breaking changes in 3 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/gin-gonic/gin
last_updated: 2026-12-04
---

# github.com/gin-gonic/gin breaking changes

github.com/gin-gonic/gin v1.12.0 (February 28, 2026) is its newest release with breaking changes. The first: Removed github.com/gin-gonic/gin.ErrorTypeNu. Every breaking API change we have recorded in github.com/gin-gonic/gin on Go modules: 23 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v1.12.0`, released February 28, 2026. [Source repository](https://github.com/gin-gonic/gin)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v1.10.0](#v-v1-10-0) to [v1.12.0](#v-v1-12-0): 21 breaking changes in 2 versions.

## github.com/gin-gonic/gin v1.12.0 breaking changes

github.com/gin-gonic/gin v1.12.0, released February 28, 2026: 1 breaking change.

- **Removed** `github.com/gin-gonic/gin.ErrorTypeNu`  

github.com/gin-gonic/gin.ErrorTypeNu was removed in github.com/gin-gonic/gin v1.12.0 [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.12.0)

## github.com/gin-gonic/gin v1.11.0 breaking changes

github.com/gin-gonic/gin v1.11.0, released September 20, 2025: 20 breaking changes.

- **Removed** `github.com/gin-gonic/gin/render.TOMLContentType`  

github.com/gin-gonic/gin/render.TOMLContentType was removed in github.com/gin-gonic/gin v1.11.0 [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.Get`  

Was func Get(string) (any, bool); now func Get(any) (any, bool). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetBool`  

Was func GetBool(string) (bool); now func GetBool(any) (bool). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetDuration`  

Was func GetDuration(string) (time.Duration); now func GetDuration(any) (time.Duration). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetFloat64`  

Was func GetFloat64(string) (float64); now func GetFloat64(any) (float64). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetInt`  

Was func GetInt(string) (int); now func GetInt(any) (int). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetInt64`  

Was func GetInt64(string) (int64); now func GetInt64(any) (int64). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetString`  

Was func GetString(string) (string); now func GetString(any) (string). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetStringMap`  

Was func GetStringMap(string) (map\[string\]any); now func GetStringMap(any) (map\[string\]any). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)
- **Signature changed** `github.com/gin-gonic/gin.Context.GetStringMapString`  

Was func GetStringMapString(string) (map\[string\]string); now func GetStringMapString(any) (map\[string\]string). [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.11.0)

And 10 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/gin-gonic/gin v1.10.0 breaking changes

github.com/gin-gonic/gin v1.10.0, released May 7, 2024: 2 breaking changes.

- **Signature changed** `github.com/gin-gonic/gin.Default`  

Was func Default() \*Engine; now func Default(...OptionFunc) \*Engine. [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.10.0)
- **Signature changed** `github.com/gin-gonic/gin.New`  

Was func New() \*Engine; now func New(...OptionFunc) \*Engine. [pkg.go.dev](https://pkg.go.dev/github.com/gin-gonic/gin@v1.10.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
