Skip to content

v7.0.1

Choose a tag to compare

@CarlosGude CarlosGude released this 21 Sep 13:09
· 76 commits to main since this release

Changelog v7.0.1

Released: 2026-09-21

🐛 Bug Fixes

Code Style & Formatting

  • Fix: Apply PHP-CS-Fixer formatting to resilience and utility classes
    • Qualify Throwable with backslash in type hints
    • Fix docblock alignment and spacing
    • Remove unused imports
    • Use backslash-qualified sprintf calls

Static Analysis (PHPStan max level)

  • Fix: Resolve PHPStan errors in v7.0 middleware and utilities
    • LoggingMiddleware: make context parameter nullable in private logging methods (matches process signature)
    • LoggingMiddleware: use static getName() method on action instead of non-existent getIntegrationName()
    • CsvParser: cast mb_convert_encoding result to (string) to resolve type inference
    • CsvParser: remove unreachable empty check on explode result

PHP 8.4 Compatibility

  • Fix: Use readonly properties instead of class-level readonly
    • FormEncodedClientAdapter: final class (not readonly) + readonly properties
    • ExponentialBackoffPolicy: final class + readonly properties in constructor
    • This fixes Code Style and Static Analysis checks

v7.0 Migration

  • Fix: v7.0 namespaces and middleware signature
    • Namespace: CarlosgudeSdk\IntegrationEngine → IntegrationEngine
    • LoggingMiddleware extends AbstractClientMiddleware
    • Add ?RequestHeadersInterface $headers parameter
    • Pass headers to next() callable
    • FormEncodedClientAdapter with correct namespace
    • All Resilience classes with correct namespace
    • Actions no longer break; v7.0 now compatible with v6.0 codebase

Summary

v7.0.1 is a patch release focused on fixing formatting, static analysis issues, and ensuring full PHP 8.4 compatibility and v6.0 codebase compatibility after the v7.0 release.