diff --git a/pikepdf-10.0.2.tar.gz b/pikepdf-10.0.2.tar.gz deleted file mode 100644 index 11826c6..0000000 --- a/pikepdf-10.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c85a2526253e35575edb2e28cdc740d004be4b7c5fda954f0e721ee1c423a52 -size 4548116 diff --git a/pikepdf-10.1.0.tar.gz b/pikepdf-10.1.0.tar.gz new file mode 100644 index 0000000..08e2f75 --- /dev/null +++ b/pikepdf-10.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d75778283c354580a462d31bd4334f6ba92225e41ccd8bb949ec6e98a23d4eb2 +size 4566184 diff --git a/python-pikepdf.changes b/python-pikepdf.changes index db0de76..a456962 100644 --- a/python-pikepdf.changes +++ b/python-pikepdf.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Sun Dec 28 19:30:51 UTC 2025 - Dirk Müller + +- update to 10.1.0: + * Added {class}`pikepdf.NamePath` for ergonomic access to deeply + nested PDF structures. NamePath provides a single-operation + traversal with helpful error messages showing exactly where + traversal failed. + * Added explicit scalar types: {class}`pikepdf.Integer`, + {class}`pikepdf.Boolean`, and {class}`pikepdf.Real`. When + explicit conversion mode is enabled, these types + are returned instead of Python native types (`int`, `bool`, + `Decimal`), enabling better type safety and static type checking. + * Added {func}`pikepdf.set_object_conversion_mode` and + {func}`pikepdf.get_object_conversion_mode` to control + conversion behavior globally. + * Added {func}`pikepdf.explicit_conversion` context manager for + temporarily enabling explicit conversion mode. + * Added safe accessor methods to + {class}`pikepdf.Object`: {meth}`~pikepdf.Object.as_int`, + {meth}`~pikepdf.Object.as_bool`, {meth}`~pikepdf.Object.as_float`, and + {meth}`~pikepdf.Object.as_decimal` with optional default parameters + for type-safe access to scalar values. + * `pikepdf.Integer` and `pikepdf.Real` now support full arithmetic + operations with both `int` and `float` operands, including true + division (`/`). + ------------------------------------------------------------------- Sat Nov 15 12:53:32 UTC 2025 - ecsos diff --git a/python-pikepdf.spec b/python-pikepdf.spec index 40de0d6..7eb8f5d 100644 --- a/python-pikepdf.spec +++ b/python-pikepdf.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-pikepdf -Version: 10.0.2 +Version: 10.1.0 Release: 0 Summary: Read and write PDFs with Python, powered by qpdf License: MPL-2.0