Release 5.0.4 - TBody and Tr as valid HtmlPage root elements.
This release introduces TBody and Tr as valid HtmlPage root elements and adds root builder extensions for tbody and tr, along with comprehensive tests.
This release introduces TBody and Tr as valid HtmlPage root elements and adds root builder extensions for tbody and tr, along with comprehensive tests.
This release upgrades Kotlin to version 2.3.10.
This release upgrades xsd2poet to 1.0.8, introducing two distinct modules: one for Java and another for the idiomatic Kotlin API.
Starting with version 5, the Java and Kotlin APIs are provided in separate modules.
As a result, the core Java HtmlFlow module no longer depends on the Kotlin coroutines library or jsoup (which is now only required by the reverse-engineering tool Flowifier, moved to its own module).
This release removes the Guava dependency, previously used only for HTML text escaping, and replaces it with the original HTML escaping source code.
This release addresses two major issues in the underlying infrastructure of HtmlFlow:
Unified API Generators: Combines two previously separate API generators—one for Java and another for idiomatic Kotlin builders using function literals with receivers—into a single unified infrastructure.
Simplified Manual Integration: Streamlines the process of merging
manually written builders (e.g., of(), dynamic(), async(),
suspending(), etc.) with automatically generated HTML builders.
All HTML builders are now available through Kotlin Extensions with function literals with receiver, enabling both nested method and method chaining idioms.
dyn { } lambda with parent Element as receiver to allow the use of implicit this.This release introduces the following new features and fixes:
.l property, which can be used to close tags in Kotlin instead of .__().This release includes the following fixes and updates:
.text() interleaved with attributes is no longer supported and will now throw an exception.