Skip to content

chore(deps): update dependency puma to v8 - #1271

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/puma-8.x
Open

renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/puma-8.x

Conversation

@renovate

@renovate renovate Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
puma (source, changelog) '~> 7.2.0' → '~> 8.1.2' age confidence

Release Notes

puma/puma (puma)

v8.1.2

Compare Source

  • Security

    • Close a TLS connection when OpenSSL reports a fatal error reading it, rather than buffering everything the client sends until first_data_timeout. (GHSA-4v6q-hvv7-49h9)
    • On JRuby, stop request headers such as Query-String and Request-Path from changing QUERY_STRING, PATH_INFO and the other env keys that come from the request line. (GHSA-rhww-p99c-hgj9)

    CVE IDs have been requested for these advisories and will be added here once assigned.

v8.1.1

Compare Source

  • Bugfixes
    • Fix pumactl stop and SIGINT hanging in cluster mode when an after_stopped hook owns child processes ([#​4135])
    • Fix TLS stream corruption on TruffleRuby when flushing to a full socket ([#​4108])
    • Stop shipping development-only files in the gem ([#​4124])

v8.1.0

Compare Source

  • Features

    • Add experimental mold_worker cluster mode, an alternative to fork_worker where new workers are forked from a retired worker that no longer serves traffic ([#​4038], [#​4044], [#​4055])
    • Add on_worker_boot hooks and hook_error_handler ([#​3982])
    • Add Puma::Client.connection_closed? API ([#​4019])
    • Add continue_callback to answer Expect: 100-continue before the request body is read ([#​4028])
    • Send a systemd watchdog ping immediately on ready ([#​3980])
    • Support the HTTP QUERY method ([#​3973])
    • Allow a sub-second worker_check_interval ([#​3964])
    • Add allow_underscore_headers option; set it to false to discard request headers with underscores in their names ([#​3937])
  • Security (Hardening)

    • Limit the size of a chunked request trailer section ([#​4059])
    • Reject unescaped {, }, ` and \ in the request path ([#​3976])
    • Reject Content_Length and Transfer_Encoding framing headers regardless of allow_underscore_headers ([#​4021])
    • Clear the SSL key password callback after loading the private key ([#​4027])
    • Respond with 400 to HTTP/1.1 requests with a missing or empty Host header ([#​3957])
    • Reject empty chunk sizes ([#​3952])
  • Bugfixes

    • Fix IO#close hang when notify_safely runs in a signal handler ([#​4098])
    • Fix fork_worker refork recovery ([#​4056])
    • Keep a socket-activated control URL for the control server ([#​4037])
    • Close path-backed response files when writing fails ([#​4033])
    • Don't send content-length: 0 on 304 responses with an empty body ([#​4036])
    • Fix accepting one more request after the worker shutdown command is sent ([#​4032])
    • Honour the close option when it appears in a Connection header list ([#​4031])
    • Fix wakeup deadlock ([#​4025])
    • Fix NoMethodError when a malformed request has no request line ([#​3992])
    • Require null_io in client.rb so puma/client loads on its own ([#​4024])
    • Avoid keep-alive requeue into a shutting-down thread pool ([#​4016])
    • Fix CommonLogger nil-logger fallback to rack.errors ([#​4023])
    • Fix chunked body parsing when the last-chunk terminator arrives split ([#​3970])
    • Run after_stopped hooks after request draining ([#​4001])
    • Restore admission gate when queue_requests is disabled ([#​3969])
    • Fix pool_capacity leak when extra IO threads exit ([#​3968])
    • Fix worker shutdown hang in notify_safely ([#​3940])
    • Defer removal of on_booted, on_restart and on_stopped to Puma 9 ([#​3938])
    • Fix Configuration#clamp being called twice in Launcher ([#​3939])
  • Docs

    • Add an initial Puma support document ([#​3700])
    • Document the bundled sd_notify license in the README ([#​4102])
    • Add a threat model to SECURITY.md ([#​4064])
    • Fix typos and grammar in README, CONTRIBUTING and docs ([#​4035], [#​3974])
    • Improve DSL documentation, including queue_requests ([#​3966], [#​3965])

v8.0.4

Compare Source

  • Security

    • Close a TLS connection when OpenSSL reports a fatal error reading it, rather than buffering everything the client sends until first_data_timeout. (GHSA-4v6q-hvv7-49h9)
    • On JRuby, stop request headers such as Query-String and Request-Path from changing QUERY_STRING, PATH_INFO and the other env keys that come from the request line. (GHSA-rhww-p99c-hgj9)

    CVE IDs have been requested for these advisories and will be added here once assigned.

v8.0.3

Compare Source

  • Security

    • Close connections whose reactor timeout passed even when another client keeps sending data. (GHSA-m5xw-3hrw-qcmf)
    • Don't block the reactor writing a 100 Continue or 408 to a client that stops reading. (GHSA-xw3h-pgr9-3vg7)
    • Apply the write timeout to TLS responses and to file responses larger than 64 KB, and don't let a TLS client that stops reading keep its connection alive by sending TLS records with no request data. (GHSA-x646-wp7c-h9mg)
    • Bound how long a graceful shutdown or restart keeps reading an incomplete request, with the new shutdown_body_timeout option (default 25 seconds). (GHSA-jm4r-w4xx-qxw7)
    • Keep + literal in bind URL query values, and raise on an invalid ssl_cipher_filter. (GHSA-r885-m39c-939g)
    • Verify the TLS certificate and hostname of ssl:// control servers in pumactl, with the new --control-ca-file option for private CAs. (GHSA-86xc-wrr9-xmmq)
    • Back off and rate-limit logging when accept runs out of file descriptors. (GHSA-rf6g-xhmp-gm7v)

    CVE IDs have been requested for these advisories and will be added here once assigned.

  • Bugfixes

    • Send the idle notification from a clustered worker only once per idle period, so the master no longer stops an active cluster or delays an idle shutdown ([#​4101])
    • Fix build errors on Windows arm64 with Ruby head ([#​4071])
    • Send TLS close_notify when closing an SSL connection on JRuby ([#​4029])

v8.0.2

Compare Source

  • Bugfixes
    • Anchor PROXY protocol v1 regex to string start and enforce max line length to prevent injection via crafted request bodies ([#​3944])
    • Parse PROXY protocol header only on the first request per connection to prevent spoofing on keep-alive connections ([#​3944])

v8.0.1

Compare Source

  • Bugfixes

    • Fix prune_bundler stripping user-configured BUNDLE_* env vars (e.g. BUNDLE_WITHOUT) on re-exec, which caused workers to crash on boot ([#​3929])
  • Performance

    • Use blocks for debug logging to avoid creating log messages when debug is disabled ([#​3920])
  • Docs

    • Fix incorrect hook names in gRPC docs ([#​3923])
    • Reword v8 upgrade guide IPv6 bullet for clarity ([#​3928])

v8.0.0

Compare Source

  • Features

    • Add env["puma.mark_as_io_bound"] API and max_io_threads config to allow IO-bound requests to exceed the thread pool max, enabling better handling of mixed workloads ([#​3816], [#​3894])
    • Add single and cluster DSL hooks for mode-specific configuration ([#​3621])
    • Add on_force option to shutdown_debug to only dump thread backtraces on forced (non-graceful) shutdown ([#​3671])
    • Add API to dynamically update min and max thread counts at runtime via update_thread_pool_min_max and ServerPluginControl ([#​3658])
    • Use SIGPWR for thread backtrace dumps on Linux/JRuby where SIGINFO is unavailable ([#​3829])
  • Bugfixes

    • Fix phased restart for fork_worker to avoid forking from stale worker 0 when it has been replaced ([#​3853])
  • Performance

    • JRuby HTTP parser improvements: pre-allocated header keys, perfect hash lookup, reduced memory copies ([#​3838])
    • Cache downcased header key in str_headers to avoid redundant String#downcase calls, reducing allocations by ~50% per response ([#​3874])
  • Refactor

    • Collect env processing into dedicated client_env.rb module ([#​3582])
    • Move event to default configuration ([#​3872])
  • Docs

    • Add gRPC guide for configuring gRPC lifecycle hooks in clustered mode ([#​3885])
    • Add 7.0 upgrade guide, move 5.0/6.0 upgrade guides to docs directory ([#​3900])
    • Correct default values for persistent_timeout and worker_boot_timeout in DSL docs ([#​3912])
    • Add file descriptor limit warning in test helper for contributors ([#​3893])
  • Breaking changes

    • Default production bind address changed from 0.0.0.0 to :: (IPv6) when a non-loopback IPv6 interface is available; falls back to 0.0.0.0 if IPv6 is unavailable ([#​3847])

v7.2.3

Compare Source

  • Security

    • Close a TLS connection when OpenSSL reports a fatal error reading it, rather than buffering everything the client sends until first_data_timeout. (GHSA-4v6q-hvv7-49h9)

    A CVE ID has been requested for this advisory and will be added here once assigned.

v7.2.2

Compare Source

  • Security

    • Close connections whose reactor timeout passed even when another client keeps sending data. (GHSA-m5xw-3hrw-qcmf)
    • Don't block the reactor writing a 100 Continue or 408 to a client that stops reading. (GHSA-xw3h-pgr9-3vg7)
    • Apply the write timeout to TLS responses and to file responses larger than 64 KB, and don't let a TLS client that stops reading keep its connection alive by sending TLS records with no request data. (GHSA-x646-wp7c-h9mg)
    • Bound how long a graceful shutdown or restart keeps reading an incomplete request, with the new shutdown_body_timeout option (default 25 seconds). (GHSA-jm4r-w4xx-qxw7)
    • Keep + literal in bind URL query values, and raise on an invalid ssl_cipher_filter. (GHSA-r885-m39c-939g)
    • Verify the TLS certificate and hostname of ssl:// control servers in pumactl, with the new --control-ca-file option for private CAs. (GHSA-86xc-wrr9-xmmq)
    • Back off and rate-limit logging when accept runs out of file descriptors. (GHSA-rf6g-xhmp-gm7v)

    CVE IDs have been requested for these advisories and will be added here once assigned.

  • Bugfixes

    • Send the idle notification from a clustered worker only once per idle period, so the master no longer stops an active cluster or delays an idle shutdown ([#​4101])
    • Fix build errors on Windows arm64 with Ruby head ([#​4071])
    • Send TLS close_notify when closing an SSL connection on JRuby ([#​4029])

Configuration

📅 Schedule: (in timezone Europe/Amsterdam)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Sep 11, 2026
@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1119ec14-f6cc-42a6-b9d7-40f4872b4e43

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.27%. Comparing base (48b7c6f) to head (fc7a46c).

Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #1271   +/-   ##
========================================
  Coverage    78.27%   78.27%           
========================================
  Files           57       57           
  Lines         1450     1450           
========================================
  Hits          1135     1135           
  Misses         315      315           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/puma-8.x branch 2 times, most recently from 61c90f6 to 5561e4a Compare September 15, 2026 15:16
@renovate
renovate Bot force-pushed the renovate/puma-8.x branch from 5561e4a to 24f5289 Compare September 25, 2026 01:04
@renovate
renovate Bot force-pushed the renovate/puma-8.x branch 4 times, most recently from f0d1502 to 6097820 Compare November 15, 2026 10:10
@renovate
renovate Bot force-pushed the renovate/puma-8.x branch from 6097820 to fc7a46c Compare November 17, 2026 01:14

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants