Doctrine 1.1 Development Begins
Doctrine 1.1 Development Begins
Posted by jwage about 1 month ago
Today we branched 1.1 and began development. We started by implementing several highly requested small but significant features to the Doctrine core. Below is a review of the changes made so far.
- r5014 - Added support for FROM User u WHERE u.id IN ? in the Doctrine_Query api.
- r5016 - A performance change was made to the hydration process which should yield some improvements when hydrating large amounts of data.
- r5018 - Added Doctrine::ATTR_AUTO_FREE_QUERY_OBJECTS for auto freeing query objects after execution
- r5019 - unlink() and link() have been changed to not delete references until save() is called on the object. Also, fixed synchronizeWithArray() to synchronize many to many relationships.
- r5027 - Added support for setting default charset and collate for tables.
- r5030 - Added support for setting default options for columns and auto added identifier columns.
- r5031 - A query can now be transformed from an update() or delete() to a select() or any combination. Run a query once to update a field then turn it to a select and execute it.
- r5032 - You can now convert a Doctrine_Collection in to a key value array made up of the values from the two specified columns.
- r5033 - You can now specify a unique validator on a set of fields. The argument of the unique() function can either be an array of fields or an argument for each field.
- r5034 - You can now retrieve the old values of records through the getModified() function. By default it returns an array of fieldName => newValue but if you specify getModified(true) it will return the old values.
- r5035 - Added ability to use custom setters with fromArray()
The changes between 1.0 and 1.1 will be documented here. Each new addition or change will be documented a long side the commit so you can easily keep your project updated as we develop.
You can see what else is remaining for the 1.1 release by checking the list of tickets in the 1.1 milestone in trac. If you have any features or changes you would like to see in 1.1 please create a ticket with a patch that includes a test case and the code for your changes.




Comments (0) [ add comment ]
No Comments