---
title: "guzzlehttp/psr7 3.1.0 Breaking Changes on Packagist"
description: "What each guzzlehttp/psr7 release removed, renamed or changed: 138 breaking changes in 2 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/guzzlehttp/psr7
last_updated: 2026-12-04
---

# guzzlehttp/psr7 breaking changes

guzzlehttp/psr7 3.1.0 (August 24, 2026) is its newest release with breaking changes. The first: Exception messages no longer include rejected header values or sensitive URI parts in guzzlehttp/psr7 3.1.0. Every breaking API change we have recorded in guzzlehttp/psr7 on Packagist: 138 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.6.0`, released November 22, 2026. MIT license. [Source repository](https://github.com/guzzle/psr7)

Its 3.0.0 release drops PHP 7.2 and 7.3. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [3.0.0](#v-3-0-0) to [3.1.0](#v-3-1-0): 1 breaking change in 1 version.

## guzzlehttp/psr7 3.1.0 breaking changes

guzzlehttp/psr7 3.1.0, released August 24, 2026: 1 breaking change.

- **Behavior changed**  

Automatic exception messages now omit rejected header values and sensitive URI components. Code that parses or logs these messages may need to change. [github.com](https://github.com/guzzle/psr7/releases/tag/3.1.0)

## guzzlehttp/psr7 3.0.0 breaking changes

guzzlehttp/psr7 3.0.0, released July 20, 2026: 137 breaking changes.

- **Removed**  

Code relying on that package being installed transitively must require it directly. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Removed**  

Code running on PHP 7.2 or 7.3 must upgrade PHP before using this release. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Removed** `GuzzleHttp\Psr7\Header::normalize`  

Calls to Header::normalize() will fail and must be removed or replaced. [packagist.org](https://packagist.org/packages/guzzlehttp/psr7#3.0.0)
- **Removed** `GuzzleHttp\Psr7\StreamWrapper::stream_flush`  

GuzzleHttp\\Psr7\\StreamWrapper::stream_flush was removed in guzzlehttp/psr7 3.0.0 [packagist.org](https://packagist.org/packages/guzzlehttp/psr7#3.0.0)
- **Behavior changed**  

Stream read and write and several Utils operations now throw TimeoutException on timeouts. Catch this exception where needed. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Behavior changed**  

Multipart form-data parts are sent without an automatically added Content-Length. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Behavior changed**  

Header values that were accepted before are now rejected with an error. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Behavior changed**  

Ports 80 and 443 are now treated as defaults for the ws and wss schemes, changing how URIs with those ports compare and serialize. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Behavior changed**  

All stream implementations now reject negative read() lengths. Pass non-negative lengths. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)
- **Behavior changed**  

Stream objects can no longer be serialized with PHP native serialization. [github.com](https://github.com/guzzle/psr7/releases/tag/3.0.0)

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

## Related packages

- [guzzlehttp/guzzle](https://since.dev/packages/packagist/guzzlehttp/guzzle.md)
- [guzzlehttp/promises](https://since.dev/packages/packagist/guzzlehttp/promises.md)
- [guzzlehttp/uri-template](https://since.dev/packages/packagist/guzzlehttp/uri-template.md)

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