Releases: Nicklas373/Hana-PDF
HANA PDF v3.4.4 [FE]
Background
As users, i want to upload any file that i want to proceed without any worries regarding non-standarize name on file or not
Current condition
iLovePDF seems have sensitive case regarding non-standarize or duplicate characters on file name that want to proceed, so whenever any file that have non-standarize or duplicate characters on it. It will return error and crash iLovePDF logics with error
({"error":{"type":"ServerError","message":"Something on our end went wrong, probably we are not catching some exception we should catch! We are logging this and we will fix it.","code":"500"}})
Next condition
Handle properly on the front-end services to rename any uploaded file before serve to the backend, this is better approach and less modification on source code. Due change renaming logic on backend could be hectic and risky.
What's Changed
- v3.4.4 20250112 [Frontend Module] by @Nicklas373 in #309
Full Changelog: v3.4.3-FE-PROD...v3.4.4-FE-PROD
HANA PDF v3.6.7 [BE]
Background
As users, i want to preview or see thumbnail for every task or upload. In current condition when i upload any document or spreadsheet. No thumbnail was loaded or processed, but fine on other files like PDF and image.
Current condition
Since almost all controller already moved to min.io for data storage and not stored anymore on local, somehow thumbnail controller are not following changes and result thumbnail can't be processed at all
Next condition
Properly store and generate temporary URL from min.io to generate and served back to front-end services after processing
What's Changed
- [BE][HOTFIX]: Fix unknown endpoint route for cnvToXLS and cnvToPPTX by @Nicklas373 in #304
- [BE][DEP] Weekly dependencies update 20241228 by @Nicklas373 in #306
- v3.6.7 20250105 [Backend Module] by @Nicklas373 in #307
Full Changelog: v3.6.5-BE-PROD...v3.6.7-BE-PROD
HANA PDF v3.4.3 [FE]
Background
As users, i want to preview or see thumbnail for every task or upload. In current condition when i upload any document or spreadsheet. No thumbnail was loaded or processed, but fine on other files like PDF and image.
Current condition
Since backend services are not able to generate thumbnail, due overleft dependency regarding min.io file storage and file url. It causing backend return 400 - BAD REQUEST, although front-end can handle it properly. But thumbnail can't never be generated
Next condition
After backend services got fixed, next step is need to proper handle temporary url for thumbnail that was send from backend services.
What's Changed
- [FE][Weekly Update] Composer update 20241208 by @Nicklas373 in #298
- [FE]: Treewide: Update composer and npm dependencies by @Nicklas373 in #300
- [FE][DEP] Treewide: Update Composer and NPM dependencies by @Nicklas373 in #302
- [FE][DEP] Weekly dependencies update 20241228 by @Nicklas373 in #305
- v3.4.3 20250105 [Frontend Module] by @Nicklas373 in #308
Full Changelog: v3.4.2-1-FE-PROD...v3.4.3-FE-PROD
HANA PDF v3.6.5 [BE]
What's New:
- Do not append previous filename extensions into processed filename
("_EXTENSIONS.EXTENSIONS" -> ".EXTENSIONS") - Properly declare convert type method on file detection logic after
convertion process done,
this to prevent pptx file are not readable due hardcoded "xlsx"
extension after merge logic.
What's Changed
- [BE][DEP] Composer: Weekly dependencies update by @Nicklas373 in #301
- v3.6.5 20241222 [Backend Module] by @Nicklas373 in #303
Full Changelog: v3.6.4-BE-PROD...v3.6.5-BE-PROD
HANA PDF v3.6.4 [BE] [HOTFIX]
Before Condtion:
In some condition, when count pdf files by using $pdf->pageCount() with spatiePDF modules. It'll run issue in some of PDF files when it can't repopulate with Ghostscript and return error;
PDFDelegateFailed [ghostscript library 10.04] -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r2.0x2.0' -dPrinted=false '-sOutputFile=/tmp/magick-eLtRTJYemQEHIfT1hu3Tuv42uBnodDfK%d' '-f/tmp/magick-Coayb8omrqMkD5YVdcNfHgbCobmeJmeK' '-f/tmp/magick-gjttaXChInmMeYFp5Fq7DgXYBefCiceK': (null)' @ error/pdf.c/ReadPDFImage/712
The backend itself doesn't crash, cause error already handled properly. But it'll be stopper to main process due fail to get total PDF pages.
Next Condition:
Use old php native function to count PDF pages from previous method, to count properly PDF pages in the mean time
What's Changed
- [BE][Weekly Update] Composer update 20241208 by @Nicklas373 in #297
- [HOTFIX][BE]: Use old php native function to count PDF pages by @Nicklas373 in #299
Full Changelog: v3.6.3-BE-PROD...v3.6.4-BE-PROD
HANA PDF v3.6.3 [BE] [HOTFIX]
Changelog:
- Add more timeout handling for guzzle HTTP requests
What's Changed
- [HOTFIX][BE]: Fix unmitigated Guzzle timeout error #294 by @Nicklas373 in #295
Full Changelog: v3.6.2-BE-PROD...v3.6.3-BE-PROD
HANA PDF v3.4.2-1 [FE] [HOTFIX]
Changelog:
- Try to render properly exceptions page
What's Changed
- [HOTFIX][FE]: Try properly render exceptions page by @Nicklas373 in #296
Full Changelog: v3.4.2-FE-PROD...v3.4.2-1-FE-PROD
HANA PDF v3.6.2 [BE] [HOTFIX]
Changelog:
- Add timeout into http request (5 minutes) by default, this to mitigate
default http timeout from guzzle (30 seconds). Due un-predicted Aspose
API response - Add handler when timeout already running out to return proper error
message and avoid backend server crashes - Merge function convert to xlsx and pptx into one function
What's Changed
- [HOTFIX][BE]: Fix unmitigated Guzzle timeout error by @Nicklas373 in #294
Full Changelog: v3.6.1-BE-PROD...v3.6.2-BE-PROD
HANA PDF v3.6.1 [BE]
Changelog:
- Implement Aspose API function into laravel from python by using CURL function
- Use generated temporary URL from minio to serve iLovePDF addFile requirement
- Use native FTP function from Laravel instead in-built PHP module
- Use temporary URL to serve addFile from iLovePDF, this to reduce dependency
- on local storage Laravel, to use properly minio capatibilities.
- (addFile -> addFileFromURL)
What's Changed
- v3.6.1 20241201 [Backend Module] by @Nicklas373 in #292
Full Changelog: v3.6.0-BE-PROD...v3.6.1-BE-PROD
HANA PDF v3.4.2 [FE]
Changelog:
- Add new function to mitigate temporary URL from BE module, this to replace static laravel storage URL into minio temporary URL. For serving PDF preview
- Properly mitigate minio behavior from backend module
What's Changed
- Docker: Include missing file by @Nicklas373 in #289
- Update docker SIT by @Nicklas373 in #290
- v3.4.2 20241201 [Frontend Module] by @Nicklas373 in #293
Full Changelog: v3.4.1-FE-PROD...v3.4.2-FE-PROD