Releases: Nicklas373/Hana-PDF
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
HANA PDF v3.6.0 [BE]
Current Condition:
- Try to handle storage->exists() function while check file on Object Storage, somehow object storage return error instead of exists accepted logic (True or False). And create crash on BE then return 500
- File preview logic from FE module still access old Laravel linked storage, while BE already move all file transaction into object storage
Next Condition:
- Handle all storage->exists() for object storage with try catch, and catch any exception to return proper error message instead of crash or error 500
- For temporary, still allow only for upload file to be exists due FE requirement. But still need to find proper way to handle it in the mean time
What's Changed
- [HOTFIX][BE] Try to handle minio exists logic by @Nicklas373 in #291
Full Changelog: v3.5.9-BE-PROD...v3.6.0-BE-PROD