Skip to content

Releases: Nicklas373/Hana-PDF

HANA PDF v3.6.7 [BE]

05 Jan 09:01
c97ee7f
Compare
Choose a tag to compare

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

Full Changelog: v3.6.5-BE-PROD...v3.6.7-BE-PROD

HANA PDF v3.4.3 [FE]

05 Jan 09:01
0298ab1
Compare
Choose a tag to compare

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

Full Changelog: v3.4.2-1-FE-PROD...v3.4.3-FE-PROD

HANA PDF v3.6.5 [BE]

22 Dec 15:48
007cfee
Compare
Choose a tag to compare

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

Full Changelog: v3.6.4-BE-PROD...v3.6.5-BE-PROD

HANA PDF v3.6.4 [BE] [HOTFIX]

13 Dec 00:08
b766d78
Compare
Choose a tag to compare

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]

02 Dec 01:39
7ab42c3
Compare
Choose a tag to compare

Changelog:

  • Add more timeout handling for guzzle HTTP requests

What's Changed

Full Changelog: v3.6.2-BE-PROD...v3.6.3-BE-PROD

HANA PDF v3.4.2-1 [FE] [HOTFIX]

02 Dec 01:39
f29c30c
Compare
Choose a tag to compare

Changelog:

  • Try to render properly exceptions page

What's Changed

Full Changelog: v3.4.2-FE-PROD...v3.4.2-1-FE-PROD

HANA PDF v3.6.2 [BE] [HOTFIX]

01 Dec 10:45
03a8079
Compare
Choose a tag to compare

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]

01 Dec 08:08
29ac7e6
Compare
Choose a tag to compare

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

Full Changelog: v3.6.0-BE-PROD...v3.6.1-BE-PROD

HANA PDF v3.4.2 [FE]

01 Dec 08:08
8520d6d
Compare
Choose a tag to compare

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

Full Changelog: v3.4.1-FE-PROD...v3.4.2-FE-PROD

HANA PDF v3.6.0 [BE]

28 Nov 13:38
ccb5f96
Compare
Choose a tag to compare

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

Full Changelog: v3.5.9-BE-PROD...v3.6.0-BE-PROD