css-inline 0.20.2__tar.gz → 0.21.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {css_inline-0.20.2 → css_inline-0.21.1}/PKG-INFO +3 -4
  2. {css_inline-0.20.2/bindings/python → css_inline-0.21.1}/README.md +1 -1
  3. {css_inline-0.20.2 → css_inline-0.21.1}/bindings/python/CHANGELOG.md +25 -1
  4. {css_inline-0.20.2 → css_inline-0.21.1}/bindings/python/Cargo.lock +245 -354
  5. {css_inline-0.20.2 → css_inline-0.21.1}/bindings/python/Cargo.toml +2 -2
  6. {css_inline-0.20.2 → css_inline-0.21.1/bindings/python}/README.md +1 -1
  7. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/Cargo.toml +10 -6
  8. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/README.md +1 -1
  9. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/document.rs +5 -7
  10. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/element.rs +12 -18
  11. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/attr_value.rs +1 -1
  12. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/serializer.rs +44 -9
  13. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/parser.rs +15 -0
  14. {css_inline-0.20.2 → css_inline-0.21.1}/pyproject.toml +2 -3
  15. {css_inline-0.20.2 → css_inline-0.21.1}/LICENSE +0 -0
  16. {css_inline-0.20.2 → css_inline-0.21.1}/bindings/python/build.rs +0 -0
  17. {css_inline-0.20.2 → css_inline-0.21.1}/bindings/python/src/lib.rs +0 -0
  18. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/benches/inliner.rs +0 -0
  19. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/rustfmt.toml +0 -0
  20. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/error.rs +0 -0
  21. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/attributes.rs +0 -0
  22. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/iter.rs +0 -0
  23. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/mod.rs +0 -0
  24. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/node.rs +0 -0
  25. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/parser.rs +0 -0
  26. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/local_name.rs +0 -0
  27. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/mod.rs +0 -0
  28. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/parser.rs +0 -0
  29. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/pseudo_classes.rs +0 -0
  30. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/pseudo_elements.rs +0 -0
  31. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/html/selectors/selector_impl.rs +0 -0
  32. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/lib.rs +0 -0
  33. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/main.rs +0 -0
  34. {css_inline-0.20.2 → css_inline-0.21.1}/css-inline/src/resolver.rs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: css-inline
3
- Version: 0.20.2
3
+ Version: 0.21.1
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -8,7 +8,6 @@ Classifier: Operating System :: MacOS :: MacOS X
8
8
  Classifier: Operating System :: Microsoft :: Windows
9
9
  Classifier: Operating System :: POSIX
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.9
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
14
13
  Classifier: Programming Language :: Python :: 3.12
@@ -21,7 +20,7 @@ License-File: LICENSE
21
20
  Summary: High-performance library for inlining CSS into HTML 'style' attributes
22
21
  Keywords: css,html,email,stylesheet,inlining
23
22
  Author-email: Dmitry Dygalo <dmitry@dygalo.dev>
24
- Requires-Python: >=3.9
23
+ Requires-Python: >=3.10
25
24
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
26
25
  Project-URL: homepage, https://github.com/Stranger6667/css-inline/tree/master/bindings/python
27
26
  Project-URL: repository, https://github.com/Stranger6667/css-inline
@@ -72,7 +71,7 @@ into:
72
71
  - Can process multiple documents in parallel
73
72
  - Works on Linux, Windows, macOS and in the browser via PyOdide
74
73
  - Supports HTML5 & CSS3
75
- - Tested on CPython 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 and PyPy 3.11.
74
+ - Tested on CPython 3.10, 3.11, 3.12, 3.13, 3.14 and PyPy 3.11.
76
75
 
77
76
  ## Playground
78
77
 
@@ -44,7 +44,7 @@ into:
44
44
  - Can process multiple documents in parallel
45
45
  - Works on Linux, Windows, macOS and in the browser via PyOdide
46
46
  - Supports HTML5 & CSS3
47
- - Tested on CPython 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 and PyPy 3.11.
47
+ - Tested on CPython 3.10, 3.11, 3.12, 3.13, 3.14 and PyPy 3.11.
48
48
 
49
49
  ## Playground
50
50
 
@@ -2,6 +2,28 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.21.1] - 2026-08-08
6
+
7
+ ### Fixed
8
+
9
+ - With `keep_at_rules` enabled, at-rules without a block (e.g. `@import`) lost their prelude and terminator, fusing with the following rule (`@import@media ...`) and producing a stylesheet browsers reject entirely.
10
+
11
+ ## [0.21.0] - 2026-06-16
12
+
13
+ ### Removed
14
+
15
+ - Support for Python 3.9.
16
+
17
+ ### Changed
18
+
19
+ - Update `selectors` to `0.38`.
20
+ - Update `cssparser` to `0.37`.
21
+ - Update `PyO3` to `0.29.0`.
22
+
23
+ ### Fixed
24
+
25
+ - `width`/`height` HTML attributes not derived from an element's own inline `style` attribute. [#725](https://github.com/Stranger6667/css-inline/issues/725)
26
+
5
27
  ## [0.20.2] - 2026-04-02
6
28
 
7
29
  ### Fixed
@@ -569,7 +591,9 @@
569
591
 
570
592
  - Initial public release
571
593
 
572
- [Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.20.2...HEAD
594
+ [Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.21.1...HEAD
595
+ [0.21.1]: https://github.com/Stranger6667/css-inline/compare/python-v0.21.0...python-v0.21.1
596
+ [0.21.0]: https://github.com/Stranger6667/css-inline/compare/python-v0.20.2...python-v0.21.0
573
597
  [0.20.2]: https://github.com/Stranger6667/css-inline/compare/python-v0.20.1...python-v0.20.2
574
598
  [0.20.1]: https://github.com/Stranger6667/css-inline/compare/python-v0.20.0...python-v0.20.1
575
599
  [0.20.0]: https://github.com/Stranger6667/css-inline/compare/python-v0.19.1...python-v0.20.0