From 6cb6a22f188286811b47c9456e53326ab3a56acd Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Wed, 28 Oct 2026 21:33:44 +0100 Subject: [PATCH] release 1.1.0 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bb468a..ec4d461 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.1.0 + +### Added + +- `chunk($size, $preserveKeys = false)` splits the values into arrays of `$size`, like `array_chunk()`. The lazy one yields each chunk as soon as it is full, so a streamed source is never held whole; the eager one gives a list array for an array and a `Ds\Seq` for anything else. A size below 1 throws `InvalidArgumentException`. + ## 1.0.1 ### Changed