Releases: wrk-flow/php-api-sdk-builder
Releases · wrk-flow/php-api-sdk-builder
v0.2.0-rc7
- 🛠 Use guzzle/psr7 uri implementation instead of juststeveking/uri-builder (already using guzzle + better feature support)
v0.2.0-rc6
What's Changed
🚀 Automatically decode encoded response by @h4kuna in #23
New Contributors
Full Changelog: v0.2.0-rc5...v0.2.0-rc6
v0.2.0-rc5
- Now fake override needs interface and implementation in makeEndpoint.
- Add tests for fake implementation using environment interface swap
- Add EndpointInterface for more flexibility when using interfaces
- Fix turning off logging via Laravel config
- Add dontReportExceptionToFile method to endpoints
Upgrade guide: #22
v0.2.0-rc4
What's Changed
- Contracts are reserved only for interfaces that are used with DI.
- Add ability to prevent logging catched exception from a request in desired logger (Like FileLogger on "expected" exception). This is needed when response is invalid, but for your business case is an valid response and you do not want to spam your file log.
- Group requests in file log by hour and replace : with - (does not work on Mac)
- Upgrade to PHPStan level 9
- Use same text format for info / debug logger and
- Log FAILED/OK text to detect "failed" requests without loosing status code (for connection resets 000 status code is used)
- Refactored Api class to interface and moved request building to AbstractEndpoint
- Refactored EndpointTestCase (removed all Mockery usage) and added OptionsTestCase
Full Changelog and basic upgrade guide: #21
v0.2.0-rc3
v0.2.0-rc2
New release candidate with changes:
- By default log failed requests to a file
- Do a quick integration test in Laravel framework
Full Changelog: v0.2.0-rc...v0.2.0-rc2