---
title: "plug 1.0.0 Breaking Changes on Hex | Since.dev"
description: "What each plug release removed, renamed or changed: 13 breaking changes in 8 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/plug
last_updated: 2026-12-04
---

# plug breaking changes

plug 1.0.0 (August 15, 2015) is its newest release with breaking changes, 4 of them. The first: Cowboy SSL no longer assumes the priv directory for cert and key files in plug 1.0.0. Every breaking API change we have recorded in plug on Hex: 13 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.20.4`, released November 17, 2026. Apache-2.0 license. [Source repository](https://github.com/elixir-plug/plug)

- From [0.12.0](#v-0-12-0) to [1.0.0](#v-1-0-0): 4 breaking changes in 1 version.
- From [0.5.0](#v-0-5-0) to [1.0.0](#v-1-0-0): 12 breaking changes in 7 versions.

## plug 1.0.0 breaking changes

plug 1.0.0, released August 15, 2015: 4 breaking changes.

- **Behavior changed**  

Cert and key file paths for Cowboy SSL are no longer automatically resolved relative to "priv". Code relying on that default must pass full paths. [github.com](https://github.com/elixir-plug/plug/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Sending a response more than once on a test connection now raises. Tests that send multiple responses will fail and must be changed. [github.com](https://github.com/elixir-plug/plug/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Plug.Conn.resp`  

Passing a nil body to Plug.Conn.resp/3 now raises instead of being accepted. Callers passing nil must pass a valid body. [github.com](https://github.com/elixir-plug/plug/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Plug.Debugger`  

Plug.Debugger output now includes more information and escapes messages. Code or tests matching the old debugger output may need updating. [github.com](https://github.com/elixir-plug/plug/blob/v1.0.0/CHANGELOG.md)

## plug 0.12.0 breaking changes

plug 0.12.0, released April 15, 2015: 2 breaking changes.

- **Behavior changed** `params`  

Query and body parameters are now available separately via query_params and body_params rather than only merged into params, so code relying on params containing both may need to change. [github.com](https://github.com/elixir-plug/plug/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed** `Plug.Static`  

Method override detection now reads only body parameters, so code depending on query parameters for method override will behave differently. [github.com](https://github.com/elixir-plug/plug/blob/v0.12.0/CHANGELOG.md)

## plug 0.11.0 breaking changes

plug 0.11.0, released February 24, 2015: 1 breaking change.

- **Behavior changed** `Plug.CSRFProtection`  

Plug.CSRFProtection now uses a session to store tokens and generates them on demand; get tokens via Plug.CSRFProtection.get_csrf_token/0. [github.com](https://github.com/elixir-plug/plug/blob/v0.11.0/CHANGELOG.md)

## plug 0.10.0 breaking changes

plug 0.10.0, released January 18, 2015: 2 breaking changes.

- **Behavior changed** `Plug.Conn.put_session`  

Session keys passed to put_session/3 and related functions must be atoms or strings and are stored as strings. Code relying on other key types or on atom keys being kept as atoms must be updated. [github.com](https://github.com/elixir-plug/plug/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed** `Plug.CSRFProtection`  

Plug.CSRFProtection uses a cookie rather than the session for its token. Code that reads the CSRF token from the session must be updated. [github.com](https://github.com/elixir-plug/plug/blob/v0.10.0/CHANGELOG.md)

## plug 0.9.0 breaking changes

plug 0.9.0, released December 10, 2014: 1 breaking change.

- **Renamed** `Plug.Router.Utils.build_match.1`  

The release renamed Plug.Router.Utils.build_match/1 to build_path_match/1. Code calling the old name must switch to the new one. [github.com](https://github.com/elixir-plug/plug/blob/v0.9.0/CHANGELOG.md)

## plug 0.8.0 breaking changes

plug 0.8.0, released September 21, 2014: 1 breaking change.

- **Configuration changed** `CookieStore`  

The CookieStore takes encryption_salt and signing_salt and derives its actual keys from secret_key_base. Existing CookieStore setups must add these salts to their configuration. [github.com](https://github.com/elixir-plug/plug/blob/v0.8.0/CHANGELOG.md)

## Older versions

2 older versions.

### plug 0.7.0 breaking changes

plug 0.7.0, released August 30, 2014: 1 breaking change.

- **Removed**  

Plug wrappers are no longer supported, so code relying on them must be rewritten as plugs. [github.com](https://github.com/elixir-plug/plug/blob/v0.7.0/CHANGELOG.md)

### plug 0.5.0 breaking changes

plug 0.5.0, released June 16, 2014: 1 breaking change.

- **Configuration changed** `Plug.Parsers`  

Plug.Parsers expects the :length option in place of :limit; it also accepts :read_length and :read_timeout. Update existing parser configuration to use :length. [github.com](https://github.com/elixir-plug/plug/blob/v0.5.0/CHANGELOG.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.
