Skip to content

Releases: spryker/router

1.22.0

28 Nov 15:42
Compare
Choose a tag to compare

Included commits: 1.21.0...1.22.0

Improvements

  • Introduced RouterConstants::IS_STORE_ROUTING_ENABLED.
  • Introduced Store transfer.
  • Added StoreClientInterface to dependencies.
  • Introduced RouterConfig::isStoreRoutingEnabled() method to return true if the store routing is enabled.
  • Adjusted StorePrefixRouterEnhancerPlugin::afterGenerate() to get the current store name if the store route is enabled.

Adjustments

  • Added Store module to dependencies.

1.21.0

11 Oct 14:39
Compare
Choose a tag to compare

Included commits: 1.20.0...1.21.0

Improvements:

  • Introduced RouterFacadeInterface::getRouterBundleCollection().
  • Introduced RouterFacadeInterface::getRouterControllerCollection().
  • Introduced RouterFacadeInterface::getRouterActionCollection().
  • Introduced RouterBundleCollection transfer.
  • Introduced RouterControllerCollection transfer.
  • Introduced RouterActionCollection transfer.

1.20.0

20 Aug 09:56
Compare
Choose a tag to compare

Included commits: 1.19.1...1.20.0

Improvements

  • Adjusted RouterFacade::getBackofficeRouter() facade method to use route cache if possible.
  • Introduced RouterConfig::isRoutingCacheEnabled() config method for BC reasons.

1.19.1

06 May 14:05
Compare
Choose a tag to compare

Included commits: 1.19.0...1.19.1

Improvements

  • Added PHPStan 1.10.* support.

1.19.0

20 Mar 15:23
Compare
Choose a tag to compare

Included commits: 1.18.0...1.19.0

Fixes

  • Adjusted RequestAttributesEventDispatcherPlugin::extend() so it defines the default module if the URL is empty.

1.18.0

02 Nov 21:22
Compare
Choose a tag to compare

Included commits: 1.17.0...1.18.0

Improvements

  • Added PHP 8.2 support.

1.17.0

10 Oct 10:59
Compare
Choose a tag to compare

Included commits: 1.16.0...1.17.0

Improvements

  • Introduced RouterConfig::getNotAllowedBackofficeControllerDirectories().
  • Adjusted RouterFacade::getMerchantPortalRouter() to provide a route for redirecting from the Merchant Portal index page to the Merchant Portal Login Page.
  • Impacted MerchantPortalRouterPlugin by these changes.
  • Adjusted RouterFacade::getBackofficeRouter() to filter out controllers that are not allowed for Backoffice using RouterConfig::getNotAllowedBackofficeControllerDirectories().
  • Impacted BackofficeRouterPlugin by these changes.

1.16.0

07 Sep 10:49
Compare
Choose a tag to compare

Included commits: 1.15.1...1.16.0

Improvements

  • Undeprecated RouterConstants::ZED_IS_CACHE_ENABLED and RouterConstants::ZED_CACHE_PATH.
  • Undeprecated RouterResource resource.
  • Undeprecated RouterFacadeInterface::getZedRouter(), RouterFacadeInterface::getRouter() and RouterFacadeInterface::cacheWarmUp() methods.
  • Undeprecated RouterApplicationPlugin plugin.
  • Undeprecated RouterDebugZedConsole console command.
  • Undeprecated RouterConfig::getRouterConfiguration() and RouterConfig::getCachePathIfCacheEnabled().

1.15.1

03 Apr 08:38
Compare
Choose a tag to compare

Included commits: 1.15.0...1.15.1

Improvements

  • Added compatibility with Dynamic Store.

1.15.0

24 Jan 19:54
Compare
Choose a tag to compare

Included commits: 1.14.1...1.15.0

Fixes

  • Adjusted
    Spryker\Zed\Router\Business\UrlMatcher\CompiledUrlMatcher,
    Spryker\Yves\Router\UrlMatcher\CompiledUrlMatcher to be compatible with symfony/http-kernel:^5.0.0 || ^6.0.0.

Improvements

  • Adjusted Spryker\Glue\Router\Resolver\RequestRequestValueResolver, Spryker\Shared\Router\Resolver\ControllerResolver, Spryker\Yves\Router\Generator\UrlGenerator, Spryker\Yves\Router\Resolver\RequestRequestValueResolver, Spryker\Yves\Router\Router\Router, Spryker\Zed\Router\Business\Generator\UrlGenerator, Spryker\Zed\Router\Business\Router\Router,
    Spryker\Zed\Router\Communication\Resolver\ControllerResolver for compatibility with Symfony 6.