Skip to content

Releases: RandomHashTags/swift-htmlkit

0.2.1

20 Sep 23:55
Compare
Choose a tag to compare

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

20 Sep 21:26
Compare
Choose a tag to compare

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 to accept-charset
  • the role attribute accepting any string (now requires a HTMLElementAttribute.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 of XCTest

Updates

  • swift-syntax dependency to 600.0.0

Full Changelog: 0.1.0...0.2.0

0.1.0

19 Sep 04:56
Compare
Choose a tag to compare

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