Version 5.0.4
December 14, 2024
Changed
- 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
- 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)
Version 5.0.3
August 19, 2024
Fixed
- Fixed an issue where the "File Not Found URL" link could be wrong when clicked on in some multi-site setups (#310)
Version 5.0.2
June 24, 2024
Added
- 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)
Changed
- When saving a redirect, Retour no longer deletes redirects that have the
redirectDestUrl
of the redirect being saved as theirredirectSrcUrl
(#303)
Version 5.0.1
June 19, 2024
Added
- Added better inline preview support via
getPreviewHtml()
- Support inline editing by implementing
InlineEditableFieldInterface
Changed
- Removed the now deprecated
getTableAttributeHtml
method in the Short Links field
Fixed
- 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)
Version 5.0.0
April 15, 2024
Added
- Stable release for Craft CMS 5
Fixed
- Fixed an issue where the down and up arrows were reversed for sorting purposes (#299)
Version 5.0.0-beta.5
March 25, 2024
Version 5.0.0-beta.4
February 9, 2024
Fixed
- Fixed an issue with the Sites menu styling
Version 5.0.0-beta.3
February 9, 2024
Added
- Added a custom Field icon
Fixed
- Added the unused
static
to the Tailwind CSSblocklist
to avoid a name collision with a Craft CSS class (#1412)
Version 5.0.0-beta.2
February 5, 2024
Added
- Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
Version 5.0.0-beta.1
January 24, 2024
Added
- Initial beta release for Craft CMS 5