Symfony 4.2 adds support for defining the value of env vars per environment, simplifying the configuration of your applications.
In Symfony 4.2, the debug:autowiring command has been improved to make its information easier to understand.
The new getAcceptableFormats() method added in Symfony 4.2 allows to get a simplified list of request formats accepted by browsers.
In Symfony 4.2, the custom names of properties when objects are serialized can be configured using metadata, instead of having to create a name converter.
As part of the diversity initiative we in the beginning focused on putting systems into place to ensure that everyone can feel safe within our community. A major step was the adoption of the CoC and establishing of the CARE team, and maybe even more so by discussions within our community. We have made huge strides forward in creatking more positive atmosphere on the Symfony devs Slack. However, the obvious next step is to actively invite new developers to join our community and empower existing members to take the next step in making their voices heard. For this reason we published two new sections in our documentation: one for general mentoring and one for speaker mentoring.
In Symfony 4.2 we've deprecated some relevant features (like the base controller class and some console options) that you may need to update in your applications.
SymfonyCon Lisbon 2018 is coming very soon! Not registered yet? Here are 3 top reasons to join us there and don't miss the unmissable!
In Symfony 4.2 we added a new waitUntil() method which allows to control for how long the application waits for a process.