Releases: nystudio107/craft-retour
Releases · nystudio107/craft-retour
Version 3.1.46
Changed
- Updated Axios to
^0.21.1
- Updated to latest npm deps
- Rebuilt frontend assets
Fixed
- Fixed an issue that could cause migration issues from Craft 2 to Craft 3.6, use
Use MigrationHelper::dropIndexIfExists()
Version 3.1.45
Changed
- Split out vendors & commons chunks
- Check for both types of preview requests on Craft 3.2 or later
- Invalidate Retour's caches when a redirect is saved
- Also invalidate the GraphQL caches on Craft CMS 3.3 or later if a Redirect is saved
Fixed
- If a redirect is modified by a plugin event, save the changed redirect to the cache
- Handle no
siteId
being passed into a GraphQL query properly, by defaulting to either the current site, or the primary site - Fixed an issue where the Dashboard filter didn’t work in combination with Handled / Not Handled
Version 3.1.44
Changed
- Moved the CSS/JS buildchain over to webpack 5
- Updated to latest npm deps
Version 3.1.43
Changed
- Don't add slashes to destination URLs that contain a query string, regardless of the
addTrailingSlashesToUrls
setting
Version 3.1.42
Changed
- Rebuilt CP assets using latest deps
- Refactored to use
registerJsModules
macro for JS CP assets
Fixed
- Fixed an issue that added a
/
to Reg Ex match destination URLs if you had theaddTrailingSlashesToUrls
General Config setting set totrue
Version 3.1.41
Fixed
- Added
craftcms/cms
back in as a dependency so Craft sees updates to the plugin again
Changed
- Overwrite existing headers rather than adding to them with the Additional Headers setting
Version 3.1.40
Added
- Added the Codeception testing framework to SEOmatic
- Added a Unit Test to Retour that executes on every push to GitHub to verify there are no regressions for #110
- Added the ability to import “hits” into a redirect
- Added a
EVENT_REDIRECT_RESOLVED
to allow plugins/modules to modify redirects that have been resolved. - Added an “Additional Headers” setting that allows you to define additional headers that are added to the redirect response
Fixed
- Fixed an issue where really long ALL CAPS column names would cause the Import UI to wrap
Version 3.1.39
Added
- Added an API endpoint to allow the fetching of all of the Retour Redirects
Version 3.1.37
Fixed
- Explicitly remove any newline characters that might be in the redirected URL
- Fixed an issue with the Dashboard Widget link not being right in certain configs
Changed
- Updated to latest npm dependencies via
npm audit fix
for both the primary app and the docs
Version 3.1.36
Fixed
- Fixed an issue where
$siteId
might not be typecast properly when coming from the database, causing PHP to throw an error - Replaced the simple
//
->/
replacement with a regex, to fix an issue that could inadvertently affect the protocol portion of a destination URL