Skip to content

Release Notes: 3.0.0

Choose a tag to compare

@dejwCake dejwCake released this 13 Dec 23:36
· 3 commits to main since this release
24bd746

Release Notes: 3.0.0 (Namespace migration, tests & tooling)

Summary

Major release that migrates the library to the DejwCake\SmsClient namespace, updates tests to PHPUnit 12 with pcov coverage, and refreshes project tooling and docs.

Breaking Changes

  • Legacy namespace Matthewbdaly\SMS removed.
  • All imports must use DejwCake\SmsClient.

Changes

  • Composer: PSR-4 updated to DejwCake\SmsClient\; tests mapped to DejwCake\SmsClient\Tests\.
  • Source: namespaces updated across Client, Contracts, Drivers (Aws, Clockwork, Log, Mail, Nexmo, NullDriver, O2SK, RequestBin, TextLocal, Twilio), and Exceptions.
  • Tests: migrated namespaces; added endpoint override tests for Clockwork, RequestBin, TextLocal, Nexmo, Twilio, O2SK.
  • Coverage: PHPUnit 12-compatible setup using pcov (Ubuntu 24.04).
  • PHPCS: rootNamespaces aligned to new namespaces.
  • README: added fork note and namespace change section.

Upgrade Guide

  1. Update imports to the new namespace:
    • Matthewbdaly\SMS\... → DejwCake\SmsClient\....
  2. Refresh autoload:
    docker compose run --rm cli composer dump-autoload
  3. (Optional) Enable coverage with pcov:
    docker compose run --rm test ./vendor/bin/phpunit \
      -d pcov.enabled=1

Verification

# Run unit tests
docker compose run --rm test ./vendor/bin/phpunit --configuration=/var/www/html/phpunit.xml.dist