0.2.0
Bug fixes and QOL improvements
Fixes
- certain attributes that take an array requiring a comma separated html value instead of space separated
- some html elements missing some attributes, or their value type being incorrect
- attributes with an integer or HTMLElementAttribute array value type not being compilable
- the
type
attribute not compiling correctly depending on the html element - the
acceptCharset
label not compiling toaccept-charset
- the
role
attribute accepting any string (now requires aHTMLElementAttribute.role
case)
QOL
- no more string interpolation for HTMLElementAttribute enum values (now they get compiled directly to their rawValue/htmlValue)
- third-party function calls, literals, and enums are now compiled to interpolated values when declared as an attribute value
- updates to README
Changes
data
attribute now requires a tuple value type- unit tests now use
swift-testing
instead ofXCTest
Updates
swift-syntax
dependency to600.0.0
Full Changelog: 0.1.0...0.2.0