1.0.2 #181
sassanix
announced in
Announcements
1.0.2
#181
Replies: 1 comment 1 reply
-
|
Hi. Do you have any plans to migrate to newest Postgres - 18? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
⚙️ Release 1.0.2 – CSV Import Enhancements & Permission Handling Upgrade
Version 1.0.2 introduces major improvements to the CSV import process and backend permission management, enhancing both data flexibility and system reliability.
This release focuses on better handling of real-world import scenarios, improved error tolerance, and more robust permission management for Docker-based deployments.
📄 CSV Import Improvements
🕒 Exact Expiration Date Support
ExpirationDatefield in CSV imports.WarrantyDurationYears,WarrantyDurationMonths,WarrantyDurationDays) are empty or zero, andIsLifetimeisFALSE.backend/warranties_routes.py,README.md✅ Result: Enables direct import of warranties with specific expiration dates — improving data accuracy and reducing manual adjustments.
⚙️ Partial Commits with Per-Row Error Reporting
200for partial success and400only if all rows fail.backend/warranties_routes.py✅ Result: Easier troubleshooting and improved reliability for large or mixed-quality CSV files.
🔁 Automatic Duplicate Name Suffixing
ProductNamealready exists for the samePurchaseDate(in the database or within the same file), the importer now automatically renames it toName (1),Name (2), etc.backend/warranties_routes.py✅ Result: Seamless import of multiple products sharing identical names and purchase dates.
🧰 Permission Handling Enhancements
"Fixing permissions (database and upload folder)".fix_upload_folder_permissions()andfix_database_permissions()for clearer scope and maintainability.warracker:warracker(uid:999, gid:999), with improved logging and connection retry handling.Docker/entrypoint.sh,backend/fix_permissions.py✅ Result: More reliable startup and consistent file/database permissions in containerized environments.
💡 Credit: Enhancement contributed by @Erwan-loot
🔗 Reference: PR #180
🧭 Upgrade Notes
ExpirationDatefield can be added.This 1.0.2 release enhances import flexibility, error handling, and permission robustness, ensuring a smoother and more reliable experience for all Warracker deployments.
This discussion was created from the release 1.0.2.
Beta Was this translation helpful? Give feedback.
All reactions