# Changelog ## [Unreleased] ### Added `fmt.Stringer` instances for each attribute value type ### Changed - `hatmill.Attrib.Value` is now an `fmt.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`, and `Sandbox` attribute helper functions have variadic `string` parameters. - `Coords` attribute helper function has variadic `float32` 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` and `attribute.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 in `Value` with HTML entities. - `Text.WriteTo` replaces special characters with HTML entities. ## [0.0.1] - 2019-04-28 Initial development release