Skip to content

Releases: fbloemhof/turf-stats

v1.21.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 06:23
Bump to 1.21.1: fix broken date filter on Forms, Search terms and Mos…

v1.21.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 21:31
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

Choose a tag to compare

@github-actions github-actions released this 16 Jul 19:52
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

Choose a tag to compare

@fbloemhof fbloemhof released this 15 Jul 17:29
  • 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

Choose a tag to compare

@github-actions github-actions released this 13 Jul 20:52
Bump to 1.19.0: screen/load-time tracking, live viewed pages, chart a…

v1.18.1

Choose a tag to compare

@github-actions github-actions released this 08 Jul 12:29
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

Choose a tag to compare

@fbloemhof fbloemhof released this 08 Jul 12:13

Full Changelog: v1.17.2...v1.18.0

v1.17.2

Choose a tag to compare

@fbloemhof fbloemhof released this 05 Jul 13:44

Changes

  • Fixed a WordPress.org submission error: the Plugin URI and Author URI headers pointed at the same URL. Author URI now 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

Choose a tag to compare

@fbloemhof fbloemhof released this 05 Jul 13:37

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

Choose a tag to compare

@fbloemhof fbloemhof released this 05 Jul 13:17

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.txt added 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.php added: 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 with define( '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 ABSPATH inside 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.