Living on the Edge

A series of posts showcasing the new features introduced by each Symfony version.

Filter by version: 4.1 4.0-3.4 3.3 3.2 3.1 3.0-2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0

New in Symfony 3.3: PSR-4 based Service Discovery

Symfony 3.3 will include a new feature to discover and register services based on PSR-4 classes found in the given directories.

New in Symfony 3.3: Service locators

In Symfony 3.3 you can create "service locators" to avoid injecting the entire service container when you need access to lots of services but you don't actually use all of them.

New in Symfony 3.3: Service autoconfiguration

The new "autoconfigure" option adds automation to the "_instanceof" option, greatly simplifying the configuration of your services in Symfony 3.3 applications.

New in Symfony 3.3: Persisted deprecation logs

In Symfony 3.3, the deprecation messages generated during the compilation of the service container will be persisted, so they won't disappear when you reload the page.

New in Symfony 3.3: WebLink component

Symfony 3.3 will include a new component called WebLink to manage links between resources; implementing features such as preloading and prefetching.

New in Symfony 3.3: SecurityBundle improvements

In Symfony 3.3, the SecuritBundle includes improvements such as a smarter security:encode-password command and a more robust logout URL generation.

New in Symfony 3.3: Redesigned exception pages

Symfony 3.3 has redesigned the exception pages to modernize them and match their design with the toolbar and the profiler.

New in Symfony 3.3: Faster routing

In Symfony 3.3 we optimized the performance of the routing component to make your applications faster, specially when they define a lot of routes.

New in Symfony 3.3: A simpler way to get the project root directory

Symfony 3.3 defines a new Kernel::getProjectDir() to replace Kernel::getRootDir() as the way to find the root project directory.

New in Symfony 3.3: Improved flash messages

In Symfony 3.3, it's easier to work with flash messages in templates. In addition, the session no longer starts automatically when checking if there are flash messages.