dodona-edu / dodona

🧑‍💻 Learn to code for secondary and higher education
https://dodona.be
MIT License
70 stars 23 forks source link

Bump puma from 6.4.3 to 6.5.0 #5960

Closed dependabot[bot] closed 2 days ago

dependabot[bot] commented 2 days ago

Bumps puma from 6.4.3 to 6.5.0.

Release notes

Sourced from puma's releases.

6.5.0 - Sky's Version

They say good things come to wait, and you've all had to wait a long time for 6.5.0 because @​nateberkopec had another daughter: Sky!

  • Features

    • Print RUBY_DESCRIPTION when Puma starts (#3407)
    • Set the worker process count automatically when using WEB_CONCURRENCY=auto (#3439, #3437)
    • Mark as ractor-safe (#3486, #3422)
    • Add option enable_keep_alive. true mimics existing behavior, but now can use false to disable keepalive to reduce queue tail latency (#3496)
    • Add parameters to Puma methods to allow CI to change ENV in isolation (#3485)
    • Add ssl_ciphersuites option for TLSv1.3 ciphers (#3359, #3343)
    • You can now use --threads 5 or threads 5 to config max/min threads with a single number (used to need to say 5:5) (#3309)
    • Option to turn off systemd plugin (#3425, #3424)
    • Add on_stopped hook (#3411, #3380)
  • Bugfixes

    • Handle blank environment variables when loading config (#3539)
    • lib/rack/handler/puma.rb - fix for rackup v1.0.1, adjust Gemfile (#3532, #3531)
    • null_io.rb - add external_encoding, set_encoding, binmode, binmode? (#3214)
    • Implement NullIO#seek and #pos to mimic IO (#3468)
    • add support in rack handler & fix regression in binder for linux abstract namespace sockets (#3508)
    • Use actual thread local for Puma::Server.current. (#3360)
    • client.rb - fix request chunked body handling (#3338, #3337)
    • Properly handle two requests seen in the initial buffer (#3332)
    • Fix response repeated status line when request is invalid or errors are raised (#3308, #3307)
    • Fix child processes not being reaped when Process.detach used (#3314, #3313)
  • JRuby

    • Make HTTP length constants configurable (#3518)
    • Fixup jruby_restart.rb & launcher.rb to work with ARM64 macOS JRuby (#3467)
  • Performance

    • Avoid checking if all workers reached timeout unless idle timeout is configured (#3341)
    • Request body - increase read size to 64 kB (#3548)
    • single mode skip wait_for_less_busy_worker (#3325)
  • Refactor

    • A ton of CI/test improvements by @​MSP-Greg, as usual.
    • Add ThreadPool#stats and adjust Server#stats to use it (#3527)
    • normalize whitespace in worker stats string (#3513)
    • rack/handler/puma.rb - ssl - use start_with?, add test (#3510)
    • extconf.rb - add logging for OpenSSL versions (#3370)
    • Lazily require Puma::Rack::Builder (#3340)
    • Refactor: Constantize worker pipe request types (#3318)
  • Docs

    • stats.md improvements (#3514)
    • control_cli.rb: Harmonize help message with bin/puma (#3434)
    • dsl.rb: Clarify a callback's argument (#3435)

... (truncated)

Changelog

Sourced from puma's changelog.

6.5.0 / 2024-11-23

  • Features

    • Print RUBY_DESCRIPTION when Puma starts (#3407)
    • Set the worker process count automatically when using WEB_CONCURRENCY=auto (#3439, #3437)
    • Mark as ractor-safe (#3486, #3422)
    • Add option enable_keep_alive. true mimics existing behavior, but now can use false to disable keepalive to reduce queue tail latency (#3496)
    • Add parameters to Puma methods to allow CI to change ENV in isolation (#3485)
    • Add ssl_ciphersuites option for TLSv1.3 ciphers (#3359, #3343)
    • You can now use --threads 5 or threads 5 to config max/min threads with a single number (used to need to say 5:5) (#3309)
    • Option to turn off systemd plugin (#3425, #3424)
    • Add on_stopped hook (#3411, #3380)
  • Bugfixes

    • Handle blank environment variables when loading config (#3539)
    • lib/rack/handler/puma.rb - fix for rackup v1.0.1, adjust Gemfile (#3532, #3531)
    • null_io.rb - add external_encoding, set_encoding, binmode, binmode? (#3214)
    • Implement NullIO#seek and #pos to mimic IO (#3468)
    • add support in rack handler & fix regression in binder for linux abstract namespace sockets (#3508)
    • Use actual thread local for Puma::Server.current. (#3360)
    • client.rb - fix request chunked body handling (#3338, #3337)
    • Properly handle two requests seen in the initial buffer (#3332)
    • Fix response repeated status line when request is invalid or errors are raised (#3308, #3307)
    • Fix child processes not being reaped when Process.detach used (#3314, #3313)
  • JRuby

    • Make HTTP length constants configurable (#3518)
    • Fixup jruby_restart.rb & launcher.rb to work with ARM64 macOS JRuby (#3467)
  • Performance

    • Avoid checking if all workers reached timeout unless idle timeout is configured (#3341)
    • Request body - increase read size to 64 kB (#3548)
    • single mode skip wait_for_less_busy_worker (#3325)
  • Refactor

    • A ton of CI/test improvements by @​MSP-Greg, as usual.
    • Add ThreadPool#stats and adjust Server#stats to use it (#3527)
    • normalize whitespace in worker stats string (#3513)
    • rack/handler/puma.rb - ssl - use start_with?, add test (#3510)
    • extconf.rb - add logging for OpenSSL versions (#3370)
    • Lazily require Puma::Rack::Builder (#3340)
    • Refactor: Constantize worker pipe request types (#3318)
  • Docs

    • stats.md improvements (#3514)
    • control_cli.rb: Harmonize help message with bin/puma (#3434)
    • dsl.rb: Clarify a callback's argument (#3435)
    • lib/rack/handler/puma.rb - relocate and fixup module comment (#3495)
Commits
  • 9e98151 v6.5.0 - Sky's Version
  • 89740fb Request body - increase read size to 64 kB (#3548)
  • 932f5d0 CI: test/test_request_invalid.rb - use TestPuma::PumaSocket, RFC 9112 (#3553)
  • b444c10 Handle blank environment variables when loading config (#3539)
  • fba741b Make HTTP length constants configurable for JRuby (#3518)
  • 0255efd CI: remove test/helpers/config_file.rb, which modifies ENV (#3550)
  • 450784a CI: fix TestIntegration#server_gets - until, not unless (#3549)
  • 271e4d0 CI: remove unnecessary rake task test:all (#3543)
  • 9e0dc2e [CI] test_puma_server.rb - add HTTP/1.0 & HTTP/1.1 checks thru to app env (#3...
  • 23753d9 [CI] test_puma_server.rb - update & add tests for back-to-back requests (#3335)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 commands and options
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 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)