Symfony 2.2.0 Beta 1 released

As announced yesterday, we have just released Symfony 2.2.0 Beta 1. There are many ways you can test this new version:
Create a new project via Composer (recommended):
1
$ php composer.phar create-project symfony/framework-standard-edition somewhere/ 2.2.0-BETA1``
- Download the whole framework via Github or the Standard Edition;
- Download some components via Github downloads: https://github.com/symfony/{COMPONENT_NAME}/archive/v2.2.0-BETA1.zip;
- Install some components via the PEAR packages.
A downloadable archive of the Symfony Standard Edition is not available as
not all dependencies are ready to make it work seamlessly. But here is a diff for the composer.json
file (from Symfony 2.1.5 to 2.2.0-BETA1):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/composer.json b/composer.json
index 3792e33..0981929 100644
--- a/composer.json
+++ b/composer.json
@@ -6,19 +6,18 @@
},
"require": {
"php": ">=5.3.3",
- "symfony/symfony": "2.1.*",
+ "symfony/symfony": "2.2.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"doctrine/doctrine-bundle": "1.0.*",
- "twig/extensions": "1.0.*@dev",
+ "twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.1.*",
- "symfony/swiftmailer-bundle": "2.1.*",
+ "symfony/swiftmailer-bundle": "2.2.*",
"symfony/monolog-bundle": "2.1.*",
- "sensio/distribution-bundle": "2.1.*",
- "sensio/framework-extra-bundle": "2.1.*",
- "sensio/generator-bundle": "2.1.*",
- "jms/security-extra-bundle": "1.2.*",
- "jms/di-extra-bundle": "1.1.*",
- "kriswallsmith/assetic": "1.1.*@dev"
+ "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.*"
},
"scripts": {
"post-install-cmd": [
@@ -34,6 +33,10 @@
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
+ "config": {
+ "bin-dir": "bin"
+ },
+ "minimum-stability": "dev",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web"
If you want to update an existing project, update the dependencies in thes
composer.json
file according to the versions found in the composer.json file
from the Symfony Standard Edition and then follow the upgrade instructions
(for Symfony, for the
Symfony Standard Edition).
If you are only using some of the Symfony components, just update the versions
of these components in your composer.json
file.
And don't forget to report any issues you might find.
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
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
I removed monolog from the composer.json and deleted composer.lock, and added it back the following happened.
php ../composer.phar update
Loading composer repositories with package information
Updating dependencies
- Installing monolog/monolog (1.2.1)
Loading from cache
- Installing symfony/monolog-bundle (2.1.x-dev v2.1.7)
Cloning v2.1.7
- Removing propel/propel1 (dev-master)
- Removing propel/propel-bundle (1.1.x-dev)
- Removing phing/phing (2.4.12)
monolog/monolog suggests installing mlehner/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
Writing lock file
Generating autoload files
Fatal error: Class Symfony\Bridge\Monolog\Logger contains 5 abstract methods and must therefore be declared abstract or implement the remaining methods (Psr\Log\LoggerInterface::emergency, Psr\Log\LoggerInterface::critical, Psr\Log\LoggerInterface::error, ...) in /Library/WebServer/Documents/sf2test/vendor/symfony/symfony/src/Symfony/Bridge/Monolog/Logger.php on line 90
PHP Fatal error: Class Symfony\Bridge\Monolog\Logger contains 5 abstract methods and must therefore be declared abstract or implement the remaining methods (Psr\Log\LoggerInterface::emergency, Psr\Log\LoggerInterface::critical, Psr\Log\LoggerInterface::error, ...) in /Library/WebServer/Documents/sf2test/vendor/symfony/symfony/src/Symfony/Bridge/Monolog/Logger.php on line 90
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
"symfony/monolog-bundle": "2.2.*",
"doctrine/doctrine-bundle": "1.2.*",