NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #208 most downloaded on Packagist
PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
Latest stable
3.1.0
Last release 6 months ago
29 Apr 2026
Release timing varies
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 36 of 40 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
40 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
542: Deprecate Order enum thanks to @greg0ire
Feature release (minor)
Backwards incompatible release (major)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Backwards incompatible release (major)
accessRawFieldValues parameter which is a no-op as of 3.0 thanks to @mpdudeTotal pull requests resolved: 1
Feature release (minor)
515: Avoid triggering deprecation on named argument thanks to @greg0ire
2.5.x bugfix release (patch)
Total pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 2
Feature release (minor)
Total pull requests resolved: 2
Feature release (minor)
Total pull requests resolved: 3
2.2.x bugfix release (patch)
405: Improve deprecation message for Criteria::orderBy() thanks to @derrabus
Total pull requests resolved: 2
Feature release (minor)
use Doctrine\Common\Collections\Order; thanks to @ThomasLandauerTotal pull requests resolved: 5
2.1.x bugfix release (patch)
Total pull requests resolved: 4
2.1.x bugfix release (patch)
380: Improve return type for Collection::partition thanks to @heiglandreas
379: Make returntypes consistent with implementation thanks to @heiglandreas
377: Add doctrine-project.json to .gitattributes thanks to @VincentLanglet
Total pull requests resolved: 3
2.1.x bugfix release (patch)
Total pull requests resolved: 1
2.1.x bugfix release (patch)
AbstractLazyCollection thanks to @LVoogdTotal pull requests resolved: 2
2.1.x bugfix release (patch)
Total pull requests resolved: 1
Feature release (minor)
NOT CompositeExpression in order to filter-out values thanks to @remi-sanTotal pull requests resolved: 2
2.0.x bugfix release (patch)
Total pull requests resolved: 12
Total pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 1
Total pull requests resolved: 2
1.7.x bugfix release (patch)
Total pull requests resolved: 3
1.7.x bugfix release (patch)
AbstractLazyCollection::isInitialized thanks to @VincentLanglet311: Deprecate passing null as offset thanks to @derrabus
Feature release (minor)
Selectable#matching return Collection thanks to @boesingTotal pull requests resolved: 8
1.6.x bugfix release (patch)
313: Update phpdoc of the AbstractLazyCollection thanks to @VincentLanglet
296: Psalm 4.22 and PHPStan 1.4.8 thanks to @franmomu
303: Setup Composer Lint thanks to @greg0ire
293: Bump reusable workflows thanks to @derrabus
284: Fix PHPStan thanks to @derrabus
282: Revert "Update Psalm and fix a few issues" thanks to @greg0ire
Total pull requests resolved: 3
280: Add explicit @return type next to #[ReturnTypeWillChange] thanks to @nicolas-grekas
274: PHPStan already supports array-key as template type variable bound thanks to @ondrejmirtes
269: Use explicit @return when implementing base PHP types thanks to @nicolas-grekas
Total pull requests resolved: 1
Release 1.6.7
Total pull requests resolved: 1
Release 1.6.6
Total pull requests resolved: 1
Release 1.6.5
Total pull requests resolved: 1
Release 1.6.4
ExpressionBuilder#andX() and orX() params are variadic in PHPDoc thanks to @someniatkoTotal pull requests resolved: 2
Release 1.6.3
allow_failures matrix thanks to @carusogabrielThis release fixes the inferred type of ArrayCollection::createFrom() and ArrayCollection#filter() when subclassing ArrayCollection.
This release fixes the inferred type of ArrayCollection::createFrom() and ArrayCollection#filter() when subclassing ArrayCollection.
Total issues resolved: 2
ArrayCollection thanks to @Rarststatic for ArrayCollection::createFrom() and ArrayCollection#filter() thanks to @muglugfixes an issue where parsing annotations was not possible for classes within doctrine/collections.
fixes an issue where parsing annotations was not possible
for classes within doctrine/collections.
Specifically, v1.6.0 introduced Psalm-specific annotations
such as (for example) @template and @template-implements,
which were both incorrectly recognized as @template.
@template has therefore been removed, and instead we use
the prefixed @psalm-template, which is no longer parsed
by doctrine/collections v1.6.1
Total issues resolved: 1
@psalm-template annotation to avoid clashes thanks to @muglugThis release bumps the minimum required PHP version to 7.1.3.
This release bumps the minimum required PHP version to 7.1.3.
Following improvements were introduced:
ArrayCollection#filter() now allows filtering by key, value or both.ClosureExpressionVisitor over objects with a defined
accessor and property, the accessor is prioritised./** @var Collection<KeyType, ValueType> */
in their code, and leverage the type propagation deriving from that.Total issues resolved: 16
ArrayCollection#filter() to filter by key, value or both thanks to @0x13aArrayCollection#filter() to filter by key and also value thanks to @0x13aThis release bumps the minimum required PHP version to 7.1.0.
This release bumps the minimum required PHP version to 7.1.0.
In addition to that, official HHVM support has been dropped.
Strict comparison has been added to the ClosureExpressionVisitor,
and numerous documentation fixes were merged.
Total issues resolved: 10
105: bumped phpunit to 5.7 and fixed deprecated methods
Thanks to all the contributors
26: Explicit casting of first and max results
Total issues resolved: 9
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.