What’s New in Doctrine ORM 2.5

1
3425

Doctrine 2.5, currently in beta, will drop support for PHP 5.3 and PHP 5.4 will become the minimum requirement enforced with composer. A Total of 21 improvements and new features have been added to the new release in addition to nine behavioral changes including :

  1. Events: PostLoad now triggered after associations are loaded
  2. Events: Add API to programatically add event listeners to Entity
  3. Embeddedable Objects
  4. Second-Level-Cache
  5. Criteria API: Support for ManyToMany assocations
  6. Criteria API: Add new contains() expression
  7. Criteria API: Support for EXTRA_LAZY
  8. Mapping: Allow configuring Index flags
  9. SQLFilter API: Check if a parameter is set
  10.  EXTRA_LAZY Improvements
  11. Improve efficiency of One-To-Many EAGER
  12. Better support for EntityManagerInterface
  13. DQL Improvements
  14. Custom DQL Functions: Add support for factories
  15. Query API: WHERE IN Query using a Collection as parameter
  16. Query API: Add suport for default Query Hints
  17. ResultSetMappingBuilder: Add support for Single-Table Inheritance
  18.  YAML Mapping: Many-To-Many doesnt require join column definition
  19.  Schema Validator Command: Allow to skip sub-checks
  20.  EntityGenerator Command: Avoid backups
  21.  Support for Objects as Identifiers
  22. In addition to nine Behavioral Changes (BC Breaks).

Doctrine 2 is an object-relational mapper (ORM) for PHP 5.4+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object-oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

More information at http://www.doctrine-project.org/
Github repository : https://github.com/doctrine/doctrine2

More changes details could be found here : What’s new in doctrine 2.5

1 COMMENT

  1. Indeed, I don’t see any beta tag in https://packagist.org/packages/doctrine/orm, so I have to say that Doctrine 2.5 is currently in alpha.
    And let me say: too bad. I think that Doctrine is a really good software and I’d like to use some new features of 2.5 version. I’m also using, in some projects of mine, 2.5@dev.

LEAVE A REPLY