Skip to content

Releases: shelfio/array-chunk-by-size

v4.0.1

12 Mar 12:36
16f1a1e

Choose a tag to compare

  • 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

v4.0.0...v4.0.1

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

Full Changelog: v4.0.0...v4.0.1

v4.0.0

11 Aug 15:47

Choose a tag to compare

🚀 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:

  1. Ensure you're using Node.js 22 or higher
  2. 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';
  3. If you're using TypeScript, ensure your tsconfig.json supports ES modules

Full Changelog: v3.1.0...v4.0.0

v3.0.0

02 Mar 18:52

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.1...v.3.0.0