Skip to content

Releases: ViewComponent/view_component

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.

v1.2.1

28 Aug 23:20
ac773dd
Compare
Choose a tag to compare

actionview-component is now tested against Ruby 2.3/2.4 and Rails 5.0.0.

v1.2.0

28 Aug 18:30
1783742
Compare
Choose a tag to compare
  • The render_component test helper has been renamed to render_inline. render_component has been deprecated and will be removed in v2.0.0.

  • Components are now rendered with render MyComponent, foo: :bar syntax. The existing render MyComponent.new(foo: :bar) syntax has been deprecated and will be removed in v2.0.0.

v1.1.0

27 Aug 19:23
42f4746
Compare
Choose a tag to compare

This release moves the base class to ActionView::Component::Base.

This release introduced a breaking change and thus broke SemVer protocol.

v1.0.1

23 Aug 17:00
a9570d4
Compare
Choose a tag to compare

This release fixes a bug where component templates were not reloaded in development.