*** FlowDino Changelog ***

2026-05-30 - version 1.1.17
* Categories - Injection du CSS Select2 directement dans le template pour garantir l'affichage

2026-05-30 - version 1.1.16
* Categories - Ajout du Select2 sur la liste des catégories FlowDino
* Categories - Filtre pour n'afficher que les catégories feuilles (les plus fines)

2026-04-27 - version 1.1.15
* Sales - Prevent duplicate order creation on resync: added a WooCommerce meta fallback check when the flowdino_orders table record is missing
* Sales - Cross-reference row is automatically restored in flowdino_orders when a duplicate is detected, so future syncs use the fast path

2026-04-18 - version 1.1.14
* Compatibility - Declared HPOS (High Performance Order Storage) compatibility via FeaturesUtil::declare_compatibility()

2026-04-11 - version 1.1.13
* Sales - Variation products are now correctly linked to orders: externalKey resolving now accepts product_variation post type
* Sales - Order item now calls set_variation_id() so WooCommerce displays the correct variation link and decrements variation stock
* Sales - Fixed externalKey parsing to use site URL prefix stripping instead of fragile explode+end approach (site URLs with hyphens no longer break resolution)
* Sales - Fallback no-orderLines path also resolves and links variation products via externalKey

2026-04-02 - version 1.1.12
* Sales - Shipping lines ("Frais de port") are now imported as WooCommerce shipping items instead of product lines
* Sales - Discount lines ("Remise offre acceptée") are now absorbed into the product line subtotal/total, displaying the discount on the product row
* Product - Add variations name

2026-04-01 - version 1.1.11
* Sales - Orders are now imported with status "Processing" instead of "Pending"
* Sales - Order lines are matched against WooCommerce products via FlowDino sync table, externalKey, SKU and title
* Sales - Stock levels are automatically decremented when a new order is imported
* Sales - Shipping label URL (urlEtiquette) is saved on the order and displayed as a download button in the WC order admin page
* Sales - Tax handling: TTC amounts are split into HT + VAT when WooCommerce taxes are enabled
* Sales - Added resync feature: reset sync date from a chosen date and re-import all orders

2026-03-28 - version 1.0.9
* Add Tags configuration tab

2026-03-24 - version 1.0.8
* Add Brand
* Tab Colors

2026-03-21 - version 1.0.7
* Synchronisation product variations with WooCommerce product variations

2026-03-20 - version 1.0.6
* Docs - Updated plugin description to better reflect FlowDino's multi-marketplace features

2026-03-02 - version 1.0.5
* Security - Sanitize POST keys with sanitize_key() before constructing option names in colors, materials, sizes and video game ratings tabs
* Docs - Added External Services section to readme.txt documenting FlowDino API usage, data transmitted, and links to terms of service and privacy policy

2026-02-26 - version 1.0.4
* Fixed - Removed WordPress.org directory assets (screenshots) from plugin zip

2026-02-20 - version 1.0.3
* Added - Interface get Order
* Added - Interface get products

2025-08-30 - version 1.0.2
* Added - Interactive progress banner with detailed synchronization information
* Added - Advanced product data validation before sending to FlowDino
* Added - Multiple product selection interface with dynamic counter
* Added - Floating button for quick synchronization of selected products
* Added - Confirmation system for important actions
* Added - Detailed error handling with explicit messages
* Added - Real-time synchronization statistics (created, updated, errors)
* Update - Completely redesigned user interface with modern design
* Update - New CSS styles with smooth animations and transitions
* Update - Significantly enhanced bulk synchronization performance
* Update - Database query optimization (-40% execution time reduction)
* Update - Enhanced handling of variable products and their variations
* Update - Better detection and mapping of product attributes
* Update - More intuitive product filtering interface
* Update - Enhanced responsive design for tablets and mobile devices
* Fixed - Variable product synchronization issue with multiple attributes
* Fixed - Error when synchronizing products without assigned category
* Fixed - Stock status display bug in products interface
* Fixed - Color mapping issue with special characters
* Fixed - JavaScript error during bulk selection/deselection
* Fixed - Unstable API connections handling with automatic retry
* Fixed - Product image display issue in certain themes
* Fixed - Memory leaks during large catalog synchronization
* Fixed - Enhanced validation of incoming data
* Fixed - Improved form field sanitization
* Fixed - Additional nonce verification for all AJAX actions
* Fixed - Strengthened CSRF attack protection

2024-08-20 - version 1.0.1
* Added - Complete support for WooCommerce variable products
* Added - Gallery image synchronization (in addition to main image)
* Added - New detailed logging system for debugging
* Added - Brand mapping interface with automatic detection
* Added - Support for custom WooCommerce attributes
* Added - Help tab with integrated documentation
* Added - Compatibility check system during activation
* Update - Error handling with more explicit messages
* Update - Redesigned attribute mapping interface
* Update - Performance when loading large catalogs
* Update - Compatibility with latest WooCommerce versions (8.5)
* Update - Completed and enhanced French translations
* Fixed - Empty or parentless category mapping issue
* Fixed - Stock synchronization bug for simple products
* Fixed - Settings save error with certain configurations
* Fixed - Admin display issue with certain themes
* Fixed - Special character handling in product names
* Fixed - PHP warnings in debug mode

2024-08-01 - version 1.0.0
* New - Complete WooCommerce catalog synchronization with FlowDino
* Added - Automatic product synchronization on creation/update
* Added - Manual bulk and individual product synchronization
* Added - Category mapping between WooCommerce and FlowDino.
* Added - Brand mapping with support for popular brand plugins
* Added - Attribute mapping (colors, materials, sizes)
* Added - Product image synchronization
* Added - Stock and price synchronization
* Added - Multilingual interface (French/English)
* Added - Comprehensive admin dashboard
* Added - Connection testing and validation
* Added - Detailed synchronization logs
* Added - Product filtering and search capabilities
