Version 1.2.0

August 9, 2022

Added

  • Added new Categories, Entries, and URIs filters for handling multiple items per filter.
  • Added combineSegments configuration parameter which can be set to false to disable segment combinations in routing rules.

Version 1.1.0

May 2, 2021

Added

  • Added a new Month filter.

Changed

  • Router now requires Craft 3.7 or later.

Fixed

  • Fixed a bug where the section parameter on the entry filter type would be ignored.

Version 1.0.0

August 19, 2020

Added

  • Added a plugin icon.

Changed

  • miranj\router\controllers\DefaultController::fetchSingle() now queries across multiple sites, along with unique().

Version 1.0.0-beta.3

February 18, 2020

Added

  • Added a new Entry Type filter.

Version 1.0.0-beta.2

December 27, 2019

Added

  • Added a router service.
  • Added a craft.router Twig global variable.
  • Added craft.router.params() to access all named params from the URL.
  • Added craft.router.rawParams() to access all named params (with raw values) from the URL.
  • Added craft.router.url() to build a URL out of named routes and optional params.
  • Added craft.router.urlMerge() to build a URL out of the current route and additional params.
  • Added miranj\router\services\Router.
  • Added miranj\router\services\Router::getParams().
  • Added miranj\router\services\Router::getRawParams().
  • Added miranj\router\services\Router::getUrl().
  • Added miranj\router\services\Router::getUrlMerge().

Fixed

  • Fixed bug where top level URL rule (with no segments) would get registered twice.

Version 1.0.0-beta.1

June 5, 2019

Added

  • Added Craft 3 compatibility.
  • Added shorthand for Year filter's field config.
  • Added new Date filter with support for year/month/day.