1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
|
Changelog
=========
Version 1.4.0
-------------
Released on 2024-10-24
* Support CSS Color Level 4
Version 1.3.0
-------------
Released on 2024-04-23.
* Support CSS nesting
* Deprecate parse_declaration_list, use parse_blocks_contents instead
Version 1.2.1
-------------
Released on 2022-10-18.
* Fix tests included in the source tarball
Version 1.2.0
-------------
Released on 2022-10-17.
* Drop support of Python 3.6
* Fix serialization of nested functions with no parameters
* Don’t use pytest plugins by default
Version 1.1.1
-------------
Released on 2021-11-22.
* Add support of Python 3.10.
* Include tests in source package.
Version 1.1.0
-------------
Released on 2020-10-29.
* Drop support of Python 3.5, add support of Python 3.9.
* Fix ResourceWarning in tests.
* Use Python standard library’s HSL to RGB converter.
* Use GitHub Actions for tests.
* New code structure, new packaging, new documentation.
Version 1.0.2
-------------
Released on 2019-03-21.
* Don't crash when indent tokens have no lowercase equivalent name.
Version 1.0.1
-------------
Released on 2019-03-06.
* Fix tests launched by CI.
* Parse "--" ident tokens correctly.
Version 1.0.0
-------------
Released on 2019-03-04.
* Drop Python 2.7, 3.3 and 3.4 support.
* Allow leading double dash syntax for ident tokens, allowing CSS variables to
be parsed correctly.
* Test with PyPy3.
* Force tests to parse JSON files as UTF-8.
* Clean packaging.
Version 0.6.1
-------------
Released on 2017-10-02.
* Update documentation.
Version 0.6.0
-------------
Released on 2017-08-16.
* Don't allow identifiers starting with two dashes.
* Don't use Tox for tests.
* Follow semantic versioning.
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:`tinycss2.ast.HashToken` starting with a non-ASCII character.
* Fix :func:`repr` on AST nodes.
Version 0.3
-----------
Released on 2013-12-27.
* Document all the things!
* Add serialization.
* Merge ``tinycss2.color3.parse_color_string`` behavior into
:func:`tinycss2.color3.parse_color`.
* Fix and test parsing form bytes and tokenization of <unicode-range>.
Version 0.2
-----------
Released on 2013-09-02.
* Add parsing for <An+B>, as in ``:nth-child()`` and related Selectors
pseudo-classes.
Version 0.1
-----------
Released on 2013-08-31.
First PyPI release. Contains:
* Decoding from bytes using ``@charset``.
* Tokenization.
* Parsing for "generic" rules and declarations.
* Parsing for CSS Color Level 3.
* Tests for all of the above, except for decoding from bytes.
|