From b9ad9f58e5a050a1b75723d3c0df28d0b5042eca Mon Sep 17 00:00:00 2001 From: Justin Foell <630830+jrfoell@users.noreply.github.com> Date: Fri, 1 Nov 2019 15:59:45 -0500 Subject: [PATCH] Updated readme for 2.0.1 --- readme.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index c142d8c..4b3cb16 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: cmanon, jrfoell, lancewillett, dlintott, sebastianerb Tags: strava, activity, bicycle, cycling, biking, running, run, swimming, swim, paddle, kayak, gps, shortcode, widget, plugin Requires at least: 4.6 Tested up to: 5.1 -Stable tag: 2.0.0 +Stable tag: 2.0.1 Requires PHP: 5.2 License: GPLv2 or later @@ -50,6 +50,12 @@ This also takes the same optional parameters as the [activity] shortcode above. * client_id - specify a different athlete (you can copy this value from https://www.strava.com/settings/api or the wp-strava settings page at /wp-admin/options-general.php?page=wp-strava-options). * strava_club_id - Will display activity from the specified Strava club ID instead of an athlete. +[latest_map] - shows a map of your latest activity. Takes the following optional parameters: + +* som - english/metric (system of measure - override from default setting). +* distance_min - show only the latest activity longer than this distance in km/mi. +* client_id - specify a different athlete (you can copy this value from https://www.strava.com/settings/api or the wp-strava settings page at /wp-admin/options-general.php?page=wp-strava-options). + = Widgets = @@ -94,7 +100,9 @@ WP-Strava caches activity for one hour so your site doesn't hit the Strava API o = 2.0.1 = -Added latest_map shortcode https://wordpress.org/support/topic/show-latest-map-not-in-widget/ +Added [latest_map] shortcode https://wordpress.org/support/topic/show-latest-map-not-in-widget/ +Code formatting cleanup, escaping, and input filtering +Added caching to all API requests https://wordpress.org/support/topic/data-not-cached/ = 2.0.0 = @@ -252,6 +260,10 @@ Initial version. == Upgrade Notice == += 2.0.1 = + +Adds API caching - speed up your page loads 8^) + = 2.0.0 = Version 2.0 is mandatory after October 15th, 2019. 2.0 settings upgrade instructions: https://github.com/cmanon/wp-strava/wiki/2.0-Upgrade.