| 1 |
cairocffi changelog |
| 2 |
------------------- |
| 3 |
|
| 4 |
|
| 5 |
Version 1.7.1 |
| 6 |
............. |
| 7 |
|
| 8 |
Released on 2024-06-18 |
| 9 |
|
| 10 |
* `#227 <https://github.com/Kozea/cairocffi/pull/227>`_: |
| 11 |
Add get_hairline() and set_hairline() functions |
| 12 |
|
| 13 |
|
| 14 |
Version 1.7.0 |
| 15 |
............. |
| 16 |
|
| 17 |
Released on 2024-04-27 |
| 18 |
|
| 19 |
* Drop Python 3.7 support, add Python 3.12 support |
| 20 |
* `#221 <https://github.com/Kozea/cairocffi/pull/225>`_: |
| 21 |
Add environment variable to set folder where DLLs are installed on Windows |
| 22 |
* `#225 <https://github.com/Kozea/cairocffi/pull/225>`_: |
| 23 |
Use Ruff instead of Flake8 and isort |
| 24 |
|
| 25 |
|
| 26 |
Version 1.6.1 |
| 27 |
............. |
| 28 |
|
| 29 |
Released on 2023-07-24 |
| 30 |
|
| 31 |
* `#217 <https://github.com/Kozea/cairocffi/issues/217>`_: |
| 32 |
Repair installation with PyInstaller |
| 33 |
|
| 34 |
|
| 35 |
Version 1.6.0 |
| 36 |
............. |
| 37 |
|
| 38 |
Released on 2023-06-12 |
| 39 |
|
| 40 |
**This version uses a new CFFI mode that may break your program.** |
| 41 |
|
| 42 |
CairoCFFI now uses Flit for packaging and is also distributed as a Python |
| 43 |
wheel. |
| 44 |
|
| 45 |
Please test carefully and don’t hesitate to report issues before using it in |
| 46 |
production. |
| 47 |
|
| 48 |
* `#216 <https://github.com/Kozea/cairocffi/pull/216>`_: |
| 49 |
Use ABI-level in-line CFFI mode |
| 50 |
|
| 51 |
|
| 52 |
Version 1.5.1 |
| 53 |
............. |
| 54 |
|
| 55 |
Released on 2023-04-15 |
| 56 |
|
| 57 |
* `#212 <https://github.com/Kozea/cairocffi/issues/212>`_: |
| 58 |
Bring back XCB support during wheel generation |
| 59 |
|
| 60 |
|
| 61 |
Version 1.5.0 |
| 62 |
............. |
| 63 |
|
| 64 |
Released on 2023-03-17 |
| 65 |
|
| 66 |
* `#106 <https://github.com/Kozea/cairocffi/issues/106>`_, |
| 67 |
`#200 <https://github.com/Kozea/cairocffi/issues/200>`_: |
| 68 |
Fallback to manual PNG file creation on hardened systems |
| 69 |
* `#210 <https://github.com/Kozea/cairocffi/pull/210>`_: |
| 70 |
Use pyproject.toml for packaging and remove other useless files |
| 71 |
|
| 72 |
|
| 73 |
Version 1.4.0 |
| 74 |
............. |
| 75 |
|
| 76 |
Released on 2022-09-23 |
| 77 |
|
| 78 |
* `#205 <https://github.com/Kozea/cairocffi/pull/205>`_: |
| 79 |
Use pikepdf to parse generated PDF |
| 80 |
* `#171 <https://github.com/Kozea/cairocffi/pull/171>`_: |
| 81 |
Don’t use deprecated pytest-runner anymore |
| 82 |
|
| 83 |
|
| 84 |
Version 1.3.0 |
| 85 |
............. |
| 86 |
|
| 87 |
Released on 2021-10-04 |
| 88 |
|
| 89 |
* `2cd512d <https://github.com/Kozea/cairocffi/commit/2cd512d>`_: |
| 90 |
Drop Python 3.6 support |
| 91 |
* `#196 <https://github.com/Kozea/cairocffi/pull/196>`_: |
| 92 |
Fix import `constants.py` import |
| 93 |
* `#169 <https://github.com/Kozea/cairocffi/pull/169>`_: |
| 94 |
Add extra library name "cairo-2.dll" |
| 95 |
* `#178 <https://github.com/Kozea/cairocffi/pull/178>`_: |
| 96 |
Workaround for testing date string with cairo 1.17.4 |
| 97 |
* `#186 <https://github.com/Kozea/cairocffi/pull/186>`_: |
| 98 |
Fix link in documentation |
| 99 |
* `#195 <https://github.com/Kozea/cairocffi/pull/195>`_: |
| 100 |
Fix typo in documentation |
| 101 |
* `#184 <https://github.com/Kozea/cairocffi/pull/184>`_, |
| 102 |
`a4fc2a7 <https://github.com/Kozea/cairocffi/commit/a4fc2a7>`_: |
| 103 |
Clean .gitignore |
| 104 |
|
| 105 |
|
| 106 |
Version 1.2.0 |
| 107 |
............. |
| 108 |
|
| 109 |
Released on 2020-10-29 |
| 110 |
|
| 111 |
* `#152 <https://github.com/Kozea/cairocffi/pull/152>`_: |
| 112 |
Add NumPy support |
| 113 |
* `#143 <https://github.com/Kozea/cairocffi/issues/143>`_: |
| 114 |
Make write_to_png function work on hardened systems |
| 115 |
* `#156 <https://github.com/Kozea/cairocffi/pull/156>`_: |
| 116 |
Use major version name to open shared libraries |
| 117 |
* `#165 <https://github.com/Kozea/cairocffi/pull/165>`_: |
| 118 |
Don’t list setuptools as required for installation |
| 119 |
|
| 120 |
|
| 121 |
Version 1.1.0 |
| 122 |
............. |
| 123 |
|
| 124 |
Released on 2019-09-05 |
| 125 |
|
| 126 |
* `#135 <https://github.com/Kozea/cairocffi/pull/135>`_, |
| 127 |
`#127 <https://github.com/Kozea/cairocffi/pull/127>`_, |
| 128 |
`#119 <https://github.com/Kozea/cairocffi/pull/119>`_: |
| 129 |
Clean the way external libraries are found |
| 130 |
* `#126 <https://github.com/Kozea/cairocffi/pull/126>`_: |
| 131 |
Remove const char* elements from cdef |
| 132 |
* Support Cairo features up to 1.17.2 |
| 133 |
* Fix documentation generation |
| 134 |
|
| 135 |
|
| 136 |
Version 1.0.2 |
| 137 |
............. |
| 138 |
|
| 139 |
Released on 2019-02-15 |
| 140 |
|
| 141 |
* `#123 <https://github.com/Kozea/cairocffi/issues/123>`_: |
| 142 |
Rely on a recent version of setuptools to handle VERSION |
| 143 |
|
| 144 |
|
| 145 |
Version 1.0.1 |
| 146 |
............. |
| 147 |
|
| 148 |
Released on 2019-02-12 |
| 149 |
|
| 150 |
* `#120 <https://github.com/Kozea/cairocffi/issues/120>`_: |
| 151 |
Don't delete _generated modules on ffi_build import |
| 152 |
|
| 153 |
|
| 154 |
Version 1.0.0 |
| 155 |
............. |
| 156 |
|
| 157 |
Released on 2019-02-08 |
| 158 |
|
| 159 |
6 years after its first release, cairocffi can now be considered as stable. |
| 160 |
|
| 161 |
* Drop Python 2.6, 2.7 and 3.4 support |
| 162 |
* Test with Python 3.7 |
| 163 |
* Clean code, tests and packaging |
| 164 |
|
| 165 |
|
| 166 |
Version 0.9.0 |
| 167 |
............. |
| 168 |
|
| 169 |
Released on 2018-08-06 |
| 170 |
|
| 171 |
* Drop Python 3.2 and 3.3 support |
| 172 |
* Test with PyPy and PyPy3 |
| 173 |
* `#114 <https://github.com/Kozea/cairocffi/pull/114>`_: |
| 174 |
Fix test compatibility with Cairo 1.15.12 |
| 175 |
* `#112 <https://github.com/Kozea/cairocffi/pull/112>`_: |
| 176 |
Add cairo library name from PyGObject for Windows |
| 177 |
* Fix ``pango_example.py`` |
| 178 |
* `#85 <https://github.com/Kozea/cairocffi/issues/85>`_: |
| 179 |
Fix crash with xbc tests |
| 180 |
* Clean documentation |
| 181 |
* Support Cairo features up to 1.15.12 |
| 182 |
|
| 183 |
|
| 184 |
Version 0.8.1 |
| 185 |
............. |
| 186 |
|
| 187 |
Released on 2018-05-30 |
| 188 |
|
| 189 |
* `#98 <https://github.com/Kozea/cairocffi/pull/98>`_: |
| 190 |
Add width and height options to pixbuf.decode_to_image_surface |
| 191 |
* `#112 <https://github.com/Kozea/cairocffi/pull/112>`_: |
| 192 |
Add cairo library name from PyGObject for Windows |
| 193 |
|
| 194 |
|
| 195 |
Version 0.8.0 |
| 196 |
............. |
| 197 |
|
| 198 |
Released on 2017-02-03 |
| 199 |
|
| 200 |
* Follow semver |
| 201 |
* `#76 <https://github.com/Kozea/cairocffi/issues/76>`_: |
| 202 |
Avoid implicit relative import |
| 203 |
* `#74 <https://github.com/Kozea/cairocffi/pull/74>`_: |
| 204 |
Use utf-8 instead of utf8 in headers |
| 205 |
* `#73 <https://github.com/Kozea/cairocffi/issues/73>`_: |
| 206 |
Keep cairo library loaded until all relevant objects are freed |
| 207 |
* `#86 <https://github.com/Kozea/cairocffi/pull/86>`_: |
| 208 |
Add cairo_quartz_* functions for MacOS |
| 209 |
* Use the default ReadTheDocs theme |
| 210 |
* Fix implicit casts |
| 211 |
|
| 212 |
|
| 213 |
Version 0.7.2 |
| 214 |
............. |
| 215 |
|
| 216 |
Released on 2015-08-04 |
| 217 |
|
| 218 |
* Use ctypes.util.find_library with dlopen. |
| 219 |
|
| 220 |
|
| 221 |
Version 0.7.1 |
| 222 |
............. |
| 223 |
|
| 224 |
Released on 2015-06-22 |
| 225 |
|
| 226 |
* Allow installing cairocffi when cffi<1.0 is installed. |
| 227 |
|
| 228 |
|
| 229 |
Version 0.7 |
| 230 |
........... |
| 231 |
|
| 232 |
Released on 2015-06-05 |
| 233 |
|
| 234 |
* `#47 <https://github.com/SimonSapin/cairocffi/pull/47>`_: |
| 235 |
Fix PyPy support. |
| 236 |
* `#60 <https://github.com/SimonSapin/cairocffi/pull/60>`_: |
| 237 |
Use CFFI-1.0 methods. |
| 238 |
* `#61 <https://github.com/SimonSapin/cairocffi/pull/61>`_: |
| 239 |
Allow ffi import when package is pip installed. |
| 240 |
|
| 241 |
|
| 242 |
Version 0.6 |
| 243 |
........... |
| 244 |
|
| 245 |
Released on 2014-09-23. |
| 246 |
|
| 247 |
* `#39 <https://github.com/SimonSapin/cairocffi/pull/39>`_: |
| 248 |
Add :class:`xcb.XCBSurface`. |
| 249 |
* `#42 <https://github.com/SimonSapin/cairocffi/pull/42>`_: |
| 250 |
Add :class:`Win32PrintingSurface`. |
| 251 |
|
| 252 |
|
| 253 |
Version 0.5.4 |
| 254 |
............. |
| 255 |
|
| 256 |
Released on 2014-05-23. |
| 257 |
|
| 258 |
* Stop testing with tox on Python 3.1, start on 3.4 |
| 259 |
* Start testing pushes and pull requests |
| 260 |
`on Travis-CI <https://travis-ci.org/SimonSapin/cairocffi>`_ |
| 261 |
* Add more variants of the library names to try with `dlopen()`. |
| 262 |
This seems to be necessary on OpenBSD. |
| 263 |
|
| 264 |
|
| 265 |
Version 0.5.3 |
| 266 |
............. |
| 267 |
|
| 268 |
Released on 2014-03-11. |
| 269 |
|
| 270 |
Fix `#28 <https://github.com/SimonSapin/cairocffi/pull/28>`_: |
| 271 |
Add another dynamic library name to try to load, for OS X. |
| 272 |
|
| 273 |
|
| 274 |
Version 0.5.2 |
| 275 |
............. |
| 276 |
|
| 277 |
Released on 2014-02-27. |
| 278 |
|
| 279 |
Fix `#21 <https://github.com/SimonSapin/cairocffi/pull/21>`_: |
| 280 |
``UnicodeDecodeError`` when installing with a non-UTF-8 locale. |
| 281 |
|
| 282 |
|
| 283 |
Version 0.5.1 |
| 284 |
............. |
| 285 |
|
| 286 |
Released on 2013-07-16. |
| 287 |
|
| 288 |
Fix `#15 <https://github.com/SimonSapin/cairocffi/pull/15>`_: |
| 289 |
Work around `CFFI bug #92 <https://bitbucket.org/cffi/cffi/issue/92/>`_ |
| 290 |
that caused memory leaks when file-like ``target`` objects |
| 291 |
are passed to :meth:`Surface.write_to_png`, :class:`PDFSurface`, |
| 292 |
:class:`PSSurface` and :class:`SVGSurface`. |
| 293 |
|
| 294 |
|
| 295 |
Version 0.5 |
| 296 |
........... |
| 297 |
|
| 298 |
Released on 2013-06-20. |
| 299 |
|
| 300 |
Change :func:`~cairocffi.pixbuf.decode_to_image_surface` |
| 301 |
to raise a specific :exc:`~cairocffi.pixbuf.ImageLoadingError` exception |
| 302 |
instead of a generic :exc:`ValueError`. |
| 303 |
This new exception type inherits from :exc:`ValueError`. |
| 304 |
|
| 305 |
|
| 306 |
Version 0.4.3 |
| 307 |
............. |
| 308 |
|
| 309 |
Released on 2013-05-27. |
| 310 |
|
| 311 |
* Fix `#10 <https://github.com/SimonSapin/cairocffi/issues/10>`_: |
| 312 |
Pretend to be pycairo 1.10.0, for compatibility with matplotlib |
| 313 |
which does version detection. |
| 314 |
* Fix `WeasyPrint#94 <https://github.com/Kozea/WeasyPrint/issues/94>`_: |
| 315 |
Make (again??) GTK acutally optional for PixBuf support. |
| 316 |
|
| 317 |
|
| 318 |
Version 0.4.2 |
| 319 |
............. |
| 320 |
|
| 321 |
Released on 2013-05-03. |
| 322 |
|
| 323 |
* Fix `#9 <https://github.com/SimonSapin/cairocffi/issues/9>`_: |
| 324 |
Make GTK acutally optional for PixBuf support. |
| 325 |
|
| 326 |
|
| 327 |
Version 0.4.1 |
| 328 |
............. |
| 329 |
|
| 330 |
Released on 2013-04-30. |
| 331 |
|
| 332 |
* Various documentation improvements |
| 333 |
* Bug fixes: |
| 334 |
|
| 335 |
* Fix error handling in :meth:`ImageSurface.create_from_png`. |
| 336 |
* Fix :meth:`ScaledFont.text_to_glyphs` and :meth:`Context.show_text_glyphs` |
| 337 |
with new-style enums. |
| 338 |
|
| 339 |
|
| 340 |
Version 0.4 |
| 341 |
........... |
| 342 |
|
| 343 |
Released on 2013-04-06. |
| 344 |
|
| 345 |
No change since 0.3.1, but depend on CFFI < 0.6 |
| 346 |
because of backward-incompatible changes. |
| 347 |
cairocffi 0.4 will require CFFI 0.6 or more. |
| 348 |
|
| 349 |
|
| 350 |
.. code-block:: python |
| 351 |
|
| 352 |
# Before cairocffi 0.4: |
| 353 |
surface = cairocffi.ImageSurface('ARGB32', 300, 400) |
| 354 |
|
| 355 |
# All cairocffi versions: |
| 356 |
surface = cairocffi.ImageSurface(cairocffi.FORMAT_ARGB32, 300, 400) |
| 357 |
|
| 358 |
* Compatibility with CFFI 0.6 |
| 359 |
|
| 360 |
|
| 361 |
Version 0.3.2 |
| 362 |
............. |
| 363 |
|
| 364 |
Released on 2013-03-29. |
| 365 |
|
| 366 |
No change since 0.3.1, but depend on CFFI < 0.6 |
| 367 |
because of backward-incompatible changes. |
| 368 |
cairocffi 0.4 will require CFFI 0.6 or more. |
| 369 |
|
| 370 |
|
| 371 |
Version 0.3.1 |
| 372 |
............. |
| 373 |
|
| 374 |
Released on 2013-03-18. |
| 375 |
|
| 376 |
Fix handling of GDK-PixBuf errors. |
| 377 |
|
| 378 |
|
| 379 |
Version 0.3 |
| 380 |
........... |
| 381 |
|
| 382 |
Released on 2013-02-26. |
| 383 |
|
| 384 |
* Add :mod:`cairocffi.pixbuf`, for loading images with GDK-PixBuf. |
| 385 |
* Add iteration and item access on :class:`Matrix`. |
| 386 |
* Better `Windows support`_ by trying to load ``libcairo-2.dll`` |
| 387 |
|
| 388 |
.. _Windows support: http://packages.python.org/cairocffi/overview.html#installing-cairo-on-windows |
| 389 |
|
| 390 |
|
| 391 |
Version 0.2 |
| 392 |
........... |
| 393 |
|
| 394 |
Released on 2013-01-08. |
| 395 |
|
| 396 |
Added :class:`RecordingSurface`. |
| 397 |
|
| 398 |
|
| 399 |
Version 0.1 |
| 400 |
........... |
| 401 |
|
| 402 |
Released on 2013-01-07. |
| 403 |
|
| 404 |
First PyPI release. |