Archives


Master Symfony2 fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Discover the SensioLabs Support

Access to the SensioLabs Competency Center for an exclusive and tailor-made support on Symfony
sensiolabs.com

Fabien Potencier
Symfony 2.0.16 released
by Fabien Potencier – July 11, 2012 – 10 comments

Symfony 2.0.16 has just been released.

This version mainly fixes the PEAR packages (again). Twig has been updated to 1.8.3 and Swiftmailer to 4.2.0.

The CHANGELOG has all the details about the changes and you can even have a look at the full diff.

Some changes has also been made in the autoloader. Have a look at the diff or just replace the autoloading code for Swiftmailer with the following line:

require __DIR__.'/../vendor/swiftmailer/lib/swift_required.php';

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.16 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) or install them via Composer.

Comments RSS

  • Greg Holland
    #1 Greg Holland said on the 2012/07/11 at 20:59
    Hmm, getting a strange Assetic bug:
    Fatal error: Call to undefined method Assetic\Filter\CoffeeScriptFilter::setBare() in /app/cache/dev/appDevDebugProjectContainer.php on line 119
  • Willy Tito Sucasaire
    #2 Willy Tito Sucasaire said on the 2012/07/11 at 21:35
    Great job !!! and you will not be long for the final 2.1 version ;)
  • Damon Jones
    #3 Damon Jones said on the 2012/07/11 at 21:47
    The link to the deps.lock file is incorrect (it's linking to the 2.0.15 one). It should be:
    https://raw.github.com/symfony/symfony-standard/v2.0.16/deps.lock
  • Gordon Franke
    #4 Gordon Franke said on the 2012/07/12 at 08:31
    The deps.lock has twig 1.8.2 not 1.8.3.
    The deps file has has twig 1.8.2 not 1.8.3
    The deps file has symfony branch not the tag as version.

    I think it was not your day fabien ;)
  • Massimiliano Arione
    #5 Massimiliano Arione said on the 2012/07/12 at 08:56
    Fabien, you should add a note about updating autoload.php, since autoloading of SwiftMailer has changed.
  • Fabien Potencier
    #6 Fabien Potencier said on the 2012/07/12 at 09:32
    I forgot to talk about the changes you need to make in autoload.php. I'm going to update the post. Here is how you must autoload Swiftmailer now:

    require __DIR__.'/../vendor/swiftmailer/lib/swift_required.php';
  • Gaël Luisier
    #7 Gaël Luisier said on the 2012/07/12 at 15:19
    I'm want to download and use the version with vendors, but all my tries with both tgz and zip packages ends with corrupted data, and I can't unpack them with 7zip nor with WinRAR x64 (Windows user here). is that wanted, so we need to switch to Composer?
  • Herbert Fischer
    #8 Herbert Fischer said on the 2012/07/12 at 20:53
    I'm having the same problem with Assetic than Greg Holland.
  • Adam Monsen
    #9 Adam Monsen said on the 2012/07/12 at 21:39
    I also hit the Assetic bug ( https://github.com/symfony/AsseticBundle/issues/94 ).

    Then I hit the SwiftMailer bug (thanks for the tip on that).
  • Daniel R
    #10 Daniel R said on the 2012/07/24 at 00:55
    Why is deps pointing to symfony brang and not tag version 2.0.16