Releases: conversiontools/conversiontools-php
Releases · conversiontools/conversiontools-php
v2.0.1
Changes
Raised minimum Guzzle version from ^7.0 to ^7.5.
Why
Guzzle 7.0.0 through 7.4.x had several HIGH-severity advisories (CVE-2022-29248, CVE-2022-31042, CVE-2022-31043, CVE-2022-31090, CVE-2022-31091) that were fixed in 7.4.3 - 7.4.5. With the old ^7.0 constraint, Composer installations on hosts with strict block-insecure audit settings would fail because 7.0.0 appeared in the candidate set.
^7.5 starts at a clean version, so fresh installs now resolve to Guzzle 7.10.0 (or later) without audit warnings.
Upgrade
No SDK API changes. Existing projects get the fix on their next composer update.
v2.0.0 — Modern PHP Client
What's new in v2.0.0
Complete rewrite of the PHP client library.
- Sync & async support via Guzzle with promise-based async operations
- Full type hints — PHP 8.0+ with strict typing throughout
- Retry logic — configurable retries with exponential backoff
- Progress callbacks —
onUploadProgress,onDownloadProgress,onConversionProgress - Streaming downloads —
downloadStream()anddownloadStreamAsync()for large files - PSR-7 compatibility — accepts
StreamInterfacefor uploads - Configurable —
baseUrl,timeout,retries,pollingInterval,webhookUrl,userAgent - 111 unit tests covering all public API surface
Requirements
- PHP 8.0+
- Guzzle 7+
Installation
composer require conversiontools/conversiontools-php:^2.0Conversion Tools API PHP Client
1.0.0 Conversion Tools API PHP Client