Changelog ========= ## Version 2.5.0 (2024-07-01) * Added `HtmlElement`, `HtmlTag`, and `HtmlChild` elements. * Shift underlying implementation to use these types, but retain compatibility with v2. * This gives the flexibility for people to arbitrarily add attributes and child elements. * Added support for table `tfoot` tags, courtesy of Nicola Ricciardi (@nricciardi) * Updated documentation ## Version 2.4.0 (2023-03-21) * Add support for table `caption` tags, courtesy of Martin Miksanik (@milksax) ## Version 2.3.0 (2023-02-28) * Support for (X)HTML versions beyond HTML5, thanks to XORAPPS (@xorapps) * Support for attributes in `thead`, `tbody`, `tr`, `th`, and `td`. * This was done by introducing the `TableRow`, `TableCell`, and `TableCellType` types. * To simplify implementation, these new types are being used internally, which may slightly negatively impact performance. * Minor internal improvements for defaults * Cleaned up some documentation ## Version 2.2.0 (2022-11-30) * Additional container types, courtesy of Christoffer (@ChrisTheDevel) ## Version 2.1.1 (2022-07-27) * Documentation fix, courtesy of Kevin Kuriakose (@Technohacker) ## Version 2.1.0 (2022-06-09) * Migrates Repository to GitHub * Adds function to escape HTML strings * Internal Improvements to reduce the number of memory allocations used ## Version 2.0.0 (2021-09-27) * Refactored API, divided into "add" for mutable and "with" for chainable * Fixed non-generic fields which snuck by in 1.1.0 * Refactored types to use strings instead of boxed intermediate types * While we're still using the heap, we cut out one level of indirection which increases efficiency * This is entirely transparent to end users ## Version 1.1.0 (2021-06-17) * Rise of the Generics! -- `add_x` methods are now much more flexible! * Pass any type implementing `ToString` as a required parameter * Pass attributes using more than just `HashMap`s (Including arrays with Rust 1.53) * Further defined escape hatches (for extensibility) * Added `add_raw` method for containers ## Version 1.0.0 (2021-01-24) * Initial Release