Skip to content

Releases: Nicklas373/Hana-PDF

HANA PDF v3.3.3 [FE]

16 Sep 02:56
082acc4
Compare
Choose a tag to compare

Recent Changelog:

Description:

During backend services (gw.hana-ci.com) will migrate to laravel 11 base, this frontend services need some of changes;

  • Drop unused ... string on text notification
  • Drop unused setInterval function on getTotalPages XMLHttpRequest
  • Drop process id notification (reflecting backend updates)
  • Do not send form data on XMLHttpRequest when form data are not declared
  • Fix logic on custom page (total pages can be same with requested page, but can not more)
  • Implement CORS headers as requirements from the backends, this applicable for all XMLHttpRequest or AJAX request.
    : - "X-Requested-With": "XMLHttpRequest"
    - "Accept": "application/json
    Backend services will identified if headers that request from frontend is XHTML or AJAX, then it'll return as JSON,
    instead of HTML request.
  • Implement custom page logic from split pdf into watermark pdf, this to protect possibility overflow pdf page
    on Watermark options
  • Implement new features to define if file is image or not.
    This for fixing issue for document preview can be opened while requested file is image, not documents
  • Properly adjust request url and method for backend requirements
  • Properly handle request response, when failure then return "Internal Server Error" instead crashing
  • Text notification changes, now all process write as documents instead of PDF
  • Use errors node from backend response as error message, instead of message node
  • Use XMLHttpRequest.DONE flags instead of 2 from xhr.readystate

What's Changed

Full Changelog: production/fe/20240716...production/fe/20240916

HANA PDF v3.4.1 [BE]

16 Sep 02:56
4caaf68
Compare
Choose a tag to compare

Recent Changelog:

Description:

Migrating Hana PDF backend to use latest Laravel 11.x base !

What's changed:

  • Enhance all return response on Auth, Core, Data, File and Misc API (Use new simple return response)
    and also properly return correct error response, instead global error message
  • Enhance rate limiting features, now use limit from IP instead of sessions
  • Introduce all features and fixes from Laravel 11.x base
  • Include application log as new filter on notifyLog, and also include order by for application log
  • Implement new exceptions handler for unattended access !
    • Now backend will check if request that came from client, has proper or required request headers
      and it's actually ajax or xhtml request. Then it'll return as JSON, if not then it'll redirect to uptime page.
    • This exceptions also will check if necessary bearer token are reserved by the client or not, and return redirect
      to HTML request to prevent API interfaces leaks to browser.
  • Migrate and adapt all previous function and features from laravel 10.x base into 11.x
  • Properly define HTTP status response for all return response in controller
  • Re-define all API routing for request method to correct request method, and also re-mapping for route request to
    specific route, from their group request
  • Update to the latest PHP dependencies
  • Use proper function to check HTTP request is success or not (Http::timeout), instead using CURL
  • Use proper function to generate UUID (Str::uuid) from laravel, instead of native PHP features

What's Changed

Full Changelog: production/be/20240716...production/be/20240916

HANA PDF v3.2.9 [FE]

16 Jul 15:22
db6d386
Compare
Choose a tag to compare

Recent Changelog:

Description:

  • Add new param "usedMethod" that will send to BE as identifier if split or delete page that request from the user,
    and also it will used as identifier ranged or custom page that was requested
  • Drop timeout catch guard
  • Bump FE to v3.2.9

What's Changed

  • [HOTFIX][FE] Upstream related changes to BE services by @Nicklas373 in #187

Full Changelog: production/fe/20240707...production/fe/20240716

HANA PDF v3.3.0 [BE]

16 Jul 15:22
80c9ebb
Compare
Choose a tag to compare

Recent Changelog:

Description:

  • Add logic to delete previous downloaded file, if previous downloaded filename are same with
    new generated processed filename. This to prevent BE accidentally return wrong response into FE, when
    notification service catch actual response.

Ex: BE response 200 with download link, although notification service threw error notification
"Cannot download from iLovePDF API !". Actual condition is BE process is fail, but since logic
for decision process is success or not have another depend to check if processed filename is exist or not,
and in this scenario. User processed the same filename, then that logic will think previous file is the new
file due the same filename.

  • Add more filter validation on split and watermark to provide "-" characters (Now user can input page: 2-5, not only 2,3,4,5)
  • Add new params 'usedMethod' that will declare as identifier process, is that split or delete.
    This will fixed issue sometimes logic can not catch correctly what actual request from FE, since FE
    are not declare what are the request properly

What's Changed

  • [HOTFIX][BE] Fix wrong file downloaded on split PDF by @Nicklas373 in #186

Full Changelog: production/be/20240707...production/be/20240716

HANA PDF v3.2.8 [FE]

07 Jul 12:50
a437de9
Compare
Choose a tag to compare

Recent Changelog:

Description:

  • Re-structure how XHR logic work for catch error, since BE already updated to fix several issue
    that causing internal server error (500). Then FE on XHR service need to re-structure to simplify
    and only catch what required message to show to users as end message
  • Bump FE Module into 3.2.8

What's Changed

Full Changelog: production/fe/20240601...production/fe/20240707

HANA PDF v3.2.8 [BE]

07 Jul 12:50
bf6a215
Compare
Choose a tag to compare

Recent Changelog:

Description:

  • Re-structure backend logic and function parameter for notifymodule to have identifier for insert on appLogs table or not. Since that table have much relation with almost all table, then insert into that table are require extra concern.
  • Declare proper variable to tell logic to insert or not into appLogs table since some other logic already insert into that place in the first place. If logic has double insert and create an duplicate issue, then it will crash and make BE service return response 500 instead of 200.
  • Also bump BE module into 3.2.8

What's Changed

Full Changelog: production/be/20240601...production/be/20240707

HANA PDF v3.2.7 [FE]

01 Jun 05:41
a543429
Compare
Choose a tag to compare

Recent Changelog:

What's Changed

Full Changelog: production/be/20240520...production/fe/20240601

HANA PDF v3.2.7 [BE]

01 Jun 05:41
6a374a2
Compare
Choose a tag to compare

Recent Changelog:

What's Changed

Full Changelog: production/be/20240520...production/be/20240601

HANA PDF v3.2.6 [FE]

HANA PDF v3.2.6 [BE]

20 May 10:39
ff10f77
Compare
Choose a tag to compare

Recent changelog:

What's Changed

Full Changelog: production/be/20240512-v1...production/be/20240520