TL;DR
Phlex-Hanami v0.2.0 marks its first stable release under new maintenance, completely rewriting the codebase from version 0.1.0. This version introduces auto-rendering capabilities and improved view handling for actions.
✦ Why It Matters
Upgrade to Phlex-Hanami v0.2.0 to leverage its new features for better view management.
Key Takeaways
Full Summary
Phlex-Hanami v0.2.0 is a major update that introduces new base classes, including Phlex::Hanami::View and Phlex::Hanami::Layout, which facilitate the creation of views and layouts in the Hanami framework. This release allows for automatic rendering of views based on action names, simplifying the rendering process.
Additionally, it includes a new context for views that provides access to various parameters and helpers, enhancing the development experience. The update also supports Phlex views for hanami-mailer, allowing for seamless integration of HTML and plain text email rendering.
Testing capabilities have been improved with new view helpers, and RBS signatures are provided for the public API. Comprehensive usage documentation is included to assist developers in transitioning to this new version.
Related