Skip to content

Native Tables & Charts 1.1.0

Choose a tag to compare

@bfrye26 bfrye26 released this 17 Aug 22:49
· 50 commits to main since this release

Native Tables & Charts 1.1.0

New opt-in features

  • Schema.org Dataset JSON-LD for tables and charts
  • Sparkline and delta-badge column types
  • Frontend table search and pagination
  • Heatmap color-scale rules (column low/high interpolation)
  • Remote CSV/TSV dataset sync via WP-Cron with Data Library management (admin-only URLs)
  • Automatic dark chart theme (prefers-color-scheme)
  • Frontend CSV export (formula-injection guarded) and PNG export for SVG chart types
  • Classic-editor [ntc_dataset] shortcode
  • Last-updated captions for dataset-backed blocks

Best practices and fixes

  • REST argument validation and permissions (presets require edit capability, view creation validates dataset)
  • CSV formula-injection guards on header and data rows, server and client
  • Preset slug collisions suffix instead of overwriting
  • Cron lifecycle hooks (deactivate/uninstall) and orphan
    tc_lt_view_* cleanup
  • Arrow-key navigation in the data grid
  • All PHP passes the WordPress-Core coding standard (0 errors, 0 warnings)

Verification: PHP lint clean, 42-assertion smoke suite green, JS syntax + node suites green, JSON valid, LF line endings enforced.