Skip to content

5.0.0

Latest

Choose a tag to compare

@tomaj tomaj released this 12 Oct 16:24
· 54 commits to master since this release
ca91b4a

Added

  • Enhanced PHPStan configuration with strict rules and additional type checking
  • Added phpstan/phpstan-strict-rules extension for improved code quality analysis
  • Improved type safety with PHP 7.4+ typed properties in core classes
  • Added comprehensive GitHub Actions workflows with PHP 7.4+ support
  • Added security audit workflow with weekly vulnerability scanning
  • Added composer validation and dependency caching in CI
  • Added local code coverage reporting with HTML and Clover XML output
  • Added GitHub Pages deployment for coverage reports
  • Added coverage.sh helper script for generating coverage reports
  • Added Makefile with coverage target

Changed

  • BREAKING CHANGE: Updated minimum PHP version requirement to PHP 7.4+ with full PHP 8.0+ support
  • BREAKING CHANGE: Removed PHP 7.2 and 7.3 support from CI/CD workflows
  • Enhanced Message class with strict typing and improved type annotations
  • Enhanced Dispatcher class with typed properties and better type safety
  • Enhanced MessageSerializer class with stricter validation and error handling
  • Improved PHPStan analysis with strict comparison checks and function type hints
  • Updated composer dependencies to support PHP 8.0+ while maintaining backward compatibility
  • Modernized codebase with PHP 7.4+ features (typed properties, arrow functions, null coalescing)
  • Updated GitHub Actions to latest versions for better security and performance
  • Expanded CI test matrix to include PHP 8.1, 8.2, and 8.3
  • Updated .gitignore to exclude log files and cache directory
  • Removed Scrutinizer Code Coverage integration in favor of local reporting
  • Enabled Xdebug coverage mode in PHPUnit workflow for accurate coverage metrics
  • Updated test coverage check to use johanvanhelden/gha-clover-test-coverage-check@v1
  • Coverage reports are now automatically published to GitHub Pages after successful test runs

Fixed

  • Fixed strict comparison issues in Message constructor
  • Fixed boolean condition checks for better PHP 8+ compatibility
  • Added proper return type hints to anonymous functions
  • Improved JSON serialization error handling in MessageSerializer
  • Removed implicitly nullable parameters for better type safety