Skip to content

Bump puma from 3.10.0 to 5.5.0

Milan requested to merge dependabot/bundler/puma-5.5.0 into master

Bumps puma from 3.10.0 to 5.5.0.

Release notes

Sourced from puma's releases.

5.5.0 - Zawgyi

5.5.0 / 2021-09-19

14871224

Zawgyi (Burmese: ဇော်ဂျီ) is a semi-immortal human alchemist and mystic with supernatural powers and often seen with a magic stick and a red hat. Zawgyi is one of the supernatural figures in Burmese mythology and folklore. Name chosen by new (Myanma!) contributor @ye-lin-aung.

The headline feature of this release is a new integration with the localhost gem. Localhost takes care of creating a self-signed SSL certificate for you in development. Require it in your config.ru:

# Sinatra
require './app'
require 'localhost/authority'
run Sinatra::Application

# Rails 
require 'localhost/authority' if Rails.env.development?
run MyRailsApp::Application

... and in the development environment, Puma will use a self-signed SSL cert generated by Localhost if no other cert is provided.

  • Features

    • Automatic SSL certificate provisioning for localhost, via localhost gem (#2610, #2257)
    • add support for the PROXY protocol (v1 only) (#2654, #2651)
    • Add a semantic CLI option for no config file (#2689)
  • Bugfixes

    • More elaborate exception handling - lets some dead pumas die. (#2700, #2699)
    • allow multiple after_worker_fork hooks (#2690)
    • Preserve BUNDLE_APP_CONFIG on worker fork (#2688, #2687)
  • Performance

    • Fix performance of server-side SSL connection close. (#2675)

5.4.0 - Super Flight

CasiopeaSuperFlightalbumcover

  • Features

    • Better/expanded names for threadpool threads (#2657)
    • Allow pkg_config for OpenSSL (#2648, #1412)
    • Add rack_url_scheme to Puma::DSL, allows setting of rack.url_scheme header (#2586, #2569)
  • Bugfixes

    • Binder#parse - allow for symlinked unix path, add create_activated_fds debug ENV (#2643, #2638)
    • Fix deprecation warning: minissl.c - Use Random.bytes if available (#2642)
    • Client certificates: set session id context while creating SSLContext (#2633)
  • Refactor

    • Replace IO.select with IO#wait_* when checking a single IO (#2666)

... (truncated)

Changelog

Sourced from puma's changelog.

5.5.0 / 2021-09-19

  • Features

    • Automatic SSL certificate provisioning for localhost, via localhost gem (#2610, #2257)
    • add support for the PROXY protocol (v1 only) (#2654, #2651)
    • Add a semantic CLI option for no config file (#2689)
  • Bugfixes

    • More elaborate exception handling - lets some dead pumas die. (#2700, #2699)
    • allow multiple after_worker_fork hooks (#2690)
    • Preserve BUNDLE_APP_CONFIG on worker fork (#2688, #2687)
  • Performance

    • Fix performance of server-side SSL connection close. (#2675)

5.4.0 / 2021-07-28

  • Features

    • Better/expanded names for threadpool threads (#2657)
    • Allow pkg_config for OpenSSL (#2648, #1412)
    • Add rack_url_scheme to Puma::DSL, allows setting of rack.url_scheme header (#2586, #2569)
  • Bugfixes

    • Binder#parse - allow for symlinked unix path, add create_activated_fds debug ENV (#2643, #2638)
    • Fix deprecation warning: minissl.c - Use Random.bytes if available (#2642)
    • Client certificates: set session id context while creating SSLContext (#2633)
    • Fix deadlock issue in thread pool (#2656)
  • Refactor

    • Replace IO.select with IO#wait_* when checking a single IO (#2666)

5.3.2 / 2021-05-21

  • Bugfixes
    • Gracefully handle Rack not accepting CLI options (#2630, #2626)
    • Fix sigterm misbehavior (#2629)
    • Improvements to keepalive-connection shedding (#2628)

5.3.1 / 2021-05-11

  • Security
    • Close keepalive connections after the maximum number of fast inlined requests (CVE-2021-29509) (#2625)

5.3.0 / 2021-05-07

  • Features
    • Add support for Linux's abstract sockets (#2564, #2526)
    • Add debug to worker timeout and startup (#2559, #2528)
    • Print warning when running one-worker cluster (#2565, #2534)
    • Don't close systemd activated socket on pumactl restart (#2563, #2504)

... (truncated)

Commits

Merge request reports

Loading