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
On this page
Latest version 1.1.0. Source repository
Its 1.0.0 release requires Ruby 3.3 or later. Ruby end of life dates.
patron 1.0.0 breaking changes
- Removed
Patron 1.0 requires Ruby 3.3 or newer and libcurl 7.81.0 or newer. github.com - Removed
patron.proxy_type.rb
The patron/proxy_type.rb file is removed; Patron::ProxyType constants come from the extension. github.com - Removed
Request.READER_VARS
Request::READER_VARS is gone; use Request::ATTRIBUTES. github.com - Removed
Request.VALID_ACTIONS
Request::VALID_ACTIONS is gone; use Request::ATTRIBUTES. github.com - Removed
Request.WRITER_VARS
Request::WRITER_VARS is gone; use Request::ATTRIBUTES. github.com - Removed
Response.new
Positional arguments to Response.new are removed; use the keyword arguments instead. github.com - Removed
Session.reset
Session#reset is gone; call Session#interrupt instead, which it aliased. github.com - Removed
ssl_version
The ssl_version values "SSLv2" and "SSLv3" are no longer accepted; use a supported TLS version. github.com - Behavior changed
base_url
base_url and the request path are now joined as URLs rather than with File.join. github.com - 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 - Behavior changed
Response.body
Response#body is no longer changed by decoded_body or inspectable_body. github.com - Behavior changed
Response.charset
default_response_charset is now honoured as the fallback for Response#charset. github.com - Behavior changed
Session
Sharing one Session across threads at once raises Patron::Error instead of corrupting memory. github.com - 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 - 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 - Behavior changed
Session.interrupt
Thread#kill, Thread#raise, timeouts and signals now interrupt a request immediately, including during DNS and connect. github.com - Behavior changed
Session.multipart
Multipart requests now use libcurl's curl_mime API; values are binary-safe and PUT/PATCH multipart works. github.com - 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
patron 0.14.0 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 - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.