symfony 1.3 goes beta
October 27, 2009
•
Published by
Kris Wallsmith
The symfony team is happy to announce the immediate availability of symfony 1.3 beta 1! We have made a number of enhancements since 1.3 alpha 2 went out, just two weeks ago, which are described below.
Along with designating the 1.3 branch with beta status, we are now shifting our focus from enhancing the framework to shoring up its stability. This means the API is locked and you should feel free to begin testing your existing projects against the 1.3 codebase (we encourage you to do so!). Instructions for upgrading a symfony 1.2 project can be found in the upgrade tutorial.
Cascading Plugin Schemas
You can now modify schemas defined in Doctrine plugins using the same principle of a configuration cascade used throughout symfony. No need to create a specially named file or designate a particular package, just add the model you want to modify to your schema file and your definition will be merged into the plugin's. As an added benefit, this cascade also allows one plugin to extend the schema from another.
Is your markup valid?
Wait, let us answer that for you. We've added a new method to the functional test framework that will make sure you are sending a well-formed response. You can even ask symfony to validate your response against its document type.
You say builders, I say behaviors
The custom builders that symfony has relied on to extend Propel since the beginning have been ported to Propel 1.4's new native behaviors system. This means you now have full access to the power of Propel behaviors without any interference from symfony's builders.
IDE-Friendly
Generated form and Doctrine model classes are now marked up with type-hinting comments to help your IDE of choice provide more powerful code-completion. Lazy fingers rejoice!
Colorful Windows
If you've installed ANSICON on your Windows box, symfony now colorizes its CLI output for your visual pleasure.
These are just the major enhancements added since 1.3 alpha 2 was released two weeks ago. A complete description of what symfony 1.3 brings can be found in the What's New documentation.
What's Next?
Like I mentioned above, the core team is now focusing its attention on the stability of the 1.3 branch. This means that now is the optimial time for you to upgrade one of your projects and submit any issues you find to Trac. The first Release Candidate will be out in another two weeks, which will be here before you can say "backslash," so please test your code against symfony 1.3 beta 1 sooner than later.
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
I got an error.. generating the forms..
C:\desarrolloweb\sfprojects\desarrollosur>symfony propel:build-form
>> propel generating form classes
Parse error: syntax error, unexpected T_FOREACH, expecting T_FUNCTION in C:\desarrolloweb\sfprojects\desarrollosur\plugins\sfGuardPlugin\lib\model\om\BasesfGuardGroupPermissionPeer.php on line 1227
What's up ?? tanks in advance Kris.
New GeoCities accounts are no longer available. :)
I'd like to test it right away, but I think I have to wait until weekend! :D
by the way, ask something for 1.2x
could i generate fixtrue data by cli from exisiting database data ?
And for everybody who would like to incorporate mark-up validation in projects but cannot use 1.3, I wrote a plugin for markup validation a few months ago (http://www.symfony-project.org/plugins/rsfResponseValidatorPlugin) it can easily be incorporated within existing unit tests. The plugin connects to the W3.org validator but can also use a local instance of the W3.org validator.
I have a problem with download from pear channel
[root@ozzy ~]# pear download symfony/symfony-1.3.0BETA1
Failed to download symfony/symfony, version "1.3.0BETA1", latest release is version 1.3.0ALPHA2, stability "alpha", use "channel://pear.symfony-project.com/symfony-1.3.0ALPHA2" to install
Cannot initialize 'symfony/symfony-1.3.0BETA1', invalid or missing package file
Package "symfony/symfony-1.3.0BETA1" is not valid
download failed
I'm certainly going to give it a go now we have this support. Thank you!
It cannot build model because of syntax error when adding something like that
// symfony_behaviors behavior
foreach (sfMixer::getCallables('BaseTable:doUpdate:post') as $sf_hook)
{
call_user_func($sf_hook, 'Table', $values, $con, $ret);
}
pear clear-cache
I have a question for clarification on the plugin repository on this site, is it planned to extend it to explicitly identify 1.3-compatible plugins?
I guess that while the vast majority of SF1.2-compatible plugins would be forward compatible to SF1.3 as they are today already, there are some which aren't, e.g. due to changes on YAML parser.
Cheers RAPHAEL
Thanks!
Comments here are likely to be forgotten soon.
It's been opened for 4 months and there's not been any update.
Thanks in advance,
FWH
"symfony/symfony is already installed and is newer than detected released version 1.3.0BETA1"
I am using symfony 1.3.0ALPHA2 at the moment.
I get a error when i try to generate form or filter classes.
Parse error: syntax error, unexpected T_FOREACH, expecting T_FUNCTION in MY_FILE on line MY_LINE
I couldn't find anything about this so am wondering if this has been looked at already?
>> propel generating form classes
Parse error: syntax error, unexpected T_FOREACH, expecting T_FUNCTION in D:\xamp
p\htdocs\prof\lib\model\om\BaseJobeetAffiliatePeer.php on line 566
i tried in symfony 1.3 and 1.4 how can be possible ? they are a lot of comments about this old bug , you made a new release !!! with the same bug !
How can I get fix this error?
see
http://trac.symfony-project.org/ticket/7769#comment:1
and
http://forum.symfony-project.org/index.php/t/23802/