Przejdź do treści

Changelog

Pełna historia zmian wtyczki, automatycznie wczytywana z pliku readme.txt:

  • 1.0.3
    • Fixed: the per-product admin price history chart did not render after the Chart.js 4.x upgrade because Chart.js v3+ no longer bundles a date adapter. Added the `chartjs-adapter-date-fns` UMD bundle (MIT, includes date-fns inline) as a dependency of the chart script.
    • Fixed: chart points were not drawn even when axes rendered, because `parsing: false` was paired with raw MySQL DATETIME strings as the `x` value. Pre-convert each row's `captured_at` (UTC) to a millisecond timestamp before pushing into the dataset.
    • Disclosed the bundled `chartjs-adapter-date-fns` in the "Third-Party Libraries" section.
  • 1.0.2
    • Hardened custom CSS sanitization: `sanitize_textarea_field()` plus blacklist of CSS-level attack vectors (expression, javascript:, vbscript:, @import, behavior, -moz-binding).
    • Refactored transient cache key construction to make the `wpnest_ph_low_` prefix unambiguous to static analyzers.
    • Fixed: per-product cache invalidation now correctly clears transients for both calculation methods (previous version only cleared entries that no longer existed under that key).
    • Hardened plugin action link: `esc_url()` and `esc_html__()` on the Settings link, matching the Pro link pattern.
    • Documented why the Omnibus notice output is echoed without an outer `wp_kses_post()` wrap (would strip the `data-variation-lows` JSON attribute needed by the variation handler) — all values are still escaped internally.
    • Synced Chart.js enqueue version string with the bundled file (4.5.1).
    • Disclosed bundled Chart.js library in readme.txt.
  • 1.0.1
    • Renamed plugin slug to `wpnest-price-history-for-woocommerce` and display name to "WPNest Price History for WooCommerce" per WordPress.org review feedback.
    • Added `Requires Plugins: woocommerce` header for WordPress 6.5+ dependency declaration.
    • Hardened custom CSS output: `wp_strip_all_tags()` now applied at output in addition to sanitize-on-save.
    • Updated bundled Chart.js to 4.5.1.
  • 1.0.0
    • Initial release.
    • Automatic price capture via `woocommerce_update_product` and `woocommerce_update_product_variation` hooks.
    • Daily snapshot failsafe cron.
    • Omnibus and Rolling calculation methods.
    • Configurable retention window with cleanup cron.
    • Variable product support with per-variation tracking.
    • Customizable notice label and position.
    • Custom CSS field.
    • Per-product mini-chart in admin.
    • WP-CLI commands.
    • HPOS compatible.

Polityka wersjonowania

Wtyczka stosuje Semantic Versioning (SemVer):

  • MAJOR (np. 1.x → 2.x) — zmiany niezgodne wstecz, wymagają sprawdzenia kompatybilności
  • MINOR (np. 1.0 → 1.1) — nowe funkcje, w pełni kompatybilne wstecz
  • PATCH (np. 1.0.0 → 1.0.1) — poprawki błędów, drobne zmiany

Aktualizacje są bezpieczne — tabela historii oraz ustawienia są zachowywane między wersjami. Zalecamy regularne aktualizowanie wtyczki w celu zachowania zgodności z nowymi wersjami WP/WC.

Szanujemy Twoją prywatność

Ta strona używa plików cookie do analityki i marketingu. Możesz zaakceptować wszystkie, odrzucić nieobowiązkowe lub dostosować swoje preferencje.