Repository navigation
v1.4.2
v1.4.2 — Testing & CI Improvements
This release strengthens the project’s automated quality checks and makes future development safer.
Added
- Pest unit test suite for REST client behavior, Demo Trading, TradFi helpers, and WebSocket endpoint selection.
- Isolated HTTP tests using Guzzle mock transports — no real API keys or network requests are required.
composer test:unitcommand for running Pest tests locally.- PHPUnit/Pest configuration with coverage restricted to the package source code.
Changed
- GitHub Actions now runs:
- compatibility tests on PHP 7.4–8.2;
- Pest unit tests on PHP 8.3 and 8.4;
- syntax validation across source, configuration, and tests.
- Codecov now receives reports from both the compatibility suite and Pest unit tests.
- Composer explicitly permits the official Pest Composer plugin during CI installation.
- README documentation now includes local commands for compatibility and Pest test suites.
- PHP support badge now reflects the tested PHP 7.4–8.4 range.
Verification
- Existing compatibility test suite passes.
- Pest suite passes with 16 tests and 39 assertions.
- Composer metadata validation and PHP syntax checks pass.