| @@ -1,8 +1,91 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | 3 | <details> |
| 4 | 4 | |
| 5 | +<summary>1.10.21 - 2026-09-17</summary> | |
| 6 | + | |
| 7 | +### Fixed | |
| 8 | +- "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 | |
| 9 | +- 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 | |
| 10 | +- 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 | |
| 11 | + | |
| 12 | +</details> | |
| 13 | + | |
| 14 | +<details> | |
| 15 | + | |
| 16 | +<summary>1.10.20 - 2026-09-17</summary> | |
| 17 | + | |
| 18 | +### Fixed | |
| 19 | +- 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 | |
| 20 | + | |
| 21 | +</details> | |
| 22 | + | |
| 23 | +<details> | |
| 24 | + | |
| 25 | +<summary>1.10.19 - 2026-09-17</summary> | |
| 26 | + | |
| 27 | +### Changed / Improved | |
| 28 | +- Single-product update jobs now run before bulk and full-update coordinator jobs | |
| 29 | + | |
| 30 | +</details> | |
| 31 | + | |
| 32 | +<details> | |
| 33 | + | |
| 34 | +<summary>1.10.18 - 2026-09-12</summary> | |
| 35 | + | |
| 36 | +### Fixed | |
| 37 | +- 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 | |
| 38 | +- Product create and update requests now retry once without product or variation SKUs when Basalam rejects a duplicate SKU | |
| 39 | + | |
| 40 | +</details> | |
| 41 | + | |
| 42 | +<details> | |
| 43 | + | |
| 44 | +<summary>1.10.17 - 2026-09-09</summary> | |
| 45 | + | |
| 46 | +### Fixed | |
| 47 | +- Async job dispatch runs during shutdown again, keeping queue probes and loopback requests out of the storefront response path | |
| 48 | +- The dispatch lease is reserved before checking the queue, preventing concurrent requests from launching duplicate async runners | |
| 49 | + | |
| 50 | +</details> | |
| 51 | + | |
| 52 | +<details> | |
| 53 | + | |
| 54 | +<summary>1.10.16 - 2026-09-08</summary> | |
| 55 | + | |
| 56 | +### Fixed | |
| 57 | +- 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 | |
| 58 | +- Hotfix builds newer than the latest published package are no longer disabled when the version API has not registered them yet | |
| 59 | + | |
| 60 | +</details> | |
| 61 | + | |
| 62 | +<details> | |
| 63 | + | |
| 64 | +<summary>1.10.15 - 2026-09-08</summary> | |
| 65 | + | |
| 66 | +### Fixed | |
| 67 | +- 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 | |
| 68 | +- 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 | |
| 69 | +- 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 | |
| 70 | +- Hotfix builds newer than the latest published package are no longer disabled when the version API has not registered them yet | |
| 71 | + | |
| 72 | +</details> | |
| 73 | + | |
| 74 | +<details> | |
| 75 | + | |
| 76 | +<summary>1.10.14 - 2026-09-08</summary> | |
| 77 | + | |
| 78 | +### Added | |
| 79 | +- 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) | |
| 80 | + | |
| 81 | +### Fixed | |
| 82 | +- 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 | |
| 83 | + | |
| 84 | +</details> | |
| 85 | + | |
| 86 | +<details> | |
| 87 | + | |
| 5 | 88 | <summary>1.10.13 - 2026-09-01</summary> |
| 6 | 89 | |
| 7 | 90 | ### Added |
| 8 | 91 | - Added a manual vendor-status recheck button to inactive-vendor notices so store owners can immediately restore synchronization after reactivating their Basalam booth |