f47b2afb9c
Tests / PHP Lint (pull_request) Successful in 5s
Version bump for a re-release packaged alongside the WP-MVB v8 hub (dev39) acceptance; code is identical to the previous release.
59 lines
2.4 KiB
Markdown
59 lines
2.4 KiB
Markdown
# Changelog
|
||
|
||
All notable changes to this AddOn will be documented here.
|
||
|
||
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||
Versioning follows [Semantic Versioning](https://semver.org/).
|
||
|
||
---
|
||
|
||
## [Unreleased]
|
||
|
||
- Phase 4 implementation in progress.
|
||
|
||
---
|
||
|
||
## [0.1.2] — 2026-10-02 — 重新打包
|
||
|
||
### Changed
|
||
- 重新打包(無功能變更):與 WP-MVB v8 樞紐站(dev39)一同驗收後發版;程式碼與前一版相同。
|
||
|
||
---
|
||
|
||
## [0.1.1] — 2026-08-08 — 7 張 `2mclb_*` 表補齊 schema 期望值
|
||
|
||
### Added
|
||
|
||
- 為全部 7 張 `2mclb_*` 表補上 `expected_columns` 與 `indexes`:
|
||
`2mclb_rider_templates`、`2mclb_rider_instances`、`2mclb_collaborators`、
|
||
`2mclb_confirmations`、`2mclb_comments`、`2mclb_rider_history`、
|
||
`2mclb_venue_profiles`。欄位與索引逐項轉錄自 2meet-collab activator 的
|
||
`CREATE TABLE`。先前只註冊表名,`wp wpdo doctor` 只知道表存在,無從判斷欄位或
|
||
索引是否漂移。
|
||
|
||
### Fixed
|
||
|
||
- `TMDO_Custom_Table_Registry::register()` 的索引期望值 config key 由
|
||
`expected_indexes` 更正為 `indexes`。該 API 以 `wp_parse_args()` 併入預設值,
|
||
未知 key 會被**靜默丟棄**——先前索引期望值等同從未送達 registry,
|
||
`wp wpdo doctor` 的 schema drift 只驗欄位、不驗索引。此問題橫跨全部 8 個 AddOn,
|
||
已一併更正。
|
||
- `TMDO_Collab::register()` 的 partner 偵測符號對齊實際存在的常數。舊版偵測
|
||
`TMCLB_Plugin` / `TMCLB_Main` 兩個類別,但這兩者在 2meet-collab 中**根本不存在**,
|
||
偵測實際完全靠 `file_exists()` 後備撐著——程式碼讀起來像在驗證「partner 已載入」,
|
||
實際只驗證了「目錄存在」。改用 `TMCLB_VERSION` / `TMCLB_PLUGIN_DIR`,兩者在
|
||
2meet-collab 主檔的檔案解析當下即 define,早於 `plugins_loaded`。
|
||
實測(mu-plugin 於 `plugins_loaded:6` 量測):`TMCLB_VERSION` = AVAILABLE。
|
||
`file_exists()` 後備保留不動,故行為不變;但偵測不再是死碼,即使將來移除後備
|
||
也不會重演 2meet-data-optimizer-infocards-addon 那種「整個 AddOn 靜默失效」的事故。
|
||
|
||
---
|
||
|
||
## [0.1.0] — TBD
|
||
|
||
### Added (initial release, scaffold)
|
||
|
||
- Plugin scaffold from `wp-data-optimizer v2.16.0` extraction plan.
|
||
- Plugin Header + bootstrap stub + 7 MD + composer.json.
|
||
- Requires Plugins: `2meet-data-optimizer`, `2meet-collab`.
|