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
typeattribute not compiling correctly depending on the html element - the
acceptCharsetlabel not compiling toaccept-charset - the
roleattribute accepting any string (now requires aHTMLElementAttribute.rolecase)
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
dataattribute now requires a tuple value type- unit tests now use
swift-testinginstead ofXCTest
Updates
swift-syntaxdependency to600.0.0
Full Changelog: 0.1.0...0.2.0