Skip to content

1.39.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 01 Mar 15:34
· 324 commits to master since this release

Included commits: 1.38.0...1.39.0

Improvements

  • Adjusted ApiApplicationProxy::run() so it is able to define and run RequestFlowAwareApiApplication.
  • Introduced RequestFlowAwareApiApplication to allow API applications to follow the request flow.
  • Introduced \Spryker\Glue\GlueApplication\Plugin\GlueApplication\AbstractResourcePlugin to define resources for storefront API applications that have access to clients only.
  • Introduced \Spryker\Glue\GlueApplication\Plugin\GlueApplication\Backend\AbstractResourcePlugin to define resources for backend API applications that have access to facades.
  • Introduced ConventionResourceFilterPlugin to filter resources for conventions during routing.
  • Introduced RequestResourceFilterPlugin to filter resources for API applications.
  • Introduced ResourceRouteMatcherPlugin to route resources by type for API applications.
  • Introduced GlueError transfer.
  • Adjusted GlueRequest transfer properties.
  • Adjusted GlueResponse transfer properties.
  • Introduced GlueResource transfer.
  • Introduced GlueResourceMethodCollection transfer.
  • Introduced GlueResourceMethodConfiguration transfer.
  • Introduced a stack of CommunicationProtocolPluginInterface plugins that control the protocols that can be used in the project.
  • Introduced a stack of ApiConventionPluginInterface plugins that define the API conventions that are possible to use in the project.
  • Introduced a stack of ResourceFilterPluginInterface to be able to extend the resource filtering with additional conditions during routing.

Deprecations

  • Deprecated ErrorControllerInterface.
  • Deprecated ErrorRestController.
  • Deprecated OptionsController.
  • Deprecated GlueApplicationConfig::getValidateRequestHeaders(), GlueApplicationConfig::getGlueDomainName(), GlueApplicationConfig::getIsRestDebugEnabled(), GlueApplicationConfig::getCorsAllowOrigin(), GlueApplicationConfig::getCorsAllowedHeaders(), GlueApplicationConfig::getSecurityHeaders(), GlueApplicationConfig::isEagerRelationshipsLoadingEnabled(), GlueApplicationConfig::isDebugModeEnabled(), GlueApplicationConfig::getPathVersionResolving(), GlueApplicationConfig::getPathVersionPrefix(), GlueApplicationConfig::getApiVersionResolvingRegex().
  • Deprecated GlueApplicationApplicationPlugin.
  • Deprecated ResourceRelationshipCollectionProviderPlugin.
  • Deprecated ResourceRoutePluginsProviderPlugin.
  • Deprecated GlueRestControllerListenerEventDispatcherPlugin.
  • Deprecated ResponseSecurityHeadersEventDispatcherPlugin. ​
  • Deprecated CorsValidateHttpRequestPlugin.
  • Deprecated FallbackStorefrontApiGlueApplicationBootstrapPlugin.
  • Deprecated HeadersValidateHttpRequestPlugin.
  • Deprecated PaginationParametersValidateHttpRequestPlugin.
  • Deprecated GlueRouterPlugin.
  • Deprecated SetStoreCurrentLocaleBeforeActionPlugin.
  • Deprecated RestPageOffsets transfer.