Skip to content

Bump friendsofsymfony/rest-bundle from 2.7.3 to 2.8.6#58

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/friendsofsymfony/rest-bundle-2.8.6
Open

Bump friendsofsymfony/rest-bundle from 2.7.3 to 2.8.6#58
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/friendsofsymfony/rest-bundle-2.8.6

Conversation

@dependabot-preview
Copy link
Copy Markdown

Bumps friendsofsymfony/rest-bundle from 2.7.3 to 2.8.6.

Release notes

Sourced from friendsofsymfony/rest-bundle's releases.

2.8.6

No release notes provided.

2.8.5

No release notes provided.

Add php 8 support

No release notes provided.

2.8.3

  • fixed being able to configure exception codes and messages based on interfaces (e.g. Throwable)

2.8.2

  • 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

2.8.1

  • 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

2.8.0

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

... (truncated)

Changelog

Sourced from friendsofsymfony/rest-bundle's changelog.

CHANGELOG

3.0.3

  • fixed being able to configure exception codes and messages based on interfaces (e.g. Throwable)

3.0.2

  • 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

3.0.1

  • 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

3.0.0

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

... (truncated)

Commits
  • 369149f update license
  • daedb18 Fix build status
  • 78d50ec Change build status
  • 2aabe10 Remove constraint on composer version
  • 84d4941 Fix PHP8 unsilenced deprecation notices
  • 09e01fa Merge pull request #2285 from kevinpapst/php8
  • 05efe75 failsafe check for php 8
  • d60e0ba Merge pull request #2280 from xabbuh/bump-phpunit-version
  • 4f4779c Fix php 8 build (Bump willdurand/negotiation + Update tokens used for namespa...
  • 06249eb Move to github actions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants