Releases
Releases published on GitHub Releases, newest first.
v0.1.2
Published:
0.1.2 (2026-10-17)
Bug Fixes
- align package.json entry points with built dist files (0f32707)
v0.1.1
Published:
0.1.1 (2026-10-11)
Bug Fixes
- add engines, homepage and prepublishOnly to package.json (eacc819)
Release v0.1.0 - Package Rename and Fresh Start
Published:
🎉 Major Change: Package Rename
This release marks a significant milestone: the package has been renamed from @hideokamoto/sequential-promise to chunk-process.
Why the Change?
The library has been renamed to better reflect its core purpose: chunk-based parallel processing for rate limiting and resource control. The new name chunk-process is:
- Shorter and more memorable - Easier to type and remember
- More descriptive - Clearly indicates chunk-based processing functionality
- Better discoverability - More intuitive for npm searches
📦 Installation
npm install chunk-process🔄 Migration from @hideokamoto/sequential-promise
If you’re currently using @hideokamoto/sequential-promise, please migrate to chunk-process:
1. Update Package
npm uninstall @hideokamoto/sequential-promisenpm install chunk-process2. Update Import Statements
// Beforeimport batchProcess from '@hideokamoto/sequential-promise'import { batchProcess, arrayBatch } from '@hideokamoto/sequential-promise'
// Afterimport batchProcess from 'chunk-process'import { batchProcess, arrayBatch } from 'chunk-process'3. API Compatibility
✅ All APIs remain backward compatible - No code changes required!
batchProcess: Function signature and behavior unchangedarrayBatch: Function signature and behavior unchanged
For detailed migration instructions, see the Migration Guide in the README.
✨ Features
chunk-process provides powerful chunk-based parallel processing with:
- 🔄 Batch Processing: Process items in controlled batches with configurable batch sizes
- ⏱️ Rate Limiting: Built-in delay controls between batches for API rate limit compliance
- 🔄 Retry Mechanisms: Automatic retry with exponential/linear backoff strategies
- 🛡️ Error Handling: Continue processing on errors with detailed error tracking
- 📊 Progress Tracking: Monitor batch processing progress in real-time
- ⚡ Timeout Control: Prevent hanging tasks with configurable timeouts
- 📦 Flexible Output: Choose between nested or flattened result arrays
- 🎯 Type-Safe: Full TypeScript support with generics
- 📦 Zero Dependencies: Lightweight with minimal footprint
🚀 Quick Start
import batchProcess from 'chunk-process'
// Process 100 API calls, 5 at a timeconst userIds = Array.from({ length: 100 }, (_, i) => i + 1)
const results = await batchProcess(userIds, async (userId) => { const data = await fetchUserFromAPI(userId) return data}, { batchSize: 5 })
console.log(results) // [[user1-5], [user6-10], ...]📚 Documentation
- API Documentation: https://hideokamoto.github.io/chunk-process/
- GitHub Repository: https://github.com/hideokamoto/chunk-process
- Migration Guide: See README for detailed migration instructions
🔗 Links
📝 Note
The previous package @hideokamoto/sequential-promise has been deprecated on npm with a message directing users to chunk-process. All future development will continue under the new package name.
Full Changelog: This is the initial release of chunk-process as a renamed package. For the complete history of features and improvements, see the previous @hideokamoto/sequential-promise releases.