Skip to content

Release v2.0.0

Choose a tag to compare

@mikepultz mikepultz released this 13 Apr 22:46
· 2 commits to master since this release

Added

  • Initial release with v4.0 API support
  • Guzzle HTTP client with retry logic and exponential backoff
  • Automatic retries on connection errors, 5xx errors, and 429 rate limits
  • Retry-After header support on 429 responses — retry delay respects the server-specified wait time
  • Configurable timeouts (5s connection, 30s request)
  • RBL monitoring endpoints (hosts, profiles, sources, check, listings)
  • Contact management endpoints (contacts, groups)
  • Certificate monitoring endpoints (monitors, profiles, errors)
  • Pagination support for list endpoints
  • Configuration options for timeout and retry settings
  • Response wrapper class with ArrayAccess for transparent data access and rate_limit property
  • RateLimitInfo class exposing limit, remaining, and reset from IETF draft rate limit headers
  • Webhook signature verification with HMAC-SHA256 and constant-time comparison
  • Credential validation (account SID and auth token format)
  • PHPStan level 8 static analysis
  • Comprehensive test suite
  • Code coverage reporting
  • Security policy documentation
  • PHP 8.1+ support

Changed

  • Replaced cURL with Guzzle HTTP client
  • Switched to plural-only endpoint naming convention
  • Simplified exception handling with single Exception class

Security

  • Added User-Agent header for API analytics
  • Implemented secure credential validation