Releases: php-ds/polyfill
Releases · php-ds/polyfill
v2.0.0
Major release: v2.0.0 polyfill for the ds extension.
New
Ds\Seq— unified sequence type (replaces Vector and Deque)Ds\Heap— configurable heap with optional comparator (replaces PriorityQueue)Ds\Key— interface for custom key equality (replaces Hashable)- Functional constructors:
\Ds\seq(),\Ds\map(),\Ds\set(),\Ds\heap() Ds\Pairis now readonly
Removed
Ds\Vector,Ds\Deque,Ds\Stack,Ds\Queue,Ds\PriorityQueueDs\Collection,Ds\Sequence,Ds\Hashableinterfaces
Requires PHP >= 8.2.
v1.7.0
What's Changed
- Added explicit null parameter types for implied nulls by @Bilge in #110
- Fix incorrect return type description for
Set#contains(). by @ZebulanStanphill in #104
New Contributors
Full Changelog: v1.6.0...v1.7.0
v1.6.0
What's Changed
- Fix deprecation notices by @billythekid in #109
New Contributors
- @billythekid made their first contribution in #109
Full Changelog: v1.5.0...v1.6.0