Releases: utopia-php/messaging
Releases · utopia-php/messaging
Release list
2.0.1
First release cut from the utopia-php monorepo.
2.0.0
What's Changed
The HTTP transport is now utopia-php/client (PSR-18) instead of raw curl (#137). Adapter APIs and result shapes are unchanged; batched sends (FCM, APNS) remain concurrent via Swoole coroutines over a bounded connection pool.
New
- Bring your own HTTP client: the base
Adapterconstructor accepts an optional client factory (Closure(): ClientInterface), enabling custom transports (retries, proxies, mTLS) and network-free testing with any PSR-18 implementation. If omitted, a suitable HTTP/2 cURL default is built internally. (Concrete adapters expose the parameter in a follow-up.) requestMulti()results now include response headers (the old curl_multi path couldn't capture them).
Breaking changes
- PHP requirement raised from
>=8.1to>=8.5. ext-swooleis now required (powers concurrent batched sends).Adapter::getCountryCode()removed along with thegiggsey/libphonenumber-for-php-litedependency — useCallingCode::fromPhoneNumber()for phone-number routing.SMSmetadata is typedarray<string, mixed>; adapters validate values at runtime.
Full Changelog: 1.3.0...2.0.0
1.3.0
What's Changed
- (feat): surface transport error details in FCM push results by @ChiragAgg5k in #136
Full Changelog: 1.2.0...1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
0.22.3
What's Changed
- fix(Resend): send attachments via per-message endpoint by @lohanidamodar in #120
Full Changelog: 0.22.2...0.22.3
0.22.2
What's Changed
- Remove deprecated curl_close calls by @ChiragAgg5k in #118
Full Changelog: 0.22.1...0.22.2
0.22.1
What's Changed
- Fix PHP 8.5 curl_close()/curl_multi_close() deprecation by @lohanidamodar in #119
Full Changelog: 0.22.0...0.22.1