Improvements
FlattenExceptionHandlerandFlattenExceptionNormalizersend RFC 7807-compatibleContent-Typeheader for JSON (application/problem+json) and XML (application/problem+xml)
Deprecations
-
deprecated not enabling the
fos_rest.body_listeneroption explicitly, it will be disabled by default
in 3.0 -
deprecated the following options:
fos_rest.service.inflectorfos_rest.service.routerfos_rest.service.templatingfos_rest.view.default_enginefos_rest.view.force_redirects
-
the following classes and interfaces are marked as
deprecated, they will be removed in 3.0:FOS\RestBundle\Inflector\DoctrineInflectorFOS\RestBundle\Inflector\InflectorInterface
-
the following services and aliases are marked as
deprecated, they will be removed in 3.0:fos_rest.inflectorfos_rest.router