Skip to content

v0.5.0 Open-Alpha

Pre-release
Pre-release

Choose a tag to compare

@mattszymanko mattszymanko released this 28 Jan 12:51
· 11 commits to main since this release
c080ed0

Release Notes

New Features:

  1. 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).
  2. 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.
  3. Caching Mechanism

    • Introduced a caching mechanism in the API service layer to cache responses and reduce redundant API calls.
    • New method: getCachedData(endpoint: string).
  4. 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:

  1. TypeScript Definition for Middleware

    • Improved type safety by specifying TypeScript definitions for middleware functions in middlewareUtils.ts.
  2. 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.js file.