Version 2.1.2

February 20, 2024

Fixed

  • Fixed parsing of config values in settings (fixes #59)

Version 2.1.1

March 24, 2023

Fixed

  • Fixed a bug that could result in a PHP exception if a site link ended up being null. Fixes #58

Version 2.1.0

October 4, 2022

Changed

  • Auto-redirects based on browser language now always work, regardless of GeoMate having access to a geolocation database or not. #53

    Fixed

  • Fixed an issue where GeoMate could throw an exception if the geolocation database was missing, and the redirectMapSimpleModeKey setting was set to language. #52

Version 2.0.0

May 4, 2022

Added

  • Added Craft 4 support.

Version 1.3.1.2

July 20, 2021

Fixed

  • Fixed accidental use of macro from Craft 3.6 (fixes #43).

Version 1.3.1.1

July 20, 2021

Fixed

  • Fixed changelog

Version 1.3.1

July 20, 2021

Fixed

  • Fixed an issue where the redirectOverrideParam could be included multiple times in the URL query string
  • Fixed an issue where Geomate could redirect Preview requests

Version 1.3.0

March 3, 2021

Added

  • Added console command geomate/database/update-database to update database from the console (Thanks, @johnnynotsolucky).

Fixed

  • Fixed an issue with database downloads when using Craft 3.6 with Guzzle 7.
  • Fixed an issue where Geomate could redirect Preview requests

Version 1.2.1

March 20, 2020

Changed

  • Changed behavior of Application::EVENT_INIT event handler, the GeoMate handler is now prepended instead of appended (fixes #29).

Version 1.2.0

February 14, 2020

Added

  • Added support for autoRedirectExclude which can be used to exclude sites from automatic redirect when $autoRedirectEnabled is true (fixes #24).

Fixed

  • Fixed an issue with the redirectMatchingElementOnly config setting where GeoMate would try to redirect to a different site even if an element was not enabled (fixes #25).

Version 1.1.0.2

January 8, 2020

Fixed

  • Fixed spelling errors and readme.

Version 1.1.0.1

January 8, 2020

Fixed

  • Fixed an issue where unpacking the new .tar.gz file would result in a corrupt database (fixes #22).

Version 1.1.0

January 7, 2020

As of December 30th 2019, the GeoLite2 databases are no longer publicly available due to compliance with GDPR and CCPA. Previously, the public URLs for these databases were set as defaults in the GeoMate configuration. As of GeoMate 1.1.0, these have been removed, and you now need to register a maxmind account, get a license key, and configure the download URLs yourself. See the "Downloading the geolocation database" below for more info on how to do this.

Changed

  • Changed default values for countryDbDownloadUrl and cityDbDownloadUrl to null. URLs now needs to be added manually to be able to use GeoMate to download the databases (see #21).

Version 1.0.6

July 25, 2019

Added

  • Added parsing of Craft style env variables in site urls (fixes #14).

Version 1.0.5

July 4, 2019

Fixed

  • Fixes issue where $_SERVER['HTTP_ACCEPT_LANGUAGE'] was not set and redirectMapSimpleModeKey was set to language (fixes #10).

Version 1.0.4

March 15, 2019

Added

  • Added support for using arrays in redirect map values.

Version 1.0.3

March 11, 2019

Fixed

  • Fixes issue where getMatchedElement was called before the application was fully initialized (#6).

Version 1.0.2

November 1, 2018

Fixed

  • Fixes an issue where a successful geodb lookup was required even if you were only using browser language or region to redirect (Thanks, @kyle51north).

Version 1.0.1

September 9, 2018

Fixed

  • Fixes an issue that would create an error message in console requests.

Version 1.0.0

August 29, 2018

Added

  • Initial public release