PluginProbe
ووسلام – همگام سازی ووکامرس و باسلام / 1.10.4
ووسلام – همگام سازی ووکامرس و باسلام v1.10.4
1.10.19 1.10.20 1.10.18 1.10.17 1.10.15 1.10.14 1.10.13 1.10.12 1.10.10 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.2 1.9.1 1.9.0 1.8.8 1.8.5 1.8.6 All 53 releases
sync-basalam / CHANGELOG.md

CHANGELOG.md in ووسلام – همگام سازی ووکامرس و باسلام 1.10.4, at CHANGELOG.md

568 lines 13.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # Changelog
2
3 <details>
4
5 <summary>1.10.4 - 2026-08-04</summary>
6
7 ### Fixed
8 - Preserved complete URLs in new ticket messages, ticket replies, and optional access-information fields, including percent-encoded URL segments that WordPress text sanitization previously removed
9 - Updated ticket media uploads to send `type=ticket_item` and `collection=IMAGE` as multipart form fields to the `/media` endpoint, and fixed the upload service to return the API response
10
11 </details>
12
13 <details>
14
15 <summary>1.10.3 - 2026-07-22</summary>
16
17 ### Changed / Improved
18 - "Price increase" became "price change" everywhere (code, markup, CSS classes): negative values are supported, so e.g. `-10` lowers the final Basalam price by 10% (percentages are capped at 35% increase and 35% decrease; values outside the -100..100 range are fixed Toman amounts)
19 - The global setting key was renamed from `increase_price_value` to `price_change_value`, and the per-product meta from `_sync_basalam_increase_price_value` to `_sync_basalam_price_change_value`. Old values are not migrated — re-enter the price change in the settings
20 - The category-commission mode is now stored as `commission` instead of `-1`, so it no longer collides with a real negative percentage
21
22 ### Added
23 - A "custom price change" field in the Basalam product settings tab and in the products list bulk edit, so a single product or a selection of products can override the global value (or switch to category commission)
24
25 </details>
26
27 <details>
28
29 <summary>1.10.2 - 2026-07-19</summary>
30
31 ### Changed / Improved
32 - Migrated product photo and video uploads from the legacy direct upload endpoint to Uploadio's presigned media flow
33 - Added SHA-256 metadata, direct staging upload, completion handling, and status polling so product payloads receive the final Basalam media ID and URL
34 - Ensured temporary remote media files are removed after both successful and failed uploads
35 - Streamed remote media downloads and multipart uploads with size-aware limits and timeouts to support large product videos without buffering the entire file in PHP memory
36
37 </details>
38
39 <details>
40
41 <summary>1.10.1 - 2026-07-13</summary>
42
43 ### Fixed
44 - When Basalam rejects a product create/update with `422` because the description contains forbidden content (social-network names, page/channel mentions, etc.), the plugin now extracts the flagged phrases — highlighted inside `<em>...</em>` in the response `snippet` — strips them from the description, and automatically retries (up to 3 times). Previously the sanitizer looked for a non-existent `value` field, so nothing was removed and the retry never helped
45
46 </details>
47
48 <details>
49
50 <summary>1.10.0 - 2026-07-11</summary>
51
52 ### Added
53 - Merged the "Woosalam Plus" add-on into the core plugin as a built-in "Financial Management" section: view store balance, active settlement requests, settlement history, and submit settlement requests to wallet or bank account
54 - Added the `customer.identity.read` scope to the Basalam OAuth connection request (required to fetch the user's bank account list in the settlement flow)
55
56 ### Note
57 - Users who connected to Basalam before this release must reconnect ("Connect to Basalam") once so the new scope is granted before the bank-account settlement feature works
58
59 </details>
60
61 <details>
62
63 <summary>1.9.2 - 2026-07-08</summary>
64
65 ### Security
66 - Fixed a CSRF vulnerability in the Basalam OAuth callback (`basalam-save-token`) that could let a forged request overwrite the stored connection credentials; the callback now requires a single-use, time-limited authorization that the admin actively started, and the "connect to Basalam" links go through a nonce-protected request
67 - Hardened output escaping across admin pages, templates and exception messages (esc_html/esc_attr)
68 - Switched internal redirects to wp_safe_redirect and documented direct custom-table queries
69
70 ### Changed / Improved
71 - Tested up to WordPress 7.0
72
73 </details>
74
75 <details>
76
77 <summary>1.9.1 - 2026-06-30</summary>
78
79 ### Fixed
80 - show check-orders button and vertically center its content on mobile/tablet
81
82 </details>
83
84 <details>
85
86 <summary>1.9.0 - 2026-06-21</summary>
87
88 ### Added
89 - add gold product type with purity and weight attributes
90 - add preparation days management for product categories
91
92 ### Fixed
93 - decrease min pkg weight
94
95 </details>
96
97 <details>
98
99 <summary>1.8.8 - 2026-05-18</summary>
100
101 ### Fixed
102 - fix City/state mapping with persian shiping woo
103 - increase count of photo limit
104
105
106 </details>
107
108 <details>
109
110 <summary>1.8.7 - 2026-05-16</summary>
111
112 ### Added
113 - Product video upload support (VideoService, VideoField, VideoSourceResolver)
114 - Circuit breaker alert notifications
115 - replace toast with alert()
116 - Limit on increase precent(max 35%)
117 - Migration 1.8.7
118
119 ### Fixed
120 - Improved file upload, lock manager, and API response handling
121
122 </details>
123
124 <details>
125
126 <summary>1.8.5,1.8.6 - 2026-05-10</summary>
127
128 ### Fixed
129 - deduplictaion orders
130 - fix stuck-processing
131
132 </details>
133
134 <details>
135
136
137 <details>
138
139 <summary>1.8.4 - 2026-05-03</summary>
140
141 ### Fixed
142 - Circuit Breaker mechanism
143
144 </details>
145
146 <details>
147
148 <summary>1.8.3 - 2026-05-03</summary>
149
150 ### Added
151 - Added bulk edit support for wholesale settings, product type, and custom price increase
152 - Added per-product custom price increase support
153 - Added an information API endpoint to improve AI agent support in `admin.hamsalam.ir`
154
155 ### Changed / Improved
156 - Added automatic order creation in status change events when the order does not already exist
157 - Clear saved token on `401 Unauthorized` responses from `*.basalam.com` requests
158 - Show an error when required Woosalam domains are blocked
159 - Prevent task execution when required Woosalam domains are blocked
160
161 ### Fixed
162 - Fixed user-reported issues
163
164 </details>
165
166 <details>
167
168 <summary>1.8.2 - 2026-04-04</summary>
169
170 ### Added
171 - Photo and weight validator for products
172 - Filter hook for contact-us section visibility
173 - Prefix and suffix to product title for category detection
174
175 ### Fixed
176 - Fetch current vendor info without cache
177 </details>
178
179 <details>
180
181 <details>
182
183 <summary>1.8.1 - 2026-03-07</summary>
184
185 ### Added
186 - basalam Chat widget
187
188 </details>
189
190 <details>
191
192 <summary>1.8.0 - 2026-03-05</summary>
193
194 ### Changed / Improved
195 - Introduced an internal DI container (`ContainerInterface`, `Container`, `ServiceProviderInterface`) and centralized service provider wiring.
196 - Added `syncBasalamContainer()` and migrated `syncBasalamPlugin()` / `syncBasalamSettings()` to container-backed access.
197 - Migrated core hotspots from direct instantiation to container resolution:
198 - `ApiServiceManager`
199 - `ProductOperations`
200 - `JobManager`
201 - class-level settings access
202 - Refactored job subsystem wiring for constructor-based dependencies (`AbstractJobType`, job types, `JobRegistry`, `JobsRunner`, `DiscountTaskScheduler`).
203 - Updated action and registrar edges to resolve handlers/listeners via container.
204 - Removed legacy singleton-style accessors in core services and standardized on container-first resolution.
205 - add unInstall
206 - Added dashboard data retrieval in tickets
207 - Added `vendor_id` suffix to product `postmeta`
208 - Added selectable stock priority for variable products
209 - Added a Circuit Breaker mechanism
210
211
212
213 ### Added
214 - Container-backed settings access via `SettingsContainer`.
215
216 </details>
217
218 <details>
219
220 <summary>1.7.9 - 2026-02-25</summary>
221
222 ### Changed / Improved
223 - Added plugin version to all admin CSS/JS enqueue calls for proper cache busting
224
225 </details>
226
227
228 <details>
229
230 <summary>1.7.8 - 2026-02-21</summary>
231
232 ### Added
233 - retry system for jobs
234 - Added announcements section
235 - Added file upload capability in tickets
236 - Added discount reduction percentage setting
237 - Added ability to fetch and sync Basalam orders up to the last 30 days
238 - Added customer name prefix/suffix settings for Basalam orders
239 - Added onboarding section to Woosalam
240
241 ### Changed / Improved
242
243 - Remove Product Operation type
244 - change fetch unsync orders structure
245 - Switched product list fetching from paginate-based API to cursor-based API
246 - Skip webhook creation when the site domain is localhost
247 - Made Woosalam addonable/extensible
248 - Categorized plugin settings
249
250 ### Fix
251 - Fixed ticket links issues
252 - Fixed duplicated products issue
253 - Fixed null value being sent to Basalam on duplicated product disconnect/update flow
254
255 </details>
256
257 <details>
258
259 <summary>1.7.7 - 2026-02-07</summary>
260
261 ### Changed / Improved
262
263 - Enhanced Performance and Security in Ticket Logics
264 - Don't send null value in update product at basalam
265
266 </details>
267
268
269 <details>
270
271 <summary>1.7.6 - 2026-02-01</summary>
272
273 ### Fix
274
275 - Remove Unused Migration
276
277 </details>
278
279 <details>
280
281 <summary>1.7.5 - 2026-01-26</summary>
282
283 ### Added
284
285 - Added Ticketing feature
286
287 </details>
288
289 <details>
290
291 <summary>1.7.4 - 2026-01-6</summary>
292
293 ### Fixed
294
295 - Fix Bugs
296
297 </details>
298
299 <details>
300
301 <summary>1.7.3 - 2025-12-27</summary>
302
303 ### Fixed
304
305 - Fix Bugs
306
307 </details>
308
309 <details>
310
311 <summary>1.7.2 - 2025-12-24</summary>
312
313 ### Fixed
314
315 - Compatibity beetwin HPOS and Legay System
316 - Fix webhook handling and authorization in WebhookService
317
318 </details>
319
320 <details>
321
322 <summary>1.7.1 - 2025-12-23</summary>
323
324 ### Fixed
325
326 - Add Missed Files
327
328 </details>
329
330
331 <details>
332
333 <summary>1.7.0 - 2025-12-20</summary>
334
335 ### Added
336
337 - Added PSR-4 autoloading structure for better code organization
338
339 ### Changed / Improved
340
341 - Enhanced plugin code structure and performance optimizations
342 - Added detailed order information display on orders page
343 - Improved category ID retrieval with reverse order output
344
345 ### Fixed
346
347 - Fixed commission calculation issues
348 - Fixed order fetching problems
349 - Fixed Persian WooCommerce Shipping plugin compatibility issues
350
351 </details>
352
353 <details>
354 <summary>1.6.1 - 2025-12-6</summary>
355
356 ### Changed / Improved
357 - Handle cursor for get order lists
358
359 ### Fixed
360 - don't send request to core.basalam.com
361 - add reduce/increase stock action for woosalam order statuses
362
363 </details>
364
365 <details>
366 <summary>1.6.0 - 2025-12-1</summary>
367 ### Changed / Improved
368 - Added automatic shipping method detection and auto-saving of the shipping name and cost in WooCommerce orders
369
370 </details>
371
372 <details>
373 <summary>1.5.9 - 2025-11-27</summary>
374
375 ### Fixed
376
377 - Add missing default settings to database and return default for single missing setting
378 - Handle customer names without spaces
379 - Correct Persian WooCommerce path
380
381 ### Refactored
382
383 - Simplify check if Persian WooCommerce Shipping plugin is active
384
385 </details>
386
387 <details>
388 <summary>1.5.8 - 2025-11-18</summary>
389
390 ### Changed / Improved
391
392 - Improved batch product update functionality
393 - Enhanced complete product update process
394
395 </details>
396
397 <details>
398 <summary>1.5.7 - 2025-11-17</summary>
399
400 ### Added
401
402 - Added compatibility with Tappin
403 - Added support for currency units irht and irhr
404
405 ### Changed / Improved
406
407 - Implemented automatic price rounding for Basalam compatibility
408 - Changed product enqueue structure from offset-based to ID-based
409 - Made WooCommerce order creation process atomic
410
411 ### Fixed
412
413 - Fixed job manager functionality and proper task execution
414
415 </details>
416
417 <details>
418 <summary>1.5.5 - 2025-11-15</summary>
419
420 ### Changed / Improved
421
422 - Optimized fetch creatable products query using direct SQL for better performance
423 - Improved API service manager to properly decode JSON responses
424 - Enhanced update job detection logic to avoid false positive job status checks
425
426 ### Fixed
427
428 - Fixed API response handling by properly decoding JSON data
429 - Removed commented-out legacy code from plugin initialization
430 - Fixed quick update job status detection in admin dashboard
431 - Resolved duplicate job checking that was causing incorrect "in progress" states
432
433 </details>
434
435 <details>
436 <summary>1.5.4 - 2025-11-6</summary>
437
438 ### Added
439
440 - Migration system for version 1.5.4
441
442 ### Changed / Improved
443
444 - Enhanced onboarding styles and UI improvements
445 - Improved category fetching process with better error handling
446 - Enhanced file uploader service functionality
447 - Optimized product update process
448
449 ### Fixed
450
451 - Fixed error handling in product update service
452 - Removed deprecated photo ban status service
453 - Fixed category mapping page display and functionality
454 - Improved product meta box data handling
455 - Fixed issues in get product data service
456
457 </details>
458
459 <details>
460 <summary>1.5.3 - 2025-10-25</summary>
461
462 ### Fixed
463
464 - Fixed some bugs
465
466 </details>
467
468 <details>
469 <summary>1.5.0 - 2025-10-04</summary>
470
471 ### Added
472
473 - Key-value storage system for plugin settings
474 - Option to select sale price display style (strikethrough or sale price only)
475 - Automatic log file cleanup (weekly)
476 - Manual and automatic task execution rate control (tasks per minute)
477
478 ### Changed / Improved
479
480 - Removed WP Cron dependency for better performance
481 - Enhanced task scheduling system
482
483 ### Fixed
484
485 - Removed invalid variations from product data
486 - Fixed category attributes synchronization issue
487 - Fixed sale price validation before applying
488 - Resolved migration 1.4.0 issues
489
490 </details>
491
492 <details>
493 <summary>1.4.0 - 2025-09-12</summary>
494
495 ### Added
496
497 - Manual product category mapping
498 - Strikethrough pricing for products
499 - Add products from Digikala (Pro version)
500 - Create a free store (Pro version)
501
502 ### Changed / Improved
503
504 - Plugin structure optimization
505
506 ### Fixed
507
508 - Fixed reported issues
509
510 </details>
511
512 <details>
513 <summary>1.3.0 - 2025-07-23</summary>
514
515 ### Added
516
517 - Option to choose operation execution method (AJAX and Queue)
518 - Manual order fetching
519 - Cancel orders
520 - Fetch order changes from Basalam and apply them to WooCommerce orders
521
522 ### Fixed
523
524 - Fixed reported issues
525
526 </details>
527
528 <details>
529 <summary>1.2.0 - 2025-06-27</summary>
530
531 ### Added
532
533 - Bulk product addition
534 - Bulk product update
535 - Auto order confirmation
536
537 ### Fixed
538
539 - Fixed issues reported in previous version
540
541 </details>
542
543 <details>
544 <summary>1.1.0 - 2025-02-13</summary>
545
546 ### Added
547
548 - Automatic fetching and creation of Basalam orders in WooCommerce
549 - Manage orders from WooCommerce (confirm order, request delay, ship order)
550 - Advanced settings for easier use
551
552 ### Fixed
553
554 - Fixed some issues from previous versions
555
556 </details>
557
558 <details>
559 <summary>1.0.0 - 2024-12-31</summary>
560
561 ### Added
562
563 - Add and update products individually and in bulk
564 - Automatic product synchronization
565 - Settings and logs page
566
567 </details>
568