Symfony 6 Certification New exam with updated questions 100% online Show your expertise

Symfony 2.6.0-BETA1 released

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

The first beta of Symfony 2.6 was released on Monday. As always, backward compatibility means that you should be able to upgrade easily without changing anything in your code. Anyway, read the UPGRADE from 2.5 to 2.6 guide to learn more about new ways of doing things and deprecated features that will be removed in 3.0.

What's new in Symfony 2.6

Symfony 2.6 comes with more than 100 new features and enhancements. The full changelog from 2.5 to 2.6 BETA 1 is available on the repository, but here is a curated list of the most relevant ones:

Debugging improvements

  • new VarDumper Component and DebugBundle (jpauli, nicolas-grekas, ruian, moux2003, tony-co, romainneutron, oscherler, lyrixx) (10640)
  • error handler in production (nicolas-grekas) (12081)
  • generic ErrorHandler (nicolas-grekas) (10921)
  • added an action to show error pages in kernel.debug mode (mpdude) (12096)
  • enhanced error messages for uncaught exceptions (nicolas-grekas) (11034)
  • container:debug: list services if no service match exactly the name argument (agallou) (11339)
  • added link to the output of debug function (lyrixx) (12036)
  • improved debug:event-dispatcher (matthieuauger) (10388)
  • removed the scope from the output of the container:debug command (xabbuh) (11317)
  • added some file link format handling (nicolas-grekas) (12045)

Form improvements

  • Twitter Bootstrap form theme (lyrixx) (10272)
  • trace of form errors in the profiler (webmozart) (12054)
  • added "label_format" option (webmozart) (12050)
  • added Doctrine entity manager instance support for em option (egeloen) (12251)
  • choice children can be template customized like collection (adrienbrault) (9033)
  • add allow_html5 option to date and time FormType to disable HTML5 input type (csanquer) (8291)
  • improve transformation failure message by providing property path (jubianchi) (11318)
  • add allow_extra_fields option on forms (felds) (8133)

Validation improvements

Better extensibility/reusability improvements

Enhancements of existing features

  • handled circular references in the Serializer (dunglas) (12098)
  • made the stopwatch service always available (xabbuh) (11549)
  • exposed configuration of PropertyAccess (lyrixx) (11731)
  • added support for slicing nodes in Dom Crawler (Berat Doğan, beratdogan) (10699)
  • added compare method to CSS selector specificity (barryvdh) (11404)
  • added retrieval of Timer sections (umpirsky) (10851)
  • MongoDbSessionHandler supports auto expiry via configurable expiry_field (catchamonkey) (11668)
  • ResponseHeaderBag::clearCookie now accepts secure/httpOnly (adrienbrault) (11173)
  • added a switch to delete file after the response is send (WybrenKoelmans) (11212)
  • add support for streams as Process input (romainneutron) (10934)
  • added support for object-maps in YAML (polyfractal, nicolas-grekas) (10552)
  • added a way to match a specific scheme in RequestMatcher #10556 (ProPheT777) (10667)
  • enhanced PdoSessionHandler (Tobion) (10931)
  • added ParameterBag::getBoolean (peterjmit) (11086)
  • throw Exception on copying from an unreadable file or to an unwritable file (djotto) (10960)
  • added support for encoding and decoding namespaced xml (xmlns) (11375) (mattvick)
  • added support for skipping commands from ConsoleCommandEvent (tPl0ch) (9235)
  • added some methods to improve the handling of auto_mapping feature (goetas) (11815)
  • provide a compiler pass for doctrine to register namespace aliases (dbu) (10853)

Translation improvements

DX improvements

Various new features

Testing 2.6

You can test, hack, and play with Symfony 2.6 code in many different ways:

  • Create a new project via Composer (recommended):
$ php composer.phar create-project symfony/framework-standard-edition somewhere/ 2.6.0-BETA1
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.


This is really great list of changes! It gave me nice overview of all the work that contributors did. Good job! Thanks for that.

Comments are closed.

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