Releases: tiny-blocks/collection
Releases · tiny-blocks/collection
v1.13.1
v1.13.0
- Remove redundant
array_first/array_lastusage inFirst.phpandLast.phpoperations. - Move test classes to
Test\TinyBlocks\Collectionnamespaces for consistency. - Update autoload-dev PSR-4 mapping in composer.json.
- Bump tiny-blocks/mapper to 1.4.* and add tiny-blocks/currency to require-dev.
- Update Makefile test-file usage instructions.
- Adjust imports in test files to reflect namespace changes.
v1.12.0
- Bump PHP requirement to 8.5 and update dependencies in composer.json and Docker image.
- Refactor all closures to use static where possible for performance and clarity.
- Optimize Filter, First, Last, and Find operations for better lazy evaluation and early termination.
- Enhance Slice to handle negative lengths and improve memory efficiency.
- Update CI workflow for artifact-based dependency caching and PHP 8.5.
- Improve Makefile with help target, colorized output, and updated Docker image.
- Remove unused phpmd references and update .gitattributes.
- Update documentation and tests to reflect static closures and new behaviors.
v1.11.0
- Refactored element retrieval to work reliably with any iterable and avoid direct index access.
- Removed equivalent code paths detected by mutation testing, improving test quality.
- Clarified and stabilized the default fallback behavior when an index is not found.
- Ensure Filter operation ignores null predicates using array_filter.
v1.10.2
- Fixes tiny-blocks/mapper dependency version.
v1.10.1
- Fixes
composer.json.
v1.10.0
- Fixes
composer.json. - Changes mapping implementation for array and json using
tiny-blocks/mapperlib.
v1.9.2
- Fixes execution of composer scripts and updates dependencies.
v1.9.1
- Fixes
composer.json.
v1.9.0
- Changes mapping implementation for array and json
using tiny-blocks/mapperlib