Releases: Athari/YaLinqo
Releases · Athari/YaLinqo
2.4: PSR-4, peformance improvements, Traversable support
- Switched to PSR-4 autoloader.
- Improved performance of sorting in
oderBy*
,thenBy*
: now uses specific array functions when possible instead of justusort
. - Added support for
Traversable
which does not implementIterator
orIteratorAggregate
infrom
. - Fixed
toString
in case of same keys. - Added build integration with online tool SensioLabs.
2.3: Set and cast functions, performance improvements
- Added set functions:
except
,intersect
,union
. - Added
cast
function. - Improved performance of some functions by inlining code:
range
,rangeTo
,max
,min
,sum
. - Changed iterator wrapping from closure to directly wrapping iterator.
- Fixed integration with Coveralls.
- Fixed builds for PHP 7 and HHVM on Travis CI.
- Code cleanup: short array syntax everywhere.
2.2: Integration with online tools (CI etc.), string lambda caching
- Added integration with online tools:
- Travis CI
- Coveralls
- Scrutinizer
- Added string lambda caching to
Utils::createLambdaFromString
. Should drastically improve performance when queries are performed multiple times. - Completed YaLinqoPerf benchmarks, see ReadMe.
1.1: Integration with online tools (CI etc.), backported from 2.x
- Added integration with online tools:
- Travis CI
- Coveralls
2.1: Fixed from function conflict
- Fixed #8 (PHP Fatal error: Cannot redeclare from()): decorated
from
function withfunction_exists
call.
2.0: Upgrade to PHP 5.5
Code upgraded from PHP 5.3 to 5.5. Big performance improvements thanks to new PHP features and removal of unnecessary classes.
- Dropped support for PHP 5.3.
- Replaced collections (
Dictionary
andLookup
) with standard arrays. - Replaced
Enumerator
class with with newyield
operator. - Replaced
call_user_func
andcall_user_func_array
with direct variable function calls. - Major code cleanup.
1.0: Improved Composer support
- Added version tags to Git repository.
- Added dev branch alias to
composer.json
.
1.0: Added method: distinct
- Added
distinct
method which returns distinct elements from a sequence. - Fixed minor issues in PHPDoc.
1.0: First public release
First public release.