Skip to content

Releases: ViewComponent/view_component

v1.5.1

21 Nov 23:23
1aad6f4
Compare
Choose a tag to compare
  • Update railties class to work with Rails 6.

    Juan Manuel Ramallo

v1.5.0

21 Nov 18:33
038ad46
Compare
Choose a tag to compare

Note: actionview-component is now loaded by requiring actionview/component, not actionview/component/base.

  • Fix issue with generating component method signatures.

    Ryan Workman, Dylan Clark

  • Create component generator.

    Vinicius Stock

  • Add helpers proxy.

    Kasper Meyer

  • Introduce ActionView::Component::Previews.

    Juan Manuel Ramallo

v1.4.0

07 Nov 19:04
dbfd904
Compare
Choose a tag to compare
  • Fix bug where components broke in application paths with periods.

  • Add support for cache_if in component templates.

  • Add support for variants.

  • Fix bug in virtual path lookup.

  • Preselect the rendered component in render_inline.

v1.3.6

21 Oct 21:01
6c8081b
Compare
Choose a tag to compare
  • Allow template file names without format.

  • Add support for translations.

v1.3.5

17 Oct 18:22
912c96e
Compare
Choose a tag to compare
  • Re-expose controller method.

  • Gem version numbers are now accessible through ActionView::Component::VERSION

  • Fix typo in README

v1.3.4

07 Oct 18:40
69eb491
Compare
Choose a tag to compare
  • Template errors surface correct file and line number.
  • Allow access to request inside components.

v1.3.3

02 Oct 19:48
0661b14
Compare
Choose a tag to compare
  • Do not raise error when sidecar files that are not templates exist.

v1.3.2

02 Oct 16:49
b66fa08
Compare
Choose a tag to compare
  • Support rendering views from inside component templates.

v1.3.1

01 Oct 17:36
aa30cfa
Compare
Choose a tag to compare
  • Fix bug where rendering nested content caused an error.

v1.3.0

27 Sep 23:04
06a3e3a
Compare
Choose a tag to compare
  • Components are rendered with enough controller context to support rendering of partials and forms.