Releases: doctrine/collections
1.6.5
1.6.4
Release 1.6.4
1.6.4
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug,Documentation
1.6.3
Release 1.6.3
1.6.3
- Total issues resolved: 1
- Total pull requests resolved: 2
- Total contributors: 2
Enhancement
Bug
v1.6.2
This release fixes the inferred type of ArrayCollection::createFrom()
and ArrayCollection#filter()
when subclassing ArrayCollection
.
Total issues resolved: 2
v1.6.1
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
v1.6.0
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.- When using the
ClosureExpressionVisitor
over objects with a defined
accessor and property, the accessor is prioritised. - Updated testing tools and coding standards, autoloading, which also
led to marginal performance improvements - Introduced generic type docblock declarations from psalm,
which should allow users to declare/** @var Collection<KeyType, ValueType> */
in their code, and leverage the type propagation deriving from that.
Total issues resolved: 16
- 127: Use PSR-4 thanks to @Nyholm
- 129: Remove space in method declaration thanks to @bounoable
- 130: Update build to add PHPCS and PHPStan thanks to @lcobucci
- 131: ClosureExpressionVisitor > Don't duplicate the accessor when the field already starts with it thanks to @ruudk
- 139: Apply Doctrine CS 2.1 thanks to @Majkl578
- 142: CS 4.0, version composer.lock, merge stages thanks to @Majkl578
- 144: Update to PHPUnit 7 thanks to @carusogabriel
- 146: Update changelog for v1.4.0 and v1.5.0 thanks to @GromNaN
- 154: Update index.rst thanks to @chraiet
- 158: Extract Selectable method into own documentation section thanks to @SenseException
- 160: Update homepage thanks to @Majkl578
- 165: Allow
ArrayCollection#filter()
to filter by key, value or both thanks to @0x13A - 167: Allow
ArrayCollection#filter()
to filter by key and also value thanks to @0x13A - 175: CI: Test against PHP 7.4snapshot instead of nightly (8.0) thanks to @Majkl578
- 177: Generify collections using Psalm thanks to @nschoellhorn
- 178: Updated doctrine/coding-standard to 6.0 thanks to @patrickjahns
v1.5.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
- 97: Enable strict comparison for arrays thanks to @vlastv
- 104: Removes support for PHP 5.x thanks to @railto
- 108: Removed unsupported versions from travis config thanks to @mikeSimonson
- 110: Add hhvm in the allowed failures thanks to @mikeSimonson
- 112: Fix DocBlock for derived classes thanks to @ostrolucky
- 118: Drop HHVM support thanks to @lcobucci
- 119: Require PHP 7.1 thanks to @lcobucci
- 122: Add missing PHP version bumping to 7.1 thanks to @soullivaneuh
- 124: Updated the return typehint docblock of partition thanks to @gmponos
- 126: Converted the docblocks of ArrayCollection to short type hints thanks to @gmponos
v1.4.0
Thanks to all the contributors
Fixed
- 63: Fix the branch alias for master
- 64: Arraycollection matching method multiple ordering fix
- 73: Fix: Assert expression is set when none has before
- 83: Spelling - comparision should be comparison
- 90: Do not target unbound PHP version contraint
- 92: Update ArrayCollection.php
Changed
- 58: Remove the hhvm-nightly job from the matrix
- 72: Fix: Ignore composer.lock
- 74: Refactoring the method for better readability.
- 79: Add .gitattributes to remove unneeded files
- 105: bumped phpunit to 5.7 and fixed deprecated methods
Added
- 57: non-camel-case variable code conventions (with extra tests)
- 75: Removing php 7 from the allowed failure as it's stable now
- 76: Adding some code coverage configuration
- 77: Adding scrutinizer config
- 78: Rebase of the Comparison startsWith, endsWith PR #55
- 91: Added ArrayCollection::createFrom.
- 98: Increase code coverage
- 102: Contributing guideline
- 103: Contributing guide
v1.3.0
Total issues resolved: 9
- 26: Explicit casting of first and max results
- 30: typo fix.
- 31: CS fixes and tidy up of tests
- 36: Tidy up and CS fixes
- 42: small style changes to comply with PSR2
- 47: Added build status
- 49: Keep keys when using array collection's matching()
- 52: Made initialized protected for extensibility.
- 56: travis: PHP 7.0 nightly added + few improvements