Skip to content

Releases: srittau/python-htmlgen

Release 2.0.0

Choose a tag to compare

@srittau srittau released this 22 Jul 21:03

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

Choose a tag to compare

@srittau srittau released this 06 Sep 11:05

API Additions

  • Add GenValue and GenValueGenerator to htmlgen.

Release 1.2.1

Choose a tag to compare

@srittau srittau released this 21 Aug 11:31

API Additions

  • from htmlgen import ElementBase now works.

Bug Fixes

  • Add missing ElementBase to type stubs.

Release 1.2.0

Choose a tag to compare

@srittau srittau released this 21 Aug 07:54

API Additions

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

Bug Fixes

  • Fix annotation of Heading.

Release 1.1.0

Choose a tag to compare

@srittau srittau released this 28 Jul 20:47

Improvements

  • PEP 561 support.
  • Improve type hints.

Release 1.0.0

Choose a tag to compare

@srittau srittau released this 21 Feb 16:58

No further changes

Release 0.99.3

Release 0.99.3 Pre-release
Pre-release

Choose a tag to compare

@srittau srittau released this 14 Dec 11:49

API-Incompatible Changes

  • Revert deriving from ABC classes.

Release 0.99.2

Release 0.99.2 Pre-release
Pre-release

Choose a tag to compare

@srittau srittau released this 12 Nov 15:00

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

Release 0.99.1 Pre-release
Pre-release

Choose a tag to compare

@srittau srittau released this 11 Nov 18:51

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

Release 0.99.0 Pre-release
Pre-release

Choose a tag to compare

@srittau srittau released this 28 Jun 12:32

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.