Get Ready For Propel 1.6: The Beta 1 Is Released.

Propel 1.6 has been in development for several months, and yet it has always been ready for real life use. Each added feature is backwards compatible, unit tested, and documented. But until now, only a handfull of developers dared to install it due to its “under development” status.

Guess what? Propel 1.6 is now in beta state. This means that most of the features of the final 1.6 are already there, and that it’s almost ready for your production application. It also means that we need more feedback from beta testers to help us find and fix the last bugs before a stable release that should come within a couple months.

And to motivate you to upgrade, here is a brief list of highlights from the 1.6 version:

The updated Propel 1.6 documentation offers a more detailed list of new features in Propel 1.6.

To upgrade, use your favorite distribution:

Subversion tag

> svn checkout http://svn.propelorm.org/tags/1.6.0BETA1

PEAR

> sudo pear config-set preferred_state beta
> sudo pear upgrade propel/propel_generator
> sudo pear upgrade propel/propel_runtime

Download

As usual, don’t forget to rebuild your object model classes using the om task. And don’t hesitate to send us feedback on the developers mailing-list, or by opening tickets on the Propel Trac.

Posted by Francois Zaninotto 

19 comments

Jan 19, 2011
Crafty_Shadow said...
This is great! When can we hope to see sfPropel16Plugin for symfony?
Jan 19, 2011
@Crafty_Shadow: Wait, didn't you know? sfPropel15Plugin is already updated for Propel 1.6, with new migration tasks and more. Check https://github.com/fzaninotto/sfPropel15Plugin and the install page.
Jan 19, 2011
Xplo said...
Propel 1.6 is awesome i m using it in 2 project without any problem.
Complex join should also be a highlight :)
Jan 20, 2011
Andrew said...
When performing a migration in 1.6 does it clean up model classes? For example if I remove a table from my schema are the model files associated with it removed as well?
Jan 20, 2011
@Andrew: Nope
Jan 20, 2011
Crafty_Shadow said...
@Francois Zaninotto: This is awesome, I don't know how I missed it... I guess I always expected there to be a sfPropel16Plugin. This will go into my two current projects right away, they would really benefit from the internal implementation of ENUM columns and migrations.

Power to you Francois!

Jan 20, 2011
Marius Ghita liked this post.
Jan 20, 2011
Loïc said...
Youhou, champagne !
Jan 20, 2011
Matteo said...
Wow great! Trying it on a symfony 1.4.8 project right now.

I have two problem:
form generation give me an error. It tells me that the peer class do not have a "getUniqueColumnNames" method. And in fact the method is not there.
I found a solution posted by you to another user that had a similar problem.
He forgot to put:
propel.behavior.default = symfony,symfony_i18n
in his propel.ini

But I have that line and I get the same error.

Another thing I noticed is that behaviors don't like each other....
On my table I have a nested_set and an i18n behavior. But the nested_set method (like getChildren) are not aware of the translations...and always retrieve the same language. A workaround is to use the query class to retrieve childrens like:

->filterByTreeLeft($root->getTreeLeft(), ModelCriteria::GREATER_THAN)
->filterByTreeRight($root->getTreeRight(), ModelCriteria::LESS_THAN)

but It's not so cool.....

Anyway this is a beta....so it's ok to have some problem. Propel 1.6 is really great!!!!

Jan 20, 2011
@Matteo: Can you please open tickets for all the issues you meet? An blog engine is not the best place to track bugs...
Jan 20, 2011
rozwell said...
Just wondering if you saw my improved lazy loading implementation and if it will be in Propel 1.6? Or maybe in 1.5 already?
Jan 20, 2011
Don Ross said...
Beautiful! I've been extremely happy with 1.5, and it just keeps getting better. I'm really looking forward to digging in to 1.6. Thanks for all your hard work, it's MUCH appreciated.
Jan 21, 2011
Matteo said...
@francois sorry! I've just opened a trac bug.
Jan 22, 2011
davert said...
Wow, thanks Francois! Currently I don't have project with Propel but I like that the project is in active development. Finally migrations are here. Cool.
Jan 25, 2011
Shedar said...
PEAR can't find propel/propel-generator. I used propel/propel_generator (with underscore) to install beta.
Jan 25, 2011
@Shedar: Thanks, fixed.
Jan 26, 2011
Shedar said...
One more PEAR version report.
pear-build.xml doesn't contain dbd2propel target
Jan 26, 2011
@Shedar: Fixed, thanks. But please use the Trac for bug reports, it makes tracking issues much easier.
Mar 12, 2011
matvey Gladkikh said...
Awesome! Waited for Migrations!

Leave a comment...