Releases: fbloemhof/turf-stats
Releases · fbloemhof/turf-stats
Release list
v1.21.1
v1.21.0
Bump to 1.21.0: add [turf_stats] shortcode, fix corrupted nl_NL .mo - New [turf_stats] shortcode: at-a-glance table (online now, today, yesterday, last 7 days, last 28 days) for a sidebar widget/Shortcode block, with metric/layout/items attributes. - Fixed a corrupted Dutch translation file: a duplicate "Online now" source string broke compilation with msgfmt, and the shipped .mo itself wasn't validly sorted - Dutch translations were silently failing to load. Rebuilt with msgfmt and added translations for the two new strings.
v1.20.3
Fix TURF_VERSION stuck at 1.19.0 since the 1.20.0 release The cache-busting $ver passed to every wp_enqueue_script/wp_register_style call in the plugin never advanced past 1.19.0, so every JS/CSS change shipped in 1.20.0-1.20.3 went out under an unchanged asset version. Also fixes a stray missing leading space on the header's Version line.
v1.20.0
- Added date navigation (native date picker, Yesterday tab) with fixed-date sentinel fix.
- Added top-referrers 'Toon meer' toggle (shows 10, reveals up to 50).
- Added dashboard widget (online now, today's views/visitors with % vs yesterday), reusing overview card styling.
- Added review-nudge snooze (random 30-90 days, max 3x then permanent).
- Added device-class label (Phone/Tablet/Desktop) at screen resolution.
- Fixed 90-day chart overflow (gap + horizontal scroll).
- Dutch translations for new strings.
v1.19.0
Bump to 1.19.0: screen/load-time tracking, live viewed pages, chart a…
v1.18.1
Bump to 1.18.1: add wordpress.org listing screenshots Screenshots generated against a throwaway, synthetic-data WordPress instance (fake village-site content and traffic) - no real site or visitor data involved. Listing/packaging only, no functional changes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
v1.18.0
v1.17.2
Changes
- Fixed a WordPress.org submission error: the
Plugin URIandAuthor URIheaders pointed at the same URL.Author URInow points at the author's GitHub profile instead of the plugin repo. - No functional changes.
Full Changelog: v1.17.1...v1.17.2
v1.17.1
Changes
- Cleared the remaining WordPress.org Plugin Check warnings: dropped the now-redundant
load_plugin_textdomain()call (translations for wp.org-hosted plugins load automatically since WP 4.6) and annotated the opt-in REST debug logger. - No functional or tracking changes.
Full Changelog: v1.17.0...v1.17.1
Turf Stats 1.17.0
This release prepares Turf for submission to the WordPress.org plugin directory. No changes to tracking behavior or reports.
- Plugin renamed to "Turf Stats" — WordPress.org requires at least 5 latin letters in the plugin name (it generates the initial slug from it); "Turf" alone doesn't qualify. The GitHub repo, text domain, and internal function names (
turf_*) are unchanged. readme.txtadded in the WordPress.org format, including an FAQ section covering exactly what data is collected, where it's stored, and how long it's kept.uninstall.phpadded: by default, only the plugin's own bookkeeping (db-version options, the scheduled pruning event) is removed when you delete the plugin — your collected statistics are kept, so an accidental delete/reinstall doesn't wipe years of history. Opt in to full data removal withdefine( 'TURF_REMOVE_DATA_ON_UNINSTALL', true );in wp-config.php before deleting.- Direct-access guards added to every PHP file (some files previously only referenced
ABSPATHinside a file path, which isn't a guard). - The GitHub-based update checker is now conditional and is stripped entirely from the build submitted to WordPress.org — wp.org-hosted plugins must receive updates from wordpress.org itself, not a third-party server. This GitHub release and its update mechanism are unaffected; existing installations continue to update from here exactly as before.
- Various escaping, translator-comment, and SQL-preparation cleanups flagged by the WordPress Plugin Check tool (the same tool the wp.org review team uses) — down to zero reported errors.