⬆️ ⬇️

Symfony 2.3.0! First release with long term support!

image

Symfony 2.3.0



We have all been waiting for this, many of us have worked for the last 4 years for this to happen. Today, symfony 2.3.0 is available and this is the first release with long-term support (LTS) for symfony 2.



I am very happy that we have reached this point in the life of the Framework. Thank you for making this possible!



What does it mean? Since the introduction of the new release policy , the standard version with eight-month symfony support comes out every six months. Every two years we release the LTS version with support for three years .



This gives us the best of two different worlds: small teams and agile companies can use the best of new features, being updated every half year; large teams and traditional companies can rely on a release for three years and have another year to upgrade to the next LTS release.

')

And 2.3.0 is our first release of long-term support. We, the community, will support it for the next three years (until May 2016).



Numbers



Traditionally, I want to show some facts in numbers. On Symfony 2.3.0, it took us only three months instead of six. As a result, 2.3 includes 437 pull requests, 1,260 commits sent by 50 developers. The documentation includes 839 commits from 44 authors.



1,260 commits in 3 months is about 14 commits every day. 437 pull-requests - 5 pull-requests merged with the main branch per day. This is a new record!



Opportunities



What about the most interesting changes? Let's summarize everything that I wrote in this blog the last couple of months:







Update



Upgrading from 2.2 to 2.3 should be painless.



If you are using the standard version (Symfony Standard Edition), you should be aware that some bundles have been removed due to license issues. Starting with branch 2.3, all code is under the MIT-like license, as well as all dependencies.



composer.json
diff --git a/composer.json b/composer.json index c2d7588..5705d76 100644 --- a/composer.json +++ b/composer.json @@ -1,32 +1,35 @@ { "name": "symfony/framework-standard-edition", + "license": "MIT", + "type": "project", "description": "The \"Symfony Standard Edition\" distribution", "autoload": { "psr-0": { "": "src/" } }, "require": { "php": ">=5.3.3", - "symfony/symfony": "2.2.*", - "doctrine/orm": "~2.2,>=2.2.3", + "symfony/symfony": "2.3.*", + "doctrine/orm": ">=2.2.3,<2.4-dev", "doctrine/doctrine-bundle": "1.2.*", "twig/extensions": "1.0.*", - "symfony/assetic-bundle": "2.1.*", - "symfony/swiftmailer-bundle": "2.2.*", - "symfony/monolog-bundle": "2.2.*", - "sensio/distribution-bundle": "2.2.*", - "sensio/framework-extra-bundle": "2.2.*", - "sensio/generator-bundle": "2.2.*", - "jms/security-extra-bundle": "1.4.*", - "jms/di-extra-bundle": "1.3.*" + "symfony/assetic-bundle": "2.3.*", + "symfony/swiftmailer-bundle": "2.3.*", + "symfony/monolog-bundle": "2.3.*", + "sensio/distribution-bundle": "2.3.*", + "sensio/framework-extra-bundle": "2.3.*", + "sensio/generator-bundle": "2.3.*", + "incenteev/composer-parameter-handler": "~2.0" }, "scripts": { "post-install-cmd": [ + "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" ], "post-update-cmd": [ + "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", @@ -36,12 +39,15 @@ "config": { "bin-dir": "bin" }, - "minimum-stability": "alpha", + "minimum-stability": "stable", "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", + "incenteev-parameters": { + "file": "app/config/parameters.yml" + }, "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.3-dev" } } } 




All backward compatibility that was implemented in the previous version was removed, check your code again and read the UPGRADE file.



Installation



If you are starting a new project using symfony 2.3, you have several options:



If you use some symfony components in your new application, use version 2.3.0 or branch 2.3:

Source: https://habr.com/ru/post/182008/



All Articles