Releases: srittau/python-htmlgen
Releases · srittau/python-htmlgen
Release 2.0.0
Release 1.2.2
API Additions
- Add
GenValueandGenValueGeneratortohtmlgen.
Release 1.2.1
API Additions
from htmlgen import ElementBasenow works.
Bug Fixes
- Add missing
ElementBaseto type stubs.
Release 1.2.0
API Additions
- Make
ElementBasepublic. - Add
GenValueandGenValueGeneratortype aliases.
Bug Fixes
- Fix annotation of
Heading.
Release 1.1.0
Improvements
- PEP 561 support.
- Improve type hints.
Release 1.0.0
No further changes
Release 0.99.3
API-Incompatible Changes
- Revert deriving from ABC classes.
Release 0.99.2
API Additions
Element.datadoes now derive from MutableMapping and implements all its
methods.
Improvements
- Derive
ChildGenerator,HTMLChildGenerator, andElementfrom
Sized.
Bug Fixes
- Fix a few stubs.
- Fix incorrect usage of
AnyStr.
Release 0.99.1
API-Incompatible Changes
- html_attribute() at al. are now directly implemented using the descriptor
protocol, and not derived from property.
Improvements
- Add stub files.
Release 0.99.0
First Beta Release
API Additions
- Add
generate_html_string(). - Add
css_class_attribute(). - Add Checkbox (
<input type="checkbox">), RadioButton (<input type="radio">), and Label (<label>).
API-Incompatible Changes
- Remove
html_attribute()fromhtmlgen.element.
Improvements
- Render CSS classes alphabetically for easier unit testing.
Bug Fixes
- Fix PendingDeprecationWarnings.