MetalflowAPI — Live Precious Metals Prices

Changelog

1.0.6

  • New: offline “Sample data” preview. With no API key configured, widgets now render static sample values (clearly labelled) so you can see how everything looks before signing up. No network request is made and no data is sent in this mode.
  • WP.org review: block editor scripts now register their WordPress core dependencies (wp-blocks, wp-element, wp-block-editor, wp-components, wp-server-side-render, wp-i18n) via wp_register_script() and block.json, instead of manually enqueuing core “wp-” handles.
  • Clarified output-escaping comments in block render templates (output is escaped/sanitized inside the renderer).

1.0.5

  • WP.org review: admin CSS/JS moved to enqueued assets (no inline tags).
  • Sparkline SVG sanitized with wp_kses before output.
  • “Powered by” credit is off by default — explicit opt-in only.
  • Contributors updated; removed redundant load_plugin_textdomain() call.

1.0.4

  • NEW [metalflow_chart] shortcode + “Historical Chart” Gutenberg block — server-side SVG sparkline for any metal/currency, from 30 days up to the full 58-year archive. Light/dark theme, custom width/height, gradient fill, last-value label.
  • Plan history depth is honoured automatically — Free clamps to 30 days, Starter to 5 years, Pro to 30 years, Enterprise to full 1968+.

1.0.3

  • Live Price block / shortcode now renders the unit suffix (e.g. “€2,089.45/g”) so the unit attribute is visible at a glance.

1.0.2

  • Backward-compat: orphan top-level options set via WP-CLI (mfapi_api_key, mfapi_default_currency etc.) are now auto-migrated into the canonical mfapi_settings array.

1.0.1

  • Fixed API key placeholder in admin settings to show correct key prefix (mfk_live_…).

1.0.0

  • Initial release.
  • 6 shortcodes: price, carat, ticker, table, change, calc.
  • 4 Gutenberg blocks (Live Price, Carat Calculator, Ticker, Carat Table).
  • Sidebar widget.
  • REST proxy /wp-json/metalflowapi/v1/data and /calc.
  • Server-side transient caching.
  • Settings page with connection tester and cache flush.
  • Translation-ready (i18n).

Plugin Website
Visit website

Author
MetalFlowAPI
Version:
1.0.7
Last Updated
June 3, 2026
Requires
WordPress 5.8
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.