v0.2.0-rc4
Pre-release
Pre-release
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