Skip to content

Commit

Permalink
Changelog for v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Aug 19, 2014
1 parent 079d3da commit a64d0a6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
21 changes: 20 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
tinycss2 changelog
==================

Version 0.5
-----------

Released on 2014-08-19.

* Update for spec changes.
* Add a :attr:`~tinycss2.ast.WhitespaceToken.value` attribute
to :class:`~tinycss2.ast.WhitespaceToken`.
* **Breaking change**: CSS comments are now preserved
as :class:`~tinycss2.ast.Comment` objects by default.
Pass ``skip_comments=True`` to parsing functions to get the old behavior.
* **Breaking change**: Top-level comments and whitespace are now preserved
when parsing a stylesheet, rule list, or declaration list.
Pass ``skip_comments=True`` and ``skip_whitespace=True``
to get the old behavior.
* Test on Python 3.4 and PyPy3
* Set up continous integration on Travis-CI


Version 0.4
-----------

Released on 2014-01-04.

* Fix :class:`HashToken` starting with a non-ASCII character.
* Fix :class:`~tinycss2.ast.HashToken` starting with a non-ASCII character.
* Fix :func:`repr` on AST nodes.


Expand Down
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ without modifying tinycss or having a complex hook/plugin system.

In many cases, parts of the parsed values
(such as the :attr:`~tinycss2.ast.AtRule.content`
of a :attr:`~tinycss2.ast.AtRule`)
of a :class:`~tinycss2.ast.AtRule`)
is given as :term:`component values` that can be parsed further
with other functions.

Expand Down Expand Up @@ -154,4 +154,5 @@ Glossary
object.


.. currentmodule:: tinycss2
.. include:: ../CHANGES
2 changes: 1 addition & 1 deletion tinycss2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = '0.4'
VERSION = '0.5'


from .tokenizer import parse_component_value_list
Expand Down
2 changes: 1 addition & 1 deletion tinycss2/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Comment(Node):
'/*' <value> '*/'
Comments can be ignored by passing ``preserve_comments=False``
Comments can be ignored by passing ``skip_comments=True``
to functions such as :func:`~tinycss2.parse_component_value_list`.
.. autoattribute:: type
Expand Down

0 comments on commit a64d0a6

Please sign in to comment.