---
title: "patron 1.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each patron release removed, renamed or changed: 21 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/patron
last_updated: 2026-12-04
---

# patron breaking changes

patron 1.0.0 (October 29, 2026) is its newest release with breaking changes, 18 of them. The first: patron 1.0.0 requires Ruby 3.3 or later. Every breaking API change we have recorded in patron on RubyGems: 21 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 `1.1.0`. [Source repository](https://github.com/toland/patron)

Its 1.0.0 release requires [Ruby 3.3](https://since.dev/calendar/ruby/3.3.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.14.0](#v-0-14-0) to [1.0.0](#v-1-0-0): 18 breaking changes in 1 version.

## patron 1.0.0 breaking changes

patron 1.0.0, released October 29, 2026: 18 breaking changes.

- **Removed**  

Patron 1.0 requires Ruby 3.3 or newer and libcurl 7.81.0 or newer. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `patron.proxy_type.rb`  

The patron/proxy_type.rb file is removed; Patron::ProxyType constants come from the extension. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Request.READER_VARS`  

Request::READER_VARS is gone; use Request::ATTRIBUTES. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Request.VALID_ACTIONS`  

Request::VALID_ACTIONS is gone; use Request::ATTRIBUTES. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Request.WRITER_VARS`  

Request::WRITER_VARS is gone; use Request::ATTRIBUTES. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Response.new`  

Positional arguments to Response.new are removed; use the keyword arguments instead. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Session.reset`  

Session#reset is gone; call Session#interrupt instead, which it aliased. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Removed** `ssl_version`  

The ssl_version values "SSLv2" and "SSLv3" are no longer accepted; use a supported TLS version. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `base_url`  

base_url and the request path are now joined as URLs rather than with File.join. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Patron.Request`  

Any HTTP token is accepted as a verb and Marshal now covers every attribute; unknown verbs are sent as custom requests. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Response.body`  

Response#body is no longer changed by decoded_body or inspectable_body. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Response.charset`  

default_response_charset is now honoured as the fallback for Response#charset. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Session`  

Sharing one Session across threads at once raises Patron::Error instead of corrupting memory. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Session.enable_debug`  

enable_debug accepts an IO as well as a path, writes verbose output through Ruby, and never clobbers the process stderr. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Session.handle_cookies`  

Cookies collected with handle_cookies and TLS sessions are now kept across requests on the same Session, not only across redirects. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Session.interrupt`  

Thread#kill, Thread#raise, timeouts and signals now interrupt a request immediately, including during DNS and connect. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Session.multipart`  

Multipart requests now use libcurl's curl_mime API; values are binary-safe and PUT/PATCH multipart works. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Session.request`  

The 0.x positional forms still work with a deprecation warning and will be removed in 1.1; switch to keyword arguments. [github.com](https://github.com/toland/patron/blob/v1.0.0/CHANGELOG.md)

## patron 0.14.0 breaking changes

patron 0.14.0, released October 27, 2026: 3 breaking changes.

- **Behavior changed**  

Paths with NUL bytes passed as cookie files, debug output files or uploads are now rejected instead of accepted. Remove NUL bytes from these file paths. [github.com](https://github.com/toland/patron/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed** `Session`  

A Session already performing a request now raises Patron::Error if a second thread uses it, instead of corrupting both requests. Use a separate Session per thread. [github.com](https://github.com/toland/patron/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed** `Session.unescape`  

Session#unescape now returns the full unescaped string instead of cutting it at a %00. Code relying on the truncated result must change. [github.com](https://github.com/toland/patron/blob/v0.14.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.
