Skip to main content

News

Release 4.0 Support for Asynchronous Models

· 2 min read
Miguel Gamboa
HtmlFlow Author

This release introduces the following changes when migrating from HtmlFlow 3.x to 4.x:

  • DynamicHtml and StaticHtml are replaced by HtmlView and HtmlDoc, respectively. Both inherit from the new HtmlPage type.
  • The factory methods DynamicHtml.view() and StaticHtml.view() have been moved to the HtmlFlow class, becoming HtmlFlow.view() and HtmlFlow.doc().

Release 3.9 Support for Custom Elements

· One min read
Miguel Gamboa
HtmlFlow Author

A new custom element feature allows defining HtmlFlow views, as shown in the listing at the end of this post. This feature applies to both static and dynamic views.

You can find this sample in the unit tests at htmlflow.test.views.HtmlCustomElements.

Invoking .custom("alert-info") returns an instance of the new CustomElement class, which inherits from the existing Div class. As a result, the returned instance has most HTML features available.

Release 3.7

· One min read
Miguel Gamboa
HtmlFlow Author

When a parent template is initialized with a PrintStream, any internal use of addPartial() will now implicitly use that PrintStream, regardless of the output approach defined during the partial view's instantiation.

Release 3.4

· One min read
Miguel Gamboa
HtmlFlow Author

This version introduces the first release of Flowifier, an HTML to HtmlFlow translator developed by Julien Gouesse.