Improvements
FlattenExceptionHandler
andFlattenExceptionNormalizer
send RFC 7807-compatibleContent-Type
header for JSON (application/problem+json
) and XML (application/problem+xml
)
BC Breaks
-
changed the default value of the
fos_rest.body_listener
option tofalse
-
removed the following options:
fos_rest.service.inflector
fos_rest.service.router
fos_rest.service.templating
fos_rest.view.default_engine
fos_rest.view.force_redirects
-
removed the following classes and interfaces:
FOS\RestBundle\Inflector\DoctrineInflector
FOS\RestBundle\Inflector\InflectorInterface
-
removed the following services and aliases:
fos_rest.inflector
fos_rest.router