Releases: loomchild/theo-rails
Releases · loomchild/theo-rails
0.5.x
Breaking changes
- All special attributes now require
%prefix:%path%as%yields%collection. Even though it's a bit more complicated, if avoids collisions with locals and distinguishes them from normal attributes.
Features
- Support
%ifconditionals. - Special handling for boolean HTML attributes.
0.4.x
Features
- Support alternative PascalCase partial syntax (
<RedButton />) for partials to make HTML parsers happy. - ViewComponents are automatically detected for PascalCase syntax (so
<ReadButton />will loadRedButtonComponent) - Better template error reporting (highlight the error line)
- Merge static and dynamic
classandstyleattributes to simplify specializing partial styles (see documentation) <_image />partial
Bugfixes
- Allow
@and:in attribute names (it needs to be even more permissive, probably). <_form-with>modelattribute defaults tofalse.
Contributors
- @david-uhlig improved
ViewComponentdetection logic #8
0.3.x
Breaking changes
- Treat
collectionattribute 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%>.