Corma v3.0 Release Notes

  • ๐Ÿ†• New Features

    • PHP 7.1 compatibility
    • โœ‚ Remove requirement for data objects to implement the DataObjectInterface, this makes it possible for your business objects to be free of dependencies on the ORM.
    • ๐Ÿ‘ Allow for custom object creation and hydration behavior
    • ๐Ÿ‘ Allow for custom table and identifier conventions
    • ๐Ÿ‘ Allow for customizing the table name via the @table annotation
    • ๐Ÿ‘ Allow for a custom id column via the @identifier annotation
    • ๐Ÿ‘ Allow for custom query modifiers that change queries before they are executed
    • โž• Added convenience method for paged queries to repository base class

    ๐Ÿ’ฅ Breaking changes

    • โฌ‡๏ธ Dropped Compatibility for PHP versions < 7.1
    • โœ‚ Deleted the DataObject abstract class and DataObjectInterface
    • Customizing the table name is done via the @table annotation rather than overriding getTableName method
    • RelationshipSaver::saveOne method signature changed for consistency and additional flexibility
    • โœ‚ Removed relationship loading methods on repositories
    • Corma now requires the fully qualified class name of the object in all cases