Skip to content

Releases: Kozea/tinycss2

0.5

12 Sep 17:02
Compare
Choose a tag to compare
0.5
  • Update for spec changes
  • Add a ast.WhitespaceToken.value attribute to ast.WhitespaceToken
  • Breaking change: CSS comments are now preserved as 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

0.4

12 Sep 17:00
Compare
Choose a tag to compare
0.4
  • Fix ast.HashToken starting with a non-ASCII character
  • Fix repr on AST nodes

0.3

12 Sep 16:59
Compare
Choose a tag to compare
0.3
  • Document all the things!
  • Add serialization
  • Merge color3.parse_color_string behavior into color3.parse_color
  • Fix and test parsing form bytes and tokenization of

0.2

12 Sep 16:58
Compare
Choose a tag to compare
0.2

Add parsing for <An+B>, as in :nth-child() and related Selectors pseudo-classes.

0.1

12 Sep 16:57
Compare
Choose a tag to compare
0.1

First PyPI release. Contains:

  • Decoding from bytes (@charset, etc.)
  • Tokenization
  • Parsing for "generic" rules and declarations
  • Parsing for CSS Color Level 3
  • Tests for all of the above, except for decoding from bytes.