| @@ -1,8 +1,136 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | 3 | <details> |
| 4 | 4 | |
| 5 | +<summary>1.10.23 - 2026-09-28</summary> | |
| 6 | + | |
| 7 | +### Added | |
| 8 | +- Request the `vendor.financial.read` and `vendor.financial.write` scopes when connecting to Basalam | |
| 9 | + | |
| 10 | +### Changed / Improved | |
| 11 | +- Blur and lock the financial management page when a financial API request returns HTTP 403, with a direct button to reconnect to Basalam | |
| 12 | + | |
| 13 | +### Note | |
| 14 | +- Existing connections must reauthenticate to grant the new financial scopes | |
| 15 | + | |
| 16 | +</details> | |
| 17 | + | |
| 18 | +<details> | |
| 19 | + | |
| 20 | +<summary>1.10.22 - 2026-09-27</summary> | |
| 21 | + | |
| 22 | +### Added | |
| 23 | +- Added an optional recurring full product update every 24 or 48 hours, configured beside the product sync control; new and existing stores default to 48 hours and can turn the schedule off | |
| 24 | + | |
| 25 | +### Changed / Improved | |
| 26 | +- Automatic product connection now searches for safe title matches among Basalam products after scanning the vendor catalog | |
| 27 | +- Aligned the dashboard controls and advanced settings on narrow screens, and centered the add and update product dialogs at matching mobile sizes | |
| 28 | + | |
| 29 | +### Fixed | |
| 30 | +- The product update dialog now reads live queue status when opened and while visible, clearing completed-job messages without a page reload | |
| 31 | +- Empty-queue probes no longer hold the async dispatch lease, so newly created jobs can start promptly while shutdown dispatch continues to repair the database connection | |
| 32 | + | |
| 33 | +</details> | |
| 34 | + | |
| 35 | +<details> | |
| 36 | + | |
| 37 | +<summary>1.10.21 - 2026-09-17</summary> | |
| 38 | + | |
| 39 | +### Fixed | |
| 40 | +- "All fields" and "price & stock" update modes always send one complete product request with the variants array (without Basalam variation ids), matching earlier major versions; the dedicated variation endpoint is only used in "custom" mode with the variation price/stock fields enabled | |
| 41 | +- Product updates now recover automatically when WooCommerce contains stale Basalam variation IDs, rebuilding and saving the current variation mapping instead of repeatedly failing with HTTP 404 | |
| 42 | +- Commission lookup now uses Basalam's product-specific commission API for products already connected to Basalam; new or unconnected products continue to use category-based commission lookup, with product commission responses cached during the sync request | |
| 43 | + | |
| 44 | +</details> | |
| 45 | + | |
| 46 | +<details> | |
| 47 | + | |
| 48 | +<summary>1.10.20 - 2026-09-17</summary> | |
| 49 | + | |
| 50 | +### Fixed | |
| 51 | +- Basalam authorization callbacks no longer fail when Redis or Memcached drops the temporary OAuth marker; the single-use authorization proof is now carried in a signed, time-limited HttpOnly cookie | |
| 52 | + | |
| 53 | +</details> | |
| 54 | + | |
| 55 | +<details> | |
| 56 | + | |
| 57 | +<summary>1.10.19 - 2026-09-17</summary> | |
| 58 | + | |
| 59 | +### Changed / Improved | |
| 60 | +- Single-product update jobs now run before bulk and full-update coordinator jobs | |
| 61 | + | |
| 62 | +</details> | |
| 63 | + | |
| 64 | +<details> | |
| 65 | + | |
| 66 | +<summary>1.10.18 - 2026-09-12</summary> | |
| 67 | + | |
| 68 | +### Fixed | |
| 69 | +- Public plugin metadata, help, terms, and privacy links now use the live canonical Hamsalam and Basalam URLs instead of the retired `wp.hamsalam.ir` host | |
| 70 | +- Product create and update requests now retry once without product or variation SKUs when Basalam rejects a duplicate SKU | |
| 71 | + | |
| 72 | +</details> | |
| 73 | + | |
| 74 | +<details> | |
| 75 | + | |
| 76 | +<summary>1.10.17 - 2026-09-09</summary> | |
| 77 | + | |
| 78 | +### Fixed | |
| 79 | +- Async job dispatch runs during shutdown again, keeping queue probes and loopback requests out of the storefront response path | |
| 80 | +- The dispatch lease is reserved before checking the queue, preventing concurrent requests from launching duplicate async runners | |
| 81 | + | |
| 82 | +</details> | |
| 83 | + | |
| 84 | +<details> | |
| 85 | + | |
| 86 | +<summary>1.10.16 - 2026-09-08</summary> | |
| 87 | + | |
| 88 | +### Fixed | |
| 89 | +- Installing a newer plugin package now clears the previous version's force-update gate, allowing migrations, hooks, and the background jobs runner to start normally | |
| 90 | +- Hotfix builds newer than the latest published package are no longer disabled when the version API has not registered them yet | |
| 91 | + | |
| 92 | +</details> | |
| 93 | + | |
| 94 | +<details> | |
| 95 | + | |
| 96 | +<summary>1.10.15 - 2026-09-08</summary> | |
| 97 | + | |
| 98 | +### Fixed | |
| 99 | +- Large product queues no longer spawn overlapping AJAX runners from normal site traffic; one runner now owns the entire processing batch and duplicate workers exit immediately | |
| 100 | +- Async runner dispatches are leased for 25 seconds instead of one second, preventing PHP worker exhaustion and storefront 503/504 errors during full or quick product updates | |
| 101 | +- Installing a newer plugin package now clears the previous version's force-update gate, allowing migrations, hooks, and the background jobs runner to start normally | |
| 102 | +- Hotfix builds newer than the latest published package are no longer disabled when the version API has not registered them yet | |
| 103 | + | |
| 104 | +</details> | |
| 105 | + | |
| 106 | +<details> | |
| 107 | + | |
| 108 | +<summary>1.10.14 - 2026-09-08</summary> | |
| 109 | + | |
| 110 | +### Added | |
| 111 | +- Product SKUs are now sent to Basalam when creating or updating products, and variation SKUs are sent with variant payloads and per-variation updates; a new "کد محصول (SKU)" option controls the field in custom update mode (enabled by default) | |
| 112 | + | |
| 113 | +### Fixed | |
| 114 | +- The async job runner now dispatches from init instead of shutdown, avoiding database "commands out of sync" errors caused by unread result sets left by other shutdown callbacks | |
| 115 | + | |
| 116 | +</details> | |
| 117 | + | |
| 118 | +<details> | |
| 119 | + | |
| 120 | +<summary>1.10.13 - 2026-09-01</summary> | |
| 121 | + | |
| 122 | +### Added | |
| 123 | +- Added a manual vendor-status recheck button to inactive-vendor notices so store owners can immediately restore synchronization after reactivating their Basalam booth | |
| 124 | + | |
| 125 | +### Changed / Improved | |
| 126 | +- Local environments now bypass vendor-status checks and inactive-vendor restrictions; the daily vendor-status cron is also unscheduled locally | |
| 127 | +- The category detection endpoint now uses API v2.0 while preserving the existing response consumer contract | |
| 128 | + | |
| 129 | +</details> | |
| 130 | + | |
| 131 | +<details> | |
| 132 | + | |
| 5 | 133 | <summary>1.10.12 - 2026-08-29</summary> |
| 6 | 134 | |
| 7 | 135 | ### Fixed |
| 8 | 136 | - Restored the AJAX click handlers for product update, archive, restore, and disconnect actions on the WooCommerce product editor |