2.1.0
Overview
We are excited to announce the release of ExcelTo v2.1! This version brings several improvements, bug fixes, and security enhancements to ensure better performance and code quality. Below are the highlights of this release.
What's New
Features
- Type Hinting: Added type hints for method parameters and return types across the codebase, improving code readability and maintainability.
- File Validation: Enhanced security by validating file paths before processing. The package now checks for file existence, readability, and MIME type, reducing the risk of loading invalid or malicious files.
- Code Refactoring: Removed code duplication by introducing reusable methods, resulting in a cleaner and more maintainable codebase.
Improvements
- Date Handling: Date cells in Excel files are now formatted as
d/m/Ystrings, ensuring consistency across outputs. - Performance Optimization: Improved the efficiency of sheet processing, especially when dealing with multiple sheets within a single file.
Bug Fixes
- Formula Calculation: Fixed an issue where formula cells were returning the formula string instead of the calculated value. Cells now correctly return their computed values.
Upgrade Guide
If you are upgrading from a previous version, follow these steps to update your package:
-
Update via Composer:
composer update knackline/excel-to
-
Update Code:
- If you have overridden any of the package’s methods, ensure your customizations align with the new changes, especially regarding the
processSheet()method.
- If you have overridden any of the package’s methods, ensure your customizations align with the new changes, especially regarding the
Feedback & Support
We value your feedback! Please report any bugs or issues on our GitHub Issues page.