Releases: pastorsj/node-fred
Releases · pastorsj/node-fred
3.0.0
What is in this release?
ESM Migration:
- Convert to native ES modules with dual CJS/ESM package support
- Use tsup for building both formats
FRED API v2 Support:
- Add getObservationsForRelease() for v2/release/observations endpoint
- Add getAllObservationsForRelease() with automatic pagination
- v2 API uses Bearer token authentication via Authorization header
New Features:
- Add start_time and end_time parameters to series/updates endpoint
- Add endpoint-specific limit validation (100k observations, 10k dates, 500k v2)
- Add exponential backoff with automatic retry for all endpoints
- Retries on 429 (rate limit) and 503 (service unavailable)
- Configurable: maxRetries, initialDelayMs, maxDelayMs, backoffMultiplier
TypeScript:
- Update type definitions for v2 API types
2.1.10
2.1.9
2.1.8
2.1.7
Complete Typings Support
This update now contains complete typings support.
Typings Update
Fixed main issues with the typings file.
Dependencies Update
This update updated the dependencies in the package.json file.
Typings Update
This update include some fixes in documentation and adds an initial version of typings.
Fred Library v2.0.0
All functionality is complete. I will update as needed, but the main functionality and tests are done and done.