1.5 KiB
1.5 KiB
Changelog
[Unreleased]
[0.0.6] - 2020-05-25
Added
fmt.Stringer
instances for each attribute value type
Changed
hatmill.Attrib.Value
is now anfmt.Stringer
.- Attribute code generation mostly uses interfaces instead of being so ad-hoc.
- Empty
hatmill.Attrib
s are not rendered at all in HTML. - Generated boolean attribute helper function now have a boolean parameter rather than depending on the presence of the call.
Removed
- Custom function doc comments
[0.0.5] - 2019-05-29
Added
attribute.Formmethod
helper function- Tests for each generated attribute type
Changed
- Formatted code identifiers in Changelog
Accept
,AcceptCharset
,Class
,For
,Headers
,Ping
,Rel
,Srcset
, andSandbox
attribute helper functions have variadicstring
parameters.Coords
attribute helper function has variadicfloat32
parameter.
[0.0.4] - 2019-05-27
Added
hatmill.RawText
type for unescaped text nodes
Changed
- Element and attribute specs can define custom function doc comments.
element.A
andattribute.Accept
specs have comments.
[0.0.3] - 2019-05-11
Added
- Benchmark against
html/template
[0.0.2] - 2019-04-28
Added
- Changelog
hatmill.Terms
type for representing lists of nodes
Changed
Attrib.WriteTo
replaces special characters inValue
with HTML entities.Text.WriteTo
replaces special characters with HTML entities.
[0.0.1] - 2019-04-28
Initial development release