Repository navigation
Releases: mattszymanko/ReactDataSync
Releases · mattszymanko/ReactDataSync
Release list
v0.5.0 Open-Alpha
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.
v0.4.6 Open-Alpha
Release Notes
Added:
- Implemented the
ApiServiceframework 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.jsfile to include more detailed configuration options. - Expanded the utility functions in
commonUtils.tsfor broader application usage.
Fixed:
- Fixed minor issues in utility functions for improved reliability.
Known Issues:
- Logging may not function correctly in some environments.
- The
ApiServiceframework does not handle certain edge cases. - The
config.jsfile may not dynamically update during runtime.