---
title: "github.com/vapor/http 3.0.0 Breaking Changes"
description: "What each github.com/vapor/http release removed, renamed or changed: 13 breaking changes in 10 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/vapor/http
last_updated: 2026-12-04
---

# github.com/vapor/http breaking changes

github.com/vapor/http 3.0.0 is its newest release with breaking changes, 3 of them. The first: WebSockets moved to its own package in github.com/vapor/http 3.0.0. Every breaking API change we have recorded in github.com/vapor/http on Swift Package Index: 13 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.4.0`, released July 27, 2020. [Source repository](https://github.com/vapor/http)

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 5 breaking changes in 3 versions.
- From [0.4.0](#v-0-4-0) to [3.0.0](#v-3-0-0): 12 breaking changes in 9 versions.

## github.com/vapor/http 3.0.0 breaking changes

github.com/vapor/http 3.0.0: 3 breaking changes.

- **Removed**  

WebSocket support is no longer in this package; use the separate WebSockets package instead. [github.com](https://github.com/vapor/http/releases/tag/3.0.0)
- **Renamed**  

The package was renamed from Engine to HTTP in version 3.0.0; update imports and references. [github.com](https://github.com/vapor/http/releases/tag/3.0.0)
- **Renamed** `HTTPMessage.mediaType`  

Use contentType in place of mediaType on HTTPMessage. [github.com](https://github.com/vapor/http/releases/tag/3.0.0)

## github.com/vapor/http 3.0.0-rc.2.4 breaking changes

github.com/vapor/http 3.0.0-rc.2.4: 1 breaking change.

- **Removed** `URLFormEncoded`  

URLFormEncoded is no longer part of this package; it must be obtained from its separate repository. [github.com](https://github.com/vapor/http/releases/tag/3.0.0-rc.2.4)

## github.com/vapor/http 3.0.0-beta.2.2 breaking changes

github.com/vapor/http 3.0.0-beta.2.2: 1 breaking change.

- **Behavior changed** `HTTPHeaders`  

HTTPHeaders() no longer pre-loads Content-Length: 0; use HTTPHeaders.default() if you need that header. [github.com](https://github.com/vapor/http/releases/tag/3.0.0-beta.2.2)

## github.com/vapor/http 2.0.0 breaking changes

github.com/vapor/http 2.0.0: 1 breaking change.

- **Behavior changed**  

The engine was streamlined into lower-level building blocks, so some convenience features are gone. Existing code may need rework. [github.com](https://github.com/vapor/http/releases/tag/2.0.0)

## github.com/vapor/http 2.0.0-beta.7 breaking changes

github.com/vapor/http 2.0.0-beta.7: 1 breaking change.

- **Signature changed**  

The WebSockets interface was simplified to accept streams. Existing WebSockets calls may need to be updated. [github.com](https://github.com/vapor/http/releases/tag/2.0.0-beta.7)

## github.com/vapor/http 2.0.0-alpha.9 breaking changes

github.com/vapor/http 2.0.0-alpha.9: 2 breaking changes.

- **Removed** `SecurityLayer`  

SecurityLayer was removed in favor of default types. Code that uses it must be changed. [github.com](https://github.com/vapor/http/releases/tag/2.0.0-alpha.9)
- **Removed** `Transport`  

The Transport module now lives in the Sockets package. Import it from there instead. [github.com](https://github.com/vapor/http/releases/tag/2.0.0-alpha.9)

## Older versions

4 older versions.

### github.com/vapor/http 2.0.0-alpha.3 breaking changes

github.com/vapor/http 2.0.0-alpha.3: 1 breaking change.

- **Signature changed**  

The request initializer was changed to not throw. Code that catches errors from it may need to be adjusted. [github.com](https://github.com/vapor/http/releases/tag/2.0.0-alpha.3)

### github.com/vapor/http 2.0.0-alpha.1 breaking changes

github.com/vapor/http 2.0.0-alpha.1: 1 breaking change.

- **Removed** `Cookies`  

Cookies were moved elsewhere in this release; code that imports them from this package must be updated. The destination is not named. [github.com](https://github.com/vapor/http/releases/tag/2.0.0-alpha.1)

### github.com/vapor/http 1.0.0 breaking changes

github.com/vapor/http 1.0.0: 1 breaking change.

- **Behavior changed**  

The release notes list Swift 3.0 under new items only; no breaking change is stated. [github.com](https://github.com/vapor/http/releases/tag/1.0.0)

### github.com/vapor/http 0.4.0 breaking changes

github.com/vapor/http 0.4.0: 1 breaking change.

- **Signature changed** `responseRepresentable`  

The responseRepresentable API was tweaked to a simpler variant, so code that conforms to or calls it may need updating. [github.com](https://github.com/vapor/http/releases/tag/0.4.0)

## Related packages

- [github.com/vapor/async-kit](https://since.dev/packages/swift/github.com/vapor/async-kit.md)
- [github.com/vapor/console-kit](https://since.dev/packages/swift/github.com/vapor/console-kit.md)
- [github.com/vapor/core](https://since.dev/packages/swift/github.com/vapor/core.md)
- [github.com/vapor/fluent](https://since.dev/packages/swift/github.com/vapor/fluent.md)
- [github.com/vapor/fluent-mysql-driver](https://since.dev/packages/swift/github.com/vapor/fluent-mysql-driver.md)
- [github.com/vapor/jwt](https://since.dev/packages/swift/github.com/vapor/jwt.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.
