Releases: shelfio/array-chunk-by-size
Releases · shelfio/array-chunk-by-size
v4.0.1
- Merge pull request #72 from shelfio/renovate/code-style-deps d2d71d9
- chore(deps): update dependency lint-staged to v16.3.3 3793c2c
- Merge pull request #80 from shelfio/feature/migrate-to-biome-and-pnpm e521718
- perf: speed up default object size calculation 0906724
- perf: add chunking benchmarks with tinybench 2374de4
- test: migrate repo from jest to vitest 5115e67
- chore: migrate repo tooling to biome and pnpm 9848069
- chore: update .gitignore to include additional files and directories 6599eb0
- chore: update husky scripts to remove deprecated lines 0d55aa1
What's Changed
- Migrate repo tooling to Biome and pnpm, switch to Vitest, and add chunking benchmarks by @vladholubiev in #80
- chore(deps): update dependency lint-staged to v16.3.3 by @renovate[bot] in #72
New Contributors
- @vladholubiev made their first contribution in #80
Full Changelog: v4.0.0...v4.0.1
v4.0.0
🚀 v4.0.0
This major version brings significant modernization improvements to the package.
✨ What's New
- ESM-first: Project has been modernized to use ES modules by default
- Node.js 22+: Updated minimum Node.js requirement to version 22
- Modern tooling: Upgraded to latest ESLint config and build tools
💥 Breaking Changes
- Minimum Node.js version: Now requires Node.js 22 or higher
- ES Modules: Package now uses ES modules by default (
"type": "module"in package.json) - Import/Export syntax: All imports and exports now use ES module syntax
🔧 Technical Improvements
- Migrated from CommonJS to ES modules
- Updated ESLint configuration to modern flat config format
- Upgraded all development dependencies to latest versions
- Improved TypeScript configuration
- Enhanced build process for better compatibility
📦 Migration Guide
If you're upgrading from v3.x:
- Ensure you're using Node.js 22 or higher
- Update your import statements to use ES module syntax:
// Before (v3.x) const { chunkArrayBySize } = require('@shelf/array-chunk-by-size'); // After (v4.x) import { chunkArrayBySize } from '@shelf/array-chunk-by-size';
- If you're using TypeScript, ensure your
tsconfig.jsonsupports ES modules
Full Changelog: v3.1.0...v4.0.0
v3.0.0
What's Changed
- Added TS Support by @harazdovskiy in #18
New Contributors
- @harazdovskiy made their first contribution in #18
Full Changelog: v2.1.1...v.3.0.0