Skip to content

Releases: mattszymanko/ReactDataSync

v0.5.0 Open-Alpha

v0.5.0 Open-Alpha Pre-release
Pre-release

Choose a tag to compare

@mattszymanko mattszymanko released this 28 Jan 12:51
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.

v0.4.6 Open-Alpha

v0.4.6 Open-Alpha Pre-release
Pre-release

Choose a tag to compare

@mattszymanko mattszymanko released this 08 Jan 22:24
fcf9509

Release Notes

Added:

  • Implemented the ApiService framework for handling API requests.
  • Added middleware for common API-related tasks, such as request/response transformations.
  • Introduced a flexible logging utility (logger.ts) with support for different log levels.

Updated:

  • Enhanced the config.js file to include more detailed configuration options.
  • Expanded the utility functions in commonUtils.ts for broader application usage.

Fixed:

  • Fixed minor issues in utility functions for improved reliability.

Known Issues:

  • Logging may not function correctly in some environments.
  • The ApiService framework does not handle certain edge cases.
  • The config.js file may not dynamically update during runtime.