Skip to content

Releases: FriendsOfSymfony/FOSRestBundle

2.7.3

28 Mar 08:25
2.7.3
Compare
Choose a tag to compare
  • harden the JsonToFormDecoder to not error on non-array input (#2145)

2.7.2

04 Mar 21:20
2.7.2
Compare
Choose a tag to compare
  • 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)

2.7.1

24 Feb 09:05
2.7.1
Compare
Choose a tag to compare
  • fixed handling all Throwable objects in ExceptionController::showAction() (#2093)
  • fixed ViewHandlerInterface alias definition (#2085)

2.7.0

31 Jan 16:13
2.7.0
Compare
Choose a tag to compare
  • 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

2.6.0

21 Oct 08:23
2.6.0
Compare
Choose a tag to compare
  • 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

2.5.0

03 Jan 17:47
2.5.0
Compare
Choose a tag to compare
  • 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)

2.4.0: fix route generator not ignoring body param converters (#1934)

23 Aug 09:07
Compare
Choose a tag to compare

[BC break] @Route::$service is no longer supported, see the changelog and #1822.

This release primarily fixes deprecations.

2.3.1

02 Mar 18:05
2.3.1
Compare
Choose a tag to compare
  • 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

2.3.0

28 Nov 11:50
2.3.0
Compare
Choose a tag to compare
  • 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

2.2.0: typo in UPGRADING-2.0.md fixed (#1690)

04 May 15:14
Compare
Choose a tag to compare
* typo in UPGRADING-2.0.md fixed

* Update UPGRADING-2.0.md