Skip to content

Commit ddf1a0c

Browse files
committed
Update changelog.
1 parent 7ce1c8f commit ddf1a0c

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
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

525
Initial release.

0 commit comments

Comments
 (0)