Symfony 3.0.0 released

Warning: Symfony 3.0 is no longer supported. Consider upgrading your applications to the most recent Symfony version.
Symfony 3.0.0 has just been released. Here is a list of the most important changes since BETA1:
- bug #16758 Fix BC for the default root form name (stof)
- feature #16754 [Security] allow arbitrary types in VoterInterface::vote() (xabbuh)
- bug #16753 [Process] Fix signaling/stopping logic on Windows (nicolas-grekas)
- feature #16755 [Security] add subject variable to expression context (xabbuh)
- bug #16642 [DI][autowiring] throw exception when many services use the same class. (aitboudad)
- bug #16745 [Yaml] look for colon in parsed inline string (xabbuh)
- bug #16733 [Console] do not encode backslashes in console default description (Tobion)
- feature #16735 [WIP] [Ldap] Marked the Ldap component as internal (csarrazi)
- bug #16734 Make sure security.role_hierarchy.roles always exists (WouterJ)
- feature #16723 [Form] remove deprecated CSRF options (xabbuh)
- feature #16725 [Form] Removed useless code (webmozart)
- feature #16724 Added getBlockPrefix to FormTypeInterface (WouterJ)
- feature #16722 [Security][SecurityBundle] Use csrf_token_id instead of deprecated intention (jakzal)
- feature #16727 [Form] remove deprecated getTimezones() method (xabbuh)
- bug #16312 [HttpKernel] clearstatcache() so the Cache sees when a .lck file has been released (mpdude)
- bug #16351 [WIP] [Form] [TwigBridge] Bootstrap horizontal theme missing tests (pieter2627)
- feature #16715 [Form] Remove choices_as_values option on ChoiceType (nicolas-grekas)
- feature #16692 [Form] Drop remaing CsrfProviderAdapter/Interface mentions (nicolas-grekas)
- feature #16719 [Security] remove deprecated HTTP digest auth key (xabbuh)
- bug #16685 [Form] Fixed: Duplicate choice labels are remembered when using "choices_as_values" = false (webmozart)
- feature #16709 [BridgePhpUnit] Display the stack trace of a deprecation on-demand (nicolas-grekas)
- bug #16704 [Form+SecurityBundle] Trigger deprecation for csrf_provider+intention options (nicolas-grekas)
- feature #16629 [HttpFoundation] Remove deprecated class method parameter (belka-ew)
- feature #16706 [HttpFoundation] Deprecate $deep parameter on ParameterBag (nicolas-grekas)
- bug #16705 [Form] Deprecated setting "choices_as_values" to "false" (webmozart)
- feature #16690 [Form] Deprecated ArrayKeyChoiceList (webmozart)
- feature #16687 [Form] Deprecated TimezoneType::getTimezones() (webmozart)
- bug #16681 [Form] Deprecated setting "choices_as_values" to "false" (webmozart)
- feature #16694 [SecurityBundle] make ACL an optional dependency (Tobion)
- bug #16695 [SecurityBundle] disable the init:acl command if ACL is not used (Tobion)
- bug #16677 [Form] Fixed wrong usages of the "text" type (webmozart)
- bug #16679 [Form] Disabled view data validation if "data_class" is set to null (webmozart)
- bug #16621 [Console] Fix bug with $output overloading (WouterJ)
- feature #16601 [Security] Deprecate "AbstractVoter" in favor of "Voter" (nicolas-grekas, lyrixx)
- bug #16676 [HttpFoundation] Workaround HHVM rewriting HTTP response line (nicolas-grekas)
- bug #16668 [ClassLoader] Fix parsing namespace when token_get_all() is missing (nicolas-grekas)
- bug #16615 fix type assignement (rande)
- bug #16386 Bug #16343 [Router] Too many Routes ? (jelte)
- bug #16498 fix unused variable warning (eventhorizonpl)
- feature #16031 [Translation][Form] Do not translate form labels and placeholders when 'translation_domain' is false (Restless-ET)
- bug #16651 [Debug] Ensure class declarations are loaded only once (nicolas-grekas)
- feature #16637 Removed unneeded polyfill (GrahamCampbell)
- security #16631 n/a (xabbuh)
- security #16630 n/a (xabbuh)
- bug #16633 [Filesystem] Fixed failing test due to tempdir symlink (toretto460)
- bug #16607 [HttpFoundation] Delete not existing session handler proxy member (belka-ew)
- bug #16609 [HttpKernel] Don't reset on shutdown but in FrameworkBundle/Test/KernelTestCase (nicolas-grekas)
- bug #16477 [Routing] Changing RouteCollectionBuilder::import() behavior to add to the builder (weaverryan)
- bug #16588 Sent out a status text for unknown HTTP headers. (dawehner)
- bug #16295 [DependencyInjection] Unescape parameters for all types of injection (Nicofuma)
- bug #16377 [WebProfilerBundle] Fix minitoolbar height (rvanlaak)
- bug #16585 Add support for HTTP status code 418 back (dawehner)
- bug #16574 [Process] Fix PhpProcess with phpdbg runtime (nicolas-grekas)
- bug #16581 Fix call to undefined function json_last_error_message (dawehner)
- bug #16573 [FrameworkBundle] Fix PropertyInfo extractor namespace in framework bundle (jvasseur)
- bug #16578 [Console] Fix bug in windows detection (kbond)
- bug #16546 [Serializer] ObjectNormalizer: don't serialize static methods and props (dunglas)
- bug #16352 Fix the server variables in the
router_*.php
files (leofeyer) - bug #16537 [Validator] Allow an empty path with a non empty fragment or a query (jakzal)
- bug #16528 [Translation] Add support for Armenian pluralization. (marcosdsanchez)
- bug #16510 [Process] fix Proccess run with pts enabled (ewgRa)
You can read more about this new on the BETA1 announcement and by reading the Living on the Edge articles on this blog. Also read the UPGRADE guide for Symfony 3.0.
Want to upgrade to this new release? Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy. Read our upgrade documentation to learn more.
Want to check the integrity of this new version? Read my blog post about signing releases .
Want to be notified whenever a new Symfony release is published? Or when a version is not maintained anymore? Or only when a security issue is fixed? Consider subscribing to the Symfony Roadmap Notifications.
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.
@Laurynas Mališauskas
You need to check if all bundles that you use have support for 3.0
https://docs.google.com/spreadsheets/d/1GOxJ2lNpLxN12YyZ87Bhsxb0iLAQ7e4UDZbJSly8Sy8/edit#gid=0
Downloading it right now, very excited!
Party time! :-D
Kudos to everyone involved and the community for support.
Waiting (and helping where I can), for 3rd party bundles to be compatible as well.
Cheers.
Thanks ! I'll try it very soon :)
Lots of information in the CHANGELOG documents, but is there a broad overview somewhere of the fundamental changes between 2.x and 3.x?
PHP Warning: require(/home/eric/Documents/Web/Symfony/app/SymfonyRequirements.php): failed to open stream: No such file or directory in phar:///usr/local/bin/symfony/src/Symfony/Installer/DownloadCommand.php on line 265
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/symfony:0
PHP 2. require() /usr/local/bin/symfony:10
PHP 3. Symfony\Component\Console\Application->run() phar:///usr/local/bin/symfony/symfony:35
PHP 4. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/symfony/vendor/symfony/console/Application.php:126
PHP 5. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/symfony/vendor/symfony/console/Application.php:195
PHP 6. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/symfony/vendor/symfony/console/Application.php:878
PHP 7. Symfony\Installer\NewCommand->execute() phar:///usr/local/bin/symfony/vendor/symfony/console/Command/Command.php:259
PHP 8. Symfony\Installer\DownloadCommand->checkSymfonyRequirements() phar:///usr/local/bin/symfony/src/Symfony/Installer/NewCommand.php:65
PHP Fatal error: require(): Failed opening required '/home/eric/Documents/Web/Symfony/app/SymfonyRequirements.php' (include_path='.:/usr/share/php:/usr/share/pear') in phar:///usr/local/bin/symfony/src/Symfony/Installer/DownloadCommand.php on line 265
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/symfony:0
PHP 2. require() /usr/local/bin/symfony:10
PHP 3. Symfony\Component\Console\Application->run() phar:///usr/local/bin/symfony/symfony:35
PHP 4. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/symfony/vendor/symfony/console/Application.php:126
PHP 5. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/symfony/vendor/symfony/console/Application.php:195
PHP 6. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/symfony/vendor/symfony/console/Application.php:878
PHP 7. Symfony\Installer\NewCommand->execute() phar:///usr/local/bin/symfony/vendor/symfony/console/Command/Command.php:259
PHP 8. Symfony\Installer\DownloadCommand->checkSymfonyRequirements() phar:///usr/local/bin/symfony/src/Symfony/Installer/NewCommand.php:65
Is it possible de correct this please ?
"Document not found
This document does not exist for the 3.0 Symfony version"
... pleaaaaaaaaase... thanks.
Should we write now Symfony3, or still use Symfony2? (as Symfony alone we would end up on SF1 topics)
With most Sf1 ressources getting really old and eventually online, that may just work!