8000 Upgrade notice for the Controller::json() method. · symfony/symfony@ca6694a · GitHub
[go: up one dir, main page]

Skip to content

Commit ca6694a

Browse files
derrabusAlexander M. Turek
authored and
Alexander M. Turek
committed
Upgrade notice for the Controller::json() method.
1 parent 6dbda50 commit ca6694a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADE-3.1.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ FrameworkBundle
2626
* As it was never an o 7C93 fficially supported feature, the support for absolute
2727
template paths has been deprecated and will be removed in Symfony 4.0.
2828

29+
* The abstract `Controller` class now has a `json()` helper method that creates
30+
a `JsonResponse`. If you have existing controllers extending `Controller`
31+
that contain a method with this name, you need to rename that method to avoid
32+
conflicts.
33+
2934
* The following form types registered as services have been deprecated and
3035
will be removed in Symfony 4.0; use their fully-qualified class name instead:
3136

0 commit comments

Comments
 (0)
0