| @@ -1,8 +1,147 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | 3 | <details> |
| 4 | 4 | |
| 5 | +<summary>1.10.25 - 2026-09-30</summary> | |
| 6 | + | |
| 7 | +### Changed / Improved | |
| 8 | +- Revoke the stored Basalam vendor authorization on upgrade so every store reconnects and grants the currently required scopes | |
| 9 | + | |
| 10 | +### Note | |
| 11 | +- Existing connections must reauthenticate after updating to this version | |
| 12 | + | |
| 13 | +</details> | |
| 14 | + | |
| 15 | +<details> | |
| 16 | + | |
| 17 | +<summary>1.10.24 - 2026-09-30</summary> | |
| 18 | + | |
| 19 | +### Added | |
| 20 | +- Request the `vendor.product.read` scope when connecting to Basalam | |
| 21 | + | |
| 22 | +### Note | |
| 23 | +- Existing connections must reauthenticate to grant the new product read scope | |
| 24 | + | |
| 25 | +</details> | |
| 26 | + | |
| 27 | +<details> | |
| 28 | + | |
| 29 | +<summary>1.10.23 - 2026-09-28</summary> | |
| 30 | + | |
| 31 | +### Added | |
| 32 | +- Request the `vendor.financial.read` and `vendor.financial.write` scopes when connecting to Basalam | |
| 33 | + | |
| 34 | +### Changed / Improved | |
| 35 | +- Blur and lock the financial management page when a financial API request returns HTTP 403, with a direct button to reconnect to Basalam | |
| 36 | + | |
| 37 | +### Note | |
| 38 | +- Existing connections must reauthenticate to grant the new financial scopes | |
| 39 | + | |
| 40 | +</details> | |
| 41 | + | |
| 42 | +<details> | |
| 43 | + | |
| 44 | +<summary>1.10.22 - 2026-09-27</summary> | |
| 45 | + | |
| 46 | +### Added | |
| 47 | +- 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 | |
| 48 | + | |
| 49 | +### Changed / Improved | |
| 50 | +- Automatic product connection now searches for safe title matches among Basalam products after scanning the vendor catalog | |
| 51 | +- Aligned the dashboard controls and advanced settings on narrow screens, and centered the add and update product dialogs at matching mobile sizes | |
| 52 | + | |
| 53 | +### Fixed | |
| 54 | +- The product update dialog now reads live queue status when opened and while visible, clearing completed-job messages without a page reload | |
| 55 | +- 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 | |
| 56 | + | |
| 57 | +</details> | |
| 58 | + | |
| 59 | +<details> | |
| 60 | + | |
| 61 | +<summary>1.10.21 - 2026-09-17</summary> | |
| 62 | + | |
| 63 | +### Fixed | |
| 64 | +- "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 | |
| 65 | +- 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 | |
| 66 | +- 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 | |
| 67 | + | |
| 68 | +</details> | |
| 69 | + | |
| 70 | +<details> | |
| 71 | + | |
| 72 | +<summary>1.10.20 - 2026-09-17</summary> | |
| 73 | + | |
| 74 | +### Fixed | |
| 75 | +- 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 | |
| 76 | + | |
| 77 | +</details> | |
| 78 | + | |
| 79 | +<details> | |
| 80 | + | |
| 81 | +<summary>1.10.19 - 2026-09-17</summary> | |
| 82 | + | |
| 83 | +### Changed / Improved | |
| 84 | +- Single-product update jobs now run before bulk and full-update coordinator jobs | |
| 85 | + | |
| 86 | +</details> | |
| 87 | + | |
| 88 | +<details> | |
| 89 | + | |
| 90 | +<summary>1.10.18 - 2026-09-12</summary> | |
| 91 | + | |
| 92 | +### Fixed | |
| 93 | +- 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 | |
| 94 | +- Product create and update requests now retry once without product or variation SKUs when Basalam rejects a duplicate SKU | |
| 95 | + | |
| 96 | +</details> | |
| 97 | + | |
| 98 | +<details> | |
| 99 | + | |
| 100 | +<summary>1.10.17 - 2026-09-09</summary> | |
| 101 | + | |
| 102 | +### Fixed | |
| 103 | +- Async job dispatch runs during shutdown again, keeping queue probes and loopback requests out of the storefront response path | |
| 104 | +- The dispatch lease is reserved before checking the queue, preventing concurrent requests from launching duplicate async runners | |
| 105 | + | |
| 106 | +</details> | |
| 107 | + | |
| 108 | +<details> | |
| 109 | + | |
| 110 | +<summary>1.10.16 - 2026-09-08</summary> | |
| 111 | + | |
| 112 | +### Fixed | |
| 113 | +- 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 | |
| 114 | +- Hotfix builds newer than the latest published package are no longer disabled when the version API has not registered them yet | |
| 115 | + | |
| 116 | +</details> | |
| 117 | + | |
| 118 | +<details> | |
| 119 | + | |
| 120 | +<summary>1.10.15 - 2026-09-08</summary> | |
| 121 | + | |
| 122 | +### Fixed | |
| 123 | +- 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 | |
| 124 | +- 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 | |
| 125 | +- 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 | |
| 126 | +- Hotfix builds newer than the latest published package are no longer disabled when the version API has not registered them yet | |
| 127 | + | |
| 128 | +</details> | |
| 129 | + | |
| 130 | +<details> | |
| 131 | + | |
| 132 | +<summary>1.10.14 - 2026-09-08</summary> | |
| 133 | + | |
| 134 | +### Added | |
| 135 | +- 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) | |
| 136 | + | |
| 137 | +### Fixed | |
| 138 | +- 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 | |
| 139 | + | |
| 140 | +</details> | |
| 141 | + | |
| 142 | +<details> | |
| 143 | + | |
| 5 | 144 | <summary>1.10.13 - 2026-09-01</summary> |
| 6 | 145 | |
| 7 | 146 | ### Added |
| 8 | 147 | - Added a manual vendor-status recheck button to inactive-vendor notices so store owners can immediately restore synchronization after reactivating their Basalam booth |