Skip to content

Commit

Permalink
Merge pull request #342 from lazka/release-1.25.0
Browse files Browse the repository at this point in the history
Release 1.25.0
  • Loading branch information
lazka authored Sep 26, 2023
2 parents dd6bdd9 + ca73676 commit 5835e4c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
16 changes: 16 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
Since version 1.11.0 Pycairo uses `Semantic Versioning <http://semver.org/>`__

.. _v1.25.0:

1.25.0 - 2023-09-26
-------------------

* Update to cairo 1.18.0 for the Windows wheel
* Provide a Windows arm64 wheel
* New APIs:

* :attr:`Status.SVG_FONT_ERROR` :pr:`334`
* :meth:`FontOptions.get_color_mode`, :meth:`FontOptions.set_color_mode`, :class:`ColorMode` :pr:`336`
* :meth:`FontOptions.set_color_palette`, :meth:`FontOptions.get_color_palette`, :attr:`COLOR_PALETTE_DEFAULT` :pr:`338`
* :meth:`FontOptions.set_custom_palette_color`, :meth:`FontOptions.get_custom_palette_color` :pr:`339`
* :attr:`TAG_CONTENT`, :attr:`TAG_CONTENT_REF` :pr:`340`
* :meth:`Pattern.get_dither`, :meth:`Pattern.set_dither`, :class:`Dither` :pr:`341`

.. _v1.24.0:

1.24.0 - 2023-06-19
Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Pycairo is a Python module providing bindings for the `cairo graphics library
<https://cairographics.org/>`__. It depends on **cairo >= 1.15.10** and works
with **Python 3.8+** and **PyPy3**. Pycairo, including this documentation, is
licensed under the `LGPL-2.1-only OR MPL-1.1 <https://spdx.org/ids-how>`__.
licensed under the `LGPL-2.1-only OR MPL-1.1 <https://spdx.dev/ids>`__.

The Pycairo bindings are designed to match the cairo C API as closely as
possible, and to deviate only in cases which are clearly better implemented in
Expand All @@ -23,10 +23,6 @@ Installing Pycairo requires cairo including its headers. For more info see

----

.. image:: https://raw.githubusercontent.com/pygobject/pycairo/main/docs/images/example.svg
:align: right
:width: 200px

.. code:: python
import cairo
Expand All @@ -48,6 +44,10 @@ Installing Pycairo requires cairo including its headers. For more info see
context.line_to(x3, y3)
context.stroke()
.. image:: https://raw.githubusercontent.com/pygobject/pycairo/main/docs/images/example.svg
:width: 320px
:align: center

----

Features of the Pycairo bindings:
Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
:width: 370px

|
|
.. toctree::
:maxdepth: 1
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project(
'pycairo', 'c',
version: '1.24.1',
version: '1.25.0',
meson_version: '>= 0.56.0',
license: 'LGPL-2.1-only OR MPL-1.1',
default_options: [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pycairo"
version = "1.24.1"
version = "1.25.0"
description = "Python interface for cairo"
authors = ["Christoph Reiter"]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from distutils import sysconfig


PYCAIRO_VERSION = '1.24.1'
PYCAIRO_VERSION = '1.25.0'
CAIRO_VERSION_REQUIRED = '1.15.10'

PYCAIRO_BUILD_NO_PKGCONFIG = os.environ.get("PYCAIRO_BUILD_NO_PKGCONFIG", False)
Expand Down

0 comments on commit 5835e4c

Please sign in to comment.