Releases: Nicklas373/Hana-PDF
HANA PDF v3.3.3 [FE]
Recent Changelog:
- resources: kao-logic: Major updates
- Dockerfile: Build with PHP 8.3
- kao-logic: Handled thumbnail HTTP status correctly
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
- [MINOR][FE] Update dockerfile by @Nicklas373 in #189
- FE: PHP & NPM dependencies update by @Nicklas373 in #200
- FE: Weekly dependencies updates by @Nicklas373 in #210
- v3.3.0 20240818 [Frontend Module] by @Nicklas373 in #212
- [HOTFIX][FE]: Fix code formatting error ! by @Nicklas373 in #213
- [HOTFIX][FE]: Fix wrong variable decision logic by @Nicklas373 in #214
- [HOTFIX][FE] Fix custom split logic error by @Nicklas373 in #216
- FE: Weekly dependencies updates by @Nicklas373 in #220
- [FE]: Update reflecting backend changes ! by @Nicklas373 in #223
- Dockerfile: Include FTP php extensions by @Nicklas373 in #224
- [FE]: Merge new static assets ! by @Nicklas373 in #225
- [FE][HOTFIX] Fix missconfigured docker SIT images by @Nicklas373 in #226
- [FE]: kao-logic: Minor fixes by @Nicklas373 in #228
- [FE][MINOR HOTFIX]: Properly handled thumbnail generated HTTP status by @Nicklas373 in #230
Full Changelog: production/fe/20240716...production/fe/20240916
HANA PDF v3.4.1 [BE]
Recent Changelog:
- Treewide: Migrating to Laravel 11.x base
- Controllers: Version: Print version debug info
- routes: scheduler: Fix undefined jobs
- Auth: Switch back to PHP-Open-Source-Saver JWT Auth
- Controllers: Thumbnail: Update spatie to image flags
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.
- Now backend will check if request that came from client, has proper or required request headers
- 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
- [MINOR][BE] Weekly dependencies update by @Nicklas373 in #190
- database: Fix wrong named column for updated_at by @Nicklas373 in #191
- BE: Weekly dependencies update by @Nicklas373 in #199
- BE: Weekly dependencies update by @Nicklas373 in #209
- v3.3.1 20240818 [Backend Module] by @Nicklas373 in #211
- [HOTFIX][BE] Fix undefined variable by @Nicklas373 in #215
- BE: Weekly dependencies update by @Nicklas373 in #219
- BE: Migrating to Laravel 11.x base by @Nicklas373 in #222
- [BE]: Minor fixes by @Nicklas373 in #227
- v3.4.1 20240916 [Backend Module] by @Nicklas373 in #229
Full Changelog: production/be/20240716...production/be/20240916
HANA PDF v3.2.9 [FE]
Recent Changelog:
- kao-logic: Minor updates
- kao-logic: misc fixes
- resources: views: Update pdf.js to 4.4.168
- Docker: Correctly use latest versioning
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]
Recent Changelog:
- database: Update DB schema for split PDF
- Split: add new param to define split or delete properly
- Controllers: Core: Add logic to delete previous download file
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]
Recent Changelog:
- kao-logic: Re-structure xhr logic
- kao-logic: Another simplified XHR request
- Treewide: Fix DB Transact Error
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
- [HOTFIX][FE] Fix total pages for PDF are not counted on FE services by @Nicklas373 in #152
- [HOTFIX][FE] Fix changelog that are not show properly by @Nicklas373 in #153
- FE: Weekly update composer and NPM dependencies by @Nicklas373 in #159
- FE: Weekly update composer and NPM dependencies by @Nicklas373 in #160
- FE: Weekly update composer dependencies by @Nicklas373 in #172
- FE: Weekly update composer and NPM dependencies by @Nicklas373 in #174
- v3.2.8 20240707 [Frontend Module] by @Nicklas373 in #180
Full Changelog: production/fe/20240601...production/fe/20240707
HANA PDF v3.2.8 [BE]
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
- [HOTFIX][BE] Fix total pages for PDF are not counted on FE services by @Nicklas373 in #151
- BE: Weekly update composer dependencies by @Nicklas373 in #158
- BE: Weekly update composer dependencies by @Nicklas373 in #161
- BE: Weekly update composer dependencies by @Nicklas373 in #171
- [HOTFIX][BE] Fix API and DBMS error references by @Nicklas373 in #173
- [HOTFIX][BE] Fix laravel eloquent issue by @Nicklas373 in #175
- v3.2.8 20240707 [Backend Module] by @Nicklas373 in #179
Full Changelog: production/be/20240601...production/be/20240707
HANA PDF v3.2.7 [FE]
Recent Changelog:
- kao-logic: Minor fixes
- Composer: Update dependencies
- Docker: Update SIT Environment
- README: Update documentation
- VITE: Update static assets
What's Changed
- Treewide: FE: Implement timeout checking by @Nicklas373 in #94
- v3.2.2 20240325 [Frontend Module] by @Nicklas373 in #96
- Update documentation by @Nicklas373 in #98
- FE: Weekly update composer and NPM dependencies by @Nicklas373 in #105
- [HOTFIX][FE] Fixup CnvToPDF issue while submit process by @Nicklas373 in #107
- [HOTFIX][FE] Fixup unitialized VITE env by @Nicklas373 in #109
- [HOTFIX][FE] Properly fix for undefined file name by @Nicklas373 in #110
- vite: Don't use bearer from .env by @Nicklas373 in #111
- v3.2.4 20240421 [Frontend Module] by @Nicklas373 in #114
- [VITE] Update static assets by @Nicklas373 in #116
- Update dependencies by @Nicklas373 in #117
- FE: Upgrade to Laravel 11.x by @Nicklas373 in #120
- build(deps-dev): bump phpunit/phpunit from 10.5.20 to 11.1.3 by @dependabot in #121
- v3.2.5 [Frontend Module] by @Nicklas373 in #127
- [HOTFIX][FE] Properly handling error for loading modal by @Nicklas373 in #128
- [HOTFIX][FE]: Add more error handling for unindentified response from API by @Nicklas373 in #131
- [HOTFIX][FE]: Do not treat readyState 2 & 4 as an error by @Nicklas373 in #133
- [HOTFIX][FE]: Another left... by @Nicklas373 in #134
- v3.2.6 20240520 [Frontend Module] by @Nicklas373 in #139
- [HOTFIX][FE] Fix unproper behavior after minify updates by @Nicklas373 in #141
- [MINOR][FE] Increase expiry timeout when call BE API by @Nicklas373 in #143
- [HOTFIX][FE] Fix unhandled error when limit already reach by @Nicklas373 in #144
- [FE] Drop A6 by @Nicklas373 in #146
- [FE] Update dependencies by @Nicklas373 in #147
- v3.2.7 20240601 [Frontend Module] by @Nicklas373 in #149
Full Changelog: production/be/20240520...production/fe/20240601
HANA PDF v3.2.7 [BE]
Recent Changelog:
What's Changed
- [HOTFIX][BE] Fix git command are not load properly by @Nicklas373 in #142
- [HOTFIX][BE] Fix dailyReport skipped report by @Nicklas373 in #145
- [HOTFIX][BE] Fix Carbon setter issue by @Nicklas373 in #148
- v3.2.7 20240601 [Backend Module] by @Nicklas373 in #150
Full Changelog: production/be/20240520...production/be/20240601
HANA PDF v3.2.6 [FE]
Recent changelog:
- SQUASH: FE-012 & FE-013
- FBE-008: Implement feature to check revision
- kao-logic: Implement changelog feature
- Resources: Watermark: Switch to multi select from multi checkbox options
- Treewide: Resources: Introduce smooth-scrolling
- Treewide: Resources: Misc fixes and cleanup
- vite: Update static build
- Console: Kernel: Introduce cleanup scheduler
- composer: Update dependencies
- vite: Update static build
- FE-011: Minify HTML Resources
- vite: Update static assets
- vite: Update version to 3.2.6
What's Changed
- [HOTFIX][FE]: Another left... by @Nicklas373 in #134
- v3.2.6 20240520 [Frontend Module] by @Nicklas373 in #139
Full Changelog: production/fe/20240512-v1...production/fe/20240520
HANA PDF v3.2.6 [BE]
Recent changelog:
- Controllers: Introduce versioning controller
- Controller: Core: htmlToPDF
- Console: Kernel: Add more validate logic on scheduler result
- composer: Update dependencies
- Controllers: Version: Update version to 3.2.6
What's Changed
- [HOTFIX][BE]: Another left... by @Nicklas373 in #135
- [HOTFIX][BE]: Do not set page orientation as integer by @Nicklas373 in #136
- [HOTFIX][BE]: Misc fixes for functionality by @Nicklas373 in #137
- [HOTFIX][BE] Fix more issue related to CRUD after database scheme update by @Nicklas373 in #138
- v3.2.6 20240520 [Backend Module] by @Nicklas373 in #140
Full Changelog: production/be/20240512-v1...production/be/20240520