Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Latest commit

 

History

History
438 lines (309 loc) · 11 KB

CHANGELOG.md

File metadata and controls

438 lines (309 loc) · 11 KB

Changelog

3.3.6 - 2021-12-11

{warning} Smart Map has been deprecated. The plugin has been completely refactored, and re-released as the new Google Maps plugin.

Please switch to the Google Maps plugin as soon as possible. How to update...

3.3.5 - 2020-11-24

Fixed

  • Patched Postgres proximity search incompatibility. (thanks @Timusan)

3.3.4 - 2020-08-22

Changed

  • Craft 3.5 is now required.
  • Removed unnecessary error message.
  • Improved formatting of UK addresses.

Fixed

  • Fixed field settings styles for improved compatibility with Craft 3.5+.

3.3.3 - 2020-06-18

Fixed

  • Fixed field settings bug for improved compatibility with Craft 3.4.22+.

3.3.2 - 2020-05-08

Changed

  • Improved support for gestureHandling.
  • Dropped support for scrollZoom.

3.3.1 - 2020-05-06

Changed

  • Craft 3.4 is now required.

Fixed

  • Uses an "Export" event introduced in Craft 3.4.

3.3.0 - 2020-04-20

Added

  • Added support for Address exports via the native Craft exporter tool.
  • Added filter fallback technique for proximity searches.
  • KML files can now be specified by absolute URL.
  • Added field option to filter field(s) to be included on map.
  • Added hasCoords parameter to filter out results with incomplete coordinates. (thanks @bencroker)
  • Added SearchResultsEvent, which allows you to modify the address lookup results. (thanks @carlcs)
  • All API access keys (for Google, ipstack, and MaxMind) can now be set via environment variables. (thanks @carlcs)

Changed

  • Craft 3.2 is now required.
  • Improved subfield spacing in Craft 3.4.
  • Improved geolocation with better IP autodetection.
  • Allow target coordinates to be provided as a string.

Fixed

  • Guard against missing country in Google results.
  • Replaced problematic migration.
  • Fixed PHP 7.4 compatibility issues.
  • Fixed error when passing icon array to static map.
  • Fixed bug that showed apostrophes as HTML entities.
  • Fixed all bugs in the debug page.

3.2.2.1 - 2019-04-08

Changed

  • Neutralized problematic migration.

3.2.2 - 2019-03-15

Added

  • Added ability to filter by latitude and/or longitude.

Changed

  • URL encode address during lookup in CP.
  • Cache Google Maps API lookup results for 90 days.
  • Improved formatting of Address field in HUD editor.

Fixed

  • Fixed bug to keep Address subfields in order.
  • Fixed bug erroneously requiring JSON in lookup action.
  • Fixed links to documentation.

3.2.1 - 2018-12-14

Added

  • Added deprecation message for missing Google API keys.
  • Added Hungarian translation.

Changed

  • Additional improvements to directionsUrl and googleMapUrl methods.

Fixed

  • Fixed migration issues with Craft 3.1 compatibility.

3.2.0 - 2018-12-06

Added

  • Added ipstack geolocation.
  • Added caching for geolocation lookups. (ipstack, MaxMind)
  • Added caching for search target lookups. (Google Maps API)
  • Added a timeout to geolocation calls.
  • Added ability to override Google API keys.
  • Added Italian translation.

Changed

  • Removed FreeGeoIp.net geolocation.
  • Google API Keys are now required.
  • Subfields stack vertically on mobile.
  • Improved compatibility with Super Table.
  • Improved compatibility with CP Field Inspect.

Fixed

  • Fixed formatting for Italian street addresses.
  • Fixed problematic directionsUrl method.
  • Fixed static map URL encoding issue.
  • Fixed Exception error.

3.1.3 - 2018-08-14

Fixed

  • Fixed filter bug.

3.1.2 - 2018-08-08

Changed

  • Settings page now specifies that API keys are required, not optional.
  • Replaced daddr/saddr with destination/origin in directions links.

Fixed

  • If installed via console, don’t automatically redirect to welcome page.

3.1.1 - 2018-07-16

Fixed

  • Fixed EVENT_AFTER_DETECT_LOCATION event.
  • Fixed bug which occurred when an Address field appears in a widget.
  • Patched small issue with Super Table compatibility.

3.1.0 - 2018-04-06

Added

  • Added support for CraftQL plugin.

3.0.5 - 2018-03-29

Fixed

  • Moved JS injection to the correct place.
  • Updated Matrix Block class reference.

3.0.4 - 2018-03-19

Fixed

  • Disabled old code which could lead to confusing behavior.

3.0.3 - 2018-03-16

Fixed

  • Fixed bug in recursive JSON.

3.0.2 - 2018-03-15

Fixed

  • Fixed bug affecting CLI compatibility.

3.0.1 - 2018-02-26

Fixed

  • Properly return JSON responses.
  • Fixed bug when mapId is not specified.

3.0.0 - 2018-02-14

Added

  • Craft 3 compatibility.

2.4.2 - 2018-01-20

Changed

  • Allows nested markerOptions settings.

2.4.1 - 2017-09-11

Added

  • Added support for KML files.
  • Added craft.smartMap.visitor.coords.
  • Added entry.myAddressField.coords.
  • Added JavaScript function to easily style maps.
  • Added JavaScript function to easily refresh maps.
  • Added Canadian English translation.

Changed

  • Now compatible with Feed Me 2 plugin.
  • Made maptype and scale configurable for static maps.

Fixed

  • Fixed a matrix compatibility bug.

2.4.0 - 2016-12-08

Added

  • Added region biasing.
  • Added ability to set default position & zoom for "Drag Pin" modal.
  • Added British English translation.

Changed

  • Improved compatibility with CP Field Links plugin.
  • Improved logging.
  • Improved error messaging for Google API.

Fixed

  • Fixed PHP 7 race condition.
  • Fixed dual address bug.
  • Prevent geolocation from being triggered within tasks.

2.3.6 - 2016-03-21

Changed

  • Improved craft.smartMap.js (now true by default)
  • Improved error handling in info bubbles.

2.3.5 - 2016-03-16

Added

  • Added craft.smartMap.serverKey to get Google Server Key.
  • Added craft.smartMap.browserKey to get Google Browser Key.
  • Creating JS objects now returns them.

Changed

  • Better JS logging.

Fixed

  • Fixed bug which allowed modals to overlap.

2.3.4 - 2016-02-09

Changed

  • Improved cURL command for address lookups.

2.3.3 - 2016-02-05

Fixed

  • Fixed a bug which allowed extra commas in a formatted address.

2.3.2 - 2016-01-10

Fixed

  • Fixed bug which would attempt to draw a marker even if the coordinates were invalid

2.3.1 - 2015-12-10

Fixed

  • Supports .ids() syntax (with Craft 2.5.2754 and above)
  • Fixed pagination bug (with Craft 2.5.2754 and above)
  • Fixed missing rawurlencode in Google link
  • Fixed url formatting of static map

2.3.0 - 2015-12-04

Added

  • REQUIRES CRAFT 2.5
  • New Craft 2.5 flourishes (icon, description, link to docs, element index column)
  • Maps no longer require "zoom" to be specified, they will use fitBounds to determine the appropriate zoom level
  • You can now filter by subfields
  • Now compatible with Feed Me plugin (v1.4.0+)
  • Now compatible with Import plugin (v0.8.26+)
  • Now compatible with Export plugin (v0.5.8+)
  • Now compatible with Minimee plugin
  • Added craft.smartMap.visitor property to get the visitor's current geolocation data in Twig (if geolocation is enabled)
  • Added craft->smartMap->visitor property to get the visitor's current geolocation data in PHP (if geolocation is enabled)
  • Added French translation
  • Added Dutch translation

Changed

  • Better error handling for unsupported .ids() usage

Fixed

  • Fixed validation bug
  • Fixed bug preventing zoom from being set by a dropdown menu

2.2.0 - 2015-07-07

Added

  • Full internationalization support!
  • Arrangement of the Address subfields is now completely customizable!
  • All text is now translatable!
  • German language translation.
  • Japanese language translation.
  • Detects if street number should come before or after street name.
  • Added __toString for Address model.

Changed

  • BREAKING CHANGE: Reordered parameters of "directionsUrl".
  • Switched IP detection to Craft native.

Fixed

  • Fixed bug occurring in some address matches.
  • Fixed static map marker bug.
  • Fixed "Live Preview" bug.

2.1.3 - 2015-05-08

Added

  • New "googleMapUrl" method on Address model.
  • New "directionsUrl" method on Address model.

Fixed

  • Fixed bug preventing multiple maps from being displayed.

2.1.2 - 2015-04-20

Changed

  • Compatible with awesome Super Table plugin.

2.1.1 - 2015-04-08

Fixed

  • Fixed minor migration bug.
  • Fixed console.log error in fieldtype JS.

2.1.0 - 2015-04-07

Added

  • Added "format" to address model, to easily output formatted addresses.
  • Added "isEmpty" and "hasCoords" to address model, to easily determine if data exists.
  • Added ability to insert "smartMap.js" anywhere in the template.
  • Added ability to perform an address lookup from the front-end.

Changed

  • Retina scaling for static maps.
  • JavaScript console.log messages only appear when devMode is enabled.
  • Greatly improved UI for Settings page (including clearer geolocation options).
  • Split Google API key into "Server Key" & "Browser Key".

Fixed

  • Fixed a bug when rendering a map which includes empty address fields.
  • Fixed a validation bug with coordinates data.
  • Fixed a JavaScript bug on the debug page.

2.0.13 - 2014-12-14

Changed

  • Cleaned up UI in Matrix fields.

Fixed

  • Fixed "Undefined index: zipcode" bug.
  • Fixed map page & directions links.

2.0.12 - 2014-11-12

Fixed

  • Bug fixes: Globals & blank addresses.

2.0.11 - 2014-11-10

Fixed

  • Fixed missing settings bug.

2.0.10 - 2014-11-08

Changed

  • Geolocation is now optional.

2.0.9 - 2014-10-21

Fixed

  • Tiny bug fix.

2.0.8 - 2014-10-04

Fixed

  • Partial bug fix for FreeGeoIp.net failure.

2.0.7 - 2014-10-04

Changed

  • Console log enhancements.

Fixed

  • Bug fix (per Mike Pepper).

2.0.6 - 2014-09-09

Fixed

  • Minor bug fix.

2.0.5 - 2014-08-26

Fixed

  • Fixed deg2rad bug.
  • Fixed minor JS bug.
  • Fixed so many bugs.

2.0.4 - 2014-08-25

Changed

  • Improved drag & drop pin auto-location.

2.0.3 - 2014-08-23

Fixed

  • Fixed distance bug.

2.0.2 - 2014-08-23

Added

  • Fully Matrix-compatible.

Fixed

  • Squashed bugs.

2.0.1 - 2014-08-13

Changed

  • Skip geocoding IP when running through yiic.

Fixed

  • Minor bug fixes.

2.0.0 - 2014-08-11

Added

  • Major upgrade from v1.2.7.
  • Completely reworked UI of address field & related interface.
  • Drag & drop map pins.
  • Can be linked to a MaxMind account for the most precise location detection accuracy.
  • Can be linked to a Google Maps for Business account for more allowed views and higher quality static maps.

Changed

  • Vastly expanded customization options.
  • Expanded customization via Twig.
  • Expanded customization via JavaScript.
  • Completely refactored JavaScript.
  • Greatly improved automatic location detection.