Releases
v0.2.0-rc7 3/11/2024
- 🛠Use guzzle/psr7 uri implementation instead of juststeveking/uri-builder (already using guzzle + better feature support)
v0.2.0-rc6 2/13/2024
What's Changed
🚀 Automatically decode encoded response by @h4kuna in https://github.com/wrk-flow/php-api-sdk-builder/pull/23
New Contributors
- @h4kuna made their first contribution in https://github.com/wrk-flow/php-api-sdk-builder/pull/23
Full Changelog: https://github.com/wrk-flow/php-api-sdk-builder/compare/v0.2.0-rc5...v0.2.0-rc6
v0.2.0-rc5 10/2/2023
- 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: https://github.com/wrk-flow/php-api-sdk-builder/pull/22
v0.2.0-rc4 10/2/2023
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: https://github.com/wrk-flow/php-api-sdk-builder/pull/21
v0.2.0-rc3 8/15/2023
v0.2.0-rc2 8/9/2023
New release candidate with changes:
- By default log failed requests to a file
- Do a quick integration test in Laravel framework
Full Changelog: https://github.com/wrk-flow/php-api-sdk-builder/compare/v0.2.0-rc...v0.2.0-rc2
v0.2.0-rc 7/25/2023
Pre-release version with set of new features that will be documented.
v0.1.1 5/1/2022
v0.1.0 4/30/2022
🚀 First initial version of the package