Skip to content

0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@joeldrapper joeldrapper released this 15 Nov 22:05
· 551 commits to main since this release
0205e2b

Breaking changes

  • Rename rawunsafe_raw — this methos is really dangerous and the new name makes that clear
  • Rename Phlex::ViewPhlex::HTML — sorry, you’ll have to do a find/replace again!
  • The Rails generators now add ApplicationView as a module rather than an abstract class. You can still use an abstract view class if you want but the generators recommend using a module instead.
  • phlex/rails is no longer required automatically. If you're using Rails, the best option is to require phlex/rails in the Gemfile
gem "phlex", require: "phlex/rails"

New features

  • Support for I18n translations
  • Before and after rendering template callbacks
  • Conditional rendering with the render? predicate
  • Test helpers with optional Nokogiri, Capybara and Rails integration

What's Changed

New Contributors

Full Changelog: 0.4.0...0.5.0