Symfony 4.0.0-BETA4 released

Warning: Symfony 4.0 is no longer supported. Consider upgrading your applications to the most recent Symfony version.

Symfony 4.0.0-BETA4 has just been released. Here is a list of the most important changes:

  • bug #24874 [TwigBridge] Fixed the .form-check-input class in the bs4 templates (@vudaltsov)
  • bug #24929 [Console] Fix traversable autocomplete values (@ro0NL)
  • feature #24860 [FrameworkBundle] Add default translations path option and convention (@yceruto)
  • bug #24921 [Debug] Remove false-positive deprecation from DebugClassLoader (@nicolas-grekas)
  • bug #24856 [FrameworkBundle] Add default mapping path for validator component in bundle-less app (@yceruto)
  • bug #24833 [FrameworkBundle] Add default mapping path for serializer component in bundle-less app (@yceruto)
  • bug #24908 [WebServerBundle] Prevent console.terminate from being fired when server:start finishes (@kbond)
  • bug #24888 [FrameworkBundle] Specifically inject the debug dispatcher in the collector (@ogizanagi)
  • bug #24909 [Intl] Update ICU data to 60.1 (@jakzal)
  • bug #24870 [YAML] Allow to parse custom tags when linting yaml files (@pierredup)
  • bug #24910 [HttpKernel][Debug] Remove noise from stack frames of deprecations (@nicolas-grekas)
  • bug #24906 [Bridge/ProxyManager] Remove direct reference to value holder property (@nicolas-grekas)
  • feature #24887 [Cache][Lock] Add RedisProxy for lazy Redis connections (@nicolas-grekas)
  • bug #24633 [Config] Fix cannotBeEmpty() (@ro0NL)
  • bug #24900 [Validator] Fix Costa Rica IBAN format (@Bozhidar Hristov)
  • bug #24904 [Validator] Add Belarus IBAN format (@Bozhidar Hristov)
  • bug #24837 [TwigBridge] [Bootstrap 4] Fix validation error design for expanded choiceType (@ostrolucky)
  • bug #24878 [HttpFoundation] Prevent PHP from sending Last-Modified on session start (@nicolas-grekas)
  • bug #24881 [WebserverBundle] fixed the bug that caused that the webserver would … (@Serkan Yildiz)
  • bug #24722 Replace more docblocks by type-hints (@nicolas-grekas)
  • bug #24850 [DI] Fix cannot bind env var (@ogizanagi)
  • bug #24851 [TwigBridge] Fix BC break due required twig environment (@ro0NL)

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 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.


Can't install it via the Symfony installer following your guide:

C:\Symfony>php symfony new beta4 4.0.0-BETA4
WARNING You are downloading an unstable Symfony version.
Downloading Symfony...
The selected version (4.0.0-BETA4) cannot be installed because it does not exist.
Untill Symfony is not yet released you should use this:

composer create-project symfony/skeleton testt --stability=beta

After release just remove --stability statement.
Symfony is no longer support symfony installer.
Is there a best practise how to deploy a S4 project in a virtual machine? a VM deploy isn't a 12 factor app, so I'm not sure how how to set env variables without dotEnv.
I run `composer create-project symfony/skeleton sf4 --stability=beta` command to install s4 rc2, but rc1 is installed, how can install & test rc2 version?
oh, I'm sorry. it was my mistake. its ok

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.