Skip to content

Releases: miranj/craft-router

1.5.0

05 Sep 07:27
Compare
Choose a tag to compare

Added

  • Added support for Craft 5.

Changed

  • The type filter's value will be a single EntryType on Craft 5+ (it remains an array of EntryType[] on Craft 3, and 4).
  • An yii\base\InvalidConfigException is thrown if the field filter is missing the handle configuration option.

Full Changelog: v1.4.3...v1.5.0

1.4.3

01 Feb 18:41
Compare
Choose a tag to compare

Fixed

  • Improved compatibility of relatedTo elements' descendants on Craft 4.3 and above.

Full Changelog: v1.4.2...v1.4.3

1.4.2

12 Sep 16:28
Compare
Choose a tag to compare

Fixed

  • Improved compatibility of relatedTo elements' descendants on older versions of Craft and PHP.

Full Changelog: v1.4.1...v1.4.2

1.4.1

05 Sep 20:19
Compare
Choose a tag to compare

Added

  • Added shorthand for the Type filter's value parameter.

Fixed

  • Fixed a bug where an element's descendants were incorrectly passed to the relatedTo criteria.

Full Changelog: v1.4.0...v1.4.1

1.4.0

22 Feb 07:54
Compare
Choose a tag to compare

Added

  • Added new filters for handling single and multiple Tags as relatedTo criteria.

Full Changelog: v1.3.0...v1.4.0

1.3.0

13 Feb 09:02
Compare
Choose a tag to compare

Added

  • Added support for Craft 4.

Full Changelog: v1.2.1...v1.3.0

1.2.1

03 Jan 07:59
Compare
Choose a tag to compare

Fixed

  • Restored pre v1.2.0 behaviour of the relatedTo criteria’s element key being a single element (and not an array) for Category, Entry, and URI filters (for elements without descendants).
  • Fixed a bug where relatedTo criteria might have empty array items for elements without descendants.

Full Changelog: v1.2.0...v1.2.1

1.2.0

09 Aug 17:59
Compare
Choose a tag to compare

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.