*** AdScale Changelog *** 2026-05-25 - version 2.2.22 * Fix: update plugin compatibility headers for WordPress 7.0 and WooCommerce 10.7.0. 2026-05-12 - version 2.2.21 * Enhancement: Order API can now return order meta fields when requested. 2026-05-05 - version 2.2.20 * Enhancement: product API now returns WooCommerce formatted price HTML. 2026-03-16 - version 2.2.19 * Fix: improve helper sanitization, cookie handling, and safe external redirects for Woo QIT compliance. 2026-03-11 - version 2.2.18 * Fix: Woo QIT compatibility and security compliance improvements. 2026-02-09 - version 2.2.17 * Fix: prevent API JSON responses from being corrupted by wp_kses sanitization. * Enhancement: product API now returns tag names and brand names. 2026-01-26 - version 2.2.16 * Fix: stable HPOS pagination for orders (limit/after) using field_query cursor (id > after). 2026-01-12 - version 2.2.15 * Fix: WP_Query order date filtering now uses full-day boundaries (00:00:00–23:59:59) and inclusive ranges. 2026-01-08 - version 2.2.14 * Fix: prevent HPOS fatal error by switching wc_get_orders() date filters to WooCommerce string format. * Enhancement: use WooCommerce price precision in helper formatting function. 2026-01-05 - version 2.2.13 * Fix: sanitize product descriptions to remove media blocks (video/audio/images), links and shortcodes to prevent malformed API payloads. 2025-12-29 - version 2.2.12 * Fix: Ensure product category IDs are always returned as a JSON array. * Fix: Prevent categories field from being serialized as an object due to non-sequential array keys. 2025-12-22 - version 2.2.11 * Fix: Orders API now correctly resolves order IDs on all WooCommerce storage modes (HPOS and legacy) * Fix: Removed reliance on wc_get_orders() include parameter for better compatibility 2025-12-21 - version 2.2.1 * PHP 8.3–8.4 compatibility pass: updated API handlers, fixed deprecated constants, improved JSON output stability, restored sanitize helper. 2025-12-04 - version 2.1.21 * Change: Updated plugin name in readme to match header (“AdScale AI”) * Change: Updated “Tested up to” to WordPress 6.9 2025-12-03 - version 2.1.20 * Feature: Automatic generation of Read-only WooCommerce REST API key with explicit admin consent * Change: Removed the user creation step from the setup flow to improve security and meet WP.org guidelines 2025-11-23 - version 2.1.19 * Feature: Added admin consent screen for service user creation * Enhancement: Added deactivation recommendation notice for removing service user * Cleanup: Improved WP Coding Standards compliance in AdminAuth class 2025-10-29 - version 2.1.18 Feat(js): round frontend prices same as backend (formatPriceWithPrecision) 2025-07-04 - version 2.1.17 Feat(js): add single new param `adscale_product_currency` 2025-07-04 - version 2.1.16 * Feature: support grouped product type in getProductData() with child product info 2025-07-02 - version 2.1.15 * Refactor: use WP_Query for stable filtering support * Fix: enable reliable date filtering with legacy order storage * Enhancement: use WooCommerce price precision in helper formatting function 2025-06-22 - version 2.1.14 * Support for retrieving base (non-localized) prices when "WooCommerce Price Based on Country" plugin is active. 2025-02-26 - version 2.1.13 * fix: defer inline JS execution to support jQuery 2025-01-13 - version 2.1.12 * Set WooCommerce checkout opt-in checkbox to not required 2024-12-30 - version 2.1.11 * Exclude Sorts by plugin Post Types Order 2024-10-08 - version 2.1.10 * Wp EZcache compatibility improvement 2024-10-01 - version 2.1.9 * Recheck Class WC_Product_Variation 2024-02-31 - version 2.1.8 * High Performance Order Storage Upgrade Recipe Book 2024-02-31 - version 2.1.7 * Plugin API: Attributes Improvements 2024-02-22 - version 2.1.6 * Changed include files for folder vendor relative path to absolute path 2024-02-19 - version 2.1.5 * Plugin API: fixed sort items 2024-02-08 - version 2.1.4 * Added compatibility with plugin 'iWebsite-discount' 2024-01-31 - version 2.1.3 * Added compatibility with plugin 'Woo Discount Rules' 2023-11-29 - version 2.1.2 * Add in Variation attributes And Fix price Discount Rules 2023-11-29 - version 2.1.1 * Conflict with plugin Client’s plugin(Checkout Field Editor for WooCommerce) 2022-12-11 - version 2.1.0 * Added Opt-In functionality on checkout page 2021-12-28 - version 2.0.4 * Plugin API: fixed error 'Not WC_Order object' on WC_Order_Refund objects * Plugin API: fixed wrong products ids limit at Categories endpoint 2021-12-09 - version 2.0.2 * Added compatibility with plugin 'Filter Everything PRO' 2021-12-06 - version 2.0.1 * Added new parameter 'changed_after' to Plugin API 'orders' endpoint 2021-11-23 - version 2.0.0 * Added Plugin API 2021-11-18 - version 1.8.1 * PHP8 Compatibility fix 2021-09-23 - version 1.8.0 * Added js variable order value without shipping 2021-09-22 - version 1.7.9 * Added session identifier to endpoints response data 2021-05-25 - version 1.7.8 * Changed Facebook and Google verification codes updates logic 2021-05-04 - version 1.7.7 * Changed Facebook verification code meta tag 2021-03-22 - version 1.7.6 * Removed redirection on plugin activation 2021-03-01 - version 1.7.5 * Added Facebook verification code 2021-02-22 - version 1.7.4 * Added Woo Plugin Header For Updates 2021-02-09 - version 1.7.3 * Wp Rocket compatibility improvement 2021-01-13 - version 1.7.2 * Initial release