docs(2meet-data-optimizer-woocommerce-addon): 0.3.0 release notes

- version 0.3.0; CHANGELOG for PR-092 (commissions follow refunds), with the
  note that older rows are corrected on the order's next event
- Verify: composer test (11)
- PR: PR-103
This commit is contained in:
2026-09-27 16:50:29 +08:00
parent 50989396a8
commit 22afabc649
2 changed files with 25 additions and 2 deletions
+2 -2
View File
@@ -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.2.0
* Version: 0.3.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.2.0' );
define( 'TMDO_WOOCOMMERCE_VERSION', '0.3.0' );
define( 'TMDO_WOOCOMMERCE_PATH', plugin_dir_path( __FILE__ ) );
define( 'TMDO_WOOCOMMERCE_URL', plugin_dir_url( __FILE__ ) );
define( 'TMDO_WOOCOMMERCE_FILE', __FILE__ );
+23
View File
@@ -11,6 +11,29 @@ Versioning follows [Semantic Versioning](https://semver.org/).
---
## [0.3.0] — 2026-09-27
Released with 2meet-data-optimizer 1.3.0 (hardening 2.3).
### Fixed
- Commission amounts follow refunds. The commission upsert kept the amounts of
the first tracked event (it only updated `status` / `updated_at`), so a
partial refund before completion left the vendor payout overstated. It now
replaces `subtotal`, `commission`, `vendor_payout` and `commission_rate` too,
and `woocommerce_order_refunded` recomputes an order that is in a tracked
status or already has a row (a fully refunded order keeps its row at zero,
status `refunded`; untracked orders get none). Repeated events still leave
one row per order and vendor. dev36: partial refund then completion records
the refunded amount. (PR-092)
### Upgrading
- Rows recorded before 0.3.0 are corrected on the order's next tracked status
change or refund; there is no bulk recompute.
---
## [0.2.0] — 2026-09-27
Released with 2meet-data-optimizer 1.2.0 (hardening 2.2, search-index mode