diff --git a/2meet-data-optimizer-woocommerce-addon.php b/2meet-data-optimizer-woocommerce-addon.php index c8c1747..18f80fd 100644 --- a/2meet-data-optimizer-woocommerce-addon.php +++ b/2meet-data-optimizer-woocommerce-addon.php @@ -3,7 +3,7 @@ * Plugin Name: 2meet Data Optimizer — Woocommerce AddOn * Plugin URI: https://2meet.io/2meet-data-optimizer/woocommerce * Description: WooCommerce 整合:20 表 schema 註冊 + commission tracking (wp_wpdo_wc_commissions) + product/order zone + HPOS notice - * Version: 0.1.1 + * Version: 0.2.0 * Requires at least: 6.0 * Tested up to: 6.9.4 * Requires PHP: 8.1 @@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } -define( 'TMDO_WOOCOMMERCE_VERSION', '0.1.1' ); +define( 'TMDO_WOOCOMMERCE_VERSION', '0.2.0' ); define( 'TMDO_WOOCOMMERCE_PATH', plugin_dir_path( __FILE__ ) ); define( 'TMDO_WOOCOMMERCE_URL', plugin_dir_url( __FILE__ ) ); define( 'TMDO_WOOCOMMERCE_FILE', __FILE__ ); diff --git a/CHANGELOG.md b/CHANGELOG.md index 172d20c..cdb8fa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,36 @@ Versioning follows [Semantic Versioning](https://semver.org/). --- +## [0.2.0] — 2026-09-27 + +Released with 2meet-data-optimizer 1.2.0 (hardening 2.2, search-index mode +decision 2: WooCommerce meta stays native). + +### Removed + +- WooCommerce meta is no longer copied to flat tables. WooCommerce reads its + meta directly and writes stock / sales by SQL, so a flat copy drifted + (R-2.1: stock and `total_sales` out of step after an order). No longer + registered: + - product and order zone fields (`wpdo_register_fields`), including the + subscription fields; + - the `user` / `hot` entity group (`wpdo_register_entity_fields`), + including the three fields added in 0.1.1. +- Kept: the `wp_wc_*` custom table registry, the HPOS notice, the + Marketplace commission tracking and the term count filter. + +### Upgrading + +- Nothing is dropped. With the user entity below `aeav_only`, WooCommerce keeps + reading native user meta and the `wp_wpdo_user_hot` table is simply no + longer written. In `aeav_only`, core restores the group as an orphan so its + values stay readable; `wp tmdo bridge-restore-native user --group=hot --retire` + writes them back to native and archives the table. +- Product flat data (core's former `post/wc_product` group): see + 2meet-data-optimizer 1.2.0. + +--- + ## [0.1.1] — 2026-09-26 Hardening 2.0 changes, released alongside 2meet-data-optimizer 1.1.0.