You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Direct PSR-18 injection: You can now inject a Psr\Http\Client\ClientInterface (PSR-18) directly into ChargebeeClient without implementing the Chargebee-specific HttpClientFactory interface.
Optional PSR-17 factories: When using a PSR-18 client, you may optionally pass RequestFactoryInterface and StreamFactoryInterface (PSR-17). When omitted, php-http/discovery auto-discovers any installed PSR-17 implementation.
New adapter:Chargebee\HttpClient\PsrClientAdapter wraps a PSR-18 client and builds PSR-7 requests using the injected or discovered PSR-17 request/stream factories.
Backward compatibility: The existing HttpClientFactory injection path and the default GuzzleFactory are unchanged.