Skip to content

2.1.0

Choose a tag to compare

@ramsey ramsey released this 02 Mar 04:57
· 9 commits to main since this release
2.1.0
3c5990b

Added

  • Add support for retrieving properties on collection items that are accessible via magic methods __get and __isset (#126)
  • Certify support for PHP 8.3 and 8.4 (#127)

Fixed

  • Use the correct return type annotation of list<T> instead of array<int, mixed> for CollectionInterface::column() (#124)
  • If an element has a property and method of the same name, check the property visibility on the element before attempting to access it; if it is private, attempt to call the method instead (#123)
  • ValueExtractorTrait expects getType(): string to exist on the using class, but it did not declare an abstract to force this requirement; now it does, and any classes using this trait must implement getType(): string
  • Avoid calling contains() twice when using AbstractSet::add(), significantly improving performance for very large collections (#68)