Skip to content

Releases: nystudio107/craft-retour

Version 3.1.46

03 Feb 00:35
Compare
Choose a tag to compare

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

11 Dec 03:19
Compare
Choose a tag to compare

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

08 Dec 20:36
Compare
Choose a tag to compare

Changed

  • Moved the CSS/JS buildchain over to webpack 5
  • Updated to latest npm deps

Version 3.1.43

04 Dec 20:51
Compare
Choose a tag to compare

Changed

  • Don't add slashes to destination URLs that contain a query string, regardless of the addTrailingSlashesToUrls setting

Version 3.1.42

05 Oct 02:59
Compare
Choose a tag to compare

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 the addTrailingSlashesToUrls General Config setting set to true

Version 3.1.41

30 Jul 15:53
Compare
Choose a tag to compare

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

05 Jul 19:13
Compare
Choose a tag to compare

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

08 Jun 13:49
Compare
Choose a tag to compare

Added

  • Added an API endpoint to allow the fetching of all of the Retour Redirects

Version 3.1.37

02 Apr 17:08
Compare
Choose a tag to compare

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

25 Mar 02:40
Compare
Choose a tag to compare

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