Releases: clay/amphora-html
v5.0.0
#83 - Moves handlebars
and clayhandlebars
to peer dependencies.
This release is part of a broader set of releases across the Clay suite that reduce the number of places the handlebars
version is managed.
This release should be used with amphora@8+
and kiln@10+
.
Dependency bump
Bump dependencies for security fixes.
Feature: postRender plugins
Added ability for plugins to read and modify the rendered HTML after Handlebars and before the response is sent. Thanks to @brienhodges 👍
Feature: Handlebars Prevent Indent
Feature
- Added the
preventIndent
flag to handlebars compilation so that<pre>
tags don't have bad formatting in components (#58) 🎉Thanks @jeanrodriguez !
Include cloned component data in shared state
_componentData
is used by kiln v8.3.3+ as preloaded data to keep kiln from persisting component data that's been mutated by handlebars templates.
Bugfix: Removing Unneeded Memoization
Removed memoization that was unnecessary (Thanks @yuliyv!)
Bugfix: In edit mode, include CSS only for cmpts on page
Bugfix: Load all variations in edit mode
A fix to load all variations in edit mode
Bugfix: Variations & Component Routes
Fixes assumption around _layoutRef
being present when rendering a component route
Feature: Don't Inline All Variations
Prevents amphora-html from adding all component variations to the page