Skip to content

KurrentDB PHP Client 0.14.0

Choose a tag to compare

@dbellettini dbellettini released this 24 Sep 09:48
· 122 commits to main since this release

✨ New Features

  • Native PHP Enums - Migrated from legacy enum classes to modern PHP 8.4 native enums
  • Enhanced type system - Improved type declarations and consistency across the codebase

🛠️ Improvements

  • Namespace reorganization - Cleaned up and standardized namespace structure
  • Content-Type optimization - Updated HTTP headers for better KurrentDB compatibility
  • Code modernization - Applied automated refactoring for improved maintainability
  • Type safety enhancements - Added missing type hints and improved method signatures
  • Code standards compliance - Applied PHP-CS-Fixer for consistent code formatting

📦 Dependencies

  • Maintained compatibility - All dependencies remain compatible with PHP 8.4+
  • Minor updates - Updated development dependencies for better tooling

🔧 Breaking Changes

  • Enum migration - Legacy enum classes replaced with native PHP enums
    • StreamDeletion now uses native enum syntax
    • EntryEmbedMode now uses native enum syntax
    • LinkRelation now uses native enum syntax
  • Method signatures - Some method signatures updated for better type safety

🛡️ Code Quality

  • Enhanced static analysis - Improved PHPStan compliance
  • Test organization - Better test file structure and organization
  • Documentation updates - Updated README and inline documentation

Full Changelog

v0.13.0...v0.14.0