Repository navigation
v0.5.0 Open-Alpha
Pre-release
Pre-release
·
11 commits
to main
since this release
Release Notes
New Features:
-
Pagination Support in API Service Layer
- Implemented pagination support in the API service layer for efficient handling of large datasets.
- New method:
getPaginatedData(endpoint: string, page: number, pageSize: number).
-
Global Error Handling
- Enhanced error handling with a global error interceptor to capture and log errors from all API requests.
- Improved debugging with centralized error handling.
-
Caching Mechanism
- Introduced a caching mechanism in the API service layer to cache responses and reduce redundant API calls.
- New method:
getCachedData(endpoint: string).
-
Dynamic Logger Configuration
- Enabled dynamic configuration of the logger at runtime to adjust log levels and settings on the fly.
- New method:
setLogLevel(level: LogLevel).
Fixes:
-
TypeScript Definition for Middleware
- Improved type safety by specifying TypeScript definitions for middleware functions in
middlewareUtils.ts.
- Improved type safety by specifying TypeScript definitions for middleware functions in
-
Logger Configuration
- Resolved potential issues with logger configuration settings not being applied consistently.
- Ensured that logger configuration aligns with the specified log levels in the
config.jsfile.