PackageTrack
Sign in Get early access

friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

3.9.0 77M downloads/mo #762 most downloaded on Packagist FriendsOfSymfony/FOSRestBundle

What this package is like to depend on

Last release 6 months ago

10 Feb 2026

Release timing varies

gaps range from 8 days to 1.1 years

Some releases are documented

notes for 35 of 76 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

99 releases · first in 2012

3 releases in the last 12 months

see the full history below

Release timeline

98 releases · Apr 2012 to Feb 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 99
  1. 3.9.0 10 Feb 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.8.0...3.9.0

    Open source →
  2. 3.9.0-beta2 16 Jan 2026 pre-release
    Release notes

    What's Changed

    • Allow usage with symfony/config v8 by @W0rma in #2429

    Full Changelog: 3.9.0-beta1...3.9.0-beta2

    Open source →
  3. 3.9.0-beta1 22 Dec 2025 pre-release
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.8.0...3.9.0-beta1

    Open source →
  4. 3.8.0 04 Nov 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.7.1...3.8.0

    Open source →
  5. 3.7.1 12 Apr 2024
    Release notes

    What's Changed

    • fix: Sensio extra bundle TemplateListener invocation before view response listener and serialization by @flohw in #2410

    New Contributors

    Full Changelog: 3.7.0...3.7.1

    Open source →
  6. 3.7.0 04 Apr 2024
    Release notes

    What's Changed

    • Conditionally stop extending from the SensioFrameworkExtraBundle's Template annotation class by @mbabker in #2401
    • Add support for Symfony 7 where able by @mbabker in #2400

    Full Changelog: 3.6.0...3.7.0

    Open source →
  7. 3.6.0 27 Sep 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.5.0...3.6.0

    Open source →
  8. 3.5.0 06 Jan 2023
    Release notes

    What's Changed

    • Fixed SF 6.1 and SF 6.2 deprecations by @thomaspicquet in #2377
    • Update UPGRADING-3.0.md by @yourithielen in #2378

    New Contributors

    Full Changelog: 3.4.0...3.5.0

    Open source →
  9. 3.4.0 18 Sep 2022
    Release notes

    What's Changed

    Full Changelog: 3.3.0...3.4.0

    Open source →
  10. 3.3.0 03 Feb 2022
    Release notes

    What's Changed

    • Allow new version of willdurand/jsonp-callback-validator by @mbabker in #2360

    Full Changelog: 3.2.1...3.3.0

    Open source →
  11. 3.2.1 08 Jan 2022

    Nothing published for this version

  12. 3.2.0 18 Dec 2021

    Nothing published for this version

  13. 3.1.1 08 Nov 2021

    Nothing published for this version

  14. 3.1.0 15 Oct 2021

    Nothing published for this version

  15. 3.0.5 02 Jan 2021

    Nothing published for this version

  16. 3.0.4 10 Dec 2020

    Nothing published for this version

  17. 3.0.3 10 Sep 2020
    Release notes
    • fixed being able to configure exception codes and messages based on interfaces (e.g. Throwable)
    Open source →
  18. 3.0.2 14 Jul 2020
    Release notes
    • fixed the ViewHandler to not override an already set status_code in the serialization context
    • fixed embedding status codes in the response body when a mapping of exception classes to status codes is configured
    Open source →
  19. 3.0.1 29 Jun 2020
    Release notes
    • fixed handling requests without a content type inside the RequestBodyParamConverter
    • FlattenExceptionNormalizer does no longer implement the CacheableSupportsMethodInterface to ensure compatibility with older versions of the Symfony Serializer component
    Open source →
  20. 3.0.0 03 Jun 2020
    Release notes

    Features

    • added support for Symfony 5 compatibility

    BC Breaks

    • the route generation feature was removed, setting it to another value than false leads to an exception

    • support for serializing exceptions was removed, setting the fos_rest.exception.serialize_exceptions option to anything else than false leads to an exception

    • support for returning anything other than string or null from resolve() when implementing the VersionResolverInterface was removed

    • removed support for passing version numbers as integers to Context::setVersion()

    • removed the isFormatTemplating(), renderTemplate(), and prepareTemplateParameters() methods from the ViewHandler class and the ViewHandlerInterface

    • the constructor of the ViewHandler class is private now, use the static create() factory method instead

    • removed the setTemplateVar(), setPopulateDefaultVars(), getTemplateVar(), and isPopulateDefaultVars() methods from the Controller\Annotations\View class

    • removed the setEngine(), setTemplate(), setTemplateData(), setTemplateVar(), getEngine(), getTemplate(), getTemplateData(), and getTemplateVar() methods from the View\View class

    • changed the default value of the fos_rest.body_listener option to false

    • removed the setMaxDepth()/getMaxDepth() methods from the Context class, use enableMaxDepth()/disableMaxDepth() instead

    • dropped support for Symfony components < 4.4

    • removed the following options:

      • fos_rest.access_denied_listener
      • fos_rest.exception.exception_controller
      • fos_rest.exception.exception_listener
      • fos_rest.exception.service
      • fos_rest.service.inflector
      • fos_rest.service.router
      • fos_rest.service.templating
      • fos_rest.view.default_engine
      • fos_rest.view.force_redirects
      • fos_rest.view.templating_formats
    • removed the following classes and interfaces:

      • FOS\RestBundle\Controller\Annotations\NamePrefix
      • FOS\RestBundle\Controller\Annotations\NoRoute
      • FOS\RestBundle\Controller\Annotations\Prefix
      • FOS\RestBundle\Controller\Annotations\RouteResource
      • FOS\RestBundle\Controller\Annotations\Version
      • FOS\RestBundle\Controller\ExceptionController
      • FOS\RestBundle\Controller\TemplatingExceptionController
      • FOS\RestBundle\Controller\TwigExceptionController
      • FOS\RestBundle\EventListener\AccessDeniedListener
      • FOS\RestBundle\EventListener\ExceptionListener
      • FOS\RestBundle\Inflector\DoctrineInflector
      • FOS\RestBundle\Inflector\InflectorInterface
      • FOS\RestBundle\Routing\Loader\DirectoryRouteLoader
      • FOS\RestBundle\Routing\Loader\Reader\RestActionReader
      • FOS\RestBundle\Routing\Loader\Reader\RestControllerReader
      • FOS\RestBundle\Routing\Loader\RestRouteLoader
      • FOS\RestBundle\Routing\Loader\RestRouteProcessor
      • FOS\RestBundle\Routing\Loader\RestXmlCollectionLoader
      • FOS\RestBundle\Routing\Loader\RestYamlCollectionLoader
      • FOS\RestBundle\Routing\ClassResourceInterface
      • FOS\RestBundle\Routing\RestRouteCollection
      • FOS\RestBundle\Serializer\Normalizer\ExceptionHandler
      • FOS\RestBundle\Serializer\Normalizer\ExceptionNormalizer
    • removed the following services and aliases:

      • fos_rest.access_denied_listener
      • fos_rest.exception_listener
      • fos_rest.exception.controller
      • fos_rest.exception.twig_controller
      • fos_rest.inflector
      • fos_rest.router
      • fos_rest.routing.loader.controller
      • fos_rest.routing.loader.directory
      • fos_rest.routing.loader.processor
      • fos_rest.routing.loader.reader.controller
      • fos_rest.routing.loader.reader.action
      • fos_rest.routing.loader.xml_collection
      • fos_rest.routing.loader.yaml_collection
      • fos_rest.serializer.exception_normalizer.jms
      • fos_rest.serializer.exception_normalizer.symfony
      • fos_rest.templating
    • the following classes are marked as internal (backwards compatibility will no longer be guaranteed):

      • FOS\RestBundle\DependencyInjection\Compiler\HandlerRegistryDecorationPass
      • FOS\RestBundle\DependencyInjection\FOSRestExtension
      • FOS\RestBundle\Form\Extension\DisableCSRFExtension
      • FOS\RestBundle\Form\Transformer\EntityToIdObjectTransformer
      • FOS\RestBundle\Normalizer\CamelKeysNormalizer
      • FOS\RestBundle\Normalizer\CamelKeysNormalizerWithLeadingUnderscore
      • FOS\RestBundle\Serializer\Normalizer\FormErrorHandler
      • FOS\RestBundle\Serializer\Normalizer\FormErrorNormalizer
      • FOS\RestBundle\Util\ExceptionValueMap
    • the following classes are now final:

      • FOS\RestBundle\Decoder\ContainerDecoderProvider
      • FOS\RestBundle\Decoder\JsonDecoder
      • FOS\RestBundle\Decoder\JsonToFormDecoder
      • FOS\RestBundle\Decoder\XmlDecoder
      • FOS\RestBundle\Form\Transformer\EntityToIdObjectTransformer
      • FOS\RestBundle\Negotiation\FormatNegotiator
      • FOS\RestBundle\Request\ParamFetcher
      • FOS\RestBundle\Request\ParamReader
      • FOS\RestBundle\Request\RequestBodyParamConverter
      • FOS\RestBundle\Response\AllowMethodsLoader\AllowedMethodsRouterLoader
      • FOS\RestBundle\Serializer\JMSSerializerAdapter
      • FOS\RestBundle\Serializer\SymfonySerializerAdapter
      • FOS\RestBundle\Version\ChainVersionResolver
      • FOS\RestBundle\Version\Resolver\HeaderVersionResolver
      • FOS\RestBundle\Version\Resolver\MediaTypeVersionResolver
      • FOS\RestBundle\Version\Resolver\QueryParameterVersionResolver
      • FOS\RestBundle\View\JsonpHandler
      • FOS\RestBundle\View\View
      • FOS\RestBundle\View\ViewHandler
    Open source →
  21. 3.0.0-beta3 23 May 2020 pre-release

    Nothing published for this version

  22. 3.0.0-beta2 16 May 2020 pre-release

    Nothing published for this version

  23. 3.0.0-beta1 07 May 2020 pre-release

    Nothing published for this version

  24. 2.8.6 02 Jan 2021

    Nothing published for this version

  25. 2.8.5 17 Dec 2020

    Nothing published for this version

  26. 2.8.4 10 Dec 2020

    Nothing published for this version

  27. 2.8.3 10 Sep 2020
    Release notes
    • fixed being able to configure exception codes and messages based on interfaces (e.g. Throwable)
    Open source →
  28. 2.8.2 14 Jul 2020
    Release notes
    • fixed the ViewHandler to not override an already set status_code in the serialization context
    • fixed embedding status codes in the response body when a mapping of exception classes to status codes is configured
    Open source →
  29. 2.8.1 29 Jun 2020
    Release notes
    • fixed handling requests without a content type inside the RequestBodyParamConverter
    • FlattenExceptionNormalizer does no longer implement the CacheableSupportsMethodInterface to ensure compatibility with older versions of the Symfony Serializer component
    Open source →
  30. 2.8.0 03 Jun 2020
    Release notes

    Features

    • added a SerializerErrorHandler that leverages the FOS\RestBundle\Serializer\Serializer interface to hook into the error rendering process provided by the ErrorHandler component since Symfony 4.4

    • added a new normalizer (for the Symfony serializer) and a new handler (for the JMS serializer) to serialize FlattenException instances, for backwards compatibility the resulting format by default is the same as was used for exceptions/errors before, use the flatten_exception_format to opt-in to a format compatible with the API Problem spec (RFC 7807):

      fos_rest:
          exception:
              flatten_exception_format: 'rfc7807'
      
    • added a new ResponseStatusCodeListener that maps exception/error codes to response status codes, enable it by setting the new map_exception_codes option to true

    Deprecations

    • the route generation feature is deprecated, disable it explicitly:

      fos_rest:
          routing_loader: false
      

      You need to configure your routes explicitly, e.g. using the Symfony Core annotations or the FOSRestBundle shortcuts like FOS\RestBundle\Controller\Annotations\Get. You can use bin/console debug:router --show-controllers to help with the migration and compare routes before and after it. Change the routing loading:

      Before:

      Acme\Controller\TestController:
          type: rest
          resource: Acme\Controller\TestController
      

      After:

      Acme\Controller\TestController:
          type: annotation
          resource: Acme\Controller\TestController
      

      When using the Symfony Core route loading, route names might change as the FOSRestBundle used a different naming convention. Mind the .{_format} suffix if you used the fos_rest.routing_loader.include_format option.

      In case you have OpenAPI/Swagger annotations, you can also use OpenAPI-Symfony-Routing which removes the need to have routing information duplicated. It also allows to add the .{_format} suffix automatically as before.

      If migration to explicit routes is not possible or feasible, consider using RestRoutingBundle which extracted the auto-generation of routes in a BC way.

    • deprecated support for serializing exceptions, disable it by setting the serialize_exceptions option to false:

      fos_rest:
          exception:
              serialize_exceptions: false
      
    • deprecated returning anything other than string or null from resolve() when implementing the VersionResolverInterface.

    • deprecated support for passing version numbers as integers to Context::setVersion() (strings will be enforced as of 3.0)

    • deprecated the isFormatTemplating(), renderTemplate(), and prepareTemplateParameters() methods of the ViewHandler class and the ViewHandlerInterface

    • deprecated the constructor of the ViewHandler class, use the static create() factory method instead

    • deprecated the setTemplateVar(), setPopulateDefaultVars(), getTemplateVar(), and isPopulateDefaultVars() methods of the Controller\Annotations\View class

    • deprecated the setEngine(), setTemplate(), setTemplateData(), setTemplateVar(), getEngine(), getTemplate(), getTemplateData(), and getTemplateVar() methods of the View\View class

    • 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.access_denied_listener
      • fos_rest.exception.exception_controller
      • fos_rest.exception.exception_listener
      • fos_rest.exception.service
      • fos_rest.service.inflector
      • fos_rest.service.router
      • fos_rest.service.templating
      • fos_rest.view.default_engine
      • fos_rest.view.force_redirects
      • fos_rest.view.templating_formats
    • the following classes and interfaces are marked as deprecated, they will be removed in 3.0:

      • FOS\RestBundle\Controller\Annotations\NamePrefix
      • FOS\RestBundle\Controller\Annotations\NoRoute
      • FOS\RestBundle\Controller\Annotations\Prefix
      • FOS\RestBundle\Controller\Annotations\RouteResource
      • FOS\RestBundle\Controller\Annotations\Version
      • FOS\RestBundle\Controller\ExceptionController
      • FOS\RestBundle\Controller\TemplatingExceptionController
      • FOS\RestBundle\Controller\TwigExceptionController
      • FOS\RestBundle\EventListener\AccessDeniedListener
      • FOS\RestBundle\EventListener\ExceptionListener
      • FOS\RestBundle\Inflector\DoctrineInflector
      • FOS\RestBundle\Inflector\InflectorInterface
      • FOS\RestBundle\Routing\Loader\DirectoryRouteLoader
      • FOS\RestBundle\Routing\Loader\Reader\RestActionReader
      • FOS\RestBundle\Routing\Loader\Reader\RestControllerReader
      • FOS\RestBundle\Routing\Loader\RestRouteLoader
      • FOS\RestBundle\Routing\Loader\RestRouteProcessor
      • FOS\RestBundle\Routing\Loader\RestXmlCollectionLoader
      • FOS\RestBundle\Routing\Loader\RestYamlCollectionLoader
      • FOS\RestBundle\Routing\ClassResourceInterface
      • FOS\RestBundle\Routing\RestRouteCollection
      • FOS\RestBundle\Serializer\Normalizer\ExceptionHandler
      • FOS\RestBundle\Serializer\Normalizer\ExceptionNormalizer
    • the following services and aliases are marked as deprecated, they will be removed in 3.0:

      • fos_rest.access_denied_listener
      • fos_rest.exception_listener
      • fos_rest.exception.controller
      • fos_rest.exception.twig_controller
      • fos_rest.inflector
      • fos_rest.router
      • fos_rest.routing.loader.controller
      • fos_rest.routing.loader.directory
      • fos_rest.routing.loader.processor
      • fos_rest.routing.loader.reader.controller
      • fos_rest.routing.loader.reader.action
      • fos_rest.routing.loader.xml_collection
      • fos_rest.routing.loader.yaml_collection
      • fos_rest.serializer.exception_normalizer.jms
      • fos_rest.serializer.exception_normalizer.symfony
      • fos_rest.templating
    • the following classes are marked as internal (backwards compatibility will no longer be guaranteed starting with FOSRestBundle 3.0):

      • FOS\RestBundle\DependencyInjection\Compiler\HandlerRegistryDecorationPass
      • FOS\RestBundle\DependencyInjection\FOSRestExtension
      • FOS\RestBundle\Form\Extension\DisableCSRFExtension
      • FOS\RestBundle\Form\Transformer\EntityToIdObjectTransformer
      • FOS\RestBundle\Normalizer\CamelKeysNormalizer
      • FOS\RestBundle\Normalizer\CamelKeysNormalizerWithLeadingUnderscore
      • FOS\RestBundle\Serializer\Normalizer\FormErrorHandler
      • FOS\RestBundle\Serializer\Normalizer\FormErrorNormalizer
      • FOS\RestBundle\Util\ExceptionValueMap
    • the following classes are marked as final (extending them will not be supported as of 3.0):

      • FOS\RestBundle\Decoder\ContainerDecoderProvider
      • FOS\RestBundle\Decoder\JsonDecoder
      • FOS\RestBundle\Decoder\JsonToFormDecoder
      • FOS\RestBundle\Decoder\XmlDecoder
      • FOS\RestBundle\Form\Transformer\EntityToIdObjectTransformer
      • FOS\RestBundle\Negotiation\FormatNegotiator
      • FOS\RestBundle\Request\ParamFetcher
      • FOS\RestBundle\Request\ParamReader
      • FOS\RestBundle\Request\RequestBodyParamConverter
      • FOS\RestBundle\Response\AllowMethodsLoader\AllowedMethodsRouterLoader
      • FOS\RestBundle\Serializer\JMSSerializerAdapter
      • FOS\RestBundle\Serializer\SymfonySerializerAdapter
      • FOS\RestBundle\Version\ChainVersionResolver
      • FOS\RestBundle\Version\Resolver\HeaderVersionResolver
      • FOS\RestBundle\Version\Resolver\MediaTypeVersionResolver
      • FOS\RestBundle\Version\Resolver\QueryParameterVersionResolver
      • FOS\RestBundle\View\JsonpHandler
      • FOS\RestBundle\View\View
      • FOS\RestBundle\View\ViewHandler
    Open source →
  31. 2.8.0-beta3 22 May 2020 pre-release

    Nothing published for this version

  32. 2.8.0-beta2 16 May 2020 pre-release

    Nothing published for this version

  33. 2.8.0-beta1 07 May 2020 pre-release

    Nothing published for this version

  34. 2.7.4 23 Apr 2020
    Release notes
    • fixed compatibility with JMS Serializer with explicitly disabled max depth checks (#2060)
    • fixed config validation when mapping Throwable instances of classes that do not extend PHP's Exception class (#2131)
    Open source →
  35. 2.7.3 28 Mar 2020
    Release notes
    • harden the JsonToFormDecoder to not error on non-array input (#2145)
    Open source →
  36. 2.7.2 04 Mar 2020
    Release notes
    • fixed serializing Error instances when the Symfony Serializer is used (#2110)
    • fixed serializing Error instances when JMS Serializer is used (#2105)
    • fixed compatibility with null owner returned by SensioFrameworkExtraBundle (#2097)
    • completely fixed handling Throwable objects in ExceptionController::showAction(), continues #2093 (#2096)
    Open source →
  37. 2.7.1 24 Feb 2020
    Release notes
    • fixed handling all Throwable objects in ExceptionController::showAction() (#2093)
    • fixed ViewHandlerInterface alias definition (#2085)
    Open source →
  38. 2.7.0 31 Jan 2020
    Release notes
    • ignore SessionInterface and UserInterface controller action arguments
    • fixed ExceptionListener deprecation warning
    • fixed ControllerNameParser deprecation warning
    • fixed DisableCSRFExtension::getExtendedTypes() return type
    • improved EngineInterface error message in ViewHandler
    • improved Symfony 4.4 compatibility
    • automatically use Twig as templating engine when available
    Open source →
  39. 2.6.0 21 Oct 2019
    Release notes
    • ensure compatibility with the FlattenException from the new ErrorRenderer component
    • fix handling the serialize_null option with the Symfony serializer
    • added support for using multiple constraints for the requirements option of the @RequestParam annotation
    • drop support for PHP 5.5, 5.6 and 7.0
    • drop support for SF 4.0, 4.1 and 4.2 (3.4 LTS is still supported)
    • deprecated using the ParamFetcher class without passing a validator as the third argument, this argument will become mandatory in 3.0
    • fix compatiblity without the deprecated templating in Symfony 4.3; see #2012 on how to configure the FOSRestBundle
    • removed symfony/templating from the dependencies; if you still use it you need to require it in your app
    Open source →
  40. 2.5.0 03 Jan 2019
    Release notes
    • compatibility with Symfony 4.2
    • deprecated the FOSRestController base class, use the new AbstractFOSRestController instead
    • dropped support for Symfony 2.7 to 3.3
    • compatibility with JMS Serializer 2 and JMSSerializerBundle 3
    • overwrite rules when they are defined in different config files instead of throwing exceptions
    • fixed using the nullable option of the param annotations when the map option is enabled
    • ensure a predictable order of routes by sorting controllers by name when loading classes from a directory
    • reset the internal state of the view handler to fix compatibility with PHP-PM
    • fix different bugs related to the handling of API versions (see #1491, #1529, #1691)
    Open source →
  41. 2.4.0 21 Aug 2018
    Release notes
    • [BC BREAK] The @Route annotation and all its children no longer extend SensioFrameworkExtraBundle's annotation. The main effect is that @Route::$service is no longer available. Instead, define your controllers using the FQCN as service IDs or create an alias in the container using the FQCN.
    Open source →
  42. 2.3.1 28 Feb 2018
    Release notes
    • improved Symfony 4 compatibility

    • manually decorate the core JMS handler registry

    • run checks after SensioFrameworkExtraBundle

    • made the view handler alias public

    • check for definitions before they might be removed

    • added Yaml routing resource support

    • refactored several unit tests

    Open source →
  43. 2.3.0 28 Nov 2017
    Release notes
    • added support for file paths to the directory route loader

    • added support for context factories when using JMS Serializer

    • the RequestBodyParamConverter ignores unrelated controller arguments to not conflict with Symfony's built-in argument resolver

    • made the bundle compatible with SensioFrameworkExtraBundle 4.x

    • added some interface aliases to support by ID autowiring

    • added support for custom keys for groups when using JMSSerializerBundle

    • allow to load FOSRestBundle inside the kernel before JMSSerializerBundle

    • added the fos_rest.routing_loader.prefix_methods option to disable method name prefixes in generated route names

    • removed newline characters from exception messages

    Open source →
  44. 2.2.0 06 Apr 2017

    Nothing published for this version

  45. 2.1.1 23 Nov 2016

    Nothing published for this version

  46. 2.1.0 07 Sep 2016

    Nothing published for this version

  47. 2.0.2 11 Nov 2016

    Nothing published for this version

  48. 2.0.1 07 Sep 2016

    Nothing published for this version

  49. 2.0.0 21 Jun 2016

    Nothing published for this version

  50. 2.0.0-BETA3 15 May 2016 pre-release

    Nothing published for this version

  51. 2.0.0-BETA2 09 Mar 2016 pre-release

    Nothing published for this version

  52. 2.0.0-BETA1 06 Mar 2016 pre-release

    Nothing published for this version

  53. 1.8.0 21 Jun 2016
    Release notes
    • added a new InvalidParameterException as a specialization of the BadRequestHttpException

    • deprecated the FOS\RestBundle\Util\ViolationFormatter class and the FOS\RestBundle\Util\ViolationFormatterInterface

    • deprecated the ViolationFormatterInterface argument of the ParamFetcher class constructor

    • deprecated the RedirectView and RouteRedirectView classes, use View::createRedirect() and View::createRouteRedirect() instead

    • added a fos_rest.exception.debug config option that defaults to the kernel.debug container parameter and can be turned on to include the caught exception message in the exception controller's response

    • introduced the concept of REST zones which makes it possible to disable all REST listeners when a request matches certain attributes

    • fixed that serialization groups are always passed to the constructor as an array

    • added annotations to support additional HTTP methods defined by RFC 2518 (WebDAV)

    • added a new loader that allows to extract REST routes from all controller classes from a directory

    • introduced a serializer adapter layer to ease the integration of custom serialization implementations

    • deprecated the getter methods of the ViewHandler class

    • fixed an issue that prevented decoration of the TemplateReferenceInterface from the Symfony Templating component

    • fixed: no longer overwrite an explicitly configured template in the view response listener

    • added support for API versioning in URL parameters, the Accept header or using a custom header

    • marked some classes and methods as internal, do no longer use them in your code as they are likely to be removed in future releases

    • deprecated the DoctrineInflector class and the InflectorInterface from the FOS\RestBundle\Util\Inflectorin favor of their replacements in the FOS\RestBundle\Inflector namespace

    • deprecated the FormatNegotiator class and the FormatNegotiatorInterface from the FOS\RestBundle\Util namespace in favor of the new FOS\RestBundle\Negotiation\FormatNegotiator class

    • deprecated the FOS\RestBundle\Util\MediaTypeNegotiatorInterface which should no longer be used

    Open source →
  54. 1.8.0-BETA2 15 May 2016 pre-release

    Nothing published for this version

  55. 1.8.0-BETA1 05 Mar 2016 pre-release

    Nothing published for this version

  56. 1.7.9 15 May 2016
    Release notes
    • handle \Throwable instances in the ExceptionController

    • fixed that the default exclusion strategy groups for the serializer are not the empty string

    • fixed a BC break that prevented the CamelKeysNormalizer from removing leading underscores

    • fixed the AllowedMethodsRouteLoader to work with Symfony 3.0

    Open source →
  57. 1.7.8 03 Mar 2016
    Release notes
    • removed uses of the reflection API in favor of faster solutions when possible

    • fixed the configuration to use serialization groups and versions at the same time

    Open source →
  58. 1.7.7 29 Dec 2015
    Release notes
    • when using Symfony 3.x, the bundle doesn't call methods anymore that have been deprecated in Symfony 2.x and were removed in Symfony 3.0

    • the ViewResponseListener does not overwrite explicitly configured templates anymore

    • fixed the ParamFetcher class to properly handle sub requests

    Open source →
  59. 1.7.6 20 Dec 2015
    Release notes
    • added a CamelKeysNormalizerWithLeadingUnderscore that keeps leading underscores when converting snake case to camel case (for example, leaving _username unchanged)
    Open source →
  60. 1.7.4 05 Dec 2015
    Release notes
    • removed some code from the ViewResponseListener class that was already present in the parent TemplateListener class
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive