Close

2019-11-27

Symfony 4.4.0 released

symfony-developers

Symfony 4.4.0 released

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

  • bug #34464 [Form] group constraints when calling the validator (@nicolas-grekas)
  • bug #34451 [DependencyInjection] Fix dumping multiple deprecated aliases (@shyim)
  • bug #34448 [Form] allow button names to start with uppercase letter (@xabbuh)
  • bug #34428 [Security] Fix best encoder not wired using migrat _from (@chalasr)

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? 

VarDumper component

Provides mechanisms for walking through any arbitrary PHP variable.

In addition to new components and big features, new Symfony versions usually add “quality of life” features. These are little features that make you more productive and improve your developer experience in general.

The dump() and dd() helpers provided by the VarDumper component are a lightweight alternative when you don’t need full-featured debuggers like Xdebug. However, these helpers behave differently in the browser and the command console.

In the browser, dump() and dd() display both the dumped contents and the file path and line number where they were called. However, in the console you only see the dumped contents, so you don’t know where the helper was called:

Starting from Symfony 4.4, you’ll see a ^ character next to the dumped contents. Click on it to go directly to the file and line where the dump was generated:

 Fabien Potencier

this article was published on Symfony blog https://symfony.com/blog/new-in-symfony-4-4-improved-dump-calls-in-the-console?utm_source=Symfony%20Blog%20Feed&utm_medium=feed