Releases: teqfw/web
Releases · teqfw/web
Improved Response Status Handling
TeqFw_Web_Back_Help_Respond
- New helper is introduced (
TeqFw_Web_Back_Help_Respond).
Refined HTTP Response and Cookie Handling with Class-Based APIs
- Replaced procedural response functions with a class-based approach in
TeqFw_Web_Back_App_Server_Respond. - Added new response methods for HTTP status codes, including
status401,status403, andstatus409. - Introduced utility methods for cookies in
TeqFw_Web_Back_Util_Cookie, refactored as a class. - Deprecated old procedural methods for HTTP responses and cookies, replaced by class-based APIs.
- Updated cookie handling to improve flexibility and security settings, including
SameSiteandHttpOnly. - Enhanced test coverage for new response and cookie utilities.
- Simplified API for setting and retrieving cookies with better encapsulation.
Add try-catch for HTTP request body handling
- Added try-catch block for safe handling of HTTP request bodies (JSON and plain text).
Enable console logging on startup
- Enable console logging on startup.
Remove the legacy format for depIds.
- Remove the legacy format for depIds.
Create a secured server from `node:https`
- Create a secured server from
node:https(was:node:http2).
Updates in `./web/js/`
- The new format of the cast utils.
- The improvement of the
web/js/bootstrap.mjs. - The
web/js/loaders.mjsia added.
Extract the sources archive for SW caching
- The sources archive functionality is extracted to
@teqfw/web-source-installerplugin.
The zipped cache for the Service Worker.
- Updates
bin/tequila.mjs. - Adds the zipped cache for the Service Worker.
- Standardizes the plugin-related code.
- Improves
TeqFw_Web_Front_App_Store_IDB. - Adds 'upgrade-on-version-change' functionality.
- Appends CSS style.