Releases: RandomHashTags/swift-htmlkit
Releases · RandomHashTags/swift-htmlkit
0.2.1
This release corrects input's type
value type, which is source breaking, but it should've never been the previous value type.
Full Changelog: 0.2.0...0.2.1
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
0.1.0
I'm content with the state of the library to make a release.
Need to fix a few small things and add a lot more unit tests before a stable/production-ready (1.0.0) release.
Full Changelog: https://github.com/RandomHashTags/swift-htmlkit/commits/0.1.0