File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Unsend PHP Library Release Notes
22
3+ ## [ Unreleased]
4+
5+ ### Added
6+
7+ - ` Unsend::create(apiKey, baseUrl?, options?) ` factory for simpler initialization
8+ - ` iterateEmails(array $parameters = []) ` for seamless pagination
9+ - Unified ` ApiException ` for non-2xx responses with parsed message/status
10+ - PHPStan configuration and stricter array-shape PHPDocs
11+
12+ ### Changed
13+
14+ - HTTP client defaults: timeouts, connect timeout, ` Accept ` , and ` User-Agent `
15+ - Only send ` Content-Type: application/json ` when a JSON body is present
16+ - ` Response ` now tolerates empty bodies without throwing
17+ - README updated for factory usage, iteration, and error behavior
18+ - Tests updated to assert ` ApiException `
19+ - Composer metadata updated: require ` ext-json ` ; add PHPStan to dev dependencies
20+
21+ [ 1.1.0 ] : https://github.com/mattstein/unsend-php/compare/v1.0.0...v1.1.0
22+
323## 1.0.0 - 2025-08-06
424
525Initial release.
You can’t perform that action at this time.
0 commit comments