Debian Codegraph @

CHANGELOG.rst

raw
1 .. -*- mode: rst -*-
2
3 ChangeLog
4 =========
5
6 1.5.1 (2023-01-07)
7 ------------------
8 - Final fix to conversion from shorthand quadratic to cubic bézier (#372).
9
10 1.5.0 (2023-01-05)
11 ------------------
12 - Add support for ``ex`` units (assuming for em/2).
13 - Add support for ``image/jpg`` embedded images (in addition to ``image/jpeg``).
14 - Avoid crash on ``@import`` rules in stylesheets. The rules are simply ignored
15 (#285).
16 - Fix conversion from shorthand quadratic to cubic bézier (#364).
17
18 1.4.1 (2022-08-05)
19 ------------------
20 - No source code changes, only fixed a leftover set_trace() in the released code
21 (#352).
22
23 1.4.0 (2022-08-05)
24 ------------------
25 - Include ``tests/samples/others/*.svg`` in source distribution (#341).
26 - Render leading and trailing text content in text nodes (#343).
27 - Better integration with cssselect2 to support a wider range of CSS selectors
28 (#346).
29
30 1.3.0 (2022-05-18)
31 ------------------
32
33 - Support mmult import from reportlab < 3.5.61 (#316).
34 - Make zero-length Line, PolyLine and Polygon appear in PDFs when their stroke
35 value is non-zero (#319).
36 - ``<symbol>`` nodes now only appears in documents when they are
37 referenced, not on their initial appearance (#328).
38 - If only rx or ry is defined on a ``<rect>``, the value is used for both.
39 - Support non-prefixed ``href`` attribute added in SVG 2 (#330).
40 - Fixed parsing of empty SVG style nodes (#325).
41 - Handle content of multiple SVG style nodes (#326).
42 - Better font caching for some font names (#338).
43
44 1.2.1 (2022-01-27)
45 ------------------
46
47 - Revert to scripts usage instead of console_scripts during setup (#313).
48
49 1.2.0 (2022-01-20)
50 ------------------
51
52 - dropped support for Python 3.6 and added official support for Python 3.10.
53 - improved support for scientific notation in paths (#277)
54 - if some path has a color with alpha value, it also sets the default fill or
55 stroke opacity of the resulting object.
56 - matrix transforms on groups are combined with other transforms instead of
57 replacing them.
58
59 1.1.0 (2021-04-10)
60 ------------------
61
62 - honor cascading when applying CSS rules (#253)
63 - ignore !important statement in CSS values (#227)
64 - svg2rlg accept pathlib.Path input (#97)
65 - better handling of font variants (bold, italic)
66 - a demo for using svglib inside a Streamlit application in /demos
67 - add a svg2pdf man page
68 - dropped official support for Python 3.5 and modernized to 3.6+
69 - added official support for Python 3.9.
70
71 1.0.1 (2020-08-26)
72 ------------------
73
74 - avoid stroking clipping paths (#238)
75 - when converting percentage values in embedded SVGs, consider the direct svg
76 parent node (#246)
77 - fixed rounded rects artifacts when rx/ry values are too high (#250)
78 - avoid stroking rects when strokeWidth is 0 (#250)
79
80 1.0.0 (2020-03-22)
81 ------------------
82
83 - dropped Python 2 support
84 - fixed references to <defs> content when placed middle or end of
85 SVG documents (#225)
86 - fixed elliptic arcs reading when arc flags are condensed (#232)
87
88 0.9.4 (2020-03-22)
89 ------------------
90
91 - disabled external entity loading by default (#229 - CVE-2020-10799)
92
93 0.9.3 (2019-11-02)
94 ------------------
95
96 - WARNING: this is the last release supporting Python 2!
97 - added support for more color values (hex with alpha, rgba(), etc.)
98 (#213, #115)
99 - handle text positioning when x, y, dx, dy have a list of values
100 - fixed styles precedence issue (#211)
101
102 0.9.2 (2019-07-12)
103 ------------------
104
105 - fixed license mention in the svg2pdf script (#194)
106 - support the whole range of HTML color names for color styles (#203)
107 - fixed a division by zero error when width/height are missing in main viewBox
108 (#195)
109
110
111 0.9.1 (2019-06-22)
112 ------------------
113
114 - fixed rendering of circular arcs in some edge cases (#189)
115 - support for percentage attribute values has been added (#141)
116 - SVG viewbox is now properly scaled to its width/height attributes (#121)
117 - embedded external SVG files or file fragments are now rendered (#175)
118 - support <rect> as a clipping source
119 - prevented crash when a relative file path is used in a memory-only SVG
120 source (#173)
121 - fixed image translation (by y value instead of x)
122
123 0.9.0 (2018-12-08)
124 ------------------
125
126 - fixed svgz output on Python 3
127 - kept PDF standard fonts untouched (#89)
128 - added basic support for non-standard fonts (#89, #107)
129 - allowed list of font names
130 - better merge style attributes from parent nodes (#119)
131 - fixed crash with strings in transform parameters
132 - handled PNGs embedded in SVG sources (#93)
133 - improved scaling of embedded SVGs (#124)
134 - added millimeter unit support
135 - fixed crash in elliptical arc calculation (#117)
136 - added experimental support for CSS style sheets (#111)
137 - allowed decimal percentage values in rgb colors
138
139 0.9.0b0 (2018-08-19)
140 --------------------
141
142 - countless improvements to be hopefully listed in more detail in 0.9.0
143
144 0.8.1 (2017-04-22)
145 ------------------
146
147 - added support for the ``stroke-opacity`` property
148 - added basic em unit support for text placement
149 - added respecting absolute coordinates for tspan
150 - fixed crash with empty path definitions
151 - symbol definitions are considered when referenced in nodes
152 - fixed compatibility with recent ReportLab versions
153
154 0.8.0 (2017-01-23)
155 ------------------
156
157 This release introduces *many* contributions by Claude Paroz, who
158 stepped forward to give this project a long needed overhaul after ca.
159 six years of taking a nap, for which I'm really very grateful! Thanks,
160 Claude!
161
162 - moved repository to https://github.com/deeplook/svglib
163 - skipped version 0.7.0 to indicate tons of fixes regarding the points below
164 - added support for elliptical arcs
165 - fixed open/closed path issues
166 - fixed clip path issues
167 - fixed text issues
168 - replaced ``minidom`` with ``lxml``
169 - added ``logging`` support
170 - added a few more sample SVG files
171 - migrated test suite from unittest to pytest
172 - improved test documentation
173
174 0.6.3 (2010-03-02)
175 ------------------
176
177 - frozen last version maintained at https://bitbucket.org/deeplook/svglib/
178
179 Sadly, no condensed changelog exists prior to version 0.6.3.