Improvements
FlattenExceptionHandler
andFlattenExceptionNormalizer
send RFC 7807-compatibleContent-Type
header for JSON (application/problem+json
) and XML (application/problem+xml
)
Deprecations
-
deprecated not enabling the
fos_rest.body_listener
option explicitly, it will be disabled by default
in 3.0 -
deprecated 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
-
the following classes and interfaces are marked as
deprecated
, they will be removed in 3.0:FOS\RestBundle\Inflector\DoctrineInflector
FOS\RestBundle\Inflector\InflectorInterface
-
the following services and aliases are marked as
deprecated
, they will be removed in 3.0:fos_rest.inflector
fos_rest.router