Skip to content

1.47.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 28 Sep 14:59
· 324 commits to master since this release

Included commits: 1.46.1...1.47.0

Improvements

  • Introduced ContentNegotiator class to negotiate content type and accept type during request flow execution.
  • Adjusted ApiApplicationProxy::run() with ContentNegotiatorInterface::negotiate() execution.
  • Adjusted RequestFlowExecutor::executeRequestFlow() so now it executes pre-defined request formatters, validators, and builders for the case when convention can not be resolved.
  • Introduced RestApiSchemaFormatterPlugin.
  • Introduced JsonResponseEncoderStrategy as a default way to encode the response.
  • Introduced GlueApplicationConfig::ERROR_CODE_UNSUPPORTED_ACCEPT_FORMAT constant in order to cover unsupported Accept header error.
  • Introduced GlueApplicationConfig::ERROR_MESSAGE_UNSUPPORTED_ACCEPT_FORMAT constant in order to cover unsupported Accept header error.
  • Intruduced GlueApplicationConfig::getDefaultFormat() method in order to return the default format JSON:API that will be used if none could be negotiated.
  • Adjusted GlueRequest transfer fields.
  • Adjusted GlueResponsetransfer fields.
  • Introduced GlueVersion transfer.
  • Introduced GlueFilter transfer.
  • Introduced Sort transfer.
  • Introduced Pagination transfer.
  • Introduced GlueSparseResource transfer.
  • Introduced ApiApplicationSchemaContext transfer.
  • Introduced ResourceContext transfer.
  • Introduced PathAnnotation transfer.
  • Introduced Annotation transfer.

Adjustments

  • Added DoctrineInflector module to dependencies.
  • Added DocumentationGeneratorApiExtension module to dependencies.