Skip to content

Releases: loomchild/theo-rails

0.4.x

27 Oct 16:34
Compare
Choose a tag to compare

Features

  • Support alternative PascalCase partial syntax (<RedButton />) for partials to make HTML parsers happy.
  • ViewComponents are automatically detected for PascalCase syntax (so <ReadButton /> will load RedButtonComponent)
  • Better template error reporting (highlight the error line)

Bugfixes

  • Allow @ and : in attribute names (it needs to be even more permissive, probably).
  • <_form-with> model attribute defaults to false.

0.3.x

06 Oct 16:32
Compare
Choose a tag to compare

Breaking changes

  • Treat collection attribute value literally as a variable. Write: <widget collection="widgets"/ > instead of <widget collection%="widgets" />.

Features

  • Support ViewComponents via <Button /> syntax.
  • Short dynamic attribute form, e.g.: <div class%>.

0.2.x

13 Sep 18:37
Compare
Choose a tag to compare

Breaking changes

  • Change partial syntax from <red-button-partial /> to simply <_red_button /> (_ prefix instead of -partial suffix, no kebab-case.