Hello again, friends! We’re excited to share our release of Hanami 2.0.1!
It ships with small enhancements and minor bug fixes, after our 2.0.0 release.
Enhancements and Bug Fixes
- Ensure
Content-Security-PolicyHTTP response header to be returned as a single line - Ensure to load
.envfiles during CLI commands execution - Ensure
hanami serverto respect HTTP port used in.envor the value given as CLI argument (--port) - Ensure Rack events are on internal notifications system
- Return HTTP response header
Allowwhen returning405HTTP status - Introduce
Hanami::Middleware::BodyParser::FormParserto parse multipart file upload - Make
Hanami::Utils::Callbacks::ChainandHanami::Utils::Callbacks::Callbackcomparable via#==based on their contents, rather than their object identity
Released Gems
hanami2.0.1hanami-reloader2.0.1hanami-cli2.0.1hanami-router2.0.1hanami-utils2.0.1
How To Upgrade
How to upgrade from a Hanami app:
$ bundle update hanami-utils hanami-router hanami-cli hanami-reloader hanami
How to try Hanami for the first time:
$ gem install hanami
$ hanami new bookshelf
$ cd bookshelf
$ bundle exec hanami server # visit http://localhost:2300
Thank You
Thank you also to these wonderful people for contributing to Hanami 2.0.1!
🌸