Skip to content

v2.0.0.pre.1

Choose a tag to compare

@florentferry florentferry released this 12 Apr 18:13
· 56 commits to master since this release

Breaking changes:

  • Removed deprecated render_partial method
  • Removed rendering of namespaced component with the old naming convention

Enhancements:

  • Changed @block_given_to_component from an instance variable to a method block_given_to_component available in the view context
  • Implemented component caching with the cached: true option
  • Added a stylesheet_engine option to Komponent configuration
  • When generating a new component, the frozen_string_literal: true magic comment is prepended to Ruby files