Skip to content

Tags: PSPDFKit/nutrient-dws-client-python

Tags

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release/3.0.0 (#45)

* feat: add security changes

* Update docs/MIGRATION.md

Co-authored-by: Nick Winder <nfxdevelopment@gmail.com>

* Update docs/MIGRATION.md

Co-authored-by: Nick Winder <nfxdevelopment@gmail.com>

* Rename FileInputWithUrl to FileInput, add UrlFileInput alias

Replace the ambiguous FileInputWithUrl name with explicit type aliases:
- LocalFileInput = Path | bytes | BinaryIO (unchanged)
- UrlFileInput = str (new, explicit URL type)
- FileInput = UrlFileInput | LocalFileInput (combined, replaces FileInputWithUrl)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix rotate and delete_pages with negative page indices

- rotate(): change `start > 0` to `start != 0` so prefix pages are
  included when a negative start index is used (e.g. start=-3)
- delete_pages(): rewrite keep-range algorithm to handle negative
  delete indices; previously all-negative inputs raised a spurious
  ValidationError instead of keeping the correct page range

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix ruff per-file-ignores and remove unused variable in test

- pyproject.toml: add D102 to tests/* per-file-ignores so test methods
  are not required to have docstrings (the comment indicated this intent
  but the empty array had no effect)
- test_client.py: remove unused `result` assignment in
  test_password_protect_pdf_with_permissions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Sort __all__ in __init__.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Nick Winder <nfxdevelopment@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

v1.0.2

Toggle v1.0.2's commit message
v1.0.2 - Major Feature Release

Adds 13 new Direct API methods, enhanced watermark support, and comprehensive stability improvements.

- 13 new Direct API methods for PDF manipulation
- Image file support for watermark_pdf method
- Enhanced test coverage and CI/CD improvements

- Critical API compatibility issues
- Python 3.9/3.10 syntax compatibility
- Over 50 bug fixes for stability and reliability

See CHANGELOG.md for complete details.

v1.0.1

Toggle v1.0.1's commit message
v1.0.1 - Critical Documentation Fix and Testing Improvements

Fixes critical documentation bug where README showed TimeoutError
but code exports NutrientTimeoutError, causing ImportError for users.

Also includes 31 unit tests, integration test framework, and
comprehensive CI/testing stability improvements.

v1.0.0

Toggle v1.0.0's commit message
Release v1.0.0

First stable release of nutrient-dws Python client library.

Highlights:
- Full support for Nutrient Document Web Services API
- Dual API design (Direct API and Builder API)
- Automatic Office document to PDF conversion
- Robust error handling and retry logic
- 92.46% test coverage
- Type-safe with full mypy support

See CHANGELOG.md for detailed changes.