Unclaimed project
Are you a maintainer of swift-html? Claim this project to take control of your public changelog and roadmap.
Changelog
🗺 A Swift DSL for type-safe, extensible, and transformable HTML documents.
statics (#39).Node API has been improved!
.fragment case, and .element has been updated to take a single child node, which may be a fragment (#23).Node is now ExpressibleByArrayLiteral (#23).Node is now Equatable and Hashable (#48).Node now supports Swift 5 ExpressibleByStringInterpolation (#48).mailto API has been improved to take subject and other parameters (#41).template tag helper (#43).The cumulative changes make for a big difference in API, but we think it's worth it!
-let link: Node = a([href("/")], ["Hello, ", .text(name), "!"])
+let link: Node = .a(attributes: [.href("/")], "Hello, \(name)!")
summary/details and fieldset/legend have been fixed to compile correctly (#42).HtmlSnapshotTesting module has been fixed on Carthage by disabling bit-code (#49).