Skip to content

Recruiter\Concurrency 4.0.0

Choose a tag to compare

@dbellettini dbellettini released this 02 Aug 18:50

✨ New Features

  • MongoDB Docker integration - Added MongoDB service to Docker Compose with persistent storage
  • Improved development workflow - Added Makefile with common development commands
  • GitHub Actions CI - Comprehensive testing pipeline with PHPUnit for both short and long test suites
  • Code quality tools - PHP-CS-Fixer configuration with PSR-12 and Symfony standards

🛠️ Improvements

  • PHP 8.4 compatibility - Upgraded minimum PHP version requirement
  • Enhanced type safety - Added declare(strict_types=1) across all source files
  • Modern dependencies - Updated to latest versions of MongoDB driver, PHPUnit, and development tools
  • Better error handling - Improved exception messages and type declarations
  • Standardized formatting - Consistent code style throughout the codebase

📦 Dependencies

Updated

  • php: ^8.4 (from ^7.2)
  • mongodb/mongodb: ^2.1 (from ^1.4)
  • recruiterphp/clock: ^4.1 (from ^3)
  • phpunit/phpunit: ^12.3 (from @stable)
  • symfony/process: ^7.3 (from ~4.0)
  • phake/phake: ^4.6 (updated from ~2.1)
  • giorgiosironi/eris: ^1.0 (from dev-master)

Added

  • friendsofphp/php-cs-fixer: ^3.85 for code formatting
  • ergebnis/composer-normalize: ^2.47 for composer.json normalization

🐳 Docker & Development

  • Docker Compose - Complete development environment with PHP 8.4 and MongoDB 7
  • Makefile commands - Standardized commands for building, testing, and code formatting
  • Persistent storage - MongoDB data persists between container restarts
  • Environment variables - Proper MongoDB URI configuration for seamless integration

🔧 Breaking Changes

  • Minimum PHP version - Now requires PHP 8.4+
  • MongoDB driver - Updated to mongodb/mongodb v2.1, may require code adjustments for advanced usage
  • Test framework - PHPUnit 12.3 may require test updates for projects extending this library

🛡️ Security

  • Updated dependencies - All dependencies updated to latest secure versions
  • Strict types - Enhanced type safety reduces potential runtime errors

Full Changelog: 3.0.1...v4.0.0