Skip to content

Releases: ViewComponent/view_component

v1.6.2

06 Jan 18:15
01dda4f
Compare
Choose a tag to compare
  • Fix Uninitialized Constant error.

    Jon Palmer

  • Add basic github issue and PR templates.

    Dylan Clark

  • Update readme phrasing around previews.

    Justin Coyne

v1.6.1

25 Dec 14:20
445a7e3
Compare
Choose a tag to compare
  • Allow Previews to have no layout.

    Jon Palmer

  • Bump rack from 2.0.7 to 2.0.8.

    Dependabot

  • Compile components on application boot when eager loading is enabled.

    Joel Hawksley

  • Previews support content blocks.

    Cesario Uy

  • Follow Rails conventions. (refactor)

    Rainer Borene

  • Fix edge case issue with extracting variants from less conventional source_locations.

    Ryan Workman

v1.6.0

11 Dec 22:21
420d567
Compare
Choose a tag to compare
  • Avoid dropping elements in the render_inline test helper.

    @dark-panda

  • Add test for helpers.asset_url.

    Christopher Coleman

  • Add rudimentary compatibility with better_html.

    Joel Hawksley

  • Template-less variants fall back to default template.

    Asger Behncke Jacobsen, Cesario Uy

  • Generated tests use new naming convention.

    Simon Træls Ravn

  • Eliminate sqlite dependency.

    Simon Dawson

  • Add support for rendering components via #to_component_class

    Vinicius Stock

v1.5.3

26 Nov 19:22
d573fe6
Compare
Choose a tag to compare
  • Add support for RSpec to generators.

    Dylan Clark, Ryan Workman

  • Require controllers as part of setting autoload paths.

    Joel Hawksley

v1.5.2

22 Nov 15:47
6c943a7
Compare
Choose a tag to compare
  • Disable eager loading initializer.

    Kasper Meyer

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