Skip to content

Commit 3c5990b

Browse files
committed
chore: prepare for version 2.1.0
1 parent af2c4a7 commit 3c5990b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## 2.1.0 - 2025-03-02
9+
10+
### Added
11+
12+
* Add support for retrieving properties on collection items that are accessible via
13+
magic methods `__get` and `__isset` ([#126](https://github.com/ramsey/collection/pull/126))
14+
* Certify support for PHP 8.3 and 8.4 ([#127](https://github.com/ramsey/collection/pull/127))
15+
16+
### Fixed
17+
18+
* Use the correct return type annotation of `list<T>` instead of `array<int, mixed>`
19+
for `CollectionInterface::column()` ([#124](https://github.com/ramsey/collection/issues/124))
20+
* If an element has a property and method of the same name, check the property visibility
21+
on the element before attempting to access it; if it is private, attempt to call the
22+
method instead ([#123](https://github.com/ramsey/collection/pull/123))
23+
* `ValueExtractorTrait` expects `getType(): string` to exist on the using class, but it did
24+
not declare an abstract to force this requirement; now it does, and any classes using this
25+
trait must implement `getType(): string`
26+
* Avoid calling `contains()` twice when using `AbstractSet::add()`, significantly improving
27+
performance for very large collections ([#68](https://github.com/ramsey/collection/issues/68))
28+
829
## 2.0.0 - 2022-12-31
930

1031
### Added

0 commit comments

Comments
 (0)