@@ -5,6 +5,61 @@ All notable changes to the nutrient-dws Python client library will be documented
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.0.2]  - 2025-01-03 
9+ 
10+ ### Added  
11+ 
12+ #### Direct API Methods  
13+ -  ` create_redactions_preset() `  - Create redactions using predefined patterns (SSN, email, phone, etc.)
14+ -  ` create_redactions_regex() `  - Create redactions using custom regex patterns
15+ -  ` create_redactions_text() `  - Create redactions for specific text strings
16+ -  ` optimize_pdf() `  - Optimize PDF file size and performance
17+ -  ` password_protect_pdf() `  - Add password protection to PDFs
18+ -  ` set_pdf_metadata() `  - Update PDF metadata (title, author, subject, keywords)
19+ -  ` split_pdf() `  - Split PDFs into multiple files based on page ranges
20+ -  ` duplicate_pdf_pages() `  - Duplicate specific pages within a PDF
21+ -  ` delete_pdf_pages() `  - Remove specific pages from a PDF
22+ -  ` add_page() `  - Insert blank pages at specific positions
23+ -  ` apply_instant_json() `  - Apply PSPDFKit Instant JSON annotations
24+ -  ` apply_xfdf() `  - Apply XFDF annotations to PDFs
25+ -  ` set_page_label() `  - Set custom page labels (Roman numerals, letters, etc.)
26+ 
27+ #### Enhancements  
28+ -  Image file support for ` watermark_pdf() `  method - now accepts PNG/JPEG images as watermarks
29+ -  Improved CI/CD integration test strategy with better error reporting
30+ -  Enhanced test coverage for all new Direct API methods
31+ 
32+ ### Fixed  
33+ -  Critical API compatibility issues in Direct API integration
34+ -  Python 3.9 and 3.10 syntax compatibility across the codebase
35+ -  Comprehensive CI failure resolution based on multi-model analysis
36+ -  Integration test fixes to match actual API behavior patterns
37+ -  Ruff linting and formatting issues throughout the project
38+ -  MyPy type checking errors and improved type annotations
39+ -  Removed unsupported parameters (stroke_width, base_url) from API calls
40+ -  Corrected API parameter formats for various operations
41+ -  Fixed page range handling in split_pdf with proper defaults
42+ -  Resolved runtime errors with isinstance union syntax
43+ -  Updated test fixtures to use valid PNG images
44+ 
45+ ### Changed  
46+ -  Minimum Python version maintained at 3.10+ as per project design
47+ -  Improved error messages for better debugging experience
48+ -  Standardized code formatting with ruff across entire codebase
49+ 
50+ ## [ 1.0.1]  - 2025-06-20 
51+ 
52+ ### Fixed  
53+ 
54+ #### Critical Bug Fixes  
55+ -  Fix README.md documentation to use ` NutrientTimeoutError `  instead of ` TimeoutError ` 
56+ -  Resolve inconsistency where code exported ` NutrientTimeoutError `  but docs referenced ` TimeoutError ` 
57+ 
58+ #### Testing Improvements  
59+ -  Added comprehensive unit tests (31 tests total)
60+ -  Added integration test framework for CI
61+ -  Improved test stability and coverage
62+ 
863## [ 1.0.0]  - 2024-06-17 
964
1065### Added  
@@ -76,4 +131,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
76131-  Support for environment variable configuration
77132-  Secure handling of authentication tokens
78133
79- [ 1.0.0 ] : https://github.com/jdrhyne/nutrient-dws-client-python/releases/tag/v1.0.0 
134+ [ 1.0.2 ] : https://github.com/PSPDFKit/nutrient-dws-client-python/releases/tag/v1.0.2 
135+ [ 1.0.1 ] : https://github.com/PSPDFKit/nutrient-dws-client-python/releases/tag/v1.0.1 
136+ [ 1.0.0 ] : https://github.com/PSPDFKit/nutrient-dws-client-python/releases/tag/v1.0.0 
0 commit comments