- Fixed an issue where a GraphQL Retour query could return a URL with a
/
prefixed to it if the destination was a full URL (#320)
- Retour now strips site path prefixes from incoming 404 URL paths, such that redirects will work as expected (any Site sub-path prefix is ignored) (#288)
- Don't create automatic redirects for elements that are not enabled
- Fixed an issue where
410 Gone
redirects returned a generic browser error rather than a custom-defined Craft template (#11) - Fixed an issue where an exception could be thrown if a Site had no
baseUrl
defined - Normalize the incoming
url
andpath
so thatmergUrlWithPath()
handles edge-cases properly (#1512) - Fixed an issue where deprecation errors would occur when an element does not have a
uri
(#317)
- Fixed an issue where the "File Not Found URL" link could be wrong when clicked on in some multi-site setups (#310)
- Separate out the plugin settings into General, Statistics, and Advanced tabs
- Added a Set No-Cache Headers setting (defaulting to on) to set
no-cache
headers on the redirect response to prevent client-side caching (#306)
- When saving a redirect, Retour no longer deletes redirects that have the
redirectDestUrl
of the redirect being saved as theirredirectSrcUrl
(#303)
- Added better inline preview support via
getPreviewHtml()
- Support inline editing by implementing
InlineEditableFieldInterface
- Removed the now deprecated
getTableAttributeHtml
method in the Short Links field
- Fixed an issue where the "File Not Found URL" link could be wrong when clicked on in some multi-site setups (#290)
- Fixed an issue where Short Links wouldn't work properly if they were added to Asset elements (#300)
- Fixed an issue where a "Integrity constraint violation" error could occurr if malformed
redirectSrcUrl
s was introduced into the statistics table (#305)
- Stable release for Craft CMS 5
- Fixed an issue where the down and up arrows were reversed for sorting purposes (#299)
- Fixed an issue with impropertly text-encoded characters in URLs potentially causing a db exception (#291)
- Fixed an issue where an empty redirect in the
excludePatterns
list could cause redirects to stop functioning, add logging when a redirect is excluded (#297)
- Fixed an issue with the Sites menu styling
- Added a custom Field icon
- Added the unused
static
to the Tailwind CSSblocklist
to avoid a name collision with a Craft CSS class (#1412)
- Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
- PHPstan code cleanup
- ECS code cleanup
- Initial beta release for Craft CMS 5