3.2.0 - Service name retrieval from RejectedException
As of this release RejectedException::serviceName()
is available. It returns the service name that Ganesha deems to be in a fault state. Thank you @marmichalski !
try {
$client->get('http://api.example.com/awesome_resource');
} catch (RejectedException $e) {
// Obtain the service name.
echo $e->serviceName();
}
What's Changed
- Fix CI error by @ackintosh in #112
- Update README by @ackintosh in #111
- Fix example Dockerfile by @ackintosh in #113
- Formatting changes by @maxbaldanza in #115
- Update Github actions to V4 by @maxbaldanza in #116
- Run tests on PHP 8.4 by @alamirault in #119
- Allow CI failure temporarily by @ackintosh in #122
- chore: do not fail fast in CI by @marmichalski in #123
- ci: test against
symfony/http-client
5.3.12 as lowest by @marmichalski in #125 - fix: explicit nullable types by @marmichalski in #126
- feat: pass service name to RejectedException by @marmichalski in #121
New Contributors
- @maxbaldanza made their first contribution in #115
- @alamirault made their first contribution in #119
- @marmichalski made their first contribution in #123
Full Changelog: 3.1.2...3.2.0