Releases: clay/amphora-html
v6.0.0
What's Changed
- Support Clay CLI's Webpack asset bundler. by @phyllisstein in #87
- Fix asset URL construction. by @phyllisstein in #89
- Ignore assetPath for CDN assets. by @phyllisstein in #90
- Initialize Webpack assets without Amphora. by @phyllisstein in #92
- Synchronous script tag loading. by @james-owen in #96
- V5 1 rc by @james-owen in #105
- 🍕 Migrate CircleCI to GitHub Actions by @jjpaulino in #107
- 🍕 Fix docs deploy URL parsing in GitHub Actions by @jjpaulino in #108
- 🍕 Fix docs workflow install command for website by @jjpaulino in #109
- 🍕 Add modulepreload and module script support for ESM pattern by @jjpaulino in #106
New Contributors
- @phyllisstein made their first contribution in #87
- @jjpaulino made their first contribution in #107
Full Changelog: v5.0.0...v6.0.0
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
preventIndentflag 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