From ca6694ab19bdfa59efc556fe9c2f6a59a01e6f88 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 30 Mar 2016 19:57:28 +0200 Subject: [PATCH] Upgrade notice for the Controller::json() method. --- UPGRADE-3.1.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPGRADE-3.1.md b/UPGRADE-3.1.md index 6518f4f8fb..bea905adc9 100644 --- a/UPGRADE-3.1.md +++ b/UPGRADE-3.1.md @@ -26,6 +26,11 @@ FrameworkBundle * As it was never an officially supported feature, the support for absolute template paths has been deprecated and will be removed in Symfony 4.0. + * The abstract `Controller` class now has a `json()` helper method that creates + a `JsonResponse`. If you have existing controllers extending `Controller` + that contain a method with this name, you need to rename that method to avoid + conflicts. + * The following form types registered as services have been deprecated and will be removed in Symfony 4.0; use their fully-qualified class name instead: