Skip to content

Releases: Athari/YaLinqo

3.0: Into the future

13 Oct 15:28

Choose a tag to compare

  • Minimal PHP version is now 7.0. All versions of PHP up to and including 8.6 are supported.
  • Added new operations: append, prepend, concat.
  • Improved type hints by @jorrit, @umpirsky et al. in #49, #55, #56 etc.
  • Implemented JsonSerializable to enable automatic conversion to array in json_encode by @jorrit in #50.
  • Performance improvements, bug fixes in #11, #59 etc.
  • Improved CI by @sanmai et al. in #42, #69 etc.

Breaking changes 2.x → 3.x

Full changelog

2.5: create_function → eval

08 Oct 06:34

Choose a tag to compare

  • Switched from create_function to eval. This removes deprecation warning in PHP 7.2+ and error in PHP 8.0+. Note that it still causes "security warnings" in various "security analysis suites" due to use of eval.

Full changelog


2.5.1

  • Removed the 'conflict' section from composer.json, which should fix issues with Composer when installing in non-dev environments (#61).

Full changelog


2.5.2

  • Fixed deprecation warning in PHP 8.2+ due to implementation of IteratorAggregate::getIterator() lacking return type hint (#62 #63 by @GarciaSiego)

Full changelog

2.4: PSR-4, peformance improvements, Traversable support

15 Jan 03:12

Choose a tag to compare

  • Switched to PSR-4 autoloader.
  • Improved performance of sorting in oderBy*, thenBy*: now uses specific array functions when possible instead of just usort.
  • Added support for Traversable which does not implement Iterator or IteratorAggregate in from.
  • Fixed toString in case of same keys.
  • Added build integration with online tool SensioLabs.

Full changelog

2.3: Set and cast functions, performance improvements

07 Jun 01:58

Choose a tag to compare

  • 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.

Full changelog

2.2: Integration with online tools (CI etc.), string lambda caching

03 Jun 22:47

Choose a tag to compare

  • 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.

Full changelog

1.1: Integration with online tools (CI etc.), backported from 2.x

03 Jun 23:33

Choose a tag to compare

  • Added integration with online tools:
    • Travis CI
    • Coveralls

Full changelog

2.1: Fixed from function conflict

03 Jun 22:39

Choose a tag to compare

  • Fixed #8 (PHP Fatal error: Cannot redeclare from()): decorated from function with function_exists call.

Full changelog

2.0: Upgrade to PHP 5.5

12 Jul 09:19

Choose a tag to compare

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 and Lookup) with standard arrays.
  • Replaced Enumerator class with with new yield operator.
  • Replaced call_user_func and call_user_func_array with direct variable function calls.
  • Major code cleanup.

Breaking changes 1.x → 2.x

Full changelog

1.0: Improved Composer support

12 Jul 09:24

Choose a tag to compare

  • Added version tags to Git repository.
  • Added dev branch alias to composer.json.

1.0: Added method: distinct

12 Jul 09:23

Choose a tag to compare

  • Added distinct method which returns distinct elements from a sequence.
  • Fixed minor issues in PHPDoc.