Releases: miranj/craft-router
Releases · miranj/craft-router
1.5.0
Added
- Added support for Craft 5.
Changed
- The
type
filter's value will be a singleEntryType
on Craft 5+ (it remains an array ofEntryType[]
on Craft 3, and 4). - An
yii\base\InvalidConfigException
is thrown if thefield
filter is missing thehandle
configuration option.
Full Changelog: v1.4.3...v1.5.0
1.4.3
Fixed
- Improved compatibility of
relatedTo
elements' descendants on Craft 4.3 and above.
Full Changelog: v1.4.2...v1.4.3
1.4.2
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
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
Added
- Added new filters for handling single and multiple Tags as
relatedTo
criteria.
Full Changelog: v1.3.0...v1.4.0
1.3.0
1.2.1
Fixed
- Restored pre
v1.2.0
behaviour of therelatedTo
criteria’selement
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