---
title: "github.com/pires/go-proxyproto v0.15.0 Breaking Changes"
description: "What each github.com/pires/go-proxyproto release removed, renamed or changed: 6 breaking changes in 1 version on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/pires/go-proxyproto
last_updated: 2026-12-04
---

# github.com/pires/go-proxyproto breaking changes

github.com/pires/go-proxyproto v0.15.0 (July 9, 2026) is its newest release with breaking changes, 6 of them. The first: v1 parser rejects IPv6 zone IDs and plain IPv4 in TCP6 lines in github.com/pires/go-proxyproto v0.15.0. Every breaking API change we have recorded in github.com/pires/go-proxyproto on Go modules: 6 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.16.0`, released October 19, 2026. [Source repository](https://github.com/pires/go-proxyproto)

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

## github.com/pires/go-proxyproto v0.15.0 breaking changes

github.com/pires/go-proxyproto v0.15.0, released July 9, 2026: 6 breaking changes.

- **Behavior changed**  

Headers with IPv6 zone IDs or plain IPv4 addresses in TCP6 lines are now rejected. Set V1AcceptIPv4InTCP6 to accept IPv4 in TCP6 lines for nginx interop. [github.com](https://github.com/pires/go-proxyproto/commit/5914db81c566830347865256ec22808fc39a0787)
- **Behavior changed**  

LOCAL v2 headers with undefined family or transport bytes are now rejected, which code relying on the old lax parsing may notice. [github.com](https://github.com/pires/go-proxyproto/commit/5914db81c566830347865256ec22808fc39a0787)
- **Behavior changed** `ErrInvalidUpstream`  

Built-in policies now wrap address-classification failures such as Unix socket peers in ErrInvalidUpstream, so code that checks errors from policies may see a different error. [github.com](https://github.com/pires/go-proxyproto/commit/2cd5f00e2b3010a0fa64f52f077a20fb304b72fa)
- **Behavior changed** `TrustProxyHeaderFrom`  

Trusted peers now require the PROXY header, and untrusted peers are rejected by Accept with an ErrInvalidUpstream-wrapping error instead of being let through as raw connections. [github.com](https://github.com/pires/go-proxyproto/commit/2cd5f00e2b3010a0fa64f52f077a20fb304b72fa)
- **Default changed** `proxyproto.DefaultPolicy`  

Connections without a PROXY header now fail their first Read with ErrNoProxyProtocol. To keep the old lax behavior, set proxyproto.DefaultPolicy = proxyproto.USE. [github.com](https://github.com/pires/go-proxyproto/commit/2cd5f00e2b3010a0fa64f52f077a20fb304b72fa)
- **Configuration changed** `MaxV2HeaderSize`  

The declared v2 header length is capped at 4096 bytes by default. Raise MaxV2HeaderSize if your headers carry large TLVs. [github.com](https://github.com/pires/go-proxyproto/commit/5914db81c566830347865256ec22808fc39a0787)

## 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.
