github puma/puma v5.5.0
5.5.0 - Zawgyi

latest releases: v5.6.8, v6.4.2, v6.4.1...
2 years ago

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.
Note: Make sure you set up Puma to run on an SSL socket: puma -b 'ssl://localhost:9292' config.ru

  • 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])

Don't miss a new puma release

NewReleases is sending notifications on new releases.