Skip to content

Commit

Permalink
document changes in version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Apr 4, 2014
1 parent 532b4a3 commit ce545e0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
News in version 0.3
===================

API Additions
-------------

* Add child-management methods and properties to ChildGenerator and
HTMLChildGenerator:
* remove()
* remove_raw() (HTMLChildGenerator only)
* children
* Add new base class NonVoidElement, derive Element from this class.
This base class can be used for elements with content that do not
support the usual container interface.
* Add document-level elements Document, HTMLRoot (<html>), Head (<head>),
Body (<body>), Title (<title>), Meta (<meta>), Script (<script>),
HeadLink (<link>), and Main (<main>).
* Add structural elements Section (<section>), Navigation (<nav>),
Aside (<aside>), Header (<header>), Footer (<footer>), and Heading
(<h1> to <h6>).
* Add list elements OrderedList (<ol>), UnorderedList (<ul>), and
ListItem (<li>).
* Add has_css_class() method to elements.

Improvements
------------

* Element attributes are now always rendered in alphabetical order. This
makes testing elements easier.

News in version 0.2
===================

Expand Down

0 comments on commit ce545e0

Please sign in to comment.