Skip to content

v1.4.2

Choose a tag to compare

@tigusigalpa tigusigalpa released this 09 Sep 16:07
· 11 commits to main since this release

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:unit command 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.