This is a patch release for bug fixes and minor enhancements:
- Added support for Ruby MRI 2.5+
- Fixed regression for mailer generator: when using options like
--fromand--tothe generated Ruby code isn't valid as it was missing string quotes. - Generate tests for views including
:formatinexposures. This fixes view unit tests when the associated template renders a partial. - Ensure
exposuresare properly overwritten for partials whenlocals:option is used - Ensure
Hanami::Action#send_fileand#unsafe_send_fileto runafteraction callbacks - Ensure Rack env to have the
REQUEST_METHODkey set toGETduring actions unit tests - Ensure
Hanami::Routerto properly respond tounlinkHTTP requests - HTML helpers: print
hrefandsrcfirst in output HTML - Ensure
#selectform helper to not select options withnilvalue - Ensure
#fields_for_collectionform helper to produce input fields with correctnameattribute - Ensure
#selectform helper to respect:selectedoption - CLI: Ensure default values for arguments to be sent to commands
- CLI: Ensure to fail when a missing required argument isn't provider, but an option is provided instead
- Make
Hanami::Utils::Files.writeidempotent: ensure to truncate the file before to write - Don't erase file contents when invoking
Hanami::Utils::Files.touch - Deprecate
Hanami::Utils::Files.rewritein favor of.write - Introduce
Hanami::Utils::Hash.deep_stringifyto recursively stringify a hash - Ensure
Hanami::Interactor#callto accept non-keyword arguments
Released Gems
hanami-1.1.1hanami-assets-1.1.1hanami-cli-0.1.1hanami-helpers-1.1.1hanami-view-1.1.1hanami-controller-1.1.1hanami-router-1.1.1hanami-utils-1.1.2
Contributors
We're grateful for each person who contributed to this release. These lovely people are:
- Alfonso Uceda
- Anton Davydov
- Luca Guidi
- Marcello Rocha
- Marion Duprey
- Marion Schleifer
- Oana Sipos
- Sean Collins
- Yuta Tokitake
- malin-as
How To Update Your Project
bundle update hanami-utils hanami-router hanami-controller hanami-helpers hanami-cli hanami-assets hanami
Happy coding! 🌸