Symfony 2.0.13 has just been released.
The CHANGELOG has all the details about the changes and you can even have a look at the full diff.
If you are starting a new project, you can get the Symfony Standard Edition distribution on the download page.
If you already have a project based on the Symfony Standard Edition 2.0.x, you can easily upgrade to 2.0.12 by getting the new deps and deps.lock files.
Then, run the vendors script (it also clears your cache):
$ ./bin/vendors install
Remember that the Symfony2 Components are also available as standalone libraries. You can get them via their dedicated read-only repositories on Github (https://github.com/symfony/Finder for instance), install them via PEAR (pear install symfony2/Finder), or even install them via Composer.
"...you can easily upgrade to 2.0.12..." It should be 2.0.13 :)
Hi Fabien!
paramConverter doesn't work anymore. In 2.0.12, it works fine and I don't see any changes about that in changelog.
My test with a new project:
use Acme\DemoBundle\Entity\Member;
class DemoController extends Controller { /** * @Route("/hello/{id}", name="_demo_hello") * @Template() */ public function helloAction(Member $member) { return array('name' => $member->name); }
Error:
Controller "Acme\DemoBundle\Controller\DemoController::helloAction()" requires that you provide a value for the "$member" argument (because there is no default value or because there is a non optional argument after this one).
Ok, you revert PR #117. A new version is intended or should we wait?
I was able to get paramConverter working again by removing SensioFrameworkExtraBundle from deps.lock
Hi,
Since the 2.0.13 update, i can't upload files anymore. Do you have the same problem ?
public function getAbsolutePath() { return null === $this->path ? null : $this->getUploadRootDir().'/'.$this->path; }
Hi Yann. I have the same problem as you and I'm trying to solve. If I succeed I'll let you know.
Hi, I don't have this problem but I don't use getClientOriginalName().
On upgrade to 2.0.13 (from 2.0.12) i get this message
What can i do to upgrade to 2.0.13?
@Fralex Fralex, you can manually delete theses files so they can be updated. It comes from modifications you have done in these files or perhaps line endings...
@Alfonso
Thanks. I'll let you know too ... Not find for now ...
It's a very bad practice to post your upgrade problems and especially code in the comments. Use the symfony-users mailing list instead: http://groups.google.com/group/symfony2
@Evan Owens:
Thanks a lot ! It works for me from a fresh install.
Hi,
im getting following Exception after upgrade to 2.0.13. Any ideas how to fix?
[1/2] ErrorException: Catchable Fatal Error: Argument 2 passed to Twig_NodeVisitor_SafeAnalysis::setSafe() must be an array, null given, called in /home/atabak/vhosts/atabak-frontend2/vendor/twig/lib/Twig/NodeVisitor/SafeAnalysis.php on line 78 and defined in /home/atabak/vhosts/atabak-frontend2/vendor/twig/lib/Twig/NodeVisitor/SafeAnalysis.php line 21
#Alex T: It probably comes from a function that you have defined with the wrong class (probably Twig_Filter_* instead of Twig_Function_*).
You are right. Thanks!
Hi i m getting following error while i upgrade my symfony2.0.13 version to symfony2.0.14.
Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in Symfony/vendor/twig/lib/Twig/Node.php on line 225