Skip to content

Commit 795d1d6

Browse files
authored
chore(deps): bump puma from 6.6.1 to 7.0.0 (#1072)
Bumps [puma](https://github.com/puma/puma) from 6.6.1 to 7.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/puma/puma/releases">puma's releases</a>.</em></p> <blockquote> <h2>v7.0.0 - Romantic Warrior</h2> <h2>7.0.0</h2> <!-- raw HTML omitted --> <ul> <li>Breaking changes <ul> <li>Set default <code>max_keep_alive</code> to 999 (<a href="https://redirect.github.com/puma/puma/issues/3719">#3719</a>)</li> <li>Increase <code>persistent_timeout</code> default to 65 seconds (<a href="https://redirect.github.com/puma/puma/issues/3378">#3378</a>)</li> <li>Raise an ArgumentError if no block given to hooks (<a href="https://redirect.github.com/puma/puma/issues/3377">#3377</a>)</li> <li>Don't set env['HTTP_VERSION'] for Rack &gt; 3.1 (<a href="https://redirect.github.com/puma/puma/issues/3711">#3711</a>, <a href="https://redirect.github.com/puma/puma/issues/3576">#3576</a>)</li> <li>Runner.rb - remove <code>ruby_engine</code> method, deprecated Nov-2024 (<a href="https://redirect.github.com/puma/puma/issues/3701">#3701</a>)</li> <li>Set conditional config defaults after CLI options are parsed and config files are loaded (<a href="https://redirect.github.com/puma/puma/issues/3297">#3297</a>)</li> <li>Response headers set to lowercase (<a href="https://redirect.github.com/puma/puma/issues/3704">#3704</a>)</li> <li>Update minimum Ruby version to 3.0 (<a href="https://redirect.github.com/puma/puma/issues/3698">#3698</a>)</li> <li>Rename callback hooks (<a href="https://redirect.github.com/puma/puma/issues/3438">#3438</a>)</li> </ul> </li> </ul> <table> <thead> <tr> <th>Old hook name</th> <th>New hook name</th> </tr> </thead> <tbody> <tr> <td>on_worker_boot</td> <td>before_worker_boot</td> </tr> <tr> <td>on_worker_shutdown</td> <td>before_worker_shutdown</td> </tr> <tr> <td>on_restart</td> <td>before_restart</td> </tr> <tr> <td>on_booted</td> <td>after_booted</td> </tr> <tr> <td>on_stopped</td> <td>after_stopped</td> </tr> <tr> <td>on_refork</td> <td>before_refork</td> </tr> <tr> <td>on_thread_start</td> <td>before_thread_start</td> </tr> <tr> <td>on_thread_exit</td> <td>before_thread_exit</td> </tr> <tr> <td>on_worker_fork</td> <td>before_worker_fork</td> </tr> </tbody> </table> <ul> <li> <p>Features</p> <ul> <li>Fix long tail response problem with keepalive connections (<a href="https://redirect.github.com/puma/puma/issues/3678">#3678</a>) (Previously released in 7.0.0.pre1, this was a high effort change)</li> <li>Introduce support for fiber-per-request. (<a href="https://redirect.github.com/puma/puma/issues/3101">#3101</a>)</li> <li>Add support for <code>rack.response_finished</code> (<a href="https://redirect.github.com/puma/puma/issues/3681">#3681</a>)</li> <li>Feature/support custom logger with request logs (<a href="https://redirect.github.com/puma/puma/issues/3140">#3140</a>)</li> </ul> </li> <li> <p>Bugfixes</p> <ul> <li>Fixes a bug where triggering hooks in the ThreadPool fails (<a href="https://redirect.github.com/puma/puma/issues/3716">#3716</a>)</li> <li>Fix error_logger inproperly logging <code>env[QUERY_STRING]</code> (<a href="https://redirect.github.com/puma/puma/issues/3713">#3713</a>, <a href="https://redirect.github.com/puma/puma/issues/3625">#3625</a>)</li> <li>Fix handling of invalid Transfer-Encoding header errors (<a href="https://redirect.github.com/puma/puma/issues/3702">#3702</a>)</li> <li>Fix socket leak on monitor wakeup <code>NoMethodError</code> in <code>Reactor#select_loop</code> (<a href="https://redirect.github.com/puma/puma/issues/3696">#3696</a>, <a href="https://redirect.github.com/puma/puma/issues/3695">#3695</a>)</li> <li>CI: puma_socket.rb fixup socket/request writes (<a href="https://redirect.github.com/puma/puma/issues/3684">#3684</a>)</li> <li>Warn when RUBY_MN_THREADS env var is set (<a href="https://redirect.github.com/puma/puma/issues/3721">#3721</a>)</li> <li>Improve the DSL <code>preload_app!</code> doc (<a href="https://redirect.github.com/puma/puma/issues/3712">#3712</a>)</li> <li>Fix the ability to focus individual tests (<a href="https://redirect.github.com/puma/puma/issues/3705">#3705</a>)</li> <li>Set env['rack.hijack'] to client.method(:full_hijack) (<a href="https://redirect.github.com/puma/puma/issues/3073">#3073</a>)</li> </ul> </li> <li> <p>Performance</p> <ul> <li>server.rb - initialize ivars <code>@reactor</code> and <code>@env_set_http_version</code> (<a href="https://redirect.github.com/puma/puma/issues/3714">#3714</a>)</li> </ul> </li> <li> <p>Refactor</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/puma/puma/blob/master/History.md">puma's changelog</a>.</em></p> <blockquote> <h2>7.0.0</h2> <ul> <li>Breaking changes <ul> <li>Set default <code>max_keep_alive</code> to 999 (<a href="https://redirect.github.com/puma/puma/issues/3719">#3719</a>)</li> <li>Increase <code>persistent_timeout</code> default to 65 seconds (<a href="https://redirect.github.com/puma/puma/issues/3378">#3378</a>)</li> <li>Raise an ArgumentError if no block given to hooks (<a href="https://redirect.github.com/puma/puma/issues/3377">#3377</a>)</li> <li>Don't set env['HTTP_VERSION'] for Rack &gt; 3.1 (<a href="https://redirect.github.com/puma/puma/issues/3711">#3711</a>, <a href="https://redirect.github.com/puma/puma/issues/3576">#3576</a>)</li> <li>Runner.rb - remove <code>ruby_engine</code> method, deprecated Nov-2024 (<a href="https://redirect.github.com/puma/puma/issues/3701">#3701</a>)</li> <li>Set conditional config defaults after CLI options are parsed and config files are loaded (<a href="https://redirect.github.com/puma/puma/issues/3297">#3297</a>)</li> <li>Response headers set to lowercase (<a href="https://redirect.github.com/puma/puma/issues/3704">#3704</a>)</li> <li>Update minimum Ruby version to 3.0 (<a href="https://redirect.github.com/puma/puma/issues/3698">#3698</a>)</li> <li>Rename callback hooks (<a href="https://redirect.github.com/puma/puma/issues/3438">#3438</a>)</li> </ul> </li> </ul> <table> <thead> <tr> <th>Old hook name</th> <th>New hook name</th> </tr> </thead> <tbody> <tr> <td>on_worker_boot</td> <td>before_worker_boot</td> </tr> <tr> <td>on_worker_shutdown</td> <td>before_worker_shutdown</td> </tr> <tr> <td>on_restart</td> <td>before_restart</td> </tr> <tr> <td>on_booted</td> <td>after_booted</td> </tr> <tr> <td>on_stopped</td> <td>after_stopped</td> </tr> <tr> <td>on_refork</td> <td>before_refork</td> </tr> <tr> <td>on_thread_start</td> <td>before_thread_start</td> </tr> <tr> <td>on_thread_exit</td> <td>before_thread_exit</td> </tr> <tr> <td>on_worker_fork</td> <td>before_worker_fork</td> </tr> </tbody> </table> <ul> <li> <p>Features</p> <ul> <li>Fix long tail response problem with keepalive connections (<a href="https://redirect.github.com/puma/puma/issues/3678">#3678</a>) (Previously released in 7.0.0.pre1, this was a high effort change)</li> <li>Introduce support for fiber-per-request. (<a href="https://redirect.github.com/puma/puma/issues/3101">#3101</a>)</li> <li>Add support for <code>rack.response_finished</code> (<a href="https://redirect.github.com/puma/puma/issues/3681">#3681</a>)</li> <li>Feature/support custom logger with request logs (<a href="https://redirect.github.com/puma/puma/issues/3140">#3140</a>)</li> </ul> </li> <li> <p>Bugfixes</p> <ul> <li>Fixes a bug where triggering hooks in the ThreadPool fails (<a href="https://redirect.github.com/puma/puma/issues/3716">#3716</a>)</li> <li>Fix error_logger inproperly logging <code>env[QUERY_STRING]</code> (<a href="https://redirect.github.com/puma/puma/issues/3713">#3713</a>, <a href="https://redirect.github.com/puma/puma/issues/3625">#3625</a>)</li> <li>Fix handling of invalid Transfer-Encoding header errors (<a href="https://redirect.github.com/puma/puma/issues/3702">#3702</a>)</li> <li>Fix socket leak on monitor wakeup <code>NoMethodError</code> in <code>Reactor#select_loop</code> (<a href="https://redirect.github.com/puma/puma/issues/3696">#3696</a>, <a href="https://redirect.github.com/puma/puma/issues/3695">#3695</a>)</li> <li>CI: puma_socket.rb fixup socket/request writes (<a href="https://redirect.github.com/puma/puma/issues/3684">#3684</a>)</li> <li>Warn when RUBY_MN_THREADS env var is set (<a href="https://redirect.github.com/puma/puma/issues/3721">#3721</a>)</li> <li>Improve the DSL <code>preload_app!</code> doc (<a href="https://redirect.github.com/puma/puma/issues/3712">#3712</a>)</li> <li>Fix the ability to focus individual tests (<a href="https://redirect.github.com/puma/puma/issues/3705">#3705</a>)</li> <li>Set env['rack.hijack'] to client.method(:full_hijack) (<a href="https://redirect.github.com/puma/puma/issues/3073">#3073</a>)</li> </ul> </li> <li> <p>Performance</p> <ul> <li>server.rb - initialize ivars <code>@reactor</code> and <code>@env_set_http_version</code> (<a href="https://redirect.github.com/puma/puma/issues/3714">#3714</a>)</li> </ul> </li> <li> <p>Refactor</p> <ul> <li>Simplify <code>Puma::DSL#process_hook</code> logic (<a href="https://redirect.github.com/puma/puma/issues/3710">#3710</a>)</li> <li>Dry up deprecation warnings and fix deprecation warnings when running CI. (<a href="https://redirect.github.com/puma/puma/issues/3709">#3709</a>, <a href="https://redirect.github.com/puma/puma/issues/3708">#3708</a>)</li> <li>Ensure and enforce that configs are loaded before options are accessed (<a href="https://redirect.github.com/puma/puma/issues/3616">#3616</a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/puma/puma/commit/89a448e51b9ba22d46a7a6108fb4787623290dc2"><code>89a448e</code></a> v7.0.0 (<a href="https://redirect.github.com/puma/puma/issues/3722">#3722</a>)</li> <li><a href="https://github.com/puma/puma/commit/daba98991995048aa7ae7b570e9bed55bc7f8c3b"><code>daba989</code></a> Warn when RUBY_MN_THREADS env var is set (<a href="https://redirect.github.com/puma/puma/issues/3721">#3721</a>)</li> <li><a href="https://github.com/puma/puma/commit/95e4235b7c2a5aa4cfde30738f64343d04f593b5"><code>95e4235</code></a> Set default keepalive connections to 999 (<a href="https://redirect.github.com/puma/puma/issues/3719">#3719</a>)</li> <li><a href="https://github.com/puma/puma/commit/fa2458cf83a241b1fedc937bb56265e769dbe9ad"><code>fa2458c</code></a> Fixes a bug where triggering hooks in the ThreadPool fails (<a href="https://redirect.github.com/puma/puma/issues/3716">#3716</a>)</li> <li><a href="https://github.com/puma/puma/commit/4d08ab8c4e7073a172b1743dd58c51e44f5c80e5"><code>4d08ab8</code></a> :bug Fix error_logger inproperly logging <code>env[QUERY_STRING]</code> (<a href="https://redirect.github.com/puma/puma/issues/3713">#3713</a>)</li> <li><a href="https://github.com/puma/puma/commit/57ca334ae44261b166e93b781d4ae203dafd6526"><code>57ca334</code></a> server.rb - initialize ivars <code>@reactor</code> and <code>@env_set_http_version</code> (<a href="https://redirect.github.com/puma/puma/issues/3714">#3714</a>)</li> <li><a href="https://github.com/puma/puma/commit/eb96ef0d3099b72f549708421c2a19b96009bad7"><code>eb96ef0</code></a> Simplify <code>Puma::DSL#process_hook</code> logic (<a href="https://redirect.github.com/puma/puma/issues/3710">#3710</a>)</li> <li><a href="https://github.com/puma/puma/commit/7738e66cac60b46d9f96ee94f273a1ce69f35712"><code>7738e66</code></a> Improve the DSL <code>preload_app!</code> doc (<a href="https://redirect.github.com/puma/puma/issues/3712">#3712</a>)</li> <li><a href="https://github.com/puma/puma/commit/f8bdea72e71356d9eaf5165a4dd0dcd885507505"><code>f8bdea7</code></a> Dry up deprecation warnings and fix deprecation warnings when running CI. (<a href="https://redirect.github.com/puma/puma/issues/3">#3</a>...</li> <li><a href="https://github.com/puma/puma/commit/bd987e0360470f8af7bf4f4ca8dc901c2a86d065"><code>bd987e0</code></a> don't set env['HTTP_VERSION'] for Rack &gt; 3.1 (<a href="https://redirect.github.com/puma/puma/issues/3711">#3711</a>)</li> <li>Additional commits viewable in <a href="https://github.com/puma/puma/compare/v6.6.1...v7.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=puma&package-manager=bundler&previous-version=6.6.1&new-version=7.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents ba4eff7 + 29913fd commit 795d1d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem 'fog-aws'
2020
# Database adapter for PostgreSQL
2121
gem 'pg', '>= 0.18', '< 2.0'
2222
# Puma as the app server
23-
gem 'puma', '~> 6.6'
23+
gem 'puma', '~> 7.0'
2424

2525
# Pundit for authorization, custom fork for Better Together
2626
gem 'pundit-resources', '~> 1.1.4', github: 'better-together-org/pundit-resources'

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ GEM
527527
i18n (>= 0.5.0)
528528
railties (>= 6.1.0)
529529
public_suffix (6.0.1)
530-
puma (6.6.1)
530+
puma (7.0.0)
531531
nio4r (~> 2.0)
532532
pundit (2.5.0)
533533
activesupport (>= 3.0.0)
@@ -861,7 +861,7 @@ DEPENDENCIES
861861
listen (>= 3.0.5, < 3.10)
862862
pg (>= 0.18, < 2.0)
863863
pry
864-
puma (~> 6.6)
864+
puma (~> 7.0)
865865
pundit-resources (~> 1.1.4)!
866866
rack-mini-profiler
867867
rack-protection

0 commit comments

Comments
 (0)