Skip to content

Releases: nystudio107/craft-retour

Version 4.1.7

06 Dec 03:29
Compare
Choose a tag to compare

Added

  • Added the ability to set a Priority for regex redirects, so you have control over the order in which they execute (#74)

Fixed

  • Fixed an issue that would cause getStaticRedirect() to return a redirect regardless of whether or not it is enabled (#260)

Version 3.2.5

06 Dec 03:26
Compare
Choose a tag to compare

Added

  • Added the ability to set a Priority for regex redirects, so you have control over the order in which they execute (#74)

Fixed

  • Fixed an issue that would cause getStaticRedirect() to return a redirect regardless of whether or not it is enabled (#260)

Version 4.1.6

28 Nov 21:19
Compare
Choose a tag to compare

Added

  • Added EVENT_BEFORE_DELETE_REDIRECT & EVENT_AFTER_DELETE_REDIRECT events, so you can hook in before & after a redirect is deleted (#259)

Changed

  • Updated docs to use VitePress ^1.0.0-alpha.29

Fixed

  • Fixed an issue with the console command throwing an exception due to an uninitialized typed property (#257)

Version 3.2.4

28 Nov 21:18
Compare
Choose a tag to compare

Added

  • Added EVENT_BEFORE_DELETE_REDIRECT & EVENT_AFTER_DELETE_REDIRECT events, so you can hook in before & after a redirect is deleted (#259)

Changed

  • Fixed HMR in local dev with explicit alias that resolves to the actual directory
  • Add import.meta.hot.accept for entrypoint JavaScript for HMR
  • Updated docs to use VitePress ^1.0.0-alpha.29

Fixed

  • Fixed an issue where the Short Links field could throw an exception on Craft 3.x < 3.7.19
  • Handle missing describedBy for Craft 3.x < 3.7.25

Version 4.1.5

03 Nov 23:07
Compare
Choose a tag to compare

Changed

  • Fixed HMR in local dev with explicit alias that resolves to the actual directory
  • Add import.meta.hot.accept for entrypoint JavaScript for HMR

Fixed

  • Fixed an issue where the default value for redirectHttpCode would cause a validation error to be displayed when creating a new static redirect (#255)
  • Fixed an issue where the default value for redirectHttpCode would cause importing a CSV file to fail if no redirectHttpCode was provided in the CSV file (#253)

Version 4.1.4

03 Oct 20:12
Compare
Choose a tag to compare

Changed

  • Move to using ServicesTrait and add getter methods for services
  • Users must have permission to access Retour to be able to use the Retour widget (#251)

Fixed

  • Ensure that $driver is nullable in the install migration (#252) (#250)

Version 3.2.3

03 Oct 20:09
Compare
Choose a tag to compare

Changed

  • Move to using ServicesTrait and add getter methods for services
  • Users must have permission to access Retour to be able to use the Retour widget (#251)

Version 4.1.3

14 Sep 19:57
Compare
Choose a tag to compare

Changed

  • Fixed an issue where element types that update their uriFormat directly rather than re-saving the elements will generate automatic element redirects (#248)
  • Updated how Retour's components are registered, to allow for overriding via plugin config (#1989) (#11039)
  • Update the buildchain to use Vite ^3.1.0 for building frontend assets

Version 3.2.2

14 Sep 19:56
Compare
Choose a tag to compare

Changed

  • Fixed an issue where element types that update their uriFormat directly rather than re-saving the elements will generate automatic element redirects (#248)
  • Updated how Retour's components are registered, to allow for overriding via plugin config (#1989)
  • Update the buildchain to use Vite ^3.1.0 for building frontend assets

Version 4.1.2

08 Sep 22:04
Compare
Choose a tag to compare

Changed

  • Whether a Short Link redirect is created for "All Sites" or on a per-site basis is now determined by the propagation method of the Short Link field
  • Include "Short Link Element ID" in the CSV redirects export
  • Allow for the localization of the exported redirects & statistics column names

Fixed

  • Fix improperly named field input template (casing) (#247)
  • Editing a Short Link field's redirect in the CP now properly preserves its Short Link status, and redirects to the Short Links page