Skip to content

Releases: srittau/python-htmlgen

Release 2.0.0

22 Jul 21:03
Compare
Choose a tag to compare

Incompatible Changes

  • Drop support for Python 2.7 and 3.4.

API Additions

  • Add Video element.
  • Add Button.disabled.
  • Add autocomplete attribute to Input, TextArea, Select, and Form.
  • Add enum_attribute.

Release 1.2.2

06 Sep 11:05
Compare
Choose a tag to compare

API Additions

  • Add GenValue and GenValueGenerator to htmlgen.

Release 1.2.1

21 Aug 11:31
Compare
Choose a tag to compare

API Additions

  • from htmlgen import ElementBase now works.

Bug Fixes

  • Add missing ElementBase to type stubs.

Release 1.2.0

21 Aug 07:54
Compare
Choose a tag to compare

API Additions

  • Make ElementBase public.
  • Add GenValue and GenValueGenerator type aliases.

Bug Fixes

  • Fix annotation of Heading.

Release 1.1.0

28 Jul 20:47
Compare
Choose a tag to compare

Improvements

  • PEP 561 support.
  • Improve type hints.

Release 1.0.0

21 Feb 16:58
Compare
Choose a tag to compare

No further changes

Release 0.99.3

14 Dec 11:49
Compare
Choose a tag to compare
Release 0.99.3 Pre-release
Pre-release

API-Incompatible Changes

  • Revert deriving from ABC classes.

Release 0.99.2

12 Nov 15:00
Compare
Choose a tag to compare
Release 0.99.2 Pre-release
Pre-release

API Additions

  • Element.data does now derive from MutableMapping and implements all its
    methods.

Improvements

  • Derive ChildGenerator, HTMLChildGenerator, and Element from
    Sized.

Bug Fixes

  • Fix a few stubs.
  • Fix incorrect usage of AnyStr.

Release 0.99.1

11 Nov 18:51
Compare
Choose a tag to compare
Release 0.99.1 Pre-release
Pre-release

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

28 Jun 12:32
Compare
Choose a tag to compare
Release 0.99.0 Pre-release
Pre-release

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() from htmlgen.element.

Improvements

  • Render CSS classes alphabetically for easier unit testing.

Bug Fixes

  • Fix PendingDeprecationWarnings.